pub struct Estimation {
pub estimates: Vec<CriterionEstimate>,
pub skipped_blocked: Vec<String>,
pub exchanges: Vec<(DecisionRequest, AdmittedDecision)>,
}Expand description
What estimate_missing_criteria asked and got back.
Fields§
§estimates: Vec<CriterionEstimate>§skipped_blocked: Vec<String>Options with a description and missing criteria that were not sent because they have a hard block: they can never be recommended, so an estimate could not change the result.
exchanges: Vec<(DecisionRequest, AdmittedDecision)>Each request sent and its admitted decision, in order.
Implementations§
Source§impl Estimation
impl Estimation
Sourcepub fn prediction_traces(&self) -> Vec<Trace>
pub fn prediction_traces(&self) -> Vec<Trace>
Every admitted estimate as an unverified prediction trace (family
decide.<criterion id>), for one batched write.
Trait Implementations§
Source§impl Clone for Estimation
impl Clone for Estimation
Auto Trait Implementations§
impl Freeze for Estimation
impl RefUnwindSafe for Estimation
impl Send for Estimation
impl Sync for Estimation
impl Unpin for Estimation
impl UnsafeUnpin for Estimation
impl UnwindSafe for Estimation
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