Struct aws_sdk_quicksight::types::ParameterControl
source · #[non_exhaustive]pub struct ParameterControl {
pub date_time_picker: Option<ParameterDateTimePickerControl>,
pub list: Option<ParameterListControl>,
pub dropdown: Option<ParameterDropDownControl>,
pub text_field: Option<ParameterTextFieldControl>,
pub text_area: Option<ParameterTextAreaControl>,
pub slider: Option<ParameterSliderControl>,
}
Expand description
The control of a parameter that users can interact with in a dashboard or an analysis.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
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.date_time_picker: Option<ParameterDateTimePickerControl>
A control from a date parameter that specifies date and time.
list: Option<ParameterListControl>
A control to display a list with buttons or boxes that are used to select either a single value or multiple values.
dropdown: Option<ParameterDropDownControl>
A control to display a dropdown list with buttons that are used to select a single value.
text_field: Option<ParameterTextFieldControl>
A control to display a text box that is used to enter a single entry.
text_area: Option<ParameterTextAreaControl>
A control to display a text box that is used to enter multiple entries.
slider: Option<ParameterSliderControl>
A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.
Implementations§
source§impl ParameterControl
impl ParameterControl
sourcepub fn date_time_picker(&self) -> Option<&ParameterDateTimePickerControl>
pub fn date_time_picker(&self) -> Option<&ParameterDateTimePickerControl>
A control from a date parameter that specifies date and time.
sourcepub fn list(&self) -> Option<&ParameterListControl>
pub fn list(&self) -> Option<&ParameterListControl>
A control to display a list with buttons or boxes that are used to select either a single value or multiple values.
sourcepub fn dropdown(&self) -> Option<&ParameterDropDownControl>
pub fn dropdown(&self) -> Option<&ParameterDropDownControl>
A control to display a dropdown list with buttons that are used to select a single value.
sourcepub fn text_field(&self) -> Option<&ParameterTextFieldControl>
pub fn text_field(&self) -> Option<&ParameterTextFieldControl>
A control to display a text box that is used to enter a single entry.
sourcepub fn text_area(&self) -> Option<&ParameterTextAreaControl>
pub fn text_area(&self) -> Option<&ParameterTextAreaControl>
A control to display a text box that is used to enter multiple entries.
sourcepub fn slider(&self) -> Option<&ParameterSliderControl>
pub fn slider(&self) -> Option<&ParameterSliderControl>
A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.
source§impl ParameterControl
impl ParameterControl
sourcepub fn builder() -> ParameterControlBuilder
pub fn builder() -> ParameterControlBuilder
Creates a new builder-style object to manufacture ParameterControl
.
Trait Implementations§
source§impl Clone for ParameterControl
impl Clone for ParameterControl
source§fn clone(&self) -> ParameterControl
fn clone(&self) -> ParameterControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterControl
impl Debug for ParameterControl
source§impl PartialEq for ParameterControl
impl PartialEq for ParameterControl
source§fn eq(&self, other: &ParameterControl) -> bool
fn eq(&self, other: &ParameterControl) -> bool
self
and other
values to be equal, and is used
by ==
.