#[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: String
The ID of the ParameterDropDownControl
.
title: String
The title of the ParameterDropDownControl
.
source_parameter_name: String
The 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
impl StructuralPartialEq for ParameterDropDownControl
Auto Trait Implementations§
impl Freeze for ParameterDropDownControl
impl RefUnwindSafe for ParameterDropDownControl
impl Send for ParameterDropDownControl
impl Sync for ParameterDropDownControl
impl Unpin for ParameterDropDownControl
impl UnwindSafe for ParameterDropDownControl
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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