Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::GrantBuilder
pub struct GrantBuilder { /* private fields */ }
Expand description
A builder for Grant
.
Implementations§
§impl GrantBuilder
impl GrantBuilder
pub fn grantee(self, input: Grantee) -> GrantBuilder
pub fn grantee(self, input: Grantee) -> GrantBuilder
The person being granted permissions.
pub fn set_grantee(self, input: Option<Grantee>) -> GrantBuilder
pub fn set_grantee(self, input: Option<Grantee>) -> GrantBuilder
The person being granted permissions.
pub fn get_grantee(&self) -> &Option<Grantee>
pub fn get_grantee(&self) -> &Option<Grantee>
The person being granted permissions.
pub fn permission(self, input: Permission) -> GrantBuilder
pub fn permission(self, input: Permission) -> GrantBuilder
Specifies the permission given to the grantee.
pub fn set_permission(self, input: Option<Permission>) -> GrantBuilder
pub fn set_permission(self, input: Option<Permission>) -> GrantBuilder
Specifies the permission given to the grantee.
pub fn get_permission(&self) -> &Option<Permission>
pub fn get_permission(&self) -> &Option<Permission>
Specifies the permission given to the grantee.
Trait Implementations§
§impl Clone for GrantBuilder
impl Clone for GrantBuilder
§fn clone(&self) -> GrantBuilder
fn clone(&self) -> GrantBuilder
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 more§impl Debug for GrantBuilder
impl Debug for GrantBuilder
§impl Default for GrantBuilder
impl Default for GrantBuilder
§fn default() -> GrantBuilder
fn default() -> GrantBuilder
Returns the “default value” for a type. Read more
§impl PartialEq<GrantBuilder> for GrantBuilder
impl PartialEq<GrantBuilder> for GrantBuilder
§fn eq(&self, other: &GrantBuilder) -> bool
fn eq(&self, other: &GrantBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GrantBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GrantBuilder
impl Send for GrantBuilder
impl Sync for GrantBuilder
impl Unpin for GrantBuilder
impl UnwindSafe for GrantBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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