pub struct Permissions<'a> {
pub entity_type: &'a str,
pub permission: u16,
}
Fields§
§entity_type: &'a str
§permission: u16
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Permissions<'a>
impl<'a> RefUnwindSafe for Permissions<'a>
impl<'a> Send for Permissions<'a>
impl<'a> Sync for Permissions<'a>
impl<'a> Unpin for Permissions<'a>
impl<'a> UnwindSafe for Permissions<'a>
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