pub struct Match {
pub id: String,
pub score: f32,
}Expand description
A search hit: which entry, and how similar. No vector is returned — the corpus stays on the node.
Fields§
§id: String§score: f32Trait Implementations§
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Forget for Match
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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