pub struct LearningEvent {
pub task_id: TaskId,
pub decision_taken: ControlPlaneDecision,
pub outcome_observed: OutcomeSignalV2,
pub counterfactual_estimate: Option<f64>,
}Expand description
One decision/outcome pair available for adaptive learning.
Fields§
§task_id: TaskId§decision_taken: ControlPlaneDecision§outcome_observed: OutcomeSignalV2§counterfactual_estimate: Option<f64>Trait Implementations§
Source§impl Clone for LearningEvent
impl Clone for LearningEvent
Source§impl Debug for LearningEvent
impl Debug for LearningEvent
Source§impl<'de> Deserialize<'de> for LearningEvent
impl<'de> Deserialize<'de> for LearningEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LearningEvent
impl PartialEq for LearningEvent
Source§impl Serialize for LearningEvent
impl Serialize for LearningEvent
impl StructuralPartialEq for LearningEvent
Auto Trait Implementations§
impl Freeze for LearningEvent
impl RefUnwindSafe for LearningEvent
impl Send for LearningEvent
impl Sync for LearningEvent
impl Unpin for LearningEvent
impl UnsafeUnpin for LearningEvent
impl UnwindSafe for LearningEvent
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