pub struct MeasurementView {
pub key: String,
pub cache_mode: String,
pub samples: usize,
pub p50_us: f64,
pub p95_us: f64,
pub p99_us: f64,
pub handler_invocations: Option<u64>,
}Expand description
One measurement of a baseline.
Fields§
§key: StringThe target’s key.
cache_mode: Stringuncached, cold, warm, or n/a for a system target.
samples: usizeHow many samples.
p50_us: f64The median, microseconds.
p95_us: f64The 95th percentile, microseconds.
p99_us: f64The 99th percentile, microseconds.
handler_invocations: Option<u64>Handler invocations during the samples, when known.
Trait Implementations§
Source§impl Clone for MeasurementView
impl Clone for MeasurementView
Source§fn clone(&self) -> MeasurementView
fn clone(&self) -> MeasurementView
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 MeasurementView
impl Debug for MeasurementView
Auto Trait Implementations§
impl Freeze for MeasurementView
impl RefUnwindSafe for MeasurementView
impl Send for MeasurementView
impl Sync for MeasurementView
impl Unpin for MeasurementView
impl UnsafeUnpin for MeasurementView
impl UnwindSafe for MeasurementView
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