pub struct Match {
pub id: String,
pub score: f32,
pub payload: Option<Value>,
pub vector: Option<Vec<f32>>,
}Expand description
A single search or fetch result.
Fields§
§id: StringExternal id of the point.
score: f32Distance / similarity under the collection metric (0 for a direct fetch).
payload: Option<Value>The payload, if requested.
vector: Option<Vec<f32>>The vector, if requested.
Trait Implementations§
impl StructuralPartialEq for Match
Auto Trait Implementations§
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