pub struct DatabaseStats {
pub hot_stats: CacheStats,
pub cold_stats: ColdStoreStats,
pub estimated_size: u64,
pub collections: HashMap<String, CollectionStats>,
}Expand description
Combined database statistics
Fields§
§hot_stats: CacheStatsHot cache statistics
cold_stats: ColdStoreStatsCold storage statistics
estimated_size: u64Estimated total database size in bytes
collections: HashMap<String, CollectionStats>Statistics for each collection
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseStats
impl RefUnwindSafe for DatabaseStats
impl Send for DatabaseStats
impl Sync for DatabaseStats
impl Unpin for DatabaseStats
impl UnwindSafe for DatabaseStats
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