[][src]Struct google_sheets4::PivotTable

pub struct PivotTable {
    pub source: Option<GridRange>,
    pub value_layout: Option<String>,
    pub rows: Option<Vec<PivotGroup>>,
    pub values: Option<Vec<PivotValue>>,
    pub criteria: Option<HashMap<String, PivotFilterCriteria>>,
    pub columns: Option<Vec<PivotGroup>>,
}

A pivot table.

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

Fields

source: Option<GridRange>

The range the pivot table is reading data from.

value_layout: Option<String>

Whether values should be listed horizontally (as columns) or vertically (as rows).

rows: Option<Vec<PivotGroup>>

Each row grouping in the pivot table.

values: Option<Vec<PivotValue>>

A list of values to include in the pivot table.

criteria: Option<HashMap<String, PivotFilterCriteria>>

An optional mapping of filters per source column offset.

The filters are applied before aggregating data into the pivot table. The map's key is the column offset of the source range that you want to filter, and the value is the criteria for that column.

For example, if the source was C10:E15, a key of 0 will have the filter for column C, whereas the key 1 is for column D.

columns: Option<Vec<PivotGroup>>

Each column grouping in the pivot table.

Trait Implementations

impl Clone for PivotTable[src]

impl Debug for PivotTable[src]

impl Default for PivotTable[src]

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

impl Part for PivotTable[src]

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