pub enum TruthState {
Unknown,
Candidate,
Active,
Validated,
FullChainVerified,
AuthorityGrade,
}Expand description
Active truth state of a semantic artifact.
Variants§
Unknown
Truth state not established.
Candidate
Proposed but not yet accepted.
Active
Accepted as active.
Validated
Validated by explicit review.
FullChainVerified
Full cryptographic chain verified.
AuthorityGrade
Authority-grade verified.
Trait Implementations§
Source§impl Clone for TruthState
impl Clone for TruthState
Source§fn clone(&self) -> TruthState
fn clone(&self) -> TruthState
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 TruthState
impl Debug for TruthState
Source§impl<'de> Deserialize<'de> for TruthState
impl<'de> Deserialize<'de> for TruthState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for TruthState
impl Ord for TruthState
Source§fn cmp(&self, other: &TruthState) -> Ordering
fn cmp(&self, other: &TruthState) -> 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 TruthState
impl PartialEq for TruthState
Source§fn eq(&self, other: &TruthState) -> bool
fn eq(&self, other: &TruthState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TruthState
impl PartialOrd for TruthState
Source§impl Serialize for TruthState
impl Serialize for TruthState
impl Eq for TruthState
impl StructuralPartialEq for TruthState
Auto Trait Implementations§
impl Freeze for TruthState
impl RefUnwindSafe for TruthState
impl Send for TruthState
impl Sync for TruthState
impl Unpin for TruthState
impl UnsafeUnpin for TruthState
impl UnwindSafe for TruthState
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