pub enum AccessLevel {
NoAccess = 0,
MinimalAccess = 5,
Guest = 10,
Reporter = 20,
Developer = 30,
Maintainer = 40,
Owner = 50,
}
Expand description
Access Level, also referred as Role
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AccessLevel
impl Clone for AccessLevel
Source§fn clone(&self) -> AccessLevel
fn clone(&self) -> AccessLevel
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 AccessLevel
impl Debug for AccessLevel
Source§impl Hash for AccessLevel
impl Hash for AccessLevel
Source§impl Ord for AccessLevel
impl Ord for AccessLevel
Source§fn cmp(&self, other: &AccessLevel) -> Ordering
fn cmp(&self, other: &AccessLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AccessLevel
impl PartialEq for AccessLevel
Source§impl PartialOrd for AccessLevel
impl PartialOrd for AccessLevel
impl Copy for AccessLevel
impl Eq for AccessLevel
impl StructuralPartialEq for AccessLevel
Auto Trait Implementations§
impl Freeze for AccessLevel
impl RefUnwindSafe for AccessLevel
impl Send for AccessLevel
impl Sync for AccessLevel
impl Unpin for AccessLevel
impl UnwindSafe for AccessLevel
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