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
impl StructuralPartialEq for TotalOptions
Auto Trait Implementations§
impl Freeze for TotalOptions
impl RefUnwindSafe for TotalOptions
impl Send for TotalOptions
impl Sync for TotalOptions
impl Unpin for TotalOptions
impl UnwindSafe for TotalOptions
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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