pub enum Rank {
Endorsed,
Verified,
Other,
}Expand description
A version’s rank (§24 VT1), from its author. Lower speaks first; the order is the derive’s.
Variants§
Endorsed
A source the root endorses for the record’s collection (a mirror, a rule, a collective).
Verified
A verified account (a verification by an issuer the root endorses for it), or a member of a
collective the root endorses to write membership claims.
Other
Everyone else. Fills blanks or stands alone, never raises a conflict, never merges two clusters (VT6).
Implementations§
Trait Implementations§
impl Copy for Rank
impl Eq for Rank
Source§impl Ord for Rank
impl Ord for Rank
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Rank
impl PartialOrd for Rank
impl StructuralPartialEq for Rank
Auto Trait Implementations§
impl Freeze for Rank
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnsafeUnpin for Rank
impl UnwindSafe for Rank
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