pub struct MemoryHit {
pub entry: MemoryEntry,
pub score: f32,
pub snippet: String,
}Expand description
Search result with relevance score.
Fields§
§entry: MemoryEntryThe matching entry.
score: f32Relevance score (higher is better).
snippet: StringHighlighted snippet for display.
Trait Implementations§
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