Struct rusoto_s3::PutBucketPolicyRequest [−][src]
pub struct PutBucketPolicyRequest { pub bucket: String, pub confirm_remove_self_bucket_access: Option<bool>, pub content_md5: Option<String>, pub policy: String, }
Fields
bucket: String
confirm_remove_self_bucket_access: Option<bool>
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
content_md5: Option<String>
policy: String
The bucket policy as a JSON document.
Trait Implementations
impl Default for PutBucketPolicyRequest
[src]
impl Default for PutBucketPolicyRequest
fn default() -> PutBucketPolicyRequest
[src]
fn default() -> PutBucketPolicyRequest
Returns the "default value" for a type. Read more
impl Debug for PutBucketPolicyRequest
[src]
impl Debug for PutBucketPolicyRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PutBucketPolicyRequest
[src]
impl Clone for PutBucketPolicyRequest
fn clone(&self) -> PutBucketPolicyRequest
[src]
fn clone(&self) -> PutBucketPolicyRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for PutBucketPolicyRequest
[src]
impl PartialEq for PutBucketPolicyRequest
fn eq(&self, other: &PutBucketPolicyRequest) -> bool
[src]
fn eq(&self, other: &PutBucketPolicyRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutBucketPolicyRequest) -> bool
[src]
fn ne(&self, other: &PutBucketPolicyRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PutBucketPolicyRequest
impl Send for PutBucketPolicyRequest
impl Sync for PutBucketPolicyRequest
impl Sync for PutBucketPolicyRequest