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
impl StructuralPartialEq for ParameterControl
Auto Trait Implementations§
impl Freeze for ParameterControl
impl RefUnwindSafe for ParameterControl
impl Send for ParameterControl
impl Sync for ParameterControl
impl Unpin for ParameterControl
impl UnwindSafe for ParameterControl
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