#[non_exhaustive]pub struct DecimalDefaultValuesBuilder { /* private fields */ }
Expand description
A builder for DecimalDefaultValues
.
Implementations§
source§impl DecimalDefaultValuesBuilder
impl DecimalDefaultValuesBuilder
sourcepub fn dynamic_value(self, input: DynamicDefaultValue) -> Self
pub fn dynamic_value(self, input: DynamicDefaultValue) -> Self
The dynamic value of the DecimalDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.
sourcepub fn set_dynamic_value(self, input: Option<DynamicDefaultValue>) -> Self
pub fn set_dynamic_value(self, input: Option<DynamicDefaultValue>) -> Self
The dynamic value of the DecimalDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.
sourcepub fn get_dynamic_value(&self) -> &Option<DynamicDefaultValue>
pub fn get_dynamic_value(&self) -> &Option<DynamicDefaultValue>
The dynamic value of the DecimalDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.
sourcepub fn static_values(self, input: f64) -> Self
pub fn static_values(self, input: f64) -> Self
Appends an item to static_values
.
To override the contents of this collection use set_static_values
.
The static values of the DecimalDefaultValues
.
sourcepub fn set_static_values(self, input: Option<Vec<f64>>) -> Self
pub fn set_static_values(self, input: Option<Vec<f64>>) -> Self
The static values of the DecimalDefaultValues
.
sourcepub fn get_static_values(&self) -> &Option<Vec<f64>>
pub fn get_static_values(&self) -> &Option<Vec<f64>>
The static values of the DecimalDefaultValues
.
sourcepub fn build(self) -> DecimalDefaultValues
pub fn build(self) -> DecimalDefaultValues
Consumes the builder and constructs a DecimalDefaultValues
.
Trait Implementations§
source§impl Clone for DecimalDefaultValuesBuilder
impl Clone for DecimalDefaultValuesBuilder
source§fn clone(&self) -> DecimalDefaultValuesBuilder
fn clone(&self) -> DecimalDefaultValuesBuilder
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 Debug for DecimalDefaultValuesBuilder
impl Debug for DecimalDefaultValuesBuilder
source§impl Default for DecimalDefaultValuesBuilder
impl Default for DecimalDefaultValuesBuilder
source§fn default() -> DecimalDefaultValuesBuilder
fn default() -> DecimalDefaultValuesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DecimalDefaultValuesBuilder
impl PartialEq for DecimalDefaultValuesBuilder
source§fn eq(&self, other: &DecimalDefaultValuesBuilder) -> bool
fn eq(&self, other: &DecimalDefaultValuesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecimalDefaultValuesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DecimalDefaultValuesBuilder
impl Send for DecimalDefaultValuesBuilder
impl Sync for DecimalDefaultValuesBuilder
impl Unpin for DecimalDefaultValuesBuilder
impl UnwindSafe for DecimalDefaultValuesBuilder
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>
Creates a shared type from an unshared type.