#[non_exhaustive]pub struct PivotTotalOptionsBuilder { /* private fields */ }Expand description
A builder for PivotTotalOptions.
Implementations§
source§impl PivotTotalOptionsBuilder
impl PivotTotalOptionsBuilder
sourcepub fn totals_visibility(self, input: Visibility) -> Self
pub fn totals_visibility(self, input: Visibility) -> Self
The visibility configuration for the total cells.
sourcepub fn set_totals_visibility(self, input: Option<Visibility>) -> Self
pub fn set_totals_visibility(self, input: Option<Visibility>) -> Self
The visibility configuration for the total cells.
sourcepub fn get_totals_visibility(&self) -> &Option<Visibility>
pub fn get_totals_visibility(&self) -> &Option<Visibility>
The visibility configuration for the total cells.
sourcepub fn placement(self, input: TableTotalsPlacement) -> Self
pub fn placement(self, input: TableTotalsPlacement) -> Self
The placement (start, end) for the total cells.
sourcepub fn set_placement(self, input: Option<TableTotalsPlacement>) -> Self
pub fn set_placement(self, input: Option<TableTotalsPlacement>) -> Self
The placement (start, end) for the total cells.
sourcepub fn get_placement(&self) -> &Option<TableTotalsPlacement>
pub fn get_placement(&self) -> &Option<TableTotalsPlacement>
The placement (start, end) for the total cells.
sourcepub fn scroll_status(self, input: TableTotalsScrollStatus) -> Self
pub fn scroll_status(self, input: TableTotalsScrollStatus) -> Self
The scroll status (pinned, scrolled) for the total cells.
sourcepub fn set_scroll_status(self, input: Option<TableTotalsScrollStatus>) -> Self
pub fn set_scroll_status(self, input: Option<TableTotalsScrollStatus>) -> Self
The scroll status (pinned, scrolled) for the total cells.
sourcepub fn get_scroll_status(&self) -> &Option<TableTotalsScrollStatus>
pub fn get_scroll_status(&self) -> &Option<TableTotalsScrollStatus>
The scroll status (pinned, scrolled) for the total cells.
sourcepub fn custom_label(self, input: impl Into<String>) -> Self
pub fn custom_label(self, input: impl Into<String>) -> Self
The custom label string for the total cells.
sourcepub fn set_custom_label(self, input: Option<String>) -> Self
pub fn set_custom_label(self, input: Option<String>) -> Self
The custom label string for the total cells.
sourcepub fn get_custom_label(&self) -> &Option<String>
pub fn get_custom_label(&self) -> &Option<String>
The custom label string for the total cells.
sourcepub fn total_cell_style(self, input: TableCellStyle) -> Self
pub fn total_cell_style(self, input: TableCellStyle) -> Self
The cell styling options for the total cells.
sourcepub fn set_total_cell_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_total_cell_style(self, input: Option<TableCellStyle>) -> Self
The cell styling options for the total cells.
sourcepub fn get_total_cell_style(&self) -> &Option<TableCellStyle>
pub fn get_total_cell_style(&self) -> &Option<TableCellStyle>
The cell styling options for the total cells.
sourcepub fn value_cell_style(self, input: TableCellStyle) -> Self
pub fn value_cell_style(self, input: TableCellStyle) -> Self
The cell styling options for the totals of value cells.
sourcepub fn set_value_cell_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_value_cell_style(self, input: Option<TableCellStyle>) -> Self
The cell styling options for the totals of value cells.
sourcepub fn get_value_cell_style(&self) -> &Option<TableCellStyle>
pub fn get_value_cell_style(&self) -> &Option<TableCellStyle>
The cell styling options for the totals of value cells.
sourcepub fn metric_header_cell_style(self, input: TableCellStyle) -> Self
pub fn metric_header_cell_style(self, input: TableCellStyle) -> Self
The cell styling options for the total of header cells.
sourcepub fn set_metric_header_cell_style(self, input: Option<TableCellStyle>) -> Self
pub fn set_metric_header_cell_style(self, input: Option<TableCellStyle>) -> Self
The cell styling options for the total of header cells.
sourcepub fn get_metric_header_cell_style(&self) -> &Option<TableCellStyle>
pub fn get_metric_header_cell_style(&self) -> &Option<TableCellStyle>
The cell styling options for the total of header cells.
sourcepub fn total_aggregation_options(self, input: TotalAggregationOption) -> Self
pub fn total_aggregation_options(self, input: TotalAggregationOption) -> Self
Appends an item to total_aggregation_options.
To override the contents of this collection use set_total_aggregation_options.
The total aggregation options for each value field.
sourcepub fn set_total_aggregation_options(
self,
input: Option<Vec<TotalAggregationOption>>
) -> Self
pub fn set_total_aggregation_options( self, input: Option<Vec<TotalAggregationOption>> ) -> Self
The total aggregation options for each value field.
sourcepub fn get_total_aggregation_options(
&self
) -> &Option<Vec<TotalAggregationOption>>
pub fn get_total_aggregation_options( &self ) -> &Option<Vec<TotalAggregationOption>>
The total aggregation options for each value field.
sourcepub fn build(self) -> PivotTotalOptions
pub fn build(self) -> PivotTotalOptions
Consumes the builder and constructs a PivotTotalOptions.
Trait Implementations§
source§impl Clone for PivotTotalOptionsBuilder
impl Clone for PivotTotalOptionsBuilder
source§fn clone(&self) -> PivotTotalOptionsBuilder
fn clone(&self) -> PivotTotalOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PivotTotalOptionsBuilder
impl Debug for PivotTotalOptionsBuilder
source§impl Default for PivotTotalOptionsBuilder
impl Default for PivotTotalOptionsBuilder
source§fn default() -> PivotTotalOptionsBuilder
fn default() -> PivotTotalOptionsBuilder
source§impl PartialEq for PivotTotalOptionsBuilder
impl PartialEq for PivotTotalOptionsBuilder
source§fn eq(&self, other: &PivotTotalOptionsBuilder) -> bool
fn eq(&self, other: &PivotTotalOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.