pub struct BaseRole {
pub name: &'static str,
pub display_name: &'static str,
pub description: &'static str,
pub permissions: HashSet<&'static str>,
}Fields§
§name: &'static str§display_name: &'static str§description: &'static str§permissions: HashSet<&'static str>Trait Implementations§
Auto Trait Implementations§
impl Freeze for BaseRole
impl RefUnwindSafe for BaseRole
impl Send for BaseRole
impl Sync for BaseRole
impl Unpin for BaseRole
impl UnwindSafe for BaseRole
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