#[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
impl StructuralPartialEq for PivotTableOptionsBuilder
Auto Trait Implementations§
impl Freeze for PivotTableOptionsBuilder
impl RefUnwindSafe for PivotTableOptionsBuilder
impl Send for PivotTableOptionsBuilder
impl Sync for PivotTableOptionsBuilder
impl Unpin for PivotTableOptionsBuilder
impl UnwindSafe for PivotTableOptionsBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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