Struct vector_store_flows::ScoredPoint
source · pub struct ScoredPoint {
pub id: PointId,
pub vector: Option<Vec<f32>>,
pub payload: Option<Map<String, Value>>,
pub score: f32,
}
Expand description
The point struct with the score returned by searching
Fields§
§id: PointId
Id of the point
vector: Option<Vec<f32>>
Vectors
payload: Option<Map<String, Value>>
Additional information along with vectors
score: f32
Points vector distance to the query vector
Trait Implementations§
source§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 RefUnwindSafe for ScoredPoint
impl Send for ScoredPoint
impl Sync for ScoredPoint
impl Unpin 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