pub struct DatabaseStatistics {
pub total_objects: usize,
pub object_types: usize,
pub type_counts: HashMap<ObjectType, usize>,
pub revision: u32,
pub last_modified: Instant,
}Expand description
Database statistics
Fields§
§total_objects: usize§object_types: usize§type_counts: HashMap<ObjectType, usize>§revision: u32§last_modified: InstantTrait Implementations§
Source§impl Clone for DatabaseStatistics
impl Clone for DatabaseStatistics
Source§fn clone(&self) -> DatabaseStatistics
fn clone(&self) -> DatabaseStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DatabaseStatistics
impl RefUnwindSafe for DatabaseStatistics
impl Send for DatabaseStatistics
impl Sync for DatabaseStatistics
impl Unpin for DatabaseStatistics
impl UnsafeUnpin for DatabaseStatistics
impl UnwindSafe for DatabaseStatistics
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