pub struct RecalledFact {
pub id: FactId,
pub score: f32,
pub sources: u8,
pub entity: EntityId,
pub recorded_at: u64,
pub valid_from: u64,
pub valid_to: u64,
}Expand description
One recalled fact.
Fields§
§id: FactIdThe fact.
score: f32Fused score (RRF + recency boost).
sources: u8Which sources surfaced it (see source).
entity: EntityIdSubject entity or EntityId::NONE.
recorded_at: u64Knowledge axis.
valid_from: u64Truth axis, start.
valid_to: u64Truth axis, end (VALID_TO_OPEN = open).
Trait Implementations§
Source§impl Clone for RecalledFact
impl Clone for RecalledFact
Source§fn clone(&self) -> RecalledFact
fn clone(&self) -> RecalledFact
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 moreimpl Copy for RecalledFact
Source§impl Debug for RecalledFact
impl Debug for RecalledFact
Source§impl PartialEq for RecalledFact
impl PartialEq for RecalledFact
impl StructuralPartialEq for RecalledFact
Auto Trait Implementations§
impl Freeze for RecalledFact
impl RefUnwindSafe for RecalledFact
impl Send for RecalledFact
impl Sync for RecalledFact
impl Unpin for RecalledFact
impl UnsafeUnpin for RecalledFact
impl UnwindSafe for RecalledFact
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