#[non_exhaustive]pub struct AwsS3BucketBucketVersioningConfiguration {
pub is_mfa_delete_enabled: bool,
pub status: Option<String>,
}
Expand description
Describes the versioning state of an S3 bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.is_mfa_delete_enabled: bool
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
status: Option<String>
The versioning status of the S3 bucket. Valid values are Enabled
or Suspended
.
Implementations§
source§impl AwsS3BucketBucketVersioningConfiguration
impl AwsS3BucketBucketVersioningConfiguration
sourcepub fn is_mfa_delete_enabled(&self) -> bool
pub fn is_mfa_delete_enabled(&self) -> bool
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
source§impl AwsS3BucketBucketVersioningConfiguration
impl AwsS3BucketBucketVersioningConfiguration
sourcepub fn builder() -> AwsS3BucketBucketVersioningConfigurationBuilder
pub fn builder() -> AwsS3BucketBucketVersioningConfigurationBuilder
Creates a new builder-style object to manufacture AwsS3BucketBucketVersioningConfiguration
.
Trait Implementations§
source§impl Clone for AwsS3BucketBucketVersioningConfiguration
impl Clone for AwsS3BucketBucketVersioningConfiguration
source§fn clone(&self) -> AwsS3BucketBucketVersioningConfiguration
fn clone(&self) -> AwsS3BucketBucketVersioningConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for AwsS3BucketBucketVersioningConfiguration
impl PartialEq for AwsS3BucketBucketVersioningConfiguration
source§fn eq(&self, other: &AwsS3BucketBucketVersioningConfiguration) -> bool
fn eq(&self, other: &AwsS3BucketBucketVersioningConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketBucketVersioningConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketBucketVersioningConfiguration
impl Send for AwsS3BucketBucketVersioningConfiguration
impl Sync for AwsS3BucketBucketVersioningConfiguration
impl Unpin for AwsS3BucketBucketVersioningConfiguration
impl UnwindSafe for AwsS3BucketBucketVersioningConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more