pub struct TemporalClaim {
pub entity_id: EntityId,
pub claim: String,
pub valid_from: Option<DateTime<Utc>>,
pub valid_until: Option<DateTime<Utc>>,
pub confidence: f32,
pub source_ids: Vec<String>,
}Expand description
A temporal claim: an assertion about an entity that holds during a time interval.
Claims are derived projections — they do NOT own source truth. They are
assembled from facts, episodes, and document chunks found via
semantic-memory.
Fields§
§entity_id: EntityIdThe entity this claim is about.
claim: StringThe assertion text.
valid_from: Option<DateTime<Utc>>When the claim became valid (inclusive).
valid_until: Option<DateTime<Utc>>When the claim ceased to be valid (exclusive).
confidence: f32Confidence in the claim’s validity (0.0 to 1.0).
source_ids: Vec<String>Source IDs from semantic-memory backing this claim.
Implementations§
Trait Implementations§
Source§impl Clone for TemporalClaim
impl Clone for TemporalClaim
Source§fn clone(&self) -> TemporalClaim
fn clone(&self) -> TemporalClaim
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 TemporalClaim
impl Debug for TemporalClaim
Source§impl<'de> Deserialize<'de> for TemporalClaim
impl<'de> Deserialize<'de> for TemporalClaim
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 TemporalClaim
impl RefUnwindSafe for TemporalClaim
impl Send for TemporalClaim
impl Sync for TemporalClaim
impl Unpin for TemporalClaim
impl UnsafeUnpin for TemporalClaim
impl UnwindSafe for TemporalClaim
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