pub struct IndexStats {
pub total: usize,
pub by_kind: HashMap<String, usize>,
pub namespaces: usize,
}Expand description
A snapshot of index statistics.
Fields§
§total: usizeTotal number of indexed declarations.
by_kind: HashMap<String, usize>Declaration counts grouped by a logical kind tag (currently unused by the index itself; callers populate this from external data).
namespaces: usizeNumber of distinct namespace prefixes.
Trait Implementations§
Source§impl Clone for IndexStats
impl Clone for IndexStats
Source§impl Debug for IndexStats
impl Debug for IndexStats
Auto Trait Implementations§
impl Forget for IndexStats
impl Freeze for IndexStats
impl Move for IndexStats
impl RefUnwindSafe for IndexStats
impl Send for IndexStats
impl Sync for IndexStats
impl Unpin for IndexStats
impl UnsafeUnpin for IndexStats
impl UnwindSafe for IndexStats
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