pub struct PrefixInfo {
pub keys: u64,
pub expires: u64,
}Expand description
Per-prefix keyspace stats from Store::info_prefix.
Fields§
§keys: u64Live keys under the prefix.
expires: u64How many of them carry a TTL.
Trait Implementations§
Source§impl Clone for PrefixInfo
impl Clone for PrefixInfo
Source§fn clone(&self) -> PrefixInfo
fn clone(&self) -> PrefixInfo
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 moreimpl Copy for PrefixInfo
Source§impl Debug for PrefixInfo
impl Debug for PrefixInfo
impl Eq for PrefixInfo
Source§impl PartialEq for PrefixInfo
impl PartialEq for PrefixInfo
Source§fn eq(&self, other: &PrefixInfo) -> bool
fn eq(&self, other: &PrefixInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrefixInfo
Auto Trait Implementations§
impl Freeze for PrefixInfo
impl RefUnwindSafe for PrefixInfo
impl Send for PrefixInfo
impl Sync for PrefixInfo
impl Unpin for PrefixInfo
impl UnsafeUnpin for PrefixInfo
impl UnwindSafe for PrefixInfo
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