pub enum MetricValueType {
U64,
I64,
F64,
}Expand description
Numeric representation used by a metric measurement.
Variants§
U64
Unsigned 64-bit integer, restricted to values representable as i64 on export.
I64
Signed 64-bit integer.
F64
Finite IEEE 754 double-precision value.
Implementations§
Trait Implementations§
Source§impl Clone for MetricValueType
impl Clone for MetricValueType
Source§fn clone(&self) -> MetricValueType
fn clone(&self) -> MetricValueType
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 MetricValueType
Source§impl Debug for MetricValueType
impl Debug for MetricValueType
Source§impl<'de> Deserialize<'de> for MetricValueType
impl<'de> Deserialize<'de> for MetricValueType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricValueType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricValueType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MetricValueType
impl Display for MetricValueType
impl Eq for MetricValueType
Source§impl Hash for MetricValueType
impl Hash for MetricValueType
Source§impl PartialEq for MetricValueType
impl PartialEq for MetricValueType
Source§impl Serialize for MetricValueType
impl Serialize for MetricValueType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MetricValueType
Auto Trait Implementations§
impl Freeze for MetricValueType
impl RefUnwindSafe for MetricValueType
impl Send for MetricValueType
impl Sync for MetricValueType
impl Unpin for MetricValueType
impl UnsafeUnpin for MetricValueType
impl UnwindSafe for MetricValueType
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