pub struct PermissionGrant { /* private fields */ }Implementations§
Source§impl PermissionGrant
impl PermissionGrant
pub fn actions<T>(self, value: T) -> Self
pub fn data_actions<T>(self, value: T) -> Self
pub fn permissions<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PermissionGrant
impl Clone for PermissionGrant
Source§fn clone(&self) -> PermissionGrant
fn clone(&self) -> PermissionGrant
Returns a duplicate 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 PermissionGrant
impl Debug for PermissionGrant
Source§impl Default for PermissionGrant
impl Default for PermissionGrant
Source§impl From<PermissionGrant> for PermissionGrant
impl From<PermissionGrant> for PermissionGrant
Source§fn from(value: PermissionGrant) -> Self
fn from(value: PermissionGrant) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PermissionGrant> for PermissionGrant
impl TryFrom<PermissionGrant> for PermissionGrant
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PermissionGrant) -> Result<Self, ConversionError>
fn try_from(value: PermissionGrant) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PermissionGrant
impl RefUnwindSafe for PermissionGrant
impl Send for PermissionGrant
impl Sync for PermissionGrant
impl Unpin for PermissionGrant
impl UnsafeUnpin for PermissionGrant
impl UnwindSafe for PermissionGrant
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