#[non_exhaustive]pub struct NumberDisplayFormatConfiguration {
pub prefix: Option<String>,
pub suffix: Option<String>,
pub separator_configuration: Option<NumericSeparatorConfiguration>,
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 number 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 number format.
suffix: Option<String>
Determines the suffix value of the number format.
separator_configuration: Option<NumericSeparatorConfiguration>
The options that determine the numeric separator configuration.
decimal_places_configuration: Option<DecimalPlacesConfiguration>
The option that determines the decimal places configuration.
number_scale: Option<NumberScale>
Determines the number scale value of the number 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 NumberDisplayFormatConfiguration
impl NumberDisplayFormatConfiguration
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 of the number 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 NumberDisplayFormatConfiguration
impl NumberDisplayFormatConfiguration
sourcepub fn builder() -> NumberDisplayFormatConfigurationBuilder
pub fn builder() -> NumberDisplayFormatConfigurationBuilder
Creates a new builder-style object to manufacture NumberDisplayFormatConfiguration
.
Trait Implementations§
source§impl Clone for NumberDisplayFormatConfiguration
impl Clone for NumberDisplayFormatConfiguration
source§fn clone(&self) -> NumberDisplayFormatConfiguration
fn clone(&self) -> NumberDisplayFormatConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for NumberDisplayFormatConfiguration
impl PartialEq for NumberDisplayFormatConfiguration
source§fn eq(&self, other: &NumberDisplayFormatConfiguration) -> bool
fn eq(&self, other: &NumberDisplayFormatConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NumberDisplayFormatConfiguration
Auto Trait Implementations§
impl Freeze for NumberDisplayFormatConfiguration
impl RefUnwindSafe for NumberDisplayFormatConfiguration
impl Send for NumberDisplayFormatConfiguration
impl Sync for NumberDisplayFormatConfiguration
impl Unpin for NumberDisplayFormatConfiguration
impl UnwindSafe for NumberDisplayFormatConfiguration
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> 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