pub struct Regression {
pub metric_name: String,
pub case_id: String,
pub baseline_value: f64,
pub current_value: f64,
pub delta: f64,
}Available on crate feature
eval only.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: f64Score from the current run
delta: f64Difference (baseline - current)
Trait Implementations§
Source§impl Clone for Regression
impl Clone for Regression
Source§fn clone(&self) -> Regression
fn clone(&self) -> Regression
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 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<Regression, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Regression, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Regression
impl Serialize for Regression
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Regression
impl RefUnwindSafe for Regression
impl Send for Regression
impl Sync for Regression
impl Unpin for Regression
impl UnsafeUnpin for Regression
impl UnwindSafe for Regression
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