pub struct Match {
pub id: String,
pub score: Option<f32>,
pub values: Option<Vec<f32>>,
pub sparse_values: Option<SparseValues>,
pub metadata: Option<MappedValue>,
}
Expand description
Match is a specific match under a Query Request.
Fields§
§id: String
Matched Vectors
score: Option<f32>
This is a measure of simialrty between this vector and the query vector. It uses the
Metric
value specified during the creation of the index.
values: Option<Vec<f32>>
The vector values.
sparse_values: Option<SparseValues>
Vector Sparse Data.
metadata: Option<MappedValue>
The vector metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Match
impl<'de> Deserialize<'de> for Match
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin 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