pub struct AddPivotTableInput {Show 21 fields
pub workbook_id: String,
pub sheet_name: String,
pub cell: Option<String>,
pub name: String,
pub source_range: String,
pub row_fields: Vec<String>,
pub column_fields: Vec<String>,
pub value_fields: Vec<PivotValueFieldInput>,
pub filter_fields: Vec<String>,
pub style: Option<String>,
pub layout: Option<String>,
pub calculated_fields: Vec<PivotCalculatedFieldInput>,
pub date_groups: Vec<PivotDateGroupInput>,
pub range_groups: Vec<PivotRangeGroupInput>,
pub value_formats: Vec<PivotValueFormatInput>,
pub subtotals: Vec<PivotSubtotalToggle>,
pub grand_total_rows: Option<bool>,
pub grand_total_cols: Option<bool>,
pub show_row_headers: Option<bool>,
pub show_column_headers: Option<bool>,
pub show_row_stripes: Option<bool>,
}Expand description
Input for creating a pivot table
Fields§
§workbook_id: String§sheet_name: String§cell: Option<String>Cell where pivot table starts (e.g. “A1”)
name: String§source_range: StringSource range including sheet (e.g. “‘Data’!$A$1:$E$100”)
row_fields: Vec<String>§column_fields: Vec<String>§value_fields: Vec<PivotValueFieldInput>§filter_fields: Vec<String>§style: Option<String>§layout: Option<String>Layout: compact, outline, tabular. Default: compact
calculated_fields: Vec<PivotCalculatedFieldInput>Calculated fields to add
date_groups: Vec<PivotDateGroupInput>Date grouping for fields
range_groups: Vec<PivotRangeGroupInput>Numeric range grouping for fields
value_formats: Vec<PivotValueFormatInput>Number format for value fields
subtotals: Vec<PivotSubtotalToggle>Toggle subtotals per field
grand_total_rows: Option<bool>Show grand totals for rows
grand_total_cols: Option<bool>Show grand totals for columns
show_row_headers: Option<bool>Show row headers
show_column_headers: Option<bool>Show column headers
show_row_stripes: Option<bool>Show row stripes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddPivotTableInput
impl<'de> Deserialize<'de> for AddPivotTableInput
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for AddPivotTableInput
impl JsonSchema for AddPivotTableInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for AddPivotTableInput
impl RefUnwindSafe for AddPivotTableInput
impl Send for AddPivotTableInput
impl Sync for AddPivotTableInput
impl Unpin for AddPivotTableInput
impl UnsafeUnpin for AddPivotTableInput
impl UnwindSafe for AddPivotTableInput
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
Mutably borrows from an owned value. Read more