pub struct PutBucketPolicyInput {
pub bucket: String,
pub checksum_algorithm: Option<ChecksumAlgorithm>,
pub confirm_remove_self_bucket_access: Option<bool>,
pub content_md5: Option<String>,
pub expected_bucket_owner: Option<String>,
pub policy: String,
}Expand description
S3 PutBucketPolicyInput.
Fields§
§bucket: StringHTTP label (URI path).
checksum_algorithm: Option<ChecksumAlgorithm>HTTP header: x-amz-sdk-checksum-algorithm.
confirm_remove_self_bucket_access: Option<bool>HTTP header: x-amz-confirm-remove-self-bucket-access.
content_md5: Option<String>HTTP header: Content-MD5.
expected_bucket_owner: Option<String>HTTP header: x-amz-expected-bucket-owner.
policy: StringHTTP payload body.
Trait Implementations§
Source§impl Clone for PutBucketPolicyInput
impl Clone for PutBucketPolicyInput
Source§fn clone(&self) -> PutBucketPolicyInput
fn clone(&self) -> PutBucketPolicyInput
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 PutBucketPolicyInput
impl Debug for PutBucketPolicyInput
Source§impl Default for PutBucketPolicyInput
impl Default for PutBucketPolicyInput
Source§fn default() -> PutBucketPolicyInput
fn default() -> PutBucketPolicyInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PutBucketPolicyInput
impl RefUnwindSafe for PutBucketPolicyInput
impl Send for PutBucketPolicyInput
impl Sync for PutBucketPolicyInput
impl Unpin for PutBucketPolicyInput
impl UnsafeUnpin for PutBucketPolicyInput
impl UnwindSafe for PutBucketPolicyInput
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