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 moreSource§impl Debug for PivotTable
impl Debug for PivotTable
Source§impl Default for PivotTable
impl Default for PivotTable
Source§fn default() -> PivotTable
fn default() -> PivotTable
Source§impl<'de> Deserialize<'de> for PivotTable
impl<'de> Deserialize<'de> for PivotTable
Source§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>,
Source§impl Serialize for PivotTable
impl Serialize for PivotTable
impl Part for PivotTable
Auto Trait Implementations§
impl Freeze for PivotTable
impl RefUnwindSafe for PivotTable
impl Send for PivotTable
impl Sync for PivotTable
impl Unpin for PivotTable
impl UnwindSafe for PivotTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more