pub struct LexicalCandidate {
pub document: DocumentVersion,
pub score: f64,
}Expand description
One store-backed lexical hit joined to its stable document identity.
Fields§
§document: DocumentVersionStable application document version.
score: f64Larger-is-better BM25 score.
Trait Implementations§
Source§impl Clone for LexicalCandidate
impl Clone for LexicalCandidate
Source§fn clone(&self) -> LexicalCandidate
fn clone(&self) -> LexicalCandidate
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 moreimpl Copy for LexicalCandidate
Source§impl Debug for LexicalCandidate
impl Debug for LexicalCandidate
Source§impl PartialEq for LexicalCandidate
impl PartialEq for LexicalCandidate
impl StructuralPartialEq for LexicalCandidate
Auto Trait Implementations§
impl Freeze for LexicalCandidate
impl RefUnwindSafe for LexicalCandidate
impl Send for LexicalCandidate
impl Sync for LexicalCandidate
impl Unpin for LexicalCandidate
impl UnsafeUnpin for LexicalCandidate
impl UnwindSafe for LexicalCandidate
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