pub struct RequestCacheStats {
pub evictions: u32,
pub hit_count: u32,
pub memory_size_in_bytes: u32,
pub miss_count: u32,
pub memory_size: Option<String>,
}Fields§
§evictions: u32§hit_count: u32§memory_size_in_bytes: u32§miss_count: u32§memory_size: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RequestCacheStats
impl Clone for RequestCacheStats
Source§fn clone(&self) -> RequestCacheStats
fn clone(&self) -> RequestCacheStats
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 RequestCacheStats
impl Debug for RequestCacheStats
Source§impl Default for RequestCacheStats
impl Default for RequestCacheStats
Source§fn default() -> RequestCacheStats
fn default() -> RequestCacheStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestCacheStats
impl<'de> Deserialize<'de> for RequestCacheStats
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
Source§impl PartialEq for RequestCacheStats
impl PartialEq for RequestCacheStats
Source§fn eq(&self, other: &RequestCacheStats) -> bool
fn eq(&self, other: &RequestCacheStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RequestCacheStats
impl Serialize for RequestCacheStats
impl StructuralPartialEq for RequestCacheStats
Auto Trait Implementations§
impl Freeze for RequestCacheStats
impl RefUnwindSafe for RequestCacheStats
impl Send for RequestCacheStats
impl Sync for RequestCacheStats
impl Unpin for RequestCacheStats
impl UnsafeUnpin for RequestCacheStats
impl UnwindSafe for RequestCacheStats
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