#[non_exhaustive]pub struct StringParameterDeclaration {
pub parameter_value_type: Option<ParameterValueType>,
pub name: Option<String>,
pub default_values: Option<StringDefaultValues>,
pub value_when_unset: Option<StringValueWhenUnsetConfiguration>,
pub mapped_data_set_parameters: Option<Vec<MappedDataSetParameter>>,
}Expand description
A parameter declaration for the String data type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parameter_value_type: Option<ParameterValueType>The value type determines whether the parameter is a single-value or multi-value parameter.
name: Option<String>The name of the parameter that is being declared.
default_values: Option<StringDefaultValues>The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
value_when_unset: Option<StringValueWhenUnsetConfiguration>The configuration that defines the default value of a String parameter when a value has not been set.
mapped_data_set_parameters: Option<Vec<MappedDataSetParameter>>A list of dataset parameters that are mapped to an analysis parameter.
Implementations§
source§impl StringParameterDeclaration
impl StringParameterDeclaration
sourcepub fn parameter_value_type(&self) -> Option<&ParameterValueType>
pub fn parameter_value_type(&self) -> Option<&ParameterValueType>
The value type determines whether the parameter is a single-value or multi-value parameter.
sourcepub fn default_values(&self) -> Option<&StringDefaultValues>
pub fn default_values(&self) -> Option<&StringDefaultValues>
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
sourcepub fn value_when_unset(&self) -> Option<&StringValueWhenUnsetConfiguration>
pub fn value_when_unset(&self) -> Option<&StringValueWhenUnsetConfiguration>
The configuration that defines the default value of a String parameter when a value has not been set.
sourcepub fn mapped_data_set_parameters(&self) -> Option<&[MappedDataSetParameter]>
pub fn mapped_data_set_parameters(&self) -> Option<&[MappedDataSetParameter]>
A list of dataset parameters that are mapped to an analysis parameter.
source§impl StringParameterDeclaration
impl StringParameterDeclaration
sourcepub fn builder() -> StringParameterDeclarationBuilder
pub fn builder() -> StringParameterDeclarationBuilder
Creates a new builder-style object to manufacture StringParameterDeclaration.
Trait Implementations§
source§impl Clone for StringParameterDeclaration
impl Clone for StringParameterDeclaration
source§fn clone(&self) -> StringParameterDeclaration
fn clone(&self) -> StringParameterDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StringParameterDeclaration
impl Debug for StringParameterDeclaration
source§impl PartialEq<StringParameterDeclaration> for StringParameterDeclaration
impl PartialEq<StringParameterDeclaration> for StringParameterDeclaration
source§fn eq(&self, other: &StringParameterDeclaration) -> bool
fn eq(&self, other: &StringParameterDeclaration) -> bool
self and other values to be equal, and is used
by ==.