pub struct AgenticMemoryContextEntry<T> {
pub fragment_id: FactId,
pub payload: T,
pub confidence: f64,
pub tags: Vec<String>,
pub sources: Vec<FactId>,
pub fragment: MemoryFragment<T>,
pub metadata: Option<AgenticMemoryRecordMetadata>,
}Expand description
AgenticMemoryContextEntry data container.
Fields§
§fragment_id: FactIdfragment_id field for fragment id.
payload: Tpayload field for payload.
confidence: f64confidence field for confidence.
tags field for tags.
sources: Vec<FactId>sources field for sources.
fragment: MemoryFragment<T>fragment field for fragment.
metadata: Option<AgenticMemoryRecordMetadata>metadata field for metadata.
Trait Implementations§
Source§impl<T: Clone> Clone for AgenticMemoryContextEntry<T>
impl<T: Clone> Clone for AgenticMemoryContextEntry<T>
Source§fn clone(&self) -> AgenticMemoryContextEntry<T>
fn clone(&self) -> AgenticMemoryContextEntry<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for AgenticMemoryContextEntry<T>
impl<T: Debug> Debug for AgenticMemoryContextEntry<T>
Source§impl<T: PartialEq> PartialEq for AgenticMemoryContextEntry<T>
impl<T: PartialEq> PartialEq for AgenticMemoryContextEntry<T>
Source§fn eq(&self, other: &AgenticMemoryContextEntry<T>) -> bool
fn eq(&self, other: &AgenticMemoryContextEntry<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T> StructuralPartialEq for AgenticMemoryContextEntry<T>
Auto Trait Implementations§
impl<T> Freeze for AgenticMemoryContextEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for AgenticMemoryContextEntry<T>where
T: RefUnwindSafe,
impl<T> Send for AgenticMemoryContextEntry<T>where
T: Send,
impl<T> Sync for AgenticMemoryContextEntry<T>where
T: Sync,
impl<T> Unpin for AgenticMemoryContextEntry<T>where
T: Unpin,
impl<T> UnsafeUnpin for AgenticMemoryContextEntry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AgenticMemoryContextEntry<T>where
T: 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