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
sourceimpl Clone for NumberKind
impl Clone for NumberKind
sourcefn clone(&self) -> NumberKind
fn clone(&self) -> NumberKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NumberKind
impl Debug for NumberKind
sourceimpl Hash for NumberKind
impl Hash for NumberKind
sourceimpl PartialEq<NumberKind> for NumberKind
impl PartialEq<NumberKind> for NumberKind
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.