Struct google_analyticsdata1_beta::api::Dimension[][src]

pub struct Dimension {
    pub dimension_expression: Option<DimensionExpression>,
    pub name: Option<String>,
}

Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, city could be "Paris" or "New York". Requests are allowed up to 8 dimensions.

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

Fields

dimension_expression: Option<DimensionExpression>

One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).

name: Option<String>

The name of the dimension. See the API Dimensions for the list of dimension names. If dimensionExpression is specified, name can be any string that you would like within the allowed character set. For example if a dimensionExpression concatenates country and city, you could call that dimension countryAndCity. Dimension names that you choose must match the regular expression "^[a-zA-Z0-9_]$". Dimensions are referenced by name in dimensionFilter, orderBys, dimensionExpression, and pivots.

Trait Implementations

impl Clone for Dimension[src]

impl Debug for Dimension[src]

impl Default for Dimension[src]

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

impl Part for Dimension[src]

impl Serialize for Dimension[src]

Auto Trait Implementations

impl RefUnwindSafe for Dimension[src]

impl Send for Dimension[src]

impl Sync for Dimension[src]

impl Unpin for Dimension[src]

impl UnwindSafe for Dimension[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.