Struct gapi_grpc::google::analytics::data::v1beta::Dimension[][src]

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

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.

Fields

name: 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.

dimension_expression: Option<DimensionExpression>

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

Trait Implementations

impl Clone for Dimension[src]

impl Debug for Dimension[src]

impl Default for Dimension[src]

impl Message for Dimension[src]

impl PartialEq<Dimension> for Dimension[src]

impl StructuralPartialEq for Dimension[src]

Auto Trait Implementations

impl RefUnwindSafe for Dimension

impl Send for Dimension

impl Sync for Dimension

impl Unpin for Dimension

impl UnwindSafe for Dimension

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]