pub struct ParallelWalDecisionRecord {
pub policy_id: String,
pub policy_version: String,
pub decision_id: u64,
pub action: ParallelWalDecisionAction,
pub confidence_bps: u16,
pub expected_loss_micros: u64,
pub top_evidence_terms: Vec<String>,
pub counterfactual_action: ParallelWalDecisionAction,
pub counterfactual_regret_micros: i64,
pub fallback_active: bool,
}Expand description
Decision-record schema for the optional D1 controller.
Fields§
§policy_id: String§policy_version: String§decision_id: u64§action: ParallelWalDecisionAction§confidence_bps: u16§expected_loss_micros: u64§top_evidence_terms: Vec<String>§counterfactual_action: ParallelWalDecisionAction§counterfactual_regret_micros: i64§fallback_active: boolTrait Implementations§
Source§impl Clone for ParallelWalDecisionRecord
impl Clone for ParallelWalDecisionRecord
Source§fn clone(&self) -> ParallelWalDecisionRecord
fn clone(&self) -> ParallelWalDecisionRecord
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 ParallelWalDecisionRecord
impl Debug for ParallelWalDecisionRecord
impl Eq for ParallelWalDecisionRecord
Source§impl PartialEq for ParallelWalDecisionRecord
impl PartialEq for ParallelWalDecisionRecord
Source§fn eq(&self, other: &ParallelWalDecisionRecord) -> bool
fn eq(&self, other: &ParallelWalDecisionRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParallelWalDecisionRecord
Auto Trait Implementations§
impl Freeze for ParallelWalDecisionRecord
impl RefUnwindSafe for ParallelWalDecisionRecord
impl Send for ParallelWalDecisionRecord
impl Sync for ParallelWalDecisionRecord
impl Unpin for ParallelWalDecisionRecord
impl UnsafeUnpin for ParallelWalDecisionRecord
impl UnwindSafe for ParallelWalDecisionRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more