#[non_exhaustive]pub struct NumericFormatConfiguration { /* private fields */ }
Expand description
The options that determine the numeric format configuration.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Implementations§
source§impl NumericFormatConfiguration
impl NumericFormatConfiguration
sourcepub fn number_display_format_configuration(
&self
) -> Option<&NumberDisplayFormatConfiguration>
pub fn number_display_format_configuration(
&self
) -> Option<&NumberDisplayFormatConfiguration>
The options that determine the number display format configuration.
sourcepub fn currency_display_format_configuration(
&self
) -> Option<&CurrencyDisplayFormatConfiguration>
pub fn currency_display_format_configuration(
&self
) -> Option<&CurrencyDisplayFormatConfiguration>
The options that determine the currency display format configuration.
sourcepub fn percentage_display_format_configuration(
&self
) -> Option<&PercentageDisplayFormatConfiguration>
pub fn percentage_display_format_configuration(
&self
) -> Option<&PercentageDisplayFormatConfiguration>
The options that determine the percentage display format configuration.
source§impl NumericFormatConfiguration
impl NumericFormatConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NumericFormatConfiguration
.
Trait Implementations§
source§impl Clone for NumericFormatConfiguration
impl Clone for NumericFormatConfiguration
source§fn clone(&self) -> NumericFormatConfiguration
fn clone(&self) -> NumericFormatConfiguration
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 NumericFormatConfiguration
impl Debug for NumericFormatConfiguration
source§impl PartialEq<NumericFormatConfiguration> for NumericFormatConfiguration
impl PartialEq<NumericFormatConfiguration> for NumericFormatConfiguration
source§fn eq(&self, other: &NumericFormatConfiguration) -> bool
fn eq(&self, other: &NumericFormatConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.