Struct google_analyticsreporting4::SegmentMetricFilter[][src]

pub struct SegmentMetricFilter {
    pub operator: Option<String>,
    pub scope: Option<String>,
    pub comparison_value: Option<String>,
    pub max_comparison_value: Option<String>,
    pub metric_name: Option<String>,
}

Metric filter to be used in a segment filter clause.

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

Fields

Specifies is the operation to perform to compare the metric. The default is EQUAL.

Scope for a metric defines the level at which that metric is defined. The specified metric scope must be equal to or greater than its primary scope as defined in the data model. The primary scope is defined by if the segment is selecting users or sessions.

The value to compare against. If the operator is BETWEEN, this value is treated as minimum comparison value.

Max comparison value is only used for BETWEEN operator.

The metric that will be filtered on. A metricFilter must contain a metric name.

Trait Implementations

impl Default for SegmentMetricFilter
[src]

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

impl Clone for SegmentMetricFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SegmentMetricFilter
[src]

Formats the value using the given formatter. Read more

impl Part for SegmentMetricFilter
[src]

Auto Trait Implementations