pub struct ProfileFact {
pub subject: EntityId,
pub canonical_key: String,
pub predicate: String,
pub text: String,
pub valid_from: i64,
pub valid_to: i64,
pub confidence: f32,
pub trust: TrustTier,
pub sources: Vec<String>,
}Expand description
A single profile line (DESIGN §12.2). Subject + canonical key + predicate + rendered text, plus provenance.
Fields§
§subject: EntityId§canonical_key: String§predicate: String§text: String§valid_from: i64§valid_to: i64§confidence: f32§trust: TrustTier§sources: Vec<String>Source episode ids the profile line was extracted from.
Trait Implementations§
Source§impl Clone for ProfileFact
impl Clone for ProfileFact
Source§fn clone(&self) -> ProfileFact
fn clone(&self) -> ProfileFact
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 ProfileFact
impl Debug for ProfileFact
Source§impl<'de> Deserialize<'de> for ProfileFact
impl<'de> Deserialize<'de> for ProfileFact
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 ProfileFact
impl RefUnwindSafe for ProfileFact
impl Send for ProfileFact
impl Sync for ProfileFact
impl Unpin for ProfileFact
impl UnsafeUnpin for ProfileFact
impl UnwindSafe for ProfileFact
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