#[non_exhaustive]pub struct DecimalDatasetParameterBuilder { /* private fields */ }Expand description
A builder for DecimalDatasetParameter.
Implementations§
source§impl DecimalDatasetParameterBuilder
impl DecimalDatasetParameterBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
An identifier for the decimal parameter created in the dataset.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
An identifier for the decimal parameter created in the dataset.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
An identifier for the decimal parameter created in the dataset.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the decimal parameter that is created in the dataset.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the decimal parameter that is created in the dataset.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the decimal parameter that is created in the dataset.
sourcepub fn value_type(self, input: DatasetParameterValueType) -> Self
pub fn value_type(self, input: DatasetParameterValueType) -> Self
The value type of the dataset parameter. Valid values are single value or multi value.
sourcepub fn set_value_type(self, input: Option<DatasetParameterValueType>) -> Self
pub fn set_value_type(self, input: Option<DatasetParameterValueType>) -> Self
The value type of the dataset parameter. Valid values are single value or multi value.
sourcepub fn get_value_type(&self) -> &Option<DatasetParameterValueType>
pub fn get_value_type(&self) -> &Option<DatasetParameterValueType>
The value type of the dataset parameter. Valid values are single value or multi value.
sourcepub fn default_values(self, input: DecimalDatasetParameterDefaultValues) -> Self
pub fn default_values(self, input: DecimalDatasetParameterDefaultValues) -> Self
A list of default values for a given decimal parameter. This structure only accepts static values.
sourcepub fn set_default_values(
self,
input: Option<DecimalDatasetParameterDefaultValues>,
) -> Self
pub fn set_default_values( self, input: Option<DecimalDatasetParameterDefaultValues>, ) -> Self
A list of default values for a given decimal parameter. This structure only accepts static values.
sourcepub fn get_default_values(
&self,
) -> &Option<DecimalDatasetParameterDefaultValues>
pub fn get_default_values( &self, ) -> &Option<DecimalDatasetParameterDefaultValues>
A list of default values for a given decimal parameter. This structure only accepts static values.
sourcepub fn build(self) -> Result<DecimalDatasetParameter, BuildError>
pub fn build(self) -> Result<DecimalDatasetParameter, BuildError>
Consumes the builder and constructs a DecimalDatasetParameter.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DecimalDatasetParameterBuilder
impl Clone for DecimalDatasetParameterBuilder
source§fn clone(&self) -> DecimalDatasetParameterBuilder
fn clone(&self) -> DecimalDatasetParameterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DecimalDatasetParameterBuilder
impl Default for DecimalDatasetParameterBuilder
source§fn default() -> DecimalDatasetParameterBuilder
fn default() -> DecimalDatasetParameterBuilder
source§impl PartialEq for DecimalDatasetParameterBuilder
impl PartialEq for DecimalDatasetParameterBuilder
source§fn eq(&self, other: &DecimalDatasetParameterBuilder) -> bool
fn eq(&self, other: &DecimalDatasetParameterBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DecimalDatasetParameterBuilder
Auto Trait Implementations§
impl Freeze for DecimalDatasetParameterBuilder
impl RefUnwindSafe for DecimalDatasetParameterBuilder
impl Send for DecimalDatasetParameterBuilder
impl Sync for DecimalDatasetParameterBuilder
impl Unpin for DecimalDatasetParameterBuilder
impl UnwindSafe for DecimalDatasetParameterBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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