pub struct Metric {
pub id: MetricId,
pub label: &'static str,
pub unit: Unit,
pub threshold: Option<Threshold>,
pub csv_column: &'static str,
}Expand description
One entry of the metric table.
Fields§
§id: MetricId§label: &'static str§unit: Unit§threshold: Option<Threshold>§csv_column: &'static strTrait Implementations§
impl StructuralPartialEq for Metric
Auto Trait Implementations§
impl Freeze for Metric
impl RefUnwindSafe for Metric
impl Send for Metric
impl Sync for Metric
impl Unpin for Metric
impl UnsafeUnpin for Metric
impl UnwindSafe for Metric
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