pub struct GetBucketOwnershipControlsRequest {
pub bucket: String,
pub expected_bucket_owner: Option<String>,
}
Fields§
§bucket: String
The name of the Amazon S3 bucket whose OwnershipControls
you want to retrieve.
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.
Trait Implementations§
Source§impl Clone for GetBucketOwnershipControlsRequest
impl Clone for GetBucketOwnershipControlsRequest
Source§fn clone(&self) -> GetBucketOwnershipControlsRequest
fn clone(&self) -> GetBucketOwnershipControlsRequest
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 Default for GetBucketOwnershipControlsRequest
impl Default for GetBucketOwnershipControlsRequest
Source§fn default() -> GetBucketOwnershipControlsRequest
fn default() -> GetBucketOwnershipControlsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetBucketOwnershipControlsRequest
impl PartialEq for GetBucketOwnershipControlsRequest
Source§fn eq(&self, other: &GetBucketOwnershipControlsRequest) -> bool
fn eq(&self, other: &GetBucketOwnershipControlsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketOwnershipControlsRequest
Auto Trait Implementations§
impl Freeze for GetBucketOwnershipControlsRequest
impl RefUnwindSafe for GetBucketOwnershipControlsRequest
impl Send for GetBucketOwnershipControlsRequest
impl Sync for GetBucketOwnershipControlsRequest
impl Unpin for GetBucketOwnershipControlsRequest
impl UnwindSafe for GetBucketOwnershipControlsRequest
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