pub struct OutcomeInput {
pub rec_hash: String,
pub target_ref: String,
pub metric: String,
pub baseline: f64,
pub current: f64,
pub unit: String,
pub higher_is_better: bool,
}Expand description
One applied recommendation due for outcome review, with its metric already
re-measured by the engine (which owns the &mut substrate). The outcome
analyzer makes the deterministic changed/regressed decision over this — I/O
in the engine, judgment in the analyzer.
Fields§
§rec_hash: String§target_ref: String§metric: String§baseline: f64§current: f64§unit: String§higher_is_better: boolCarried from the metric snapshot so the analyzer applies the SAME
direction the engine did — see recommendation::is_regression.
Trait Implementations§
Source§impl Clone for OutcomeInput
impl Clone for OutcomeInput
Source§fn clone(&self) -> OutcomeInput
fn clone(&self) -> OutcomeInput
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 OutcomeInput
impl Debug for OutcomeInput
Source§impl PartialEq for OutcomeInput
impl PartialEq for OutcomeInput
impl StructuralPartialEq for OutcomeInput
Auto Trait Implementations§
impl Freeze for OutcomeInput
impl RefUnwindSafe for OutcomeInput
impl Send for OutcomeInput
impl Sync for OutcomeInput
impl Unpin for OutcomeInput
impl UnsafeUnpin for OutcomeInput
impl UnwindSafe for OutcomeInput
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