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 larger value that is displayed at the right of the slider.
minimum_value: f64
The smaller value that is displayed at the left 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 larger value that is displayed at the right of the slider.
sourcepub fn minimum_value(&self) -> f64
pub fn minimum_value(&self) -> f64
The smaller value that is displayed at the left 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 ==
.impl StructuralPartialEq for ParameterSliderControl
Auto Trait Implementations§
impl Freeze for ParameterSliderControl
impl RefUnwindSafe for ParameterSliderControl
impl Send for ParameterSliderControl
impl Sync for ParameterSliderControl
impl Unpin for ParameterSliderControl
impl UnwindSafe for ParameterSliderControl
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> 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