pub struct CacheMetricsSnapshot {
pub cache_hits_total: u64,
pub cache_misses_total: u64,
pub cache_evictions_total: u64,
}Fields§
§cache_hits_total: u64§cache_misses_total: u64§cache_evictions_total: u64Trait Implementations§
Source§impl Clone for CacheMetricsSnapshot
impl Clone for CacheMetricsSnapshot
Source§fn clone(&self) -> CacheMetricsSnapshot
fn clone(&self) -> CacheMetricsSnapshot
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 moreSource§impl Debug for CacheMetricsSnapshot
impl Debug for CacheMetricsSnapshot
Source§impl Default for CacheMetricsSnapshot
impl Default for CacheMetricsSnapshot
Source§fn default() -> CacheMetricsSnapshot
fn default() -> CacheMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CacheMetricsSnapshot
impl<'de> Deserialize<'de> for CacheMetricsSnapshot
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 CacheMetricsSnapshot
impl RefUnwindSafe for CacheMetricsSnapshot
impl Send for CacheMetricsSnapshot
impl Sync for CacheMetricsSnapshot
impl Unpin for CacheMetricsSnapshot
impl UnsafeUnpin for CacheMetricsSnapshot
impl UnwindSafe for CacheMetricsSnapshot
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