Struct rusoto_s3::LoggingEnabled [−][src]
pub struct LoggingEnabled {
pub target_bucket: String,
pub target_grants: Option<Vec<TargetGrant>>,
pub target_prefix: String,
}Expand description
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
Fields
target_bucket: StringSpecifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case, you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key.
target_grants: Option<Vec<TargetGrant>>Container for granting information.
target_prefix: StringA prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for LoggingEnabled
impl Send for LoggingEnabled
impl Sync for LoggingEnabled
impl Unpin for LoggingEnabled
impl UnwindSafe for LoggingEnabled
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more