pub struct MemoryRecallView {
pub about: String,
pub revision: u64,
pub content_hash: String,
pub root: MemoryNodeView,
pub neighbors: Vec<MemoryNodeView>,
pub relationships: Vec<MemoryRelationshipView>,
pub details: Vec<MemoryDetailView>,
pub rendered: RenderedMemoryView,
}Expand description
What one recall returned.
Fields§
§about: StringThe about that was asked for, echoed back unchanged.
revision: u64The revision of the memory this recall was answered from. Two recalls
answering with the same revision and content_hash saw one
snapshot; a consumer combining recalls checks this instead of hoping.
content_hash: StringHash of the memory state behind this recall — the snapshot’s identity,
distinct from rendered.content_hash, which covers the rendered text.
root: MemoryNodeView§neighbors: Vec<MemoryNodeView>§relationships: Vec<MemoryRelationshipView>§details: Vec<MemoryDetailView>§rendered: RenderedMemoryViewTrait Implementations§
Source§impl Clone for MemoryRecallView
impl Clone for MemoryRecallView
Source§fn clone(&self) -> MemoryRecallView
fn clone(&self) -> MemoryRecallView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryRecallView
impl Debug for MemoryRecallView
Source§impl<'de> Deserialize<'de> for MemoryRecallView
impl<'de> Deserialize<'de> for MemoryRecallView
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
Source§impl PartialEq for MemoryRecallView
impl PartialEq for MemoryRecallView
Source§impl Serialize for MemoryRecallView
impl Serialize for MemoryRecallView
impl StructuralPartialEq for MemoryRecallView
Auto Trait Implementations§
impl Freeze for MemoryRecallView
impl RefUnwindSafe for MemoryRecallView
impl Send for MemoryRecallView
impl Sync for MemoryRecallView
impl Unpin for MemoryRecallView
impl UnsafeUnpin for MemoryRecallView
impl UnwindSafe for MemoryRecallView
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