pub struct MeasuredImpact {
pub metric: &'static str,
pub change: f64,
pub comparisons: u32,
}Expand description
The measured effect of one decision on one analysis.
Fields§
§metric: &'static strThe distance used, such as "jaccard-distance" or "relative-error".
change: f64Mean distance between results that differ in this decision alone, in the metric’s own units.
comparisons: u32How many pairs of results the measurement compared.
Trait Implementations§
Source§impl Clone for MeasuredImpact
impl Clone for MeasuredImpact
impl Copy for MeasuredImpact
Source§impl Debug for MeasuredImpact
impl Debug for MeasuredImpact
Source§impl PartialEq for MeasuredImpact
impl PartialEq for MeasuredImpact
impl StructuralPartialEq for MeasuredImpact
Auto Trait Implementations§
impl Freeze for MeasuredImpact
impl RefUnwindSafe for MeasuredImpact
impl Send for MeasuredImpact
impl Sync for MeasuredImpact
impl Unpin for MeasuredImpact
impl UnsafeUnpin for MeasuredImpact
impl UnwindSafe for MeasuredImpact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more