pub struct ScoredDoc {
pub doc: GlobalDocId,
pub score: f64,
}Expand description
One scored result.
Fields§
§doc: GlobalDocIdThe document.
score: f64Its BM25 score. Higher is better; never negative.
Trait Implementations§
impl Copy for ScoredDoc
impl StructuralPartialEq for ScoredDoc
Auto Trait Implementations§
impl Freeze for ScoredDoc
impl RefUnwindSafe for ScoredDoc
impl Send for ScoredDoc
impl Sync for ScoredDoc
impl Unpin for ScoredDoc
impl UnsafeUnpin for ScoredDoc
impl UnwindSafe for ScoredDoc
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