pub enum AuthorityLevel {
Observer,
Delegate,
Controller,
Author,
Owner,
Steward,
System,
}Variants§
Implementations§
Source§impl AuthorityLevel
impl AuthorityLevel
pub fn rank(&self) -> u8
pub fn can_perform(&self, required: AuthorityLevel) -> bool
Trait Implementations§
Source§impl Clone for AuthorityLevel
impl Clone for AuthorityLevel
Source§fn clone(&self) -> AuthorityLevel
fn clone(&self) -> AuthorityLevel
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 AuthorityLevel
impl Debug for AuthorityLevel
Source§impl Hash for AuthorityLevel
impl Hash for AuthorityLevel
Source§impl Ord for AuthorityLevel
impl Ord for AuthorityLevel
Source§impl PartialEq for AuthorityLevel
impl PartialEq for AuthorityLevel
Source§impl PartialOrd for AuthorityLevel
impl PartialOrd for AuthorityLevel
impl Copy for AuthorityLevel
impl Eq for AuthorityLevel
impl StructuralPartialEq for AuthorityLevel
Auto Trait Implementations§
impl Freeze for AuthorityLevel
impl RefUnwindSafe for AuthorityLevel
impl Send for AuthorityLevel
impl Sync for AuthorityLevel
impl Unpin for AuthorityLevel
impl UnsafeUnpin for AuthorityLevel
impl UnwindSafe for AuthorityLevel
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