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 ==.impl StructuralPartialEq for SubtotalOptions
Auto Trait Implementations§
impl Freeze for SubtotalOptions
impl RefUnwindSafe for SubtotalOptions
impl Send for SubtotalOptions
impl Sync for SubtotalOptions
impl Unpin for SubtotalOptions
impl UnwindSafe for SubtotalOptions
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