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
operator: Option<String>
Specifies is the operation to perform to compare the metric. The default
is EQUAL
.
scope: Option<String>
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.
comparison_value: Option<String>
The value to compare against. If the operator is BETWEEN
, this value is
treated as minimum comparison value.
max_comparison_value: Option<String>
Max comparison value is only used for BETWEEN
operator.
metric_name: Option<String>
The metric that will be filtered on. A metricFilter
must contain a
metric name.
Trait Implementations
impl Default for SegmentMetricFilter
[src]
impl Default for SegmentMetricFilter
fn default() -> SegmentMetricFilter
[src]
fn default() -> SegmentMetricFilter
Returns the "default value" for a type. Read more
impl Clone for SegmentMetricFilter
[src]
impl Clone for SegmentMetricFilter
fn clone(&self) -> SegmentMetricFilter
[src]
fn clone(&self) -> SegmentMetricFilter
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 SegmentMetricFilter
[src]
impl Debug for SegmentMetricFilter
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 SegmentMetricFilter
[src]
impl Part for SegmentMetricFilter
Auto Trait Implementations
impl Send for SegmentMetricFilter
impl Send for SegmentMetricFilter
impl Sync for SegmentMetricFilter
impl Sync for SegmentMetricFilter