pub struct RecallHit {
pub ref: String,
pub tool_name: String,
pub snippet: String,
}Expand description
One ranked match from recall: the ref to fetch, which tool produced it,
and a head snippet.
Fields§
§ref: StringThe tool_call_id used to index this entry; pass to get for full restore.
tool_name: StringName of the tool that produced the output (first tag on the entry).
snippet: StringLeading SNIPPET_CHARS characters of the stored content.
Trait Implementations§
impl Eq for RecallHit
impl StructuralPartialEq for RecallHit
Auto Trait Implementations§
impl Freeze for RecallHit
impl RefUnwindSafe for RecallHit
impl Send for RecallHit
impl Sync for RecallHit
impl Unpin for RecallHit
impl UnsafeUnpin for RecallHit
impl UnwindSafe for RecallHit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.