[][src]Struct google_analyticsreporting4::MetricFilter

pub struct MetricFilter {
    pub not: Option<bool>,
    pub operator: Option<String>,
    pub comparison_value: Option<String>,
    pub metric_name: Option<String>,
}

MetricFilter specifies the filter on a metric.

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

Fields

not: Option<bool>

Logical NOT operator. If this boolean is set to true, then the matching metric values will be excluded in the report. The default is false.

operator: Option<String>

Is the metric EQUAL, LESS_THAN or GREATER_THAN the comparisonValue, the default is EQUAL. If the operator is IS_MISSING, checks if the metric is missing and would ignore the comparisonValue.

comparison_value: Option<String>

The value to compare against.

metric_name: Option<String>

The metric that will be filtered on. A metricFilter must contain a metric name. A metric name can be an alias earlier defined as a metric or it can also be a metric expression.

Trait Implementations

impl Clone for MetricFilter[src]

impl Debug for MetricFilter[src]

impl Default for MetricFilter[src]

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

impl Part for MetricFilter[src]

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

impl<T> From<T> 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.

impl<T> Typeable for T where
    T: Any