Struct aws_sdk_quicksight::types::ParameterSliderControl
source · #[non_exhaustive]pub struct ParameterSliderControl {
pub parameter_control_id: String,
pub title: String,
pub source_parameter_name: String,
pub display_options: Option<SliderControlDisplayOptions>,
pub maximum_value: f64,
pub minimum_value: f64,
pub step_size: f64,
}
Expand description
A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.
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 ParameterSliderControl
.
title: String
The title of the ParameterSliderControl
.
source_parameter_name: String
The source parameter name of the ParameterSliderControl
.
display_options: Option<SliderControlDisplayOptions>
The display options of a control.
maximum_value: f64
The smaller value that is displayed at the left of the slider.
minimum_value: f64
The larger value that is displayed at the right of the slider.
step_size: f64
The number of increments that the slider bar is divided into.
Implementations§
source§impl ParameterSliderControl
impl ParameterSliderControl
sourcepub fn parameter_control_id(&self) -> &str
pub fn parameter_control_id(&self) -> &str
The ID of the ParameterSliderControl
.
sourcepub fn source_parameter_name(&self) -> &str
pub fn source_parameter_name(&self) -> &str
The source parameter name of the ParameterSliderControl
.
sourcepub fn display_options(&self) -> Option<&SliderControlDisplayOptions>
pub fn display_options(&self) -> Option<&SliderControlDisplayOptions>
The display options of a control.
sourcepub fn maximum_value(&self) -> f64
pub fn maximum_value(&self) -> f64
The smaller value that is displayed at the left of the slider.
sourcepub fn minimum_value(&self) -> f64
pub fn minimum_value(&self) -> f64
The larger value that is displayed at the right of the slider.
source§impl ParameterSliderControl
impl ParameterSliderControl
sourcepub fn builder() -> ParameterSliderControlBuilder
pub fn builder() -> ParameterSliderControlBuilder
Creates a new builder-style object to manufacture ParameterSliderControl
.
Trait Implementations§
source§impl Clone for ParameterSliderControl
impl Clone for ParameterSliderControl
source§fn clone(&self) -> ParameterSliderControl
fn clone(&self) -> ParameterSliderControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterSliderControl
impl Debug for ParameterSliderControl
source§impl PartialEq for ParameterSliderControl
impl PartialEq for ParameterSliderControl
source§fn eq(&self, other: &ParameterSliderControl) -> bool
fn eq(&self, other: &ParameterSliderControl) -> bool
self
and other
values to be equal, and is used
by ==
.