pub struct RegressionPolicy {
pub max_mean_drop: f64,
pub max_pass_rate_drop: f64,
pub max_execution_success_drop: f64,
}Expand description
Allowed relative quality drops.
Fields§
§max_mean_drop: f64Maximum allowed mean score decrease.
max_pass_rate_drop: f64Maximum allowed pass-rate decrease.
max_execution_success_drop: f64Maximum allowed target execution-success decrease.
Implementations§
Trait Implementations§
Source§impl Clone for RegressionPolicy
impl Clone for RegressionPolicy
Source§fn clone(&self) -> RegressionPolicy
fn clone(&self) -> RegressionPolicy
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 moreimpl Copy for RegressionPolicy
Source§impl Debug for RegressionPolicy
impl Debug for RegressionPolicy
Source§impl<'de> Deserialize<'de> for RegressionPolicy
impl<'de> Deserialize<'de> for RegressionPolicy
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 RegressionPolicy
impl PartialEq for RegressionPolicy
Source§impl Serialize for RegressionPolicy
impl Serialize for RegressionPolicy
impl StructuralPartialEq for RegressionPolicy
Auto Trait Implementations§
impl Freeze for RegressionPolicy
impl RefUnwindSafe for RegressionPolicy
impl Send for RegressionPolicy
impl Sync for RegressionPolicy
impl Unpin for RegressionPolicy
impl UnsafeUnpin for RegressionPolicy
impl UnwindSafe for RegressionPolicy
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