Struct aws_sdk_quicksight::types::PivotTableOptions
source · #[non_exhaustive]pub struct PivotTableOptions {Show 13 fields
pub metric_placement: Option<PivotTableMetricPlacement>,
pub single_metric_visibility: Option<Visibility>,
pub column_names_visibility: Option<Visibility>,
pub toggle_buttons_visibility: Option<Visibility>,
pub column_header_style: Option<TableCellStyle>,
pub row_header_style: Option<TableCellStyle>,
pub cell_style: Option<TableCellStyle>,
pub row_field_names_style: Option<TableCellStyle>,
pub row_alternate_color_options: Option<RowAlternateColorOptions>,
pub collapsed_row_dimensions_visibility: Option<Visibility>,
pub rows_layout: Option<PivotTableRowsLayout>,
pub rows_label_options: Option<PivotTableRowsLabelOptions>,
pub default_cell_width: Option<String>,
}
Expand description
The table options for a pivot 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.metric_placement: Option<PivotTableMetricPlacement>
The metric placement (row, column) options.
single_metric_visibility: Option<Visibility>
The visibility of the single metric options.
column_names_visibility: Option<Visibility>
The visibility of the column names.
Determines the visibility of the pivot table.
column_header_style: Option<TableCellStyle>
The table cell style of the column header.
row_header_style: Option<TableCellStyle>
The table cell style of the row headers.
cell_style: Option<TableCellStyle>
The table cell style of cells.
row_field_names_style: Option<TableCellStyle>
The table cell style of row field names.
row_alternate_color_options: Option<RowAlternateColorOptions>
The row alternate color options (widget status, row alternate colors).
collapsed_row_dimensions_visibility: Option<Visibility>
The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN
, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE
.
rows_layout: Option<PivotTableRowsLayout>
The layout for the row dimension headers of a pivot table. Choose one of the following options.
-
TABULAR
: (Default) Each row field is displayed in a separate column. -
HIERARCHY
: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.
rows_label_options: Option<PivotTableRowsLabelOptions>
The options for the label that is located above the row headers. This option is only applicable when RowsLayout
is set to HIERARCHY
.
default_cell_width: Option<String>
The default cell width of the pivot table.
Implementations§
source§impl PivotTableOptions
impl PivotTableOptions
sourcepub fn metric_placement(&self) -> Option<&PivotTableMetricPlacement>
pub fn metric_placement(&self) -> Option<&PivotTableMetricPlacement>
The metric placement (row, column) options.
sourcepub fn single_metric_visibility(&self) -> Option<&Visibility>
pub fn single_metric_visibility(&self) -> Option<&Visibility>
The visibility of the single metric options.
sourcepub fn column_names_visibility(&self) -> Option<&Visibility>
pub fn column_names_visibility(&self) -> Option<&Visibility>
The visibility of the column names.
Determines the visibility of the pivot table.
sourcepub fn column_header_style(&self) -> Option<&TableCellStyle>
pub fn column_header_style(&self) -> Option<&TableCellStyle>
The table cell style of the column header.
sourcepub fn row_header_style(&self) -> Option<&TableCellStyle>
pub fn row_header_style(&self) -> Option<&TableCellStyle>
The table cell style of the row headers.
sourcepub fn cell_style(&self) -> Option<&TableCellStyle>
pub fn cell_style(&self) -> Option<&TableCellStyle>
The table cell style of cells.
sourcepub fn row_field_names_style(&self) -> Option<&TableCellStyle>
pub fn row_field_names_style(&self) -> Option<&TableCellStyle>
The table cell style of row field names.
sourcepub fn row_alternate_color_options(&self) -> Option<&RowAlternateColorOptions>
pub fn row_alternate_color_options(&self) -> Option<&RowAlternateColorOptions>
The row alternate color options (widget status, row alternate colors).
sourcepub fn collapsed_row_dimensions_visibility(&self) -> Option<&Visibility>
pub fn collapsed_row_dimensions_visibility(&self) -> Option<&Visibility>
The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is HIDDEN
, all collapsed columns in a pivot table are automatically hidden. The default value is VISIBLE
.
sourcepub fn rows_layout(&self) -> Option<&PivotTableRowsLayout>
pub fn rows_layout(&self) -> Option<&PivotTableRowsLayout>
The layout for the row dimension headers of a pivot table. Choose one of the following options.
-
TABULAR
: (Default) Each row field is displayed in a separate column. -
HIERARCHY
: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.
sourcepub fn rows_label_options(&self) -> Option<&PivotTableRowsLabelOptions>
pub fn rows_label_options(&self) -> Option<&PivotTableRowsLabelOptions>
The options for the label that is located above the row headers. This option is only applicable when RowsLayout
is set to HIERARCHY
.
sourcepub fn default_cell_width(&self) -> Option<&str>
pub fn default_cell_width(&self) -> Option<&str>
The default cell width of the pivot table.
source§impl PivotTableOptions
impl PivotTableOptions
sourcepub fn builder() -> PivotTableOptionsBuilder
pub fn builder() -> PivotTableOptionsBuilder
Creates a new builder-style object to manufacture PivotTableOptions
.
Trait Implementations§
source§impl Clone for PivotTableOptions
impl Clone for PivotTableOptions
source§fn clone(&self) -> PivotTableOptions
fn clone(&self) -> PivotTableOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PivotTableOptions
impl Debug for PivotTableOptions
source§impl PartialEq for PivotTableOptions
impl PartialEq for PivotTableOptions
source§fn eq(&self, other: &PivotTableOptions) -> bool
fn eq(&self, other: &PivotTableOptions) -> bool
self
and other
values to be equal, and is used
by ==
.