#[non_exhaustive]pub struct PivotTableOptionsBuilder { /* private fields */ }Expand description
A builder for PivotTableOptions.
Implementations§
source§impl PivotTableOptionsBuilder
impl PivotTableOptionsBuilder
sourcepub fn metric_placement(self, input: PivotTableMetricPlacement) -> Self
pub fn metric_placement(self, input: PivotTableMetricPlacement) -> Self
The metric placement (row, column) options.
sourcepub fn set_metric_placement(
self,
input: Option<PivotTableMetricPlacement>
) -> Self
pub fn set_metric_placement( self, input: Option<PivotTableMetricPlacement> ) -> Self
The metric placement (row, column) options.
sourcepub fn get_metric_placement(&self) -> &Option<PivotTableMetricPlacement>
pub fn get_metric_placement(&self) -> &Option<PivotTableMetricPlacement>
The metric placement (row, column) options.
sourcepub fn single_metric_visibility(self, input: Visibility) -> Self
pub fn single_metric_visibility(self, input: Visibility) -> Self
The visibility of the single metric options.
sourcepub fn set_single_metric_visibility(self, input: Option<Visibility>) -> Self
pub fn set_single_metric_visibility(self, input: Option<Visibility>) -> Self
The visibility of the single metric options.
sourcepub fn get_single_metric_visibility(&self) -> &Option<Visibility>
pub fn get_single_metric_visibility(&self) -> &Option<Visibility>
The visibility of the single metric options.
sourcepub fn column_names_visibility(self, input: Visibility) -> Self
pub fn column_names_visibility(self, input: Visibility) -> Self
The visibility of the column names.
sourcepub fn set_column_names_visibility(self, input: Option<Visibility>) -> Self
pub fn set_column_names_visibility(self, input: Option<Visibility>) -> Self
The visibility of the column names.
sourcepub fn get_column_names_visibility(&self) -> &Option<Visibility>
pub fn get_column_names_visibility(&self) -> &Option<Visibility>
The visibility of the column names.
Determines the visibility of the pivot table.
Determines the visibility of the pivot table.
Determines the visibility of the pivot table.
sourcepub fn column_header_style(self, input: TableCellStyle) -> Self
pub fn column_header_style(self, input: TableCellStyle) -> Self
The table cell style of the column header.
sourcepub fn set_column_header_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_column_header_style(self, input: Option<TableCellStyle>) -> Self
The table cell style of the column header.
sourcepub fn get_column_header_style(&self) -> &Option<TableCellStyle>
pub fn get_column_header_style(&self) -> &Option<TableCellStyle>
The table cell style of the column header.
sourcepub fn row_header_style(self, input: TableCellStyle) -> Self
pub fn row_header_style(self, input: TableCellStyle) -> Self
The table cell style of the row headers.
sourcepub fn set_row_header_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_row_header_style(self, input: Option<TableCellStyle>) -> Self
The table cell style of the row headers.
sourcepub fn get_row_header_style(&self) -> &Option<TableCellStyle>
pub fn get_row_header_style(&self) -> &Option<TableCellStyle>
The table cell style of the row headers.
sourcepub fn cell_style(self, input: TableCellStyle) -> Self
pub fn cell_style(self, input: TableCellStyle) -> Self
The table cell style of cells.
sourcepub fn set_cell_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_cell_style(self, input: Option<TableCellStyle>) -> Self
The table cell style of cells.
sourcepub fn get_cell_style(&self) -> &Option<TableCellStyle>
pub fn get_cell_style(&self) -> &Option<TableCellStyle>
The table cell style of cells.
sourcepub fn row_field_names_style(self, input: TableCellStyle) -> Self
pub fn row_field_names_style(self, input: TableCellStyle) -> Self
The table cell style of row field names.
sourcepub fn set_row_field_names_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_row_field_names_style(self, input: Option<TableCellStyle>) -> Self
The table cell style of row field names.
sourcepub fn get_row_field_names_style(&self) -> &Option<TableCellStyle>
pub fn get_row_field_names_style(&self) -> &Option<TableCellStyle>
The table cell style of row field names.
sourcepub fn row_alternate_color_options(
self,
input: RowAlternateColorOptions
) -> Self
pub fn row_alternate_color_options( self, input: RowAlternateColorOptions ) -> Self
The row alternate color options (widget status, row alternate colors).
sourcepub fn set_row_alternate_color_options(
self,
input: Option<RowAlternateColorOptions>
) -> Self
pub fn set_row_alternate_color_options( self, input: Option<RowAlternateColorOptions> ) -> Self
The row alternate color options (widget status, row alternate colors).
sourcepub fn get_row_alternate_color_options(
&self
) -> &Option<RowAlternateColorOptions>
pub fn get_row_alternate_color_options( &self ) -> &Option<RowAlternateColorOptions>
The row alternate color options (widget status, row alternate colors).
sourcepub fn collapsed_row_dimensions_visibility(self, input: Visibility) -> Self
pub fn collapsed_row_dimensions_visibility(self, input: Visibility) -> Self
The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.
sourcepub fn set_collapsed_row_dimensions_visibility(
self,
input: Option<Visibility>
) -> Self
pub fn set_collapsed_row_dimensions_visibility( self, input: Option<Visibility> ) -> Self
The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.
sourcepub fn get_collapsed_row_dimensions_visibility(&self) -> &Option<Visibility>
pub fn get_collapsed_row_dimensions_visibility(&self) -> &Option<Visibility>
The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE.
sourcepub fn rows_layout(self, input: PivotTableRowsLayout) -> Self
pub fn rows_layout(self, input: PivotTableRowsLayout) -> Self
The layout for the row dimension headers of a pivot table. Choose one of the following options.
-
TABULAR: (Default) Each row field is displayed in a separate column. -
HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.
sourcepub fn set_rows_layout(self, input: Option<PivotTableRowsLayout>) -> Self
pub fn set_rows_layout(self, input: Option<PivotTableRowsLayout>) -> Self
The layout for the row dimension headers of a pivot table. Choose one of the following options.
-
TABULAR: (Default) Each row field is displayed in a separate column. -
HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.
sourcepub fn get_rows_layout(&self) -> &Option<PivotTableRowsLayout>
pub fn get_rows_layout(&self) -> &Option<PivotTableRowsLayout>
The layout for the row dimension headers of a pivot table. Choose one of the following options.
-
TABULAR: (Default) Each row field is displayed in a separate column. -
HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.
sourcepub fn rows_label_options(self, input: PivotTableRowsLabelOptions) -> Self
pub fn rows_label_options(self, input: PivotTableRowsLabelOptions) -> Self
The options for the label that is located above the row headers. This option is only applicable when RowsLayout is set to HIERARCHY.
sourcepub fn set_rows_label_options(
self,
input: Option<PivotTableRowsLabelOptions>
) -> Self
pub fn set_rows_label_options( self, input: Option<PivotTableRowsLabelOptions> ) -> Self
The options for the label that is located above the row headers. This option is only applicable when RowsLayout is set to HIERARCHY.
sourcepub fn get_rows_label_options(&self) -> &Option<PivotTableRowsLabelOptions>
pub fn get_rows_label_options(&self) -> &Option<PivotTableRowsLabelOptions>
The options for the label that is located above the row headers. This option is only applicable when RowsLayout is set to HIERARCHY.
sourcepub fn default_cell_width(self, input: impl Into<String>) -> Self
pub fn default_cell_width(self, input: impl Into<String>) -> Self
The default cell width of the pivot table.
sourcepub fn set_default_cell_width(self, input: Option<String>) -> Self
pub fn set_default_cell_width(self, input: Option<String>) -> Self
The default cell width of the pivot table.
sourcepub fn get_default_cell_width(&self) -> &Option<String>
pub fn get_default_cell_width(&self) -> &Option<String>
The default cell width of the pivot table.
sourcepub fn build(self) -> PivotTableOptions
pub fn build(self) -> PivotTableOptions
Consumes the builder and constructs a PivotTableOptions.
Trait Implementations§
source§impl Clone for PivotTableOptionsBuilder
impl Clone for PivotTableOptionsBuilder
source§fn clone(&self) -> PivotTableOptionsBuilder
fn clone(&self) -> PivotTableOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PivotTableOptionsBuilder
impl Debug for PivotTableOptionsBuilder
source§impl Default for PivotTableOptionsBuilder
impl Default for PivotTableOptionsBuilder
source§fn default() -> PivotTableOptionsBuilder
fn default() -> PivotTableOptionsBuilder
source§impl PartialEq for PivotTableOptionsBuilder
impl PartialEq for PivotTableOptionsBuilder
source§fn eq(&self, other: &PivotTableOptionsBuilder) -> bool
fn eq(&self, other: &PivotTableOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.