pub struct StatRecord {
pub reads: u128,
pub requests: u128,
pub saved_at: Option<DateTime<Utc>>,
pub saved_writes: u128,
pub writes: u128,
}
Fields§
§reads: u128
§requests: u128
§saved_at: Option<DateTime<Utc>>
§saved_writes: u128
§writes: u128
Implementations§
Source§impl StatRecord
impl StatRecord
Trait Implementations§
Source§impl Clone for StatRecord
impl Clone for StatRecord
Source§fn clone(&self) -> StatRecord
fn clone(&self) -> StatRecord
Returns a copy 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 StatRecord
impl Debug for StatRecord
Source§impl Default for StatRecord
impl Default for StatRecord
Source§fn default() -> StatRecord
fn default() -> StatRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatRecord
impl<'de> Deserialize<'de> for StatRecord
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 Serialize for StatRecord
impl Serialize for StatRecord
Auto Trait Implementations§
impl Freeze for StatRecord
impl RefUnwindSafe for StatRecord
impl Send for StatRecord
impl Sync for StatRecord
impl Unpin for StatRecord
impl UnwindSafe for StatRecord
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