#[non_exhaustive]pub struct CurrencyDisplayFormatConfiguration {
pub prefix: Option<String>,
pub suffix: Option<String>,
pub separator_configuration: Option<NumericSeparatorConfiguration>,
pub symbol: Option<String>,
pub decimal_places_configuration: Option<DecimalPlacesConfiguration>,
pub number_scale: Option<NumberScale>,
pub negative_value_configuration: Option<NegativeValueConfiguration>,
pub null_value_format_configuration: Option<NullValueFormatConfiguration>,
}
Expand description
The options that determine the currency display format configuration.
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.prefix: Option<String>
Determines the prefix value of the currency format.
suffix: Option<String>
Determines the suffix value of the currency format.
separator_configuration: Option<NumericSeparatorConfiguration>
The options that determine the numeric separator configuration.
symbol: Option<String>
Determines the symbol for the currency format.
decimal_places_configuration: Option<DecimalPlacesConfiguration>
The option that determines the decimal places configuration.
number_scale: Option<NumberScale>
Determines the number scale value for the currency format.
negative_value_configuration: Option<NegativeValueConfiguration>
The options that determine the negative value configuration.
null_value_format_configuration: Option<NullValueFormatConfiguration>
The options that determine the null value format configuration.
Implementations§
source§impl CurrencyDisplayFormatConfiguration
impl CurrencyDisplayFormatConfiguration
sourcepub fn separator_configuration(&self) -> Option<&NumericSeparatorConfiguration>
pub fn separator_configuration(&self) -> Option<&NumericSeparatorConfiguration>
The options that determine the numeric separator configuration.
sourcepub fn decimal_places_configuration(
&self
) -> Option<&DecimalPlacesConfiguration>
pub fn decimal_places_configuration( &self ) -> Option<&DecimalPlacesConfiguration>
The option that determines the decimal places configuration.
sourcepub fn number_scale(&self) -> Option<&NumberScale>
pub fn number_scale(&self) -> Option<&NumberScale>
Determines the number scale value for the currency format.
sourcepub fn negative_value_configuration(
&self
) -> Option<&NegativeValueConfiguration>
pub fn negative_value_configuration( &self ) -> Option<&NegativeValueConfiguration>
The options that determine the negative value configuration.
sourcepub fn null_value_format_configuration(
&self
) -> Option<&NullValueFormatConfiguration>
pub fn null_value_format_configuration( &self ) -> Option<&NullValueFormatConfiguration>
The options that determine the null value format configuration.
source§impl CurrencyDisplayFormatConfiguration
impl CurrencyDisplayFormatConfiguration
sourcepub fn builder() -> CurrencyDisplayFormatConfigurationBuilder
pub fn builder() -> CurrencyDisplayFormatConfigurationBuilder
Creates a new builder-style object to manufacture CurrencyDisplayFormatConfiguration
.
Trait Implementations§
source§impl Clone for CurrencyDisplayFormatConfiguration
impl Clone for CurrencyDisplayFormatConfiguration
source§fn clone(&self) -> CurrencyDisplayFormatConfiguration
fn clone(&self) -> CurrencyDisplayFormatConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CurrencyDisplayFormatConfiguration
impl PartialEq for CurrencyDisplayFormatConfiguration
source§fn eq(&self, other: &CurrencyDisplayFormatConfiguration) -> bool
fn eq(&self, other: &CurrencyDisplayFormatConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.