pub struct ColdEntry {
pub key: Vec<u8>,
pub tf: u32,
pub dl: u32,
pub positions: Vec<u8>,
}Expand description
One decoded cold posting entry.
Fields§
§key: Vec<u8>The document’s row key.
tf: u32Weighted term frequency.
dl: u32Document length (unweighted tokens).
positions: Vec<u8>The positions blob, verbatim from the hot channel; empty when
the index was not declared WITH POSITIONS.
Auto Trait Implementations§
impl Freeze for ColdEntry
impl RefUnwindSafe for ColdEntry
impl Send for ColdEntry
impl Sync for ColdEntry
impl Unpin for ColdEntry
impl UnsafeUnpin for ColdEntry
impl UnwindSafe for ColdEntry
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