pub struct TextStats {
pub docs: u64,
pub tokens: u64,
pub postings: u64,
pub approx_bytes: u64,
}Expand description
Sizing counters (memory formula + IDX.LIST).
Fields§
§docs: u64Indexed documents.
tokens: u64Distinct tokens.
postings: u64Total postings.
approx_bytes: u64Approximate heap bytes (RFC D4 formula’s measured side).
Trait Implementations§
impl Copy for TextStats
impl Eq for TextStats
impl StructuralPartialEq for TextStats
Auto Trait Implementations§
impl Freeze for TextStats
impl RefUnwindSafe for TextStats
impl Send for TextStats
impl Sync for TextStats
impl Unpin for TextStats
impl UnsafeUnpin for TextStats
impl UnwindSafe for TextStats
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