Enum Metric Value
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.
pub enum MetricValue {
U64(u64),
I64(i64),
F64(FiniteF64),
}
One typed metric value accepted by Relay’s metric schema.
Variants
U64(u64)
U64(u64)
Unsigned integer value.
I64(i64)
I64(i64)
Signed integer value.
F64(FiniteF64)
F64(FiniteF64)
Finite floating-point value.
Implementations
impl MetricValue
impl MetricValue
value_type
pub const fn value_type(self) -> MetricValueType
Return the matching metric wire value type.
Trait Implementations
impl Clone for MetricValue
impl Clone for MetricValue
clone
fn clone(&self) -> MetricValue
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for MetricValue
impl Debug for MetricValue
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for MetricValue
impl PartialEq for MetricValue
eq
fn eq(&self, other: &MetricValue) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Copy for MetricValue
impl Copy for MetricValue
impl StructuralPartialEq for MetricValue
impl StructuralPartialEq for MetricValue