pub struct GateDecision {
pub action: DecisionAction,
pub gate_applied: bool,
pub brier_score: f64,
pub sample_count: usize,
}Expand description
Result of applying the Brier score gate.
Fields§
§action: DecisionActionThe action after gate is applied.
gate_applied: boolWhether the gate blocked the original action.
brier_score: f64Current Brier score.
sample_count: usizeNumber of samples in the tracker.
Trait Implementations§
Source§impl Clone for GateDecision
impl Clone for GateDecision
Source§fn clone(&self) -> GateDecision
fn clone(&self) -> GateDecision
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 moreimpl Copy for GateDecision
Source§impl Debug for GateDecision
impl Debug for GateDecision
Source§impl PartialEq for GateDecision
impl PartialEq for GateDecision
Source§fn eq(&self, other: &GateDecision) -> bool
fn eq(&self, other: &GateDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GateDecision
Auto Trait Implementations§
impl Freeze for GateDecision
impl RefUnwindSafe for GateDecision
impl Send for GateDecision
impl Sync for GateDecision
impl Unpin for GateDecision
impl UnsafeUnpin for GateDecision
impl UnwindSafe for GateDecision
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