Enum gapi_grpc::google::analytics::data::v1alpha::MetricType[][src]

#[repr(i32)]pub enum MetricType {
    Unspecified,
    TypeInteger,
    TypeFloat,
    TypeSeconds,
    TypeMilliseconds,
    TypeMinutes,
    TypeHours,
    TypeStandard,
    TypeCurrency,
    TypeFeet,
    TypeMiles,
    TypeMeters,
    TypeKilometers,
}

A metric’s value type.

Variants

Unspecified

Unspecified type.

TypeInteger

Integer type.

TypeFloat

Floating point type.

TypeSeconds

A duration of seconds; a special floating point type.

TypeMilliseconds

A duration in milliseconds; a special floating point type.

TypeMinutes

A duration in minutes; a special floating point type.

TypeHours

A duration in hours; a special floating point type.

TypeStandard

A custom metric of standard type; a special floating point type.

TypeCurrency

An amount of money; a special floating point type.

TypeFeet

A length in feet; a special floating point type.

TypeMiles

A length in miles; a special floating point type.

TypeMeters

A length in meters; a special floating point type.

TypeKilometers

A length in kilometers; a special floating point type.

Implementations

impl MetricType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of MetricType.

pub fn from_i32(value: i32) -> Option<MetricType>[src]

Converts an i32 to a MetricType, or None if value is not a valid variant.

Trait Implementations

impl Clone for MetricType[src]

impl Copy for MetricType[src]

impl Debug for MetricType[src]

impl Default for MetricType[src]

impl Eq for MetricType[src]

impl From<MetricType> for i32[src]

impl Hash for MetricType[src]

impl Ord for MetricType[src]

impl PartialEq<MetricType> for MetricType[src]

impl PartialOrd<MetricType> for MetricType[src]

impl StructuralEq for MetricType[src]

impl StructuralPartialEq for MetricType[src]

Auto Trait Implementations

impl RefUnwindSafe for MetricType

impl Send for MetricType

impl Sync for MetricType

impl Unpin for MetricType

impl UnwindSafe for MetricType

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> 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>, 
[src]

impl<T> WithSubscriber for T[src]