Struct google_analyticsdata1_beta::api::MetricMetadata[][src]

pub struct MetricMetadata {
    pub api_name: Option<String>,
    pub custom_definition: Option<bool>,
    pub deprecated_api_names: Option<Vec<String>>,
    pub description: Option<String>,
    pub expression: Option<String>,
    pub type_: Option<String>,
    pub ui_name: Option<String>,
}

Explains a metric.

This type is not used in any activity, and only used as part of another schema.

Fields

api_name: Option<String>

A metric name. Useable in Metric's name. For example, eventCount.

custom_definition: Option<bool>

True if the metric is a custom metric for this property.

deprecated_api_names: Option<Vec<String>>

Still usable but deprecated names for this metric. If populated, this metric is available by either apiName or one of deprecatedApiNames for a period of time. After the deprecation period, the metric will be available only by apiName.

description: Option<String>

Description of how this metric is used and calculated.

expression: Option<String>

The mathematical expression for this derived metric. Can be used in Metric's expression field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.

type_: Option<String>

The type of this metric.

ui_name: Option<String>

This metric's name within the Google Analytics user interface. For example, Event count.

Trait Implementations

impl Clone for MetricMetadata[src]

impl Debug for MetricMetadata[src]

impl Default for MetricMetadata[src]

impl<'de> Deserialize<'de> for MetricMetadata[src]

impl Part for MetricMetadata[src]

impl Serialize for MetricMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for MetricMetadata[src]

impl Send for MetricMetadata[src]

impl Sync for MetricMetadata[src]

impl Unpin for MetricMetadata[src]

impl UnwindSafe for MetricMetadata[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.