pub struct VoiDecision {Show 16 fields
pub event_idx: u64,
pub should_sample: bool,
pub forced_by_interval: bool,
pub blocked_by_min_interval: bool,
pub voi_gain: f64,
pub score: f64,
pub cost: f64,
pub log_bayes_factor: f64,
pub posterior_mean: f64,
pub posterior_variance: f64,
pub e_value: f64,
pub e_threshold: f64,
pub boundary_score: f64,
pub events_since_sample: u64,
pub time_since_sample_ms: f64,
pub reason: &'static str,
}Expand description
Sampling decision with full evidence.
Fields§
§event_idx: u64§should_sample: bool§forced_by_interval: bool§blocked_by_min_interval: bool§voi_gain: f64§score: f64§cost: f64§log_bayes_factor: f64§posterior_mean: f64§posterior_variance: f64§e_value: f64§e_threshold: f64§boundary_score: f64§events_since_sample: u64§time_since_sample_ms: f64§reason: &'static strImplementations§
Trait Implementations§
Source§impl Clone for VoiDecision
impl Clone for VoiDecision
Source§fn clone(&self) -> VoiDecision
fn clone(&self) -> VoiDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VoiDecision
impl RefUnwindSafe for VoiDecision
impl Send for VoiDecision
impl Sync for VoiDecision
impl Unpin for VoiDecision
impl UnwindSafe for VoiDecision
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