pub struct MemoryRecall {
pub record: MemoryRecord,
pub score: f64,
pub why: String,
}Expand description
One scored host recall. score is relevance, distinct from the record’s stored confidence.
Fields§
§record: MemoryRecord§score: f64§why: StringTrait Implementations§
Source§impl Clone for MemoryRecall
impl Clone for MemoryRecall
Source§fn clone(&self) -> MemoryRecall
fn clone(&self) -> MemoryRecall
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 MemoryRecall
impl Debug for MemoryRecall
Source§impl<'de> Deserialize<'de> for MemoryRecall
impl<'de> Deserialize<'de> for MemoryRecall
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 MemoryRecall
impl PartialEq for MemoryRecall
Source§impl Serialize for MemoryRecall
impl Serialize for MemoryRecall
impl StructuralPartialEq for MemoryRecall
Auto Trait Implementations§
impl Freeze for MemoryRecall
impl RefUnwindSafe for MemoryRecall
impl Send for MemoryRecall
impl Sync for MemoryRecall
impl Unpin for MemoryRecall
impl UnsafeUnpin for MemoryRecall
impl UnwindSafe for MemoryRecall
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