pub struct FunctionStats {
pub min_duration: Duration,
pub max_duration: Duration,
pub total_duration: Duration,
pub count: u64,
pub measurements: Vec<Duration>,
}Fields§
§min_duration: Duration§max_duration: Duration§total_duration: Duration§count: u64§measurements: Vec<Duration>Implementations§
Trait Implementations§
Source§impl Clone for FunctionStats
impl Clone for FunctionStats
Source§fn clone(&self) -> FunctionStats
fn clone(&self) -> FunctionStats
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 moreAuto Trait Implementations§
impl Freeze for FunctionStats
impl RefUnwindSafe for FunctionStats
impl Send for FunctionStats
impl Sync for FunctionStats
impl Unpin for FunctionStats
impl UnwindSafe for FunctionStats
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