pub struct DurationRegression {
pub name: String,
pub baseline_ms: u64,
pub current_ms: u64,
pub delta_pct: f64,
}Expand description
A duration regression for a check that exists in both reports.
Fields§
§name: StringCheck name.
baseline_ms: u64Baseline duration, in milliseconds.
current_ms: u64Current duration, in milliseconds.
delta_pct: f64Percent slower than baseline (e.g. 25.0 for 25% slower).
Trait Implementations§
Source§impl Clone for DurationRegression
impl Clone for DurationRegression
Source§fn clone(&self) -> DurationRegression
fn clone(&self) -> DurationRegression
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 DurationRegression
impl Debug for DurationRegression
Source§impl<'de> Deserialize<'de> for DurationRegression
impl<'de> Deserialize<'de> for DurationRegression
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 PartialEq for DurationRegression
impl PartialEq for DurationRegression
Source§fn eq(&self, other: &DurationRegression) -> bool
fn eq(&self, other: &DurationRegression) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DurationRegression
impl Serialize for DurationRegression
impl StructuralPartialEq for DurationRegression
Auto Trait Implementations§
impl Freeze for DurationRegression
impl RefUnwindSafe for DurationRegression
impl Send for DurationRegression
impl Sync for DurationRegression
impl Unpin for DurationRegression
impl UnsafeUnpin for DurationRegression
impl UnwindSafe for DurationRegression
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