pub struct PutBucketVersioning { /* private fields */ }Expand description
Argument builder for the PutBucketVersioning S3 API operation.
This struct constructs the parameters required for the Client::put_bucket_versioning method.
Implementations§
Source§impl PutBucketVersioning
impl PutBucketVersioning
Sourcepub fn builder() -> PutBucketVersioningBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> PutBucketVersioningBuilder<((), (), (), (), (), (), ())>
Create a builder for building PutBucketVersioning.
On the builder, call .client(...), .extra_headers(...)(optional), .extra_query_params(...)(optional), .region(...)(optional), .bucket(...), .versioning_status(...), .mfa_delete(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PutBucketVersioning.
Trait Implementations§
Source§impl Clone for PutBucketVersioning
impl Clone for PutBucketVersioning
Source§fn clone(&self) -> PutBucketVersioning
fn clone(&self) -> PutBucketVersioning
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 PutBucketVersioning
impl Debug for PutBucketVersioning
Source§impl S3Api for PutBucketVersioning
impl S3Api for PutBucketVersioning
Source§type S3Response = PutBucketVersioningResponse
type S3Response = PutBucketVersioningResponse
The response type associated with this request builder. Read more
Source§impl ToS3Request for PutBucketVersioning
impl ToS3Request for PutBucketVersioning
Source§fn to_s3request(self) -> Result<S3Request, ValidationErr>
fn to_s3request(self) -> Result<S3Request, ValidationErr>
Auto Trait Implementations§
impl Freeze for PutBucketVersioning
impl !RefUnwindSafe for PutBucketVersioning
impl Send for PutBucketVersioning
impl Sync for PutBucketVersioning
impl Unpin for PutBucketVersioning
impl UnsafeUnpin for PutBucketVersioning
impl !UnwindSafe for PutBucketVersioning
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