#[non_exhaustive]pub struct Regression {
pub metric: &'static str,
pub detail: String,
}Expand description
One gated metric that moved the wrong way against the baseline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.metric: &'static strWhich gated metric regressed (reproduced / exact_match / mean_similarity).
detail: StringHuman-readable baseline→current movement for the failure message.
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 PartialEq for Regression
impl PartialEq for Regression
impl StructuralPartialEq for Regression
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