pub struct ObjectiveMetricObservation {
pub metric: String,
pub value: f64,
pub unit: String,
pub numerator: Option<u64>,
pub denominator: Option<u64>,
}Expand description
One raw, reproducible observation. No weighted or model-judged score is produced.
Fields§
§metric: String§value: f64§unit: String§numerator: Option<u64>§denominator: Option<u64>Trait Implementations§
Source§impl Clone for ObjectiveMetricObservation
impl Clone for ObjectiveMetricObservation
Source§impl Debug for ObjectiveMetricObservation
impl Debug for ObjectiveMetricObservation
Source§impl<'de> Deserialize<'de> for ObjectiveMetricObservation
impl<'de> Deserialize<'de> for ObjectiveMetricObservation
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
impl StructuralPartialEq for ObjectiveMetricObservation
Auto Trait Implementations§
impl Freeze for ObjectiveMetricObservation
impl RefUnwindSafe for ObjectiveMetricObservation
impl Send for ObjectiveMetricObservation
impl Sync for ObjectiveMetricObservation
impl Unpin for ObjectiveMetricObservation
impl UnsafeUnpin for ObjectiveMetricObservation
impl UnwindSafe for ObjectiveMetricObservation
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