pub struct KeyspaceStats {
pub key_count: usize,
pub used_bytes: usize,
pub keys_with_expiry: usize,
}Expand description
Aggregated statistics for a keyspace.
Fields§
§key_count: usizeNumber of live keys.
used_bytes: usizeEstimated memory usage in bytes.
keys_with_expiry: usizeNumber of keys with an expiration set.
Trait Implementations§
Source§impl Clone for KeyspaceStats
impl Clone for KeyspaceStats
Source§fn clone(&self) -> KeyspaceStats
fn clone(&self) -> KeyspaceStats
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 moreSource§impl Debug for KeyspaceStats
impl Debug for KeyspaceStats
Source§impl PartialEq for KeyspaceStats
impl PartialEq for KeyspaceStats
impl Eq for KeyspaceStats
impl StructuralPartialEq for KeyspaceStats
Auto Trait Implementations§
impl Freeze for KeyspaceStats
impl RefUnwindSafe for KeyspaceStats
impl Send for KeyspaceStats
impl Sync for KeyspaceStats
impl Unpin for KeyspaceStats
impl UnwindSafe for KeyspaceStats
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