Struct aws_sdk_s3control::types::builders::S3GrantBuilder
source · #[non_exhaustive]pub struct S3GrantBuilder { /* private fields */ }Expand description
A builder for S3Grant.
Implementations§
source§impl S3GrantBuilder
impl S3GrantBuilder
sourcepub fn set_grantee(self, input: Option<S3Grantee>) -> Self
pub fn set_grantee(self, input: Option<S3Grantee>) -> Self
sourcepub fn get_grantee(&self) -> &Option<S3Grantee>
pub fn get_grantee(&self) -> &Option<S3Grantee>
sourcepub fn permission(self, input: S3Permission) -> Self
pub fn permission(self, input: S3Permission) -> Self
sourcepub fn set_permission(self, input: Option<S3Permission>) -> Self
pub fn set_permission(self, input: Option<S3Permission>) -> Self
sourcepub fn get_permission(&self) -> &Option<S3Permission>
pub fn get_permission(&self) -> &Option<S3Permission>
Trait Implementations§
source§impl Clone for S3GrantBuilder
impl Clone for S3GrantBuilder
source§fn clone(&self) -> S3GrantBuilder
fn clone(&self) -> S3GrantBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for S3GrantBuilder
impl Debug for S3GrantBuilder
source§impl Default for S3GrantBuilder
impl Default for S3GrantBuilder
source§fn default() -> S3GrantBuilder
fn default() -> S3GrantBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<S3GrantBuilder> for S3GrantBuilder
impl PartialEq<S3GrantBuilder> for S3GrantBuilder
source§fn eq(&self, other: &S3GrantBuilder) -> bool
fn eq(&self, other: &S3GrantBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3GrantBuilder
Auto Trait Implementations§
impl RefUnwindSafe for S3GrantBuilder
impl Send for S3GrantBuilder
impl Sync for S3GrantBuilder
impl Unpin for S3GrantBuilder
impl UnwindSafe for S3GrantBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more