[][src]Enum opentelemetry::metrics::NumberKind

pub enum NumberKind {
    I64,
    F64,
    U64,
}
This is supported on crate feature metrics only.

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

impl NumberKind[src]

pub fn zero(&self) -> Number[src]

Returns the zero value for each kind

pub fn max(&self) -> Number[src]

Returns the max value for each kind

pub fn min(&self) -> Number[src]

Returns the min value for each kind

Trait Implementations

impl Clone for NumberKind[src]

impl Debug for NumberKind[src]

impl Hash for NumberKind[src]

impl PartialEq<NumberKind> for NumberKind[src]

impl StructuralPartialEq for NumberKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,