Struct google_analyticsreporting4::MetricFilter[][src]

pub struct MetricFilter {
    pub operator: Option<String>,
    pub not: Option<bool>,
    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

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.

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.

The value to compare against.

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 Default for MetricFilter
[src]

Returns the "default value" for a type. Read more

impl Clone for MetricFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MetricFilter
[src]

Formats the value using the given formatter. Read more

impl Part for MetricFilter
[src]

Auto Trait Implementations