Enum aws_sdk_s3::model::ObjectOwnership
source · [−]#[non_exhaustive]
pub enum ObjectOwnership {
BucketOwnerEnforced,
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.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect permissions.
The bucket owner automatically owns and has full control over every object in the bucket. The bucket only
accepts PUT requests that don't specify an ACL or bucket owner full control
ACLs, such as the bucket-owner-full-control
canned
ACL or an equivalent form of this ACL expressed in the XML format.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
BucketOwnerEnforced
BucketOwnerPreferred
ObjectWriter
Unknown(String)
Unknown contains new variants that have been added since this code was generated.
Implementations
Trait Implementations
sourceimpl AsRef<str> for ObjectOwnership
impl AsRef<str> for ObjectOwnership
sourceimpl Clone for ObjectOwnership
impl Clone for ObjectOwnership
sourcefn clone(&self) -> ObjectOwnership
fn clone(&self) -> ObjectOwnership
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObjectOwnership
impl Debug for ObjectOwnership
sourceimpl From<&str> for ObjectOwnership
impl From<&str> for ObjectOwnership
sourceimpl FromStr for ObjectOwnership
impl FromStr for ObjectOwnership
sourceimpl Hash for ObjectOwnership
impl Hash for ObjectOwnership
sourceimpl Ord for ObjectOwnership
impl Ord for ObjectOwnership
sourceimpl PartialEq<ObjectOwnership> for ObjectOwnership
impl PartialEq<ObjectOwnership> for ObjectOwnership
sourcefn eq(&self, other: &ObjectOwnership) -> bool
fn eq(&self, other: &ObjectOwnership) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObjectOwnership) -> bool
fn ne(&self, other: &ObjectOwnership) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ObjectOwnership> for ObjectOwnership
impl PartialOrd<ObjectOwnership> for ObjectOwnership
sourcefn partial_cmp(&self, other: &ObjectOwnership) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectOwnership) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for ObjectOwnership
impl StructuralEq for ObjectOwnership
impl StructuralPartialEq for ObjectOwnership
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more