pub struct EntryStatistics {
pub total_count: usize,
pub total_size_bytes: u64,
pub avg_execution_time_ms: f64,
pub avg_age_seconds: f64,
pub expired_count: usize,
pub total_access_count: u64,
}Expand description
Statistics for a group of cache entries
Fields§
§total_count: usizeTotal number of entries
total_size_bytes: u64Total size in bytes
avg_execution_time_ms: f64Average execution time
avg_age_seconds: f64Average age of entries
expired_count: usizeNumber of expired entries
total_access_count: u64Total access count
Trait Implementations§
Source§impl Clone for EntryStatistics
impl Clone for EntryStatistics
Source§fn clone(&self) -> EntryStatistics
fn clone(&self) -> EntryStatistics
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 EntryStatistics
impl Debug for EntryStatistics
Source§impl Default for EntryStatistics
impl Default for EntryStatistics
Source§fn default() -> EntryStatistics
fn default() -> EntryStatistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntryStatistics
impl<'de> Deserialize<'de> for EntryStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntryStatistics
impl RefUnwindSafe for EntryStatistics
impl Send for EntryStatistics
impl Sync for EntryStatistics
impl Unpin for EntryStatistics
impl UnsafeUnpin for EntryStatistics
impl UnwindSafe for EntryStatistics
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