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 the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PivotTable
impl Send for PivotTable
impl Sync for PivotTable
impl Unpin for PivotTable
impl UnwindSafe for PivotTable
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more