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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl 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
sourcefn cmp(&self, other: &ObjectOwnership) -> Ordering
fn cmp(&self, other: &ObjectOwnership) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<ObjectOwnership> for ObjectOwnership
impl PartialEq<ObjectOwnership> for ObjectOwnership
sourcefn eq(&self, other: &ObjectOwnership) -> bool
fn eq(&self, other: &ObjectOwnership) -> bool
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>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.