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