pub struct EvaluationMetricDelta {
pub metric_ref: String,
pub baseline_ref: Option<EntityRef>,
pub delta_value: String,
pub redacted_summary: String,
}Expand description
Optional metric delta for measured evaluations.
Fields§
§metric_ref: StringStable metric reference owned by the host or eval fixture.
baseline_ref: Option<EntityRef>Baseline or comparison artifact.
delta_value: StringDelta value encoded as a string so the SDK stays metric-neutral.
redacted_summary: StringBounded summary of how the metric was computed.
Implementations§
Trait Implementations§
Source§impl Clone for EvaluationMetricDelta
impl Clone for EvaluationMetricDelta
Source§fn clone(&self) -> EvaluationMetricDelta
fn clone(&self) -> EvaluationMetricDelta
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 EvaluationMetricDelta
impl Debug for EvaluationMetricDelta
Source§impl<'de> Deserialize<'de> for EvaluationMetricDelta
impl<'de> Deserialize<'de> for EvaluationMetricDelta
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 EvaluationMetricDelta
impl PartialEq for EvaluationMetricDelta
Source§fn eq(&self, other: &EvaluationMetricDelta) -> bool
fn eq(&self, other: &EvaluationMetricDelta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EvaluationMetricDelta
impl Serialize for EvaluationMetricDelta
impl Eq for EvaluationMetricDelta
impl StructuralPartialEq for EvaluationMetricDelta
Auto Trait Implementations§
impl Freeze for EvaluationMetricDelta
impl RefUnwindSafe for EvaluationMetricDelta
impl Send for EvaluationMetricDelta
impl Sync for EvaluationMetricDelta
impl Unpin for EvaluationMetricDelta
impl UnsafeUnpin for EvaluationMetricDelta
impl UnwindSafe for EvaluationMetricDelta
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