pub struct SessionMemoryView {
pub summary: String,
pub facts: Vec<String>,
}Expand description
Minimal per-session memory view persisted into derived/memory.json.
The serialized shape is compatible with the legacy
SessionMemoryEnvelope layout (grounded_facts: [{fact: …}]) so
query_facts, search_memory, and the legacy migration importer all read
the same file format.
Fields§
§summary: StringShort session summary (may be empty when unknown).
facts: Vec<String>Grounded facts extracted from the session, in extraction order.
Trait Implementations§
Source§impl Clone for SessionMemoryView
impl Clone for SessionMemoryView
Source§impl Debug for SessionMemoryView
impl Debug for SessionMemoryView
Source§impl<'de> Deserialize<'de> for SessionMemoryView
impl<'de> Deserialize<'de> for SessionMemoryView
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
impl Eq for SessionMemoryView
Source§impl PartialEq for SessionMemoryView
impl PartialEq for SessionMemoryView
Source§impl Serialize for SessionMemoryView
impl Serialize for SessionMemoryView
impl StructuralPartialEq for SessionMemoryView
Auto Trait Implementations§
impl Freeze for SessionMemoryView
impl RefUnwindSafe for SessionMemoryView
impl Send for SessionMemoryView
impl Sync for SessionMemoryView
impl Unpin for SessionMemoryView
impl UnsafeUnpin for SessionMemoryView
impl UnwindSafe for SessionMemoryView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.