pub struct GrantPermissionStatementBuilder { /* private fields */ }Expand description
Builder for GrantPermissionStatement.
Implementations
sourceimpl 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
sourceimpl Clone for GrantPermissionStatementBuilder
impl Clone for GrantPermissionStatementBuilder
sourcefn clone(&self) -> GrantPermissionStatementBuilder
fn clone(&self) -> GrantPermissionStatementBuilder
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 more
Auto Trait Implementations
impl RefUnwindSafe for GrantPermissionStatementBuilder
impl Send for GrantPermissionStatementBuilder
impl Sync for GrantPermissionStatementBuilder
impl Unpin for GrantPermissionStatementBuilder
impl UnwindSafe for GrantPermissionStatementBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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