Struct gapi_grpc::google::analytics::data::v1alpha::MetricHeader[][src]

pub struct MetricHeader {
    pub name: String,
    pub type: i32,
}

Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.

Fields

name: String

The metric’s name.

type: i32

The metric’s data type.

Implementations

impl MetricHeader[src]

pub fn type(&self) -> MetricType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: MetricType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for MetricHeader[src]

impl Debug for MetricHeader[src]

impl Default for MetricHeader[src]

impl Message for MetricHeader[src]

impl PartialEq<MetricHeader> for MetricHeader[src]

impl StructuralPartialEq for MetricHeader[src]

Auto Trait Implementations

impl RefUnwindSafe for MetricHeader

impl Send for MetricHeader

impl Sync for MetricHeader

impl Unpin for MetricHeader

impl UnwindSafe for MetricHeader

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> 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]