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
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.
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.
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 Default for MetricFilter
[src]
impl Default for MetricFilter
fn default() -> MetricFilter
[src]
fn default() -> MetricFilter
Returns the "default value" for a type. Read more
impl Clone for MetricFilter
[src]
impl Clone for MetricFilter
fn clone(&self) -> MetricFilter
[src]
fn clone(&self) -> MetricFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for MetricFilter
[src]
impl Debug for MetricFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for MetricFilter
[src]
impl Part for MetricFilter
Auto Trait Implementations
impl Send for MetricFilter
impl Send for MetricFilter
impl Sync for MetricFilter
impl Sync for MetricFilter