Struct aws_sdk_quicksight::types::PivotTotalOptions
source · #[non_exhaustive]pub struct PivotTotalOptions {
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 value_cell_style: Option<TableCellStyle>,
pub metric_header_cell_style: Option<TableCellStyle>,
pub total_aggregation_options: Option<Vec<TotalAggregationOption>>,
}
Expand description
The optional configuration of totals cells in a PivotTableVisual
.
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>
The cell styling options for the total cells.
value_cell_style: Option<TableCellStyle>
The cell styling options for the totals of value cells.
metric_header_cell_style: Option<TableCellStyle>
The cell styling options for the total of header cells.
total_aggregation_options: Option<Vec<TotalAggregationOption>>
The total aggregation options for each value field.
Implementations§
source§impl PivotTotalOptions
impl PivotTotalOptions
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>
The cell styling options for the total cells.
sourcepub fn value_cell_style(&self) -> Option<&TableCellStyle>
pub fn value_cell_style(&self) -> Option<&TableCellStyle>
The cell styling options for the totals 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 total of header cells.
sourcepub fn total_aggregation_options(&self) -> &[TotalAggregationOption]
pub fn total_aggregation_options(&self) -> &[TotalAggregationOption]
The total aggregation options 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 PivotTotalOptions
impl PivotTotalOptions
sourcepub fn builder() -> PivotTotalOptionsBuilder
pub fn builder() -> PivotTotalOptionsBuilder
Creates a new builder-style object to manufacture PivotTotalOptions
.
Trait Implementations§
source§impl Clone for PivotTotalOptions
impl Clone for PivotTotalOptions
source§fn clone(&self) -> PivotTotalOptions
fn clone(&self) -> PivotTotalOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PivotTotalOptions
impl Debug for PivotTotalOptions
source§impl PartialEq for PivotTotalOptions
impl PartialEq for PivotTotalOptions
source§fn eq(&self, other: &PivotTotalOptions) -> bool
fn eq(&self, other: &PivotTotalOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PivotTotalOptions
Auto Trait Implementations§
impl Freeze for PivotTotalOptions
impl RefUnwindSafe for PivotTotalOptions
impl Send for PivotTotalOptions
impl Sync for PivotTotalOptions
impl Unpin for PivotTotalOptions
impl UnwindSafe for PivotTotalOptions
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> 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