pub struct LexDoc {
pub id: String,
pub fields: Vec<LexField>,
}Expand description
A document scored by the BM25 lens (symbol, component, route, …).
Fields§
§id: String§fields: Vec<LexField>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LexDoc
impl RefUnwindSafe for LexDoc
impl Send for LexDoc
impl Sync for LexDoc
impl Unpin for LexDoc
impl UnsafeUnpin for LexDoc
impl UnwindSafe for LexDoc
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