Enum aws_sdk_s3::model::ObjectOwnership [−][src]
#[non_exhaustive]
pub enum ObjectOwnership {
BucketOwnerPreferred,
ObjectWriter,
Unknown(String),
}
Expand description
The container element for object ownership for a bucket's ownership controls.
BucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket
owner if the objects are uploaded with the bucket-owner-full-control
canned
ACL.
ObjectWriter - The uploading account will own the object if the object is uploaded with
the bucket-owner-full-control
canned ACL.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Unknown(String)
Unknown contains new variants that have been added since this code was generated.
Tuple Fields of Unknown
0: String
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ObjectOwnership
impl Send for ObjectOwnership
impl Sync for ObjectOwnership
impl Unpin for ObjectOwnership
impl UnwindSafe for ObjectOwnership
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more