pub struct TTLStats {
pub total_keys_with_ttl: usize,
pub active_keys: usize,
pub expired_keys: usize,
pub next_expiration: Option<DateTime<Utc>>,
}Expand description
Statistics for TTL usage
Fields§
§total_keys_with_ttl: usize§active_keys: usize§expired_keys: usize§next_expiration: Option<DateTime<Utc>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TTLStats
impl RefUnwindSafe for TTLStats
impl Send for TTLStats
impl Sync for TTLStats
impl Unpin for TTLStats
impl UnwindSafe for TTLStats
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