pub struct HostMetric {
pub name: String,
pub derivation: Derivation,
pub opaque: bool,
pub value: Option<MetricValue>,
}Fields§
§name: String§derivation: Derivation§opaque: boolWhether an opaque scorer produces it (spec 041, 3.12).
value: Option<MetricValue>A score metric’s run value, as spec 041’s function reports it: the
only figure of a metric with no per-case measure (qwk); none for
a host/ metric, whose run values come from its measures.
Trait Implementations§
Source§impl Clone for HostMetric
impl Clone for HostMetric
Source§impl Debug for HostMetric
impl Debug for HostMetric
Source§impl PartialEq for HostMetric
impl PartialEq for HostMetric
impl StructuralPartialEq for HostMetric
Auto Trait Implementations§
impl Freeze for HostMetric
impl RefUnwindSafe for HostMetric
impl Send for HostMetric
impl Sync for HostMetric
impl Unpin for HostMetric
impl UnsafeUnpin for HostMetric
impl UnwindSafe for HostMetric
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