Struct aws_sdk_s3::model::VersioningConfiguration [−][src]
#[non_exhaustive]pub struct VersioningConfiguration {
pub mfa_delete: Option<MfaDelete>,
pub status: Option<BucketVersioningStatus>,
}
Expand description
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon S3 API Reference.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mfa_delete: Option<MfaDelete>
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
status: Option<BucketVersioningStatus>
The versioning state of the bucket.
Implementations
Creates a new builder-style object to manufacture VersioningConfiguration
Trait Implementations
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 VersioningConfiguration
impl Send for VersioningConfiguration
impl Sync for VersioningConfiguration
impl Unpin for VersioningConfiguration
impl UnwindSafe for VersioningConfiguration
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