pub struct MemoryRef {
pub memory_id: String,
pub text_preview: String,
pub usefulness_score: f32,
pub use_count: u32,
}Expand description
Lightweight memory reference for ranked lists.
Fields§
§memory_id: String§text_preview: String§usefulness_score: f32§use_count: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryRef
impl RefUnwindSafe for MemoryRef
impl Send for MemoryRef
impl Sync for MemoryRef
impl Unpin for MemoryRef
impl UnsafeUnpin for MemoryRef
impl UnwindSafe for MemoryRef
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