pub struct MemorySearchHit {
pub memory_id: String,
pub scope: String,
pub kind: String,
pub text: String,
pub rank: f32,
}Expand description
v0.8: a full-text search hit over memory text, returned by
search_memories and the kimetsu_brain_memory_search MCP tool.
rank is the BM25-derived relevance (higher = more relevant).
Fields§
§memory_id: String§scope: String§kind: String§text: String§rank: f32Trait Implementations§
Source§impl Clone for MemorySearchHit
impl Clone for MemorySearchHit
Source§fn clone(&self) -> MemorySearchHit
fn clone(&self) -> MemorySearchHit
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 MemorySearchHit
impl RefUnwindSafe for MemorySearchHit
impl Send for MemorySearchHit
impl Sync for MemorySearchHit
impl Unpin for MemorySearchHit
impl UnsafeUnpin for MemorySearchHit
impl UnwindSafe for MemorySearchHit
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