pub struct MaintainedTruth {
pub claim: GroundedClaim,
pub established_at: u64,
pub status: TruthStatus,
pub invalidation: Option<TruthInvalidation>,
}Expand description
Record of a previously-true claim.
Fields§
§claim: GroundedClaimThe claim.
established_at: u64When it was established (unix timestamp).
status: TruthStatusCurrent status.
invalidation: Option<TruthInvalidation>If invalidated, what changed.
Trait Implementations§
Source§impl Clone for MaintainedTruth
impl Clone for MaintainedTruth
Source§fn clone(&self) -> MaintainedTruth
fn clone(&self) -> MaintainedTruth
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 MaintainedTruth
impl Debug for MaintainedTruth
Source§impl<'de> Deserialize<'de> for MaintainedTruth
impl<'de> Deserialize<'de> for MaintainedTruth
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
Auto Trait Implementations§
impl Freeze for MaintainedTruth
impl RefUnwindSafe for MaintainedTruth
impl Send for MaintainedTruth
impl Sync for MaintainedTruth
impl Unpin for MaintainedTruth
impl UnsafeUnpin for MaintainedTruth
impl UnwindSafe for MaintainedTruth
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