#[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 ==
.impl StructuralPartialEq for CurrencyDisplayFormatConfiguration
Auto Trait Implementations§
impl Freeze for CurrencyDisplayFormatConfiguration
impl RefUnwindSafe for CurrencyDisplayFormatConfiguration
impl Send for CurrencyDisplayFormatConfiguration
impl Sync for CurrencyDisplayFormatConfiguration
impl Unpin for CurrencyDisplayFormatConfiguration
impl UnwindSafe for CurrencyDisplayFormatConfiguration
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