pub struct RankedMemory {
pub entry: MemoryEntry,
pub score: f64,
}Expand description
A ranked memory result from unified search.
Fields§
§entry: MemoryEntryThe memory entry.
score: f64Combined RRF score (higher = more relevant).
Trait Implementations§
Source§impl Clone for RankedMemory
impl Clone for RankedMemory
Source§fn clone(&self) -> RankedMemory
fn clone(&self) -> RankedMemory
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 moreAuto Trait Implementations§
impl Freeze for RankedMemory
impl RefUnwindSafe for RankedMemory
impl Send for RankedMemory
impl Sync for RankedMemory
impl Unpin for RankedMemory
impl UnsafeUnpin for RankedMemory
impl UnwindSafe for RankedMemory
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