pub struct RowResult<T> {
pub row: T,
pub distance: f64,
pub score: f64,
}Fields§
§row: Trecord result
distance: f64the distance of this record from the target vector
score: f64the higher the score, the more similar it is to the target vector
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for RowResult<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for RowResult<T>where
T: Deserialize<'de>,
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<T> Freeze for RowResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for RowResult<T>where
T: RefUnwindSafe,
impl<T> Send for RowResult<T>where
T: Send,
impl<T> Sync for RowResult<T>where
T: Sync,
impl<T> Unpin for RowResult<T>where
T: Unpin,
impl<T> UnwindSafe for RowResult<T>where
T: UnwindSafe,
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