pub struct TemporalFact {Show 14 fields
pub id: i64,
pub project: String,
pub subject: String,
pub predicate: FactPredicate,
pub object: String,
pub valid_from_epoch: Option<i64>,
pub valid_to_epoch: Option<i64>,
pub learned_at_epoch: i64,
pub source_memory_id: Option<i64>,
pub source_observation_id: Option<i64>,
pub source_event_ids: Vec<i64>,
pub confidence: f64,
pub supersedes_fact_id: Option<i64>,
pub status: String,
}Fields§
§id: i64§project: String§subject: String§predicate: FactPredicate§object: String§valid_from_epoch: Option<i64>§valid_to_epoch: Option<i64>§learned_at_epoch: i64§source_memory_id: Option<i64>§source_observation_id: Option<i64>§source_event_ids: Vec<i64>§confidence: f64§supersedes_fact_id: Option<i64>§status: StringTrait Implementations§
Source§impl Clone for TemporalFact
impl Clone for TemporalFact
Source§fn clone(&self) -> TemporalFact
fn clone(&self) -> TemporalFact
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 TemporalFact
impl Debug for TemporalFact
Source§impl PartialEq for TemporalFact
impl PartialEq for TemporalFact
impl StructuralPartialEq for TemporalFact
Auto Trait Implementations§
impl Freeze for TemporalFact
impl RefUnwindSafe for TemporalFact
impl Send for TemporalFact
impl Sync for TemporalFact
impl Unpin for TemporalFact
impl UnsafeUnpin for TemporalFact
impl UnwindSafe for TemporalFact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more