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