pub struct SimilarityMatch {
pub node_id: u64,
pub similarity: f32,
}Expand description
A match result from a similarity search.
Fields§
§node_id: u64The node ID that matched.
similarity: f32The cosine similarity score.
Trait Implementations§
Source§impl Clone for SimilarityMatch
impl Clone for SimilarityMatch
Source§fn clone(&self) -> SimilarityMatch
fn clone(&self) -> SimilarityMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SimilarityMatch
impl RefUnwindSafe for SimilarityMatch
impl Send for SimilarityMatch
impl Sync for SimilarityMatch
impl Unpin for SimilarityMatch
impl UnsafeUnpin for SimilarityMatch
impl UnwindSafe for SimilarityMatch
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