pub struct Regression {
pub metric_name: String,
pub case_id: String,
pub baseline_value: f64,
pub current_value: Option<f64>,
pub delta: f64,
}Expand description
A regression detected between baseline and current run.
Fields§
§metric_name: StringName of the metric that regressed
case_id: StringIdentifier of the case that regressed
baseline_value: f64Score from the baseline
current_value: Option<f64>Score from the current run, or None when the current run has no score for
this metric and case, for example because the case errored or was not run
delta: f64Difference (baseline - current); the full baseline_value when current_value
is None
Trait Implementations§
Source§impl Clone for Regression
impl Clone for Regression
Source§impl Debug for Regression
impl Debug for Regression
Source§impl<'de> Deserialize<'de> for Regression
impl<'de> Deserialize<'de> for Regression
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 Regression
impl PartialEq for Regression
Source§impl Serialize for Regression
impl Serialize for Regression
impl StructuralPartialEq for Regression
Auto Trait Implementations§
impl Forget for Regression
impl Freeze for Regression
impl Move for Regression
impl RefUnwindSafe for Regression
impl Send for Regressionwhere
RawVecInner: Send,
impl Sync for Regressionwhere
RawVecInner: Sync,
impl Unpin for Regression
impl UnsafeUnpin for Regression
impl UnwindSafe for Regressionwhere
RawVecInner: UnwindSafe,
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