pub struct MetricVerdict {
pub reference_median: f64,
pub candidate_median: f64,
pub worse_change: f64,
pub reference_spread: f64,
pub candidate_spread: f64,
pub allowed_change: f64,
pub status: Status,
}Expand description
The numbers behind one metric’s Status.
Fields§
§reference_median: f64The reference median.
candidate_median: f64The candidate median.
worse_change: f64How much worse the candidate median is, as a ratio of the reference median. Negative means better, whichever way the metric points.
reference_spread: f64The reference side’s relative median absolute deviation.
candidate_spread: f64The candidate side’s relative median absolute deviation.
allowed_change: f64The change the budget allows, as a ratio; zero when not budgeted.
status: StatusThe outcome.
Trait Implementations§
Source§impl Clone for MetricVerdict
impl Clone for MetricVerdict
Source§fn clone(&self) -> MetricVerdict
fn clone(&self) -> MetricVerdict
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 MetricVerdict
impl Debug for MetricVerdict
Source§impl<'de> Deserialize<'de> for MetricVerdict
impl<'de> Deserialize<'de> for MetricVerdict
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 MetricVerdict
impl PartialEq for MetricVerdict
Source§impl Serialize for MetricVerdict
impl Serialize for MetricVerdict
impl StructuralPartialEq for MetricVerdict
Auto Trait Implementations§
impl Freeze for MetricVerdict
impl RefUnwindSafe for MetricVerdict
impl Send for MetricVerdict
impl Sync for MetricVerdict
impl Unpin for MetricVerdict
impl UnsafeUnpin for MetricVerdict
impl UnwindSafe for MetricVerdict
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