pub struct VersioningConfiguration {
pub mfa_delete: Option<MFADelete>,
pub status: Option<VersioningStatus>,
}Expand description
Describes the versioning state of an Amazon S3 bucket.
Fields§
§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.
Valid Values: Enabled | Disabled
status: Option<VersioningStatus>The versioning state of the bucket.
Valid Values: Enabled | Suspended
Trait Implementations§
Source§impl Clone for VersioningConfiguration
impl Clone for VersioningConfiguration
Source§fn clone(&self) -> VersioningConfiguration
fn clone(&self) -> VersioningConfiguration
Returns a duplicate 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 Debug for VersioningConfiguration
impl Debug for VersioningConfiguration
Source§impl<'de> Deserialize<'de> for VersioningConfiguration
impl<'de> Deserialize<'de> for VersioningConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VersioningConfiguration
impl RefUnwindSafe for VersioningConfiguration
impl Send for VersioningConfiguration
impl Sync for VersioningConfiguration
impl Unpin for VersioningConfiguration
impl UnwindSafe for VersioningConfiguration
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