Struct google_sheets4::api::PivotTable[][src]

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

A pivot table.

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

Fields

columns: Option<Vec<PivotGroup>>

Each column grouping 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. This field is deprecated in favor of filter_specs.

data_execution_status: Option<DataExecutionStatus>

Output only. The data execution status for data source pivot tables.

data_source_id: Option<String>

The ID of the data source the pivot table is reading data from.

filter_specs: Option<Vec<PivotFilterSpec>>

The filters applied to the source columns before aggregating data for the pivot table. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.

rows: Option<Vec<PivotGroup>>

Each row grouping in the pivot table.

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

values: Option<Vec<PivotValue>>

A list of values to include 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

impl RefUnwindSafe for PivotTable[src]

impl Send for PivotTable[src]

impl Sync for PivotTable[src]

impl Unpin for PivotTable[src]

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