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
impl<'de> Deserialize<'de> for MetricValueType
impl<'de> Deserialize<'de> for MetricValueType
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Display for MetricValueType
impl Display for MetricValueType
fmt
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result
impl Hash for MetricValueType
impl Hash for MetricValueType
hash
fn hash<__H: Hasher>(&self, state: &mut __H)
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::Ok, __S::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