pub enum AuthorityLevel {
Low,
Medium,
High,
}Expand description
Coarse authority level supplied by the caller.
Variants§
Low
Low authority — observed or unverified.
Medium
Medium authority — partially verified.
High
High authority — fully verified or operator-grade.
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 (const: unstable) · 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 Ord for AuthorityLevel
impl Ord for AuthorityLevel
Source§fn cmp(&self, other: &AuthorityLevel) -> Ordering
fn cmp(&self, other: &AuthorityLevel) -> Ordering
1.21.0 (const: unstable) · 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 AuthorityLevel
impl PartialEq for AuthorityLevel
Source§fn eq(&self, other: &AuthorityLevel) -> bool
fn eq(&self, other: &AuthorityLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.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