Struct aws_sdk_quicksight::types::SubtotalOptions
source · #[non_exhaustive]pub struct SubtotalOptions {
pub totals_visibility: Option<Visibility>,
pub custom_label: Option<String>,
pub field_level: Option<PivotTableSubtotalLevel>,
pub field_level_options: Option<Vec<PivotTableFieldSubtotalOptions>>,
pub total_cell_style: Option<TableCellStyle>,
pub value_cell_style: Option<TableCellStyle>,
pub metric_header_cell_style: Option<TableCellStyle>,
pub style_targets: Option<Vec<TableStyleTarget>>,
}Expand description
The subtotal options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.totals_visibility: Option<Visibility>The visibility configuration for the subtotal cells.
custom_label: Option<String>The custom label string for the subtotal cells.
field_level: Option<PivotTableSubtotalLevel>The field level (all, custom, last) for the subtotal cells.
field_level_options: Option<Vec<PivotTableFieldSubtotalOptions>>The optional configuration of subtotal cells.
total_cell_style: Option<TableCellStyle>The cell styling options for the subtotal cells.
value_cell_style: Option<TableCellStyle>The cell styling options for the subtotals of value cells.
metric_header_cell_style: Option<TableCellStyle>The cell styling options for the subtotals of header cells.
style_targets: Option<Vec<TableStyleTarget>>The style targets options for subtotals.
Implementations§
source§impl SubtotalOptions
impl SubtotalOptions
sourcepub fn totals_visibility(&self) -> Option<&Visibility>
pub fn totals_visibility(&self) -> Option<&Visibility>
The visibility configuration for the subtotal cells.
sourcepub fn custom_label(&self) -> Option<&str>
pub fn custom_label(&self) -> Option<&str>
The custom label string for the subtotal cells.
sourcepub fn field_level(&self) -> Option<&PivotTableSubtotalLevel>
pub fn field_level(&self) -> Option<&PivotTableSubtotalLevel>
The field level (all, custom, last) for the subtotal cells.
sourcepub fn field_level_options(&self) -> &[PivotTableFieldSubtotalOptions]
pub fn field_level_options(&self) -> &[PivotTableFieldSubtotalOptions]
The optional configuration of subtotal cells.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .field_level_options.is_none().
sourcepub fn total_cell_style(&self) -> Option<&TableCellStyle>
pub fn total_cell_style(&self) -> Option<&TableCellStyle>
The cell styling options for the subtotal cells.
sourcepub fn value_cell_style(&self) -> Option<&TableCellStyle>
pub fn value_cell_style(&self) -> Option<&TableCellStyle>
The cell styling options for the subtotals of value cells.
sourcepub fn metric_header_cell_style(&self) -> Option<&TableCellStyle>
pub fn metric_header_cell_style(&self) -> Option<&TableCellStyle>
The cell styling options for the subtotals of header cells.
sourcepub fn style_targets(&self) -> &[TableStyleTarget]
pub fn style_targets(&self) -> &[TableStyleTarget]
The style targets options for subtotals.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .style_targets.is_none().
source§impl SubtotalOptions
impl SubtotalOptions
sourcepub fn builder() -> SubtotalOptionsBuilder
pub fn builder() -> SubtotalOptionsBuilder
Creates a new builder-style object to manufacture SubtotalOptions.
Trait Implementations§
source§impl Clone for SubtotalOptions
impl Clone for SubtotalOptions
source§fn clone(&self) -> SubtotalOptions
fn clone(&self) -> SubtotalOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SubtotalOptions
impl Debug for SubtotalOptions
source§impl PartialEq for SubtotalOptions
impl PartialEq for SubtotalOptions
source§fn eq(&self, other: &SubtotalOptions) -> bool
fn eq(&self, other: &SubtotalOptions) -> bool
self and other values to be equal, and is used
by ==.