#[non_exhaustive]pub struct NumericFormatConfigurationBuilder { /* private fields */ }
Expand description
A builder for NumericFormatConfiguration
.
Implementations§
source§impl NumericFormatConfigurationBuilder
impl NumericFormatConfigurationBuilder
sourcepub fn number_display_format_configuration(
self,
input: NumberDisplayFormatConfiguration
) -> Self
pub fn number_display_format_configuration( self, input: NumberDisplayFormatConfiguration ) -> Self
The options that determine the number display format configuration.
sourcepub fn set_number_display_format_configuration(
self,
input: Option<NumberDisplayFormatConfiguration>
) -> Self
pub fn set_number_display_format_configuration( self, input: Option<NumberDisplayFormatConfiguration> ) -> Self
The options that determine the number display format configuration.
sourcepub fn get_number_display_format_configuration(
&self
) -> &Option<NumberDisplayFormatConfiguration>
pub fn get_number_display_format_configuration( &self ) -> &Option<NumberDisplayFormatConfiguration>
The options that determine the number display format configuration.
sourcepub fn currency_display_format_configuration(
self,
input: CurrencyDisplayFormatConfiguration
) -> Self
pub fn currency_display_format_configuration( self, input: CurrencyDisplayFormatConfiguration ) -> Self
The options that determine the currency display format configuration.
sourcepub fn set_currency_display_format_configuration(
self,
input: Option<CurrencyDisplayFormatConfiguration>
) -> Self
pub fn set_currency_display_format_configuration( self, input: Option<CurrencyDisplayFormatConfiguration> ) -> Self
The options that determine the currency display format configuration.
sourcepub fn get_currency_display_format_configuration(
&self
) -> &Option<CurrencyDisplayFormatConfiguration>
pub fn get_currency_display_format_configuration( &self ) -> &Option<CurrencyDisplayFormatConfiguration>
The options that determine the currency display format configuration.
sourcepub fn percentage_display_format_configuration(
self,
input: PercentageDisplayFormatConfiguration
) -> Self
pub fn percentage_display_format_configuration( self, input: PercentageDisplayFormatConfiguration ) -> Self
The options that determine the percentage display format configuration.
sourcepub fn set_percentage_display_format_configuration(
self,
input: Option<PercentageDisplayFormatConfiguration>
) -> Self
pub fn set_percentage_display_format_configuration( self, input: Option<PercentageDisplayFormatConfiguration> ) -> Self
The options that determine the percentage display format configuration.
sourcepub fn get_percentage_display_format_configuration(
&self
) -> &Option<PercentageDisplayFormatConfiguration>
pub fn get_percentage_display_format_configuration( &self ) -> &Option<PercentageDisplayFormatConfiguration>
The options that determine the percentage display format configuration.
sourcepub fn build(self) -> NumericFormatConfiguration
pub fn build(self) -> NumericFormatConfiguration
Consumes the builder and constructs a NumericFormatConfiguration
.
Trait Implementations§
source§impl Clone for NumericFormatConfigurationBuilder
impl Clone for NumericFormatConfigurationBuilder
source§fn clone(&self) -> NumericFormatConfigurationBuilder
fn clone(&self) -> NumericFormatConfigurationBuilder
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 Default for NumericFormatConfigurationBuilder
impl Default for NumericFormatConfigurationBuilder
source§fn default() -> NumericFormatConfigurationBuilder
fn default() -> NumericFormatConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NumericFormatConfigurationBuilder
impl PartialEq for NumericFormatConfigurationBuilder
source§fn eq(&self, other: &NumericFormatConfigurationBuilder) -> bool
fn eq(&self, other: &NumericFormatConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NumericFormatConfigurationBuilder
Auto Trait Implementations§
impl Freeze for NumericFormatConfigurationBuilder
impl RefUnwindSafe for NumericFormatConfigurationBuilder
impl Send for NumericFormatConfigurationBuilder
impl Sync for NumericFormatConfigurationBuilder
impl Unpin for NumericFormatConfigurationBuilder
impl UnwindSafe for NumericFormatConfigurationBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.