pub struct GrantPermissionStatementBuilder { /* private fields */ }
Expand description
Builder for GrantPermissionStatement
.
Implementations§
Source§impl GrantPermissionStatementBuilder
impl GrantPermissionStatementBuilder
pub fn permission<VALUE: Into<PermissionKind>>( &mut self, value: VALUE, ) -> &mut Self
pub fn resource<VALUE: Into<Resource>>(&mut self, value: VALUE) -> &mut Self
pub fn to<VALUE: Into<Name>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<GrantPermissionStatement, GrantPermissionStatementBuilderError>
pub fn build( &self, ) -> Result<GrantPermissionStatement, GrantPermissionStatementBuilderError>
Trait Implementations§
Source§impl Clone for GrantPermissionStatementBuilder
impl Clone for GrantPermissionStatementBuilder
Source§fn clone(&self) -> GrantPermissionStatementBuilder
fn clone(&self) -> GrantPermissionStatementBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GrantPermissionStatementBuilder
impl RefUnwindSafe for GrantPermissionStatementBuilder
impl Send for GrantPermissionStatementBuilder
impl Sync for GrantPermissionStatementBuilder
impl Unpin for GrantPermissionStatementBuilder
impl UnwindSafe for GrantPermissionStatementBuilder
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