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§
Source§impl Clone for PivotTable
impl Clone for PivotTable
Source§fn clone(&self) -> PivotTable
fn clone(&self) -> PivotTable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more