pub struct AgenticMemoryProjection<T> {
pub records: Vec<AgenticMemoryRecord<T>>,
pub fragments: Vec<MemoryFragment<T>>,
pub metadata_by_fragment_id: BTreeMap<FactId, AgenticMemoryRecordMetadata>,
pub sources: Vec<AgenticMemorySourceProjection>,
pub errors: Vec<AgenticMemoryError>,
pub cursor: AgenticMemoryCursor,
}Expand description
AgenticMemoryProjection data container.
Fields§
§records: Vec<AgenticMemoryRecord<T>>records field for records.
fragments: Vec<MemoryFragment<T>>fragments field for fragments.
metadata_by_fragment_id: BTreeMap<FactId, AgenticMemoryRecordMetadata>metadata_by_fragment_id field for metadata by fragment id.
sources: Vec<AgenticMemorySourceProjection>sources field for sources.
errors: Vec<AgenticMemoryError>errors field for errors.
cursor: AgenticMemoryCursorcursor field for cursor.
Trait Implementations§
Source§impl<T: Clone> Clone for AgenticMemoryProjection<T>
impl<T: Clone> Clone for AgenticMemoryProjection<T>
Source§fn clone(&self) -> AgenticMemoryProjection<T>
fn clone(&self) -> AgenticMemoryProjection<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 AgenticMemoryProjection<T>
impl<T: Debug> Debug for AgenticMemoryProjection<T>
Source§impl<T: PartialEq> PartialEq for AgenticMemoryProjection<T>
impl<T: PartialEq> PartialEq for AgenticMemoryProjection<T>
impl<T> StructuralPartialEq for AgenticMemoryProjection<T>
Auto Trait Implementations§
impl<T> Freeze for AgenticMemoryProjection<T>
impl<T> RefUnwindSafe for AgenticMemoryProjection<T>where
T: RefUnwindSafe,
impl<T> Send for AgenticMemoryProjection<T>where
T: Send,
impl<T> Sync for AgenticMemoryProjection<T>where
T: Sync,
impl<T> Unpin for AgenticMemoryProjection<T>where
T: Unpin,
impl<T> UnsafeUnpin for AgenticMemoryProjection<T>
impl<T> UnwindSafe for AgenticMemoryProjection<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