pub struct ListPermissionsStatementBuilder { /* private fields */ }
Expand description
Builder for ListPermissionsStatement
.
Implementations§
Source§impl ListPermissionsStatementBuilder
impl ListPermissionsStatementBuilder
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 of<VALUE: Into<Name>>(&mut self, value: VALUE) -> &mut Self
pub fn set_no_recursive(&mut self, value: bool) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ListPermissionsStatement, ListPermissionsStatementBuilderError>
pub fn build( &self, ) -> Result<ListPermissionsStatement, ListPermissionsStatementBuilderError>
Source§impl ListPermissionsStatementBuilder
impl ListPermissionsStatementBuilder
Sourcepub fn no_recursive(&mut self) -> &mut Self
pub fn no_recursive(&mut self) -> &mut Self
Set NO RECURSIVE on the statement.
To undo this, use set_no_recursive(false)
.
Trait Implementations§
Source§impl Clone for ListPermissionsStatementBuilder
impl Clone for ListPermissionsStatementBuilder
Source§fn clone(&self) -> ListPermissionsStatementBuilder
fn clone(&self) -> ListPermissionsStatementBuilder
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 ListPermissionsStatementBuilder
impl RefUnwindSafe for ListPermissionsStatementBuilder
impl Send for ListPermissionsStatementBuilder
impl Sync for ListPermissionsStatementBuilder
impl Unpin for ListPermissionsStatementBuilder
impl UnwindSafe for ListPermissionsStatementBuilder
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