pub struct Posting {
pub doc_id: HipStr<'static>,
pub score: f64,
pub positions: Vec<u32>,
pub payload: Option<Vec<u8>>,
}Expand description
Inverted index posting entry. 倒排记录条目(Posting)
Fields§
§doc_id: HipStr<'static>§score: f64§positions: Vec<u32>§payload: Option<Vec<u8>>Trait Implementations§
impl StructuralPartialEq for Posting
Auto Trait Implementations§
impl Freeze for Posting
impl RefUnwindSafe for Posting
impl Send for Posting
impl Sync for Posting
impl Unpin for Posting
impl UnsafeUnpin for Posting
impl UnwindSafe for Posting
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