pub struct ScoredPoint {
pub id: PointId,
pub score: f32,
pub payload: Option<JsonObject>,
pub vector: Option<Vec<f32>>,
}Expand description
A scored query winner.
Fields§
§id: PointIdTyped point identifier.
score: f32Descending cosine similarity score.
payload: Option<JsonObject>Payload when requested by Query::with_payload.
vector: Option<Vec<f32>>Stored vector when requested by Query::with_vector.
Trait Implementations§
Source§impl Clone for ScoredPoint
impl Clone for ScoredPoint
Source§fn clone(&self) -> ScoredPoint
fn clone(&self) -> ScoredPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScoredPoint
impl Debug for ScoredPoint
Source§impl<'de> Deserialize<'de> for ScoredPoint
impl<'de> Deserialize<'de> for ScoredPoint
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 ScoredPoint
impl RefUnwindSafe for ScoredPoint
impl Send for ScoredPoint
impl Sync for ScoredPoint
impl Unpin for ScoredPoint
impl UnsafeUnpin for ScoredPoint
impl UnwindSafe for ScoredPoint
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