Struct aws_sdk_s3::model::TargetGrant
source · [−]#[non_exhaustive]pub struct TargetGrant { /* private fields */ }
Expand description
Container for granting information.
Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions server access log delivery in the Amazon S3 User Guide.
Implementations
sourceimpl TargetGrant
impl TargetGrant
sourcepub fn permission(&self) -> Option<&BucketLogsPermission>
pub fn permission(&self) -> Option<&BucketLogsPermission>
Logging permissions assigned to the grantee for the bucket.
sourceimpl TargetGrant
impl TargetGrant
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetGrant
.
Trait Implementations
sourceimpl Clone for TargetGrant
impl Clone for TargetGrant
sourcefn clone(&self) -> TargetGrant
fn clone(&self) -> TargetGrant
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 moresourceimpl Debug for TargetGrant
impl Debug for TargetGrant
sourceimpl PartialEq<TargetGrant> for TargetGrant
impl PartialEq<TargetGrant> for TargetGrant
sourcefn eq(&self, other: &TargetGrant) -> bool
fn eq(&self, other: &TargetGrant) -> bool
impl StructuralPartialEq for TargetGrant
Auto Trait Implementations
impl RefUnwindSafe for TargetGrant
impl Send for TargetGrant
impl Sync for TargetGrant
impl Unpin for TargetGrant
impl UnwindSafe for TargetGrant
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
Mutably borrows from an owned value. Read more