pub enum TrustTier {
Unverified,
MachineConfirmed,
HumanReviewed,
}Expand description
A concept’s trust tier, derived from verified.
Ordering is by increasing trust, so tiers can be compared directly
(tier >= TrustTier::MachineConfirmed). Tiers are advisory signals, not
access control.
Variants§
Unverified
No verified key.
MachineConfirmed
verified by non-human: actors only.
HumanReviewed
verified by at least one human:<id> actor.
Implementations§
Trait Implementations§
impl Copy for TrustTier
impl Eq for TrustTier
Source§impl Ord for TrustTier
impl Ord for TrustTier
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 PartialOrd for TrustTier
impl PartialOrd for TrustTier
impl StructuralPartialEq for TrustTier
Auto Trait Implementations§
impl Freeze for TrustTier
impl RefUnwindSafe for TrustTier
impl Send for TrustTier
impl Sync for TrustTier
impl Unpin for TrustTier
impl UnsafeUnpin for TrustTier
impl UnwindSafe for TrustTier
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