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>>,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.