pub struct RecalledMemory {
pub record: MemoryRecord,
pub relevance_score: f64,
pub activation_path: Option<Vec<Uuid>>,
pub rendered_content: MemoryContent,
}Expand description
A single recalled memory with relevance scoring (CMP Spec §4.1).
Fields§
§record: MemoryRecord§relevance_score: f64§activation_path: Option<Vec<Uuid>>§rendered_content: MemoryContentTrait Implementations§
Source§impl Clone for RecalledMemory
impl Clone for RecalledMemory
Source§fn clone(&self) -> RecalledMemory
fn clone(&self) -> RecalledMemory
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 RecalledMemory
impl Debug for RecalledMemory
Source§impl<'de> Deserialize<'de> for RecalledMemory
impl<'de> Deserialize<'de> for RecalledMemory
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 RecalledMemory
impl RefUnwindSafe for RecalledMemory
impl Send for RecalledMemory
impl Sync for RecalledMemory
impl Unpin for RecalledMemory
impl UnsafeUnpin for RecalledMemory
impl UnwindSafe for RecalledMemory
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