pub enum MetricValue {
U32(u32),
S32(i32),
U64(u64),
I64(i64),
Double(f64),
Float(f32),
Int(i32),
}Variants§
Trait Implementations§
Source§impl Clone for MetricValue
impl Clone for MetricValue
Source§fn clone(&self) -> MetricValue
fn clone(&self) -> MetricValue
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 moreimpl Copy for MetricValue
Source§impl Debug for MetricValue
impl Debug for MetricValue
Source§impl PartialEq for MetricValue
impl PartialEq for MetricValue
Source§fn eq(&self, other: &MetricValue) -> bool
fn eq(&self, other: &MetricValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetricValue
Auto Trait Implementations§
impl Freeze for MetricValue
impl RefUnwindSafe for MetricValue
impl Send for MetricValue
impl Sync for MetricValue
impl Unpin for MetricValue
impl UnsafeUnpin for MetricValue
impl UnwindSafe for MetricValue
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