#[non_exhaustive]pub struct PutBucketVersioningInput {
pub account_id: Option<String>,
pub bucket: Option<String>,
pub mfa: Option<String>,
pub versioning_configuration: Option<VersioningConfiguration>,
}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.account_id: Option<String>The Amazon Web Services account ID of the S3 on Outposts bucket.
bucket: Option<String>The S3 on Outposts bucket to set the versioning state for.
mfa: Option<String>The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
versioning_configuration: Option<VersioningConfiguration>The root-level tag for the VersioningConfiguration parameters.
Implementations§
source§impl PutBucketVersioningInput
impl PutBucketVersioningInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the S3 on Outposts bucket.
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The S3 on Outposts bucket to set the versioning state for.
sourcepub fn mfa(&self) -> Option<&str>
pub fn mfa(&self) -> Option<&str>
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
sourcepub fn versioning_configuration(&self) -> Option<&VersioningConfiguration>
pub fn versioning_configuration(&self) -> Option<&VersioningConfiguration>
The root-level tag for the VersioningConfiguration parameters.
source§impl PutBucketVersioningInput
impl PutBucketVersioningInput
sourcepub fn builder() -> PutBucketVersioningInputBuilder
pub fn builder() -> PutBucketVersioningInputBuilder
Creates a new builder-style object to manufacture PutBucketVersioningInput.
Trait Implementations§
source§impl Clone for PutBucketVersioningInput
impl Clone for PutBucketVersioningInput
source§fn clone(&self) -> PutBucketVersioningInput
fn clone(&self) -> PutBucketVersioningInput
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 PutBucketVersioningInput
impl Debug for PutBucketVersioningInput
source§impl PartialEq for PutBucketVersioningInput
impl PartialEq for PutBucketVersioningInput
source§fn eq(&self, other: &PutBucketVersioningInput) -> bool
fn eq(&self, other: &PutBucketVersioningInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutBucketVersioningInput
Auto Trait Implementations§
impl RefUnwindSafe for PutBucketVersioningInput
impl Send for PutBucketVersioningInput
impl Sync for PutBucketVersioningInput
impl Unpin for PutBucketVersioningInput
impl UnwindSafe for PutBucketVersioningInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.