Struct aws_sdk_quicksight::types::KpiSparklineOptions
source · #[non_exhaustive]pub struct KpiSparklineOptions {
pub visibility: Option<Visibility>,
pub type: KpiSparklineType,
pub color: Option<String>,
pub tooltip_visibility: Option<Visibility>,
}Expand description
The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.visibility: Option<Visibility>The visibility of the sparkline.
type: KpiSparklineTypeThe type of the sparkline.
color: Option<String>The color of the sparkline.
tooltip_visibility: Option<Visibility>The tooltip visibility of the sparkline.
Implementations§
source§impl KpiSparklineOptions
impl KpiSparklineOptions
sourcepub fn visibility(&self) -> Option<&Visibility>
pub fn visibility(&self) -> Option<&Visibility>
The visibility of the sparkline.
sourcepub fn type(&self) -> &KpiSparklineType
pub fn type(&self) -> &KpiSparklineType
The type of the sparkline.
sourcepub fn tooltip_visibility(&self) -> Option<&Visibility>
pub fn tooltip_visibility(&self) -> Option<&Visibility>
The tooltip visibility of the sparkline.
source§impl KpiSparklineOptions
impl KpiSparklineOptions
sourcepub fn builder() -> KpiSparklineOptionsBuilder
pub fn builder() -> KpiSparklineOptionsBuilder
Creates a new builder-style object to manufacture KpiSparklineOptions.
Trait Implementations§
source§impl Clone for KpiSparklineOptions
impl Clone for KpiSparklineOptions
source§fn clone(&self) -> KpiSparklineOptions
fn clone(&self) -> KpiSparklineOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for KpiSparklineOptions
impl Debug for KpiSparklineOptions
source§impl PartialEq for KpiSparklineOptions
impl PartialEq for KpiSparklineOptions
source§fn eq(&self, other: &KpiSparklineOptions) -> bool
fn eq(&self, other: &KpiSparklineOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KpiSparklineOptions
Auto Trait Implementations§
impl RefUnwindSafe for KpiSparklineOptions
impl Send for KpiSparklineOptions
impl Sync for KpiSparklineOptions
impl Unpin for KpiSparklineOptions
impl UnwindSafe for KpiSparklineOptions
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.