#[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 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 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 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 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 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 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 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<PivotTotalOptionsBuilder> for PivotTotalOptionsBuilder
impl PartialEq<PivotTotalOptionsBuilder> 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 ==.