pub enum Role {
Administrator,
User,
Auditor,
}Expand description
Installation privileges; every account may access only its own opinions.
Variants§
Administrator
May manage accounts and run administrative installation operations.
User
May browse the shared catalog and manage their own personal data.
Auditor
May browse the shared catalog and read their own personal data only.
Implementations§
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
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