pub struct MemoryHit {
pub memory_id: String,
pub text: String,
pub similarity_score: f32,
pub confidence: f32,
pub salience: f32,
pub kind: u8,
pub created_at_unix_nanos: u64,
}Expand description
One recalled memory in the response.
Fields§
§memory_id: String§text: String§similarity_score: f32§confidence: f32§salience: f32§kind: u8§created_at_unix_nanos: u64Trait Implementations§
Source§impl From<MemoryResult> for MemoryHit
impl From<MemoryResult> for MemoryHit
Source§fn from(m: MemoryResult) -> Self
fn from(m: MemoryResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemoryHit
impl RefUnwindSafe for MemoryHit
impl Send for MemoryHit
impl Sync for MemoryHit
impl Unpin for MemoryHit
impl UnsafeUnpin for MemoryHit
impl UnwindSafe for MemoryHit
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