pub struct TimeStats {
pub count: usize,
pub total: Duration,
pub avg: Duration,
pub min: Duration,
pub max: Duration,
}
Expand description
Time stats
Fields§
§count: usize
§total: Duration
total time, milli seconds in json format
avg: Duration
§min: Duration
§max: Duration
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeStats
impl<'de> Deserialize<'de> for TimeStats
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
impl Copy for TimeStats
Auto Trait Implementations§
impl Freeze for TimeStats
impl RefUnwindSafe for TimeStats
impl Send for TimeStats
impl Sync for TimeStats
impl Unpin for TimeStats
impl UnwindSafe for TimeStats
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