pub struct SearchHit {
pub doc_id: String,
pub score: f64,
pub matched_terms: Vec<MatchedTerm>,
}Expand description
Search hit containing the doc id, score, and matched terms/domains.
Fields§
§doc_id: String§score: f64§matched_terms: Vec<MatchedTerm>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchHit
impl RefUnwindSafe for SearchHit
impl Send for SearchHit
impl Sync for SearchHit
impl Unpin for SearchHit
impl UnsafeUnpin for SearchHit
impl UnwindSafe for SearchHit
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