pub struct MetricDiff {
pub name: String,
pub baseline: f64,
pub current: f64,
pub change_pct: f64,
pub verdict: &'static str,
}Expand description
Diff result for a single metric.
Fields§
§name: String§baseline: f64§current: f64§change_pct: f64§verdict: &'static strTrait Implementations§
Source§impl Debug for MetricDiff
impl Debug for MetricDiff
Auto Trait Implementations§
impl Freeze for MetricDiff
impl RefUnwindSafe for MetricDiff
impl Send for MetricDiff
impl Sync for MetricDiff
impl Unpin for MetricDiff
impl UnsafeUnpin for MetricDiff
impl UnwindSafe for MetricDiff
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> 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