pub struct CacheUsage {
pub read: u64,
pub write: u64,
}Expand description
Cache usage information.
Fields§
§read: u64Cache read tokens.
write: u64Cache write tokens.
Trait Implementations§
Source§impl Clone for CacheUsage
impl Clone for CacheUsage
Source§fn clone(&self) -> CacheUsage
fn clone(&self) -> CacheUsage
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 CacheUsage
impl Debug for CacheUsage
Source§impl<'de> Deserialize<'de> for CacheUsage
impl<'de> Deserialize<'de> for CacheUsage
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 CacheUsage
impl RefUnwindSafe for CacheUsage
impl Send for CacheUsage
impl Sync for CacheUsage
impl Unpin for CacheUsage
impl UnwindSafe for CacheUsage
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