pub struct TermInfo {
pub document_frequency: u32,
pub postings_offset: u64,
pub postings_length: u32,
}Expand description
What the dictionary stores for each term.
Fields§
§document_frequency: u32Documents containing the term, within this segment.
postings_offset: u64Byte offset of the term’s encoded posting list.
postings_length: u32Byte length of the term’s encoded posting list.
Trait Implementations§
impl Copy for TermInfo
impl Eq for TermInfo
impl StructuralPartialEq for TermInfo
Auto Trait Implementations§
impl Freeze for TermInfo
impl RefUnwindSafe for TermInfo
impl Send for TermInfo
impl Sync for TermInfo
impl Unpin for TermInfo
impl UnsafeUnpin for TermInfo
impl UnwindSafe for TermInfo
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