Struct aws_sdk_quicksight::types::DefaultFormatting
source · #[non_exhaustive]pub struct DefaultFormatting {
pub display_format: Option<DisplayFormat>,
pub display_format_options: Option<DisplayFormatOptions>,
}
Expand description
A structure that represents a default formatting definition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.display_format: Option<DisplayFormat>
The display format. Valid values for this structure are AUTO
, PERCENT
, CURRENCY
, NUMBER
, DATE
, and STRING
.
display_format_options: Option<DisplayFormatOptions>
The additional options for display formatting.
Implementations§
source§impl DefaultFormatting
impl DefaultFormatting
sourcepub fn display_format(&self) -> Option<&DisplayFormat>
pub fn display_format(&self) -> Option<&DisplayFormat>
The display format. Valid values for this structure are AUTO
, PERCENT
, CURRENCY
, NUMBER
, DATE
, and STRING
.
sourcepub fn display_format_options(&self) -> Option<&DisplayFormatOptions>
pub fn display_format_options(&self) -> Option<&DisplayFormatOptions>
The additional options for display formatting.
source§impl DefaultFormatting
impl DefaultFormatting
sourcepub fn builder() -> DefaultFormattingBuilder
pub fn builder() -> DefaultFormattingBuilder
Creates a new builder-style object to manufacture DefaultFormatting
.
Trait Implementations§
source§impl Clone for DefaultFormatting
impl Clone for DefaultFormatting
source§fn clone(&self) -> DefaultFormatting
fn clone(&self) -> DefaultFormatting
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DefaultFormatting
impl Debug for DefaultFormatting
source§impl PartialEq for DefaultFormatting
impl PartialEq for DefaultFormatting
source§fn eq(&self, other: &DefaultFormatting) -> bool
fn eq(&self, other: &DefaultFormatting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefaultFormatting
Auto Trait Implementations§
impl RefUnwindSafe for DefaultFormatting
impl Send for DefaultFormatting
impl Sync for DefaultFormatting
impl Unpin for DefaultFormatting
impl UnwindSafe for DefaultFormatting
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.