pub struct ExtractedFact {
pub category: String,
pub key: String,
pub value: String,
pub privacy: Option<String>,
pub graph: ExtractedMemoryGraph,
pub personal_memory: Option<PersonalMemoryWrite>,
pub lifetime: FactLifetime,
pub restates: Option<String>,
pub updates: Option<String>,
pub scope: Option<String>,
pub subject: FactSubject,
pub evidence: String,
}Fields§
§category: String§key: String§value: String§privacy: Option<String>§graph: ExtractedMemoryGraph§personal_memory: Option<PersonalMemoryWrite>§lifetime: FactLifetime§restates: Option<String>The key of a shown stored fact this one carries the same information as: not stored again.
updates: Option<String>The key of a shown stored fact whose attribute this gives a new value.
scope: Option<String>For a session that works in a project: project or personal.
subject: FactSubjectWhom the fact is about. Missing, null or unknown values read as
FactSubject::Unstated.
evidence: StringA verbatim quote of the owner’s message that states the fact; empty when missing.
Trait Implementations§
Source§impl Debug for ExtractedFact
impl Debug for ExtractedFact
Source§impl<'de> Deserialize<'de> for ExtractedFact
impl<'de> Deserialize<'de> for ExtractedFact
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 Forget for ExtractedFact
impl Freeze for ExtractedFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ExtractedMemoryEntity>: Freeze,
PhantomData<ExtractedMemoryRelationship>: Freeze,
PhantomData<PersonalEntityCandidate>: Freeze,
PhantomData<PersonalAliasCandidate>: Freeze,
PhantomData<PersonalFactCandidate>: Freeze,
PhantomData<PersonalRelationshipCandidate>: Freeze,
impl Move for ExtractedFact
impl RefUnwindSafe for ExtractedFact
impl Send for ExtractedFactwhere
RawVecInner: Send,
impl Sync for ExtractedFactwhere
RawVecInner: Sync,
impl Unpin for ExtractedFact
impl UnsafeUnpin for ExtractedFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ExtractedMemoryEntity>: UnsafeUnpin,
PhantomData<ExtractedMemoryRelationship>: UnsafeUnpin,
PhantomData<PersonalEntityCandidate>: UnsafeUnpin,
PhantomData<PersonalAliasCandidate>: UnsafeUnpin,
PhantomData<PersonalFactCandidate>: UnsafeUnpin,
PhantomData<PersonalRelationshipCandidate>: UnsafeUnpin,
impl UnwindSafe for ExtractedFactwhere
RawVecInner: UnwindSafe,
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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