pub struct GetBucketOwnershipControlsInput {
pub bucket: BucketName,
pub expected_bucket_owner: Option<AccountId>,
}Fields§
§bucket: BucketNameThe name of the Amazon S3 bucket whose OwnershipControls you want to retrieve.
expected_bucket_owner: Option<AccountId>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
Implementations§
Trait Implementations§
Source§impl Clone for GetBucketOwnershipControlsInput
impl Clone for GetBucketOwnershipControlsInput
Source§fn clone(&self) -> GetBucketOwnershipControlsInput
fn clone(&self) -> GetBucketOwnershipControlsInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetBucketOwnershipControlsInput
impl Default for GetBucketOwnershipControlsInput
Source§fn default() -> GetBucketOwnershipControlsInput
fn default() -> GetBucketOwnershipControlsInput
Returns the “default value” for a type. Read more
Source§impl DtoExt for GetBucketOwnershipControlsInput
impl DtoExt for GetBucketOwnershipControlsInput
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl PartialEq for GetBucketOwnershipControlsInput
impl PartialEq for GetBucketOwnershipControlsInput
Source§fn eq(&self, other: &GetBucketOwnershipControlsInput) -> bool
fn eq(&self, other: &GetBucketOwnershipControlsInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetBucketOwnershipControlsInput
Auto Trait Implementations§
impl Freeze for GetBucketOwnershipControlsInput
impl RefUnwindSafe for GetBucketOwnershipControlsInput
impl Send for GetBucketOwnershipControlsInput
impl Sync for GetBucketOwnershipControlsInput
impl Unpin for GetBucketOwnershipControlsInput
impl UnsafeUnpin for GetBucketOwnershipControlsInput
impl UnwindSafe for GetBucketOwnershipControlsInput
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