#[non_exhaustive]pub struct ParameterDropDownControl {
pub parameter_control_id: String,
pub title: String,
pub source_parameter_name: String,
pub display_options: Option<DropDownControlDisplayOptions>,
pub type: Option<SheetControlListType>,
pub selectable_values: Option<ParameterSelectableValues>,
pub cascading_control_configuration: Option<CascadingControlConfiguration>,
}Expand description
A control to display a dropdown list with buttons that are used to select a single value.
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_control_id: StringThe ID of the ParameterDropDownControl.
title: StringThe title of the ParameterDropDownControl.
source_parameter_name: StringThe source parameter name of the ParameterDropDownControl.
display_options: Option<DropDownControlDisplayOptions>The display options of a control.
type: Option<SheetControlListType>The type parameter name of the ParameterDropDownControl.
selectable_values: Option<ParameterSelectableValues>A list of selectable values that are used in a control.
cascading_control_configuration: 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.
Implementations§
source§impl ParameterDropDownControl
impl ParameterDropDownControl
sourcepub fn parameter_control_id(&self) -> &str
pub fn parameter_control_id(&self) -> &str
The ID of the ParameterDropDownControl.
sourcepub fn source_parameter_name(&self) -> &str
pub fn source_parameter_name(&self) -> &str
The source parameter name of the ParameterDropDownControl.
sourcepub fn display_options(&self) -> Option<&DropDownControlDisplayOptions>
pub fn display_options(&self) -> Option<&DropDownControlDisplayOptions>
The display options of a control.
sourcepub fn type(&self) -> Option<&SheetControlListType>
pub fn type(&self) -> Option<&SheetControlListType>
The type parameter name of the ParameterDropDownControl.
sourcepub fn selectable_values(&self) -> Option<&ParameterSelectableValues>
pub fn selectable_values(&self) -> Option<&ParameterSelectableValues>
A list of selectable values that are used in a control.
sourcepub fn cascading_control_configuration(
&self
) -> Option<&CascadingControlConfiguration>
pub fn 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.
source§impl ParameterDropDownControl
impl ParameterDropDownControl
sourcepub fn builder() -> ParameterDropDownControlBuilder
pub fn builder() -> ParameterDropDownControlBuilder
Creates a new builder-style object to manufacture ParameterDropDownControl.
Trait Implementations§
source§impl Clone for ParameterDropDownControl
impl Clone for ParameterDropDownControl
source§fn clone(&self) -> ParameterDropDownControl
fn clone(&self) -> ParameterDropDownControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ParameterDropDownControl
impl Debug for ParameterDropDownControl
source§impl PartialEq for ParameterDropDownControl
impl PartialEq for ParameterDropDownControl
source§fn eq(&self, other: &ParameterDropDownControl) -> bool
fn eq(&self, other: &ParameterDropDownControl) -> bool
self and other values to be equal, and is used
by ==.