pub struct DurationSummary {
pub count: usize,
pub mean: Duration,
pub median: Duration,
pub min: Duration,
pub max: Duration,
}Expand description
Summary statistics for a Duration sample.
Created only when at least one item contributes to the metric; otherwise the corresponding
CycleTimeReport field is None.
Fields§
§count: usizeNumber of items in the sample (at least one).
mean: DurationMean duration, truncated to whole seconds.
median: DurationMedian duration; for an even sample, average the two middle values and truncate to whole seconds.
min: DurationMinimum duration.
max: DurationMaximum duration.
Trait Implementations§
Source§impl Clone for DurationSummary
impl Clone for DurationSummary
Source§fn clone(&self) -> DurationSummary
fn clone(&self) -> DurationSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DurationSummary
impl Debug for DurationSummary
impl Eq for DurationSummary
Source§impl PartialEq for DurationSummary
impl PartialEq for DurationSummary
impl StructuralPartialEq for DurationSummary
Auto Trait Implementations§
impl Freeze for DurationSummary
impl RefUnwindSafe for DurationSummary
impl Send for DurationSummary
impl Sync for DurationSummary
impl Unpin for DurationSummary
impl UnsafeUnpin for DurationSummary
impl UnwindSafe for DurationSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more