pub struct SearchDoc {
pub id: u64,
pub title: String,
pub body: String,
}Expand description
A document stored in the index.
Fields§
§id: u64§title: String§body: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for SearchDoc
impl RefUnwindSafe for SearchDoc
impl Send for SearchDoc
impl Sync for SearchDoc
impl Unpin for SearchDoc
impl UnsafeUnpin for SearchDoc
impl UnwindSafe for SearchDoc
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