Struct inference_core::similarity::DocumentMatch
source · pub struct DocumentMatch {
pub score: f32,
pub embedding_id: String,
pub embedding: Embedding,
pub embedded: Document,
}Fields§
§score: f32§embedding_id: String§embedding: Embedding§embedded: DocumentImplementations§
Trait Implementations§
source§impl Clone for DocumentMatch
impl Clone for DocumentMatch
source§fn clone(&self) -> DocumentMatch
fn clone(&self) -> DocumentMatch
Returns a copy 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 moresource§impl Debug for DocumentMatch
impl Debug for DocumentMatch
source§impl Ord for DocumentMatch
impl Ord for DocumentMatch
source§impl PartialEq for DocumentMatch
impl PartialEq for DocumentMatch
source§impl PartialOrd for DocumentMatch
impl PartialOrd for DocumentMatch
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for DocumentMatch
Auto Trait Implementations§
impl RefUnwindSafe for DocumentMatch
impl Send for DocumentMatch
impl Sync for DocumentMatch
impl Unpin for DocumentMatch
impl UnwindSafe for DocumentMatch
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