#[non_exhaustive]pub struct ParameterDropDownControlBuilder { /* private fields */ }
Expand description
A builder for ParameterDropDownControl
.
Implementations§
source§impl ParameterDropDownControlBuilder
impl ParameterDropDownControlBuilder
sourcepub fn parameter_control_id(self, input: impl Into<String>) -> Self
pub fn parameter_control_id(self, input: impl Into<String>) -> Self
The ID of the ParameterDropDownControl
.
sourcepub fn set_parameter_control_id(self, input: Option<String>) -> Self
pub fn set_parameter_control_id(self, input: Option<String>) -> Self
The ID of the ParameterDropDownControl
.
sourcepub fn get_parameter_control_id(&self) -> &Option<String>
pub fn get_parameter_control_id(&self) -> &Option<String>
The ID of the ParameterDropDownControl
.
sourcepub fn title(self, input: impl Into<String>) -> Self
pub fn title(self, input: impl Into<String>) -> Self
The title of the ParameterDropDownControl
.
sourcepub fn set_title(self, input: Option<String>) -> Self
pub fn set_title(self, input: Option<String>) -> Self
The title of the ParameterDropDownControl
.
sourcepub fn source_parameter_name(self, input: impl Into<String>) -> Self
pub fn source_parameter_name(self, input: impl Into<String>) -> Self
The source parameter name of the ParameterDropDownControl
.
sourcepub fn set_source_parameter_name(self, input: Option<String>) -> Self
pub fn set_source_parameter_name(self, input: Option<String>) -> Self
The source parameter name of the ParameterDropDownControl
.
sourcepub fn get_source_parameter_name(&self) -> &Option<String>
pub fn get_source_parameter_name(&self) -> &Option<String>
The source parameter name of the ParameterDropDownControl
.
sourcepub fn display_options(self, input: DropDownControlDisplayOptions) -> Self
pub fn display_options(self, input: DropDownControlDisplayOptions) -> Self
The display options of a control.
sourcepub fn set_display_options(
self,
input: Option<DropDownControlDisplayOptions>
) -> Self
pub fn set_display_options( self, input: Option<DropDownControlDisplayOptions> ) -> Self
The display options of a control.
sourcepub fn get_display_options(&self) -> &Option<DropDownControlDisplayOptions>
pub fn get_display_options(&self) -> &Option<DropDownControlDisplayOptions>
The display options of a control.
sourcepub fn type(self, input: SheetControlListType) -> Self
pub fn type(self, input: SheetControlListType) -> Self
The type parameter name of the ParameterDropDownControl
.
sourcepub fn set_type(self, input: Option<SheetControlListType>) -> Self
pub fn set_type(self, input: Option<SheetControlListType>) -> Self
The type parameter name of the ParameterDropDownControl
.
sourcepub fn get_type(&self) -> &Option<SheetControlListType>
pub fn get_type(&self) -> &Option<SheetControlListType>
The type parameter name of the ParameterDropDownControl
.
sourcepub fn selectable_values(self, input: ParameterSelectableValues) -> Self
pub fn selectable_values(self, input: ParameterSelectableValues) -> Self
A list of selectable values that are used in a control.
sourcepub fn set_selectable_values(
self,
input: Option<ParameterSelectableValues>
) -> Self
pub fn set_selectable_values( self, input: Option<ParameterSelectableValues> ) -> Self
A list of selectable values that are used in a control.
sourcepub fn get_selectable_values(&self) -> &Option<ParameterSelectableValues>
pub fn get_selectable_values(&self) -> &Option<ParameterSelectableValues>
A list of selectable values that are used in a control.
sourcepub fn cascading_control_configuration(
self,
input: CascadingControlConfiguration
) -> Self
pub fn cascading_control_configuration( self, input: CascadingControlConfiguration ) -> Self
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
sourcepub fn set_cascading_control_configuration(
self,
input: Option<CascadingControlConfiguration>
) -> Self
pub fn set_cascading_control_configuration( self, input: Option<CascadingControlConfiguration> ) -> Self
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
sourcepub fn get_cascading_control_configuration(
&self
) -> &Option<CascadingControlConfiguration>
pub fn get_cascading_control_configuration( &self ) -> &Option<CascadingControlConfiguration>
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
sourcepub fn build(self) -> Result<ParameterDropDownControl, BuildError>
pub fn build(self) -> Result<ParameterDropDownControl, BuildError>
Consumes the builder and constructs a ParameterDropDownControl
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ParameterDropDownControlBuilder
impl Clone for ParameterDropDownControlBuilder
source§fn clone(&self) -> ParameterDropDownControlBuilder
fn clone(&self) -> ParameterDropDownControlBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ParameterDropDownControlBuilder
impl Default for ParameterDropDownControlBuilder
source§fn default() -> ParameterDropDownControlBuilder
fn default() -> ParameterDropDownControlBuilder
source§impl PartialEq for ParameterDropDownControlBuilder
impl PartialEq for ParameterDropDownControlBuilder
source§fn eq(&self, other: &ParameterDropDownControlBuilder) -> bool
fn eq(&self, other: &ParameterDropDownControlBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.