Struct rusoto_s3::LoggingEnabled [−][src]
pub struct LoggingEnabled { pub target_bucket: String, pub target_grants: Option<Vec<TargetGrant>>, pub target_prefix: String, }
Container for logging information. Presence of this element indicates that logging is enabled. Parameters TargetBucket and TargetPrefix are required in this case.
Fields
target_bucket: String
Specifies 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>>
target_prefix: String
This element lets you specify a prefix for the keys that the log files will be stored under.
Trait Implementations
impl Default for LoggingEnabled
[src]
impl Default for LoggingEnabled
fn default() -> LoggingEnabled
[src]
fn default() -> LoggingEnabled
Returns the "default value" for a type. Read more
impl Debug for LoggingEnabled
[src]
impl Debug for LoggingEnabled
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for LoggingEnabled
[src]
impl Clone for LoggingEnabled
fn clone(&self) -> LoggingEnabled
[src]
fn clone(&self) -> LoggingEnabled
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for LoggingEnabled
[src]
impl PartialEq for LoggingEnabled
fn eq(&self, other: &LoggingEnabled) -> bool
[src]
fn eq(&self, other: &LoggingEnabled) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LoggingEnabled) -> bool
[src]
fn ne(&self, other: &LoggingEnabled) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for LoggingEnabled
impl Send for LoggingEnabled
impl Sync for LoggingEnabled
impl Sync for LoggingEnabled