Struct aws_sdk_quicksight::types::TotalOptions
source · #[non_exhaustive]pub struct TotalOptions {
pub totals_visibility: Option<Visibility>,
pub placement: Option<TableTotalsPlacement>,
pub scroll_status: Option<TableTotalsScrollStatus>,
pub custom_label: Option<String>,
pub total_cell_style: Option<TableCellStyle>,
pub total_aggregation_options: Option<Vec<TotalAggregationOption>>,
}
Expand description
The total options for a table visual.
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 total cells.
placement: Option<TableTotalsPlacement>
The placement (start, end) for the total cells.
scroll_status: Option<TableTotalsScrollStatus>
The scroll status (pinned, scrolled) for the total cells.
custom_label: Option<String>
The custom label string for the total cells.
total_cell_style: Option<TableCellStyle>
Cell styling options for the total cells.
total_aggregation_options: Option<Vec<TotalAggregationOption>>
The total aggregation settings for each value field.
Implementations§
source§impl TotalOptions
impl TotalOptions
sourcepub fn totals_visibility(&self) -> Option<&Visibility>
pub fn totals_visibility(&self) -> Option<&Visibility>
The visibility configuration for the total cells.
sourcepub fn placement(&self) -> Option<&TableTotalsPlacement>
pub fn placement(&self) -> Option<&TableTotalsPlacement>
The placement (start, end) for the total cells.
sourcepub fn scroll_status(&self) -> Option<&TableTotalsScrollStatus>
pub fn scroll_status(&self) -> Option<&TableTotalsScrollStatus>
The scroll status (pinned, scrolled) for the total cells.
sourcepub fn custom_label(&self) -> Option<&str>
pub fn custom_label(&self) -> Option<&str>
The custom label string for the total cells.
sourcepub fn total_cell_style(&self) -> Option<&TableCellStyle>
pub fn total_cell_style(&self) -> Option<&TableCellStyle>
Cell styling options for the total cells.
sourcepub fn total_aggregation_options(&self) -> &[TotalAggregationOption]
pub fn total_aggregation_options(&self) -> &[TotalAggregationOption]
The total aggregation settings for each value field.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .total_aggregation_options.is_none()
.
source§impl TotalOptions
impl TotalOptions
sourcepub fn builder() -> TotalOptionsBuilder
pub fn builder() -> TotalOptionsBuilder
Creates a new builder-style object to manufacture TotalOptions
.
Trait Implementations§
source§impl Clone for TotalOptions
impl Clone for TotalOptions
source§fn clone(&self) -> TotalOptions
fn clone(&self) -> TotalOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TotalOptions
impl Debug for TotalOptions
source§impl PartialEq for TotalOptions
impl PartialEq for TotalOptions
source§fn eq(&self, other: &TotalOptions) -> bool
fn eq(&self, other: &TotalOptions) -> bool
self
and other
values to be equal, and is used
by ==
.