#[non_exhaustive]pub struct NumericalDimensionFieldBuilder { /* private fields */ }Expand description
A builder for NumericalDimensionField.
Implementations§
source§impl NumericalDimensionFieldBuilder
impl NumericalDimensionFieldBuilder
sourcepub fn field_id(self, input: impl Into<String>) -> Self
pub fn field_id(self, input: impl Into<String>) -> Self
The custom field ID.
This field is required.sourcepub fn set_field_id(self, input: Option<String>) -> Self
pub fn set_field_id(self, input: Option<String>) -> Self
The custom field ID.
sourcepub fn get_field_id(&self) -> &Option<String>
pub fn get_field_id(&self) -> &Option<String>
The custom field ID.
sourcepub fn column(self, input: ColumnIdentifier) -> Self
pub fn column(self, input: ColumnIdentifier) -> Self
The column that is used in the NumericalDimensionField.
sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The column that is used in the NumericalDimensionField.
sourcepub fn get_column(&self) -> &Option<ColumnIdentifier>
pub fn get_column(&self) -> &Option<ColumnIdentifier>
The column that is used in the NumericalDimensionField.
sourcepub fn hierarchy_id(self, input: impl Into<String>) -> Self
pub fn hierarchy_id(self, input: impl Into<String>) -> Self
The custom hierarchy ID.
sourcepub fn set_hierarchy_id(self, input: Option<String>) -> Self
pub fn set_hierarchy_id(self, input: Option<String>) -> Self
The custom hierarchy ID.
sourcepub fn get_hierarchy_id(&self) -> &Option<String>
pub fn get_hierarchy_id(&self) -> &Option<String>
The custom hierarchy ID.
sourcepub fn format_configuration(self, input: NumberFormatConfiguration) -> Self
pub fn format_configuration(self, input: NumberFormatConfiguration) -> Self
The format configuration of the field.
sourcepub fn set_format_configuration(
self,
input: Option<NumberFormatConfiguration>
) -> Self
pub fn set_format_configuration( self, input: Option<NumberFormatConfiguration> ) -> Self
The format configuration of the field.
sourcepub fn get_format_configuration(&self) -> &Option<NumberFormatConfiguration>
pub fn get_format_configuration(&self) -> &Option<NumberFormatConfiguration>
The format configuration of the field.
sourcepub fn build(self) -> Result<NumericalDimensionField, BuildError>
pub fn build(self) -> Result<NumericalDimensionField, BuildError>
Consumes the builder and constructs a NumericalDimensionField.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for NumericalDimensionFieldBuilder
impl Clone for NumericalDimensionFieldBuilder
source§fn clone(&self) -> NumericalDimensionFieldBuilder
fn clone(&self) -> NumericalDimensionFieldBuilder
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 NumericalDimensionFieldBuilder
impl Default for NumericalDimensionFieldBuilder
source§fn default() -> NumericalDimensionFieldBuilder
fn default() -> NumericalDimensionFieldBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NumericalDimensionFieldBuilder
impl PartialEq for NumericalDimensionFieldBuilder
source§fn eq(&self, other: &NumericalDimensionFieldBuilder) -> bool
fn eq(&self, other: &NumericalDimensionFieldBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NumericalDimensionFieldBuilder
Auto Trait Implementations§
impl Freeze for NumericalDimensionFieldBuilder
impl RefUnwindSafe for NumericalDimensionFieldBuilder
impl Send for NumericalDimensionFieldBuilder
impl Sync for NumericalDimensionFieldBuilder
impl Unpin for NumericalDimensionFieldBuilder
impl UnwindSafe for NumericalDimensionFieldBuilder
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.