Struct google_analyticsdata1_beta::api::PivotSelection[][src]

pub struct PivotSelection {
    pub dimension_name: Option<String>,
    pub dimension_value: Option<String>,
}

A pair of dimension names and values. Rows with this dimension pivot pair are ordered by the metric's value. For example if pivots = {{"browser", "Chrome"}} and metric_name = "Sessions", then the rows will be sorted based on Sessions in Chrome. ---------|----------|----------------|----------|---------------- | Chrome | Chrome | Safari | Safari ---------|----------|----------------|----------|---------------- Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions ---------|----------|----------------|----------|---------------- US | 2 | 2 | 3 | 1 ---------|----------|----------------|----------|---------------- Canada | 3 | 1 | 4 | 1 ---------|----------|----------------|----------|----------------

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

Fields

dimension_name: Option<String>

Must be a dimension name from the request.

dimension_value: Option<String>

Order by only when the named dimension is this value.

Trait Implementations

impl Clone for PivotSelection[src]

impl Debug for PivotSelection[src]

impl Default for PivotSelection[src]

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

impl Part for PivotSelection[src]

impl Serialize for PivotSelection[src]

Auto Trait Implementations

impl RefUnwindSafe for PivotSelection[src]

impl Send for PivotSelection[src]

impl Sync for PivotSelection[src]

impl Unpin for PivotSelection[src]

impl UnwindSafe for PivotSelection[src]

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> Instrument 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.