pub struct Hit {
pub id: u64,
pub distance: f32,
}Expand description
An answer: a document id and how far it really is, not how far it was estimated to be.
Fields§
§id: u64The id that was inserted.
distance: f32The exact squared distance, measured against the full precision vector.
Trait Implementations§
impl Copy for Hit
impl StructuralPartialEq for Hit
Auto Trait Implementations§
impl Freeze for Hit
impl RefUnwindSafe for Hit
impl Send for Hit
impl Sync for Hit
impl Unpin for Hit
impl UnsafeUnpin for Hit
impl UnwindSafe for Hit
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