Struct rusoto_s3::PutBucketVersioningRequest [−][src]
pub struct PutBucketVersioningRequest {
pub bucket: String,
pub content_md5: Option<String>,
pub expected_bucket_owner: Option<String>,
pub mfa: Option<String>,
pub versioning_configuration: VersioningConfiguration,
}Fields
bucket: StringThe bucket name.
content_md5: Option<String>>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.
For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.
expected_bucket_owner: Option<String>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
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: VersioningConfigurationContainer for setting the versioning state.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PutBucketVersioningRequest
impl Send for PutBucketVersioningRequest
impl Sync for PutBucketVersioningRequest
impl Unpin for PutBucketVersioningRequest
impl UnwindSafe for PutBucketVersioningRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more