pub struct TuneExpectationDiff {
pub existing: Vec<String>,
pub false_positives_before: usize,
pub false_positives_after: usize,
pub true_positives_before: usize,
pub true_positives_after: usize,
pub fragment: String,
}Expand description
Backtest expectation evidence attached by a caller.
Fields§
§existing: Vec<String>Existing bounds for the target rule from the supplied expectations file.
false_positives_before: usizeTarget fires over the FP corpus before filtering.
false_positives_after: usizeTarget fires over the FP corpus after filtering.
true_positives_before: usizeTarget fires over the TP corpus before filtering.
true_positives_after: usizeTarget fires over the TP corpus after filtering.
fragment: StringPaste-ready expectations YAML for the two supplied corpora.
Trait Implementations§
Source§impl Clone for TuneExpectationDiff
impl Clone for TuneExpectationDiff
Source§fn clone(&self) -> TuneExpectationDiff
fn clone(&self) -> TuneExpectationDiff
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 TuneExpectationDiff
impl Debug for TuneExpectationDiff
Auto Trait Implementations§
impl Freeze for TuneExpectationDiff
impl RefUnwindSafe for TuneExpectationDiff
impl Send for TuneExpectationDiff
impl Sync for TuneExpectationDiff
impl Unpin for TuneExpectationDiff
impl UnsafeUnpin for TuneExpectationDiff
impl UnwindSafe for TuneExpectationDiff
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