pub struct EvalMetric {
pub name: String,
pub value: f64,
}Expand description
Named scalar evaluation metric.
Fields§
§name: StringMetric name.
value: f64Metric value.
Trait Implementations§
Source§impl Clone for EvalMetric
impl Clone for EvalMetric
Source§fn clone(&self) -> EvalMetric
fn clone(&self) -> EvalMetric
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 EvalMetric
impl Debug for EvalMetric
Source§impl PartialEq for EvalMetric
impl PartialEq for EvalMetric
Source§fn eq(&self, other: &EvalMetric) -> bool
fn eq(&self, other: &EvalMetric) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EvalMetric
Auto Trait Implementations§
impl Freeze for EvalMetric
impl RefUnwindSafe for EvalMetric
impl Send for EvalMetric
impl Sync for EvalMetric
impl Unpin for EvalMetric
impl UnsafeUnpin for EvalMetric
impl UnwindSafe for EvalMetric
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