pub struct MetricObservation {
pub evaluator_id: String,
pub evaluator_version: String,
pub class: MetricClass,
pub run_id: String,
pub observed: u64,
pub passed: u64,
pub cost_micros: u64,
pub variant_count: u64,
pub discriminated: bool,
pub created_at_ms: i64,
}Expand description
Per-run observation of one evaluator version. Written once when a run’s report is sealed, so health queries never rescan case results.
Fields§
§evaluator_id: String§evaluator_version: String§class: MetricClass§run_id: String§observed: u64§passed: u64§cost_micros: u64§variant_count: u64Variants compared in the run that produced this observation.
discriminated: boolTrue when the metric separated at least two variants of that run.
created_at_ms: i64Trait Implementations§
Source§impl Clone for MetricObservation
impl Clone for MetricObservation
Source§impl Debug for MetricObservation
impl Debug for MetricObservation
Source§impl<'de> Deserialize<'de> for MetricObservation
impl<'de> Deserialize<'de> for MetricObservation
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
Auto Trait Implementations§
impl Freeze for MetricObservation
impl RefUnwindSafe for MetricObservation
impl Send for MetricObservation
impl Sync for MetricObservation
impl Unpin for MetricObservation
impl UnsafeUnpin for MetricObservation
impl UnwindSafe for MetricObservation
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