Struct gapi_grpc::google::analytics::data::v1alpha::Pivot[][src]

pub struct Pivot {
    pub field_names: Vec<String>,
    pub order_bys: Vec<OrderBy>,
    pub offset: i64,
    pub limit: i64,
    pub metric_aggregations: Vec<i32>,
}

Describes the visible dimension columns and rows in the report response.

Fields

field_names: Vec<String>

Dimension names for visible columns in the report response. Including “dateRange” produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.

order_bys: Vec<OrderBy>

Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.

offset: i64

The row count of the start row. The first row is counted as row 0.

limit: i64

The number of rows to return in this pivot. If unspecified, 10 rows are returned. If -1, all rows are returned.

metric_aggregations: Vec<i32>

Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.

Implementations

impl Pivot[src]

pub fn metric_aggregations(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<MetricAggregation>>
[src]

Returns an iterator which yields the valid enum values contained in metric_aggregations.

pub fn push_metric_aggregations(&mut self, value: MetricAggregation)[src]

Appends the provided enum value to metric_aggregations.

Trait Implementations

impl Clone for Pivot[src]

impl Debug for Pivot[src]

impl Default for Pivot[src]

impl Message for Pivot[src]

impl PartialEq<Pivot> for Pivot[src]

impl StructuralPartialEq for Pivot[src]

Auto Trait Implementations

impl RefUnwindSafe for Pivot

impl Send for Pivot

impl Sync for Pivot

impl Unpin for Pivot

impl UnwindSafe for Pivot

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]