pub struct FactMetadata {
pub inserted_at: Instant,
pub updated_at: Instant,
pub update_count: usize,
pub retracted: bool,
}Expand description
Metadata for a fact
Fields§
§inserted_at: InstantWhen the fact was inserted
updated_at: InstantWhen the fact was last updated
update_count: usizeNumber of updates
retracted: boolIs this fact retracted?
Trait Implementations§
Source§impl Clone for FactMetadata
impl Clone for FactMetadata
Source§fn clone(&self) -> FactMetadata
fn clone(&self) -> FactMetadata
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 FactMetadata
impl Debug for FactMetadata
Auto Trait Implementations§
impl Freeze for FactMetadata
impl RefUnwindSafe for FactMetadata
impl Send for FactMetadata
impl Sync for FactMetadata
impl Unpin for FactMetadata
impl UnwindSafe for FactMetadata
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