pub struct ProbeSignal {
pub k: u32,
pub gate_pass_count: u32,
pub regime: ProbeRegime,
pub probe_cost_usd: f64,
}Expand description
The shadow-probe signal recorded on a sampled receipt (ADR 0008 Phase 1). Records the k-sample gate-pass-count signal and its cost separately from the served cost, so savings math is clean.
Fields§
§k: u32Number of parallel probe samples drawn.
gate_pass_count: u32How many of the k samples would have been served under the route’s gate/threshold rule.
regime: ProbeRegimeWhich of the three validated regimes this request falls into.
probe_cost_usd: f64USD cost of the k shadow model calls — separate from trace.final_.total_cost_usd
so per-request savings math is not polluted by measurement cost.
Trait Implementations§
Source§impl Clone for ProbeSignal
impl Clone for ProbeSignal
Source§fn clone(&self) -> ProbeSignal
fn clone(&self) -> ProbeSignal
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 ProbeSignal
impl Debug for ProbeSignal
Source§impl<'de> Deserialize<'de> for ProbeSignal
impl<'de> Deserialize<'de> for ProbeSignal
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 ProbeSignal
impl PartialEq for ProbeSignal
Source§impl Serialize for ProbeSignal
impl Serialize for ProbeSignal
impl StructuralPartialEq for ProbeSignal
Auto Trait Implementations§
impl Freeze for ProbeSignal
impl RefUnwindSafe for ProbeSignal
impl Send for ProbeSignal
impl Sync for ProbeSignal
impl Unpin for ProbeSignal
impl UnsafeUnpin for ProbeSignal
impl UnwindSafe for ProbeSignal
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