Struct aws_sdk_s3::model::OwnershipControlsRule [−][src]
#[non_exhaustive]pub struct OwnershipControlsRule {
pub object_ownership: Option<ObjectOwnership>,
}
Expand description
The container element for an ownership control rule.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.object_ownership: Option<ObjectOwnership>
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.
Implementations
Creates a new builder-style object to manufacture OwnershipControlsRule
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OwnershipControlsRule
impl Send for OwnershipControlsRule
impl Sync for OwnershipControlsRule
impl Unpin for OwnershipControlsRule
impl UnwindSafe for OwnershipControlsRule
Blanket Implementations
Mutably borrows from an owned value. Read more
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