pub struct ResponseCacheStats {
pub l1_size: usize,
pub l1_max: usize,
pub l2_enabled: bool,
pub l2_healthy: bool,
pub strategy: ResponseCacheStrategy,
}Fields§
§l1_size: usize§l1_max: usize§l2_enabled: bool§l2_healthy: bool§strategy: ResponseCacheStrategyTrait Implementations§
Source§impl Clone for ResponseCacheStats
impl Clone for ResponseCacheStats
Source§fn clone(&self) -> ResponseCacheStats
fn clone(&self) -> ResponseCacheStats
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 ResponseCacheStats
impl Debug for ResponseCacheStats
Source§impl<'de> Deserialize<'de> for ResponseCacheStats
impl<'de> Deserialize<'de> for ResponseCacheStats
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 ResponseCacheStats
impl PartialEq for ResponseCacheStats
Source§fn eq(&self, other: &ResponseCacheStats) -> bool
fn eq(&self, other: &ResponseCacheStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResponseCacheStats
impl Serialize for ResponseCacheStats
impl Eq for ResponseCacheStats
impl StructuralPartialEq for ResponseCacheStats
Auto Trait Implementations§
impl Freeze for ResponseCacheStats
impl RefUnwindSafe for ResponseCacheStats
impl Send for ResponseCacheStats
impl Sync for ResponseCacheStats
impl Unpin for ResponseCacheStats
impl UnsafeUnpin for ResponseCacheStats
impl UnwindSafe for ResponseCacheStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.