Enum opentelemetry::sdk::metrics::sdk_api::NumberKind
source · pub enum NumberKind {
I64,
F64,
U64,
}
Available on crate feature
metrics
only.Expand description
A descriptor for the encoded data type of a Number
Variants§
I64
A Number that stores i64
values.
F64
A Number that stores f64
values.
U64
A Number that stores u64
values.
Implementations§
Trait Implementations§
source§impl Clone for NumberKind
impl Clone for NumberKind
source§fn clone(&self) -> NumberKind
fn clone(&self) -> NumberKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NumberKind
impl Debug for NumberKind
source§impl Hash for NumberKind
impl Hash for NumberKind
source§impl PartialEq<NumberKind> for NumberKind
impl PartialEq<NumberKind> for NumberKind
source§fn eq(&self, other: &NumberKind) -> bool
fn eq(&self, other: &NumberKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NumberKind
impl StructuralEq for NumberKind
impl StructuralPartialEq for NumberKind
Auto Trait Implementations§
impl RefUnwindSafe for NumberKind
impl Send for NumberKind
impl Sync for NumberKind
impl Unpin for NumberKind
impl UnwindSafe for NumberKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.