pub struct VersioningConfiguration {
pub mfa_delete: Option<String>,
pub status: Option<String>,
}
Expand description
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon Simple Storage Service API Reference.
Fields§
§mfa_delete: Option<String>
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<String>
The versioning state of the bucket.
Trait Implementations§
Source§impl Clone for VersioningConfiguration
impl Clone for VersioningConfiguration
Source§fn clone(&self) -> VersioningConfiguration
fn clone(&self) -> VersioningConfiguration
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 Debug for VersioningConfiguration
impl Debug for VersioningConfiguration
Source§impl Default for VersioningConfiguration
impl Default for VersioningConfiguration
Source§fn default() -> VersioningConfiguration
fn default() -> VersioningConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for VersioningConfiguration
impl PartialEq for VersioningConfiguration
impl StructuralPartialEq for VersioningConfiguration
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