pub struct QueryCacheStats {
pub hits: u64,
pub misses: u64,
pub evictions: u64,
pub expirations: u64,
pub invalidations: u64,
}Expand description
Statistics for query cache performance.
Fields§
§hits: u64Total number of cache hits
misses: u64Total number of cache misses
evictions: u64Total number of evictions
expirations: u64Total number of expirations
invalidations: u64Total number of invalidations
Implementations§
Trait Implementations§
Source§impl Clone for QueryCacheStats
impl Clone for QueryCacheStats
Source§fn clone(&self) -> QueryCacheStats
fn clone(&self) -> QueryCacheStats
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 QueryCacheStats
impl Debug for QueryCacheStats
Source§impl Default for QueryCacheStats
impl Default for QueryCacheStats
Source§fn default() -> QueryCacheStats
fn default() -> QueryCacheStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryCacheStats
impl RefUnwindSafe for QueryCacheStats
impl Send for QueryCacheStats
impl Sync for QueryCacheStats
impl Unpin for QueryCacheStats
impl UnwindSafe for QueryCacheStats
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