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