pub struct CollectionStats {
pub count: usize,
pub size_bytes: usize,
pub avg_doc_size: usize,
}Expand description
Statistics for a specific collection
Fields§
§count: usizeNumber of documents in the collection
size_bytes: usizeTotal size of the collection in bytes
avg_doc_size: usizeAverage document size in bytes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CollectionStats
impl RefUnwindSafe for CollectionStats
impl Send for CollectionStats
impl Sync for CollectionStats
impl Unpin for CollectionStats
impl UnwindSafe for CollectionStats
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