[][src]Struct google_analyticsreporting4::SegmentMetricFilter

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 Clone for SegmentMetricFilter[src]

impl Debug for SegmentMetricFilter[src]

impl Default for SegmentMetricFilter[src]

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

impl Part for SegmentMetricFilter[src]

impl Serialize for SegmentMetricFilter[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