pub struct MemoryUpdate {
pub semantic_facts: Vec<String>,
pub episodic_entries: Vec<EpisodicEntry>,
pub procedural_updates: Vec<String>,
pub total_tokens: u64,
pub duration_ms: u64,
}Expand description
Memory update produced by idle completion
Fields§
§semantic_facts: Vec<String>Semantic memory updates
episodic_entries: Vec<EpisodicEntry>Episodic memory entries
procedural_updates: Vec<String>Procedural memory updates
total_tokens: u64Total tokens consumed
duration_ms: u64Duration in milliseconds
Trait Implementations§
Source§impl Clone for MemoryUpdate
impl Clone for MemoryUpdate
Source§fn clone(&self) -> MemoryUpdate
fn clone(&self) -> MemoryUpdate
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 Debug for MemoryUpdate
impl Debug for MemoryUpdate
Source§impl<'de> Deserialize<'de> for MemoryUpdate
impl<'de> Deserialize<'de> for MemoryUpdate
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 MemoryUpdate
impl RefUnwindSafe for MemoryUpdate
impl Send for MemoryUpdate
impl Sync for MemoryUpdate
impl Unpin for MemoryUpdate
impl UnsafeUnpin for MemoryUpdate
impl UnwindSafe for MemoryUpdate
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