pub struct LexicalMatch {
pub key: Vec<u8>,
pub score_nanos: i64,
pub terms: Vec<LexicalTermContribution>,
}Expand description
One canonical lexical match.
Fields§
§key: Vec<u8>Binary object key.
score_nanos: i64Canonical BM25F score in nanos.
terms: Vec<LexicalTermContribution>Per-term deterministic explanation.
Trait Implementations§
Source§impl Clone for LexicalMatch
impl Clone for LexicalMatch
Source§fn clone(&self) -> LexicalMatch
fn clone(&self) -> LexicalMatch
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 LexicalMatch
impl Debug for LexicalMatch
impl Eq for LexicalMatch
Source§impl PartialEq for LexicalMatch
impl PartialEq for LexicalMatch
impl StructuralPartialEq for LexicalMatch
Auto Trait Implementations§
impl Freeze for LexicalMatch
impl RefUnwindSafe for LexicalMatch
impl Send for LexicalMatch
impl Sync for LexicalMatch
impl Unpin for LexicalMatch
impl UnsafeUnpin for LexicalMatch
impl UnwindSafe for LexicalMatch
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