pub struct SparseSearchHit {
pub subject_id: Uuid,
pub score: DeterministicScore,
pub rank: u32,
}Expand description
A single ranked result from a sparse similarity search.
Fields§
§subject_id: Uuid§score: DeterministicScore§rank: u32Trait Implementations§
Source§impl Clone for SparseSearchHit
impl Clone for SparseSearchHit
Source§fn clone(&self) -> SparseSearchHit
fn clone(&self) -> SparseSearchHit
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 SparseSearchHit
impl Debug for SparseSearchHit
Source§impl<'de> Deserialize<'de> for SparseSearchHit
impl<'de> Deserialize<'de> for SparseSearchHit
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 SparseSearchHit
impl RefUnwindSafe for SparseSearchHit
impl Send for SparseSearchHit
impl Sync for SparseSearchHit
impl Unpin for SparseSearchHit
impl UnsafeUnpin for SparseSearchHit
impl UnwindSafe for SparseSearchHit
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