Enum Metric Value Type
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Numeric representation used by a metric measurement.
Variants
U64
U64
Unsigned 64-bit integer, restricted to values representable as i64 on export.
I64
I64
Signed 64-bit integer.
F64
F64
Finite IEEE 754 double-precision value.
Implementations
impl MetricValueType
impl MetricValueType
as_str
pub const fn as_str(self) -> &'static str
Return the canonical lowercase wire value.
Trait Implementations
impl Clone for MetricValueType
impl Clone for MetricValueType
clone
fn clone(&self) -> MetricValueType
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for MetricValueType
impl Debug for MetricValueType
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for MetricValueType
impl<'de> Deserialize<'de> for MetricValueType
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetricValueType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Display for MetricValueType
impl Display for MetricValueType
fmt
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>
impl Hash for MetricValueType
impl Hash for MetricValueType
hash
fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl PartialEq for MetricValueType
impl PartialEq for MetricValueType
eq
fn eq(&self, other: &MetricValueType) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for MetricValueType
impl Serialize for MetricValueType
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for MetricValueType
impl Copy for MetricValueType
impl Eq for MetricValueType
impl Eq for MetricValueType
impl StructuralPartialEq for MetricValueType
impl StructuralPartialEq for MetricValueType