pub struct DatabaseStats {
pub backend: DatabaseBackend,
pub table_count: usize,
pub total_rows: usize,
pub total_size_bytes: usize,
pub index_count: usize,
pub cache_hit_rate: f64,
}Expand description
Database statistics
Fields§
§backend: DatabaseBackend§table_count: usize§total_rows: usize§total_size_bytes: usize§index_count: usize§cache_hit_rate: f64Trait Implementations§
Source§impl Clone for DatabaseStats
impl Clone for DatabaseStats
Source§fn clone(&self) -> DatabaseStats
fn clone(&self) -> DatabaseStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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