Struct aws_sdk_quicksight::types::DataLabelOptions
source · #[non_exhaustive]pub struct DataLabelOptions {
pub visibility: Option<Visibility>,
pub category_label_visibility: Option<Visibility>,
pub measure_label_visibility: Option<Visibility>,
pub data_label_types: Option<Vec<DataLabelType>>,
pub position: Option<DataLabelPosition>,
pub label_content: Option<DataLabelContent>,
pub label_font_configuration: Option<FontConfiguration>,
pub label_color: Option<String>,
pub overlap: Option<DataLabelOverlap>,
pub totals_visibility: Option<Visibility>,
}Expand description
The options that determine the presentation of the data labels.
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.visibility: Option<Visibility>Determines the visibility of the data labels.
category_label_visibility: Option<Visibility>Determines the visibility of the category field labels.
measure_label_visibility: Option<Visibility>Determines the visibility of the measure field labels.
data_label_types: Option<Vec<DataLabelType>>The option that determines the data label type.
position: Option<DataLabelPosition>Determines the position of the data labels.
label_content: Option<DataLabelContent>Determines the content of the data labels.
label_font_configuration: Option<FontConfiguration>Determines the font configuration of the data labels.
label_color: Option<String>Determines the color of the data labels.
overlap: Option<DataLabelOverlap>Determines whether overlap is enabled or disabled for the data labels.
totals_visibility: Option<Visibility>Determines the visibility of the total.
Implementations§
source§impl DataLabelOptions
impl DataLabelOptions
sourcepub fn visibility(&self) -> Option<&Visibility>
pub fn visibility(&self) -> Option<&Visibility>
Determines the visibility of the data labels.
sourcepub fn category_label_visibility(&self) -> Option<&Visibility>
pub fn category_label_visibility(&self) -> Option<&Visibility>
Determines the visibility of the category field labels.
sourcepub fn measure_label_visibility(&self) -> Option<&Visibility>
pub fn measure_label_visibility(&self) -> Option<&Visibility>
Determines the visibility of the measure field labels.
sourcepub fn data_label_types(&self) -> &[DataLabelType]
pub fn data_label_types(&self) -> &[DataLabelType]
The option that determines the data label type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .data_label_types.is_none().
sourcepub fn position(&self) -> Option<&DataLabelPosition>
pub fn position(&self) -> Option<&DataLabelPosition>
Determines the position of the data labels.
sourcepub fn label_content(&self) -> Option<&DataLabelContent>
pub fn label_content(&self) -> Option<&DataLabelContent>
Determines the content of the data labels.
sourcepub fn label_font_configuration(&self) -> Option<&FontConfiguration>
pub fn label_font_configuration(&self) -> Option<&FontConfiguration>
Determines the font configuration of the data labels.
sourcepub fn label_color(&self) -> Option<&str>
pub fn label_color(&self) -> Option<&str>
Determines the color of the data labels.
sourcepub fn overlap(&self) -> Option<&DataLabelOverlap>
pub fn overlap(&self) -> Option<&DataLabelOverlap>
Determines whether overlap is enabled or disabled for the data labels.
sourcepub fn totals_visibility(&self) -> Option<&Visibility>
pub fn totals_visibility(&self) -> Option<&Visibility>
Determines the visibility of the total.
source§impl DataLabelOptions
impl DataLabelOptions
sourcepub fn builder() -> DataLabelOptionsBuilder
pub fn builder() -> DataLabelOptionsBuilder
Creates a new builder-style object to manufacture DataLabelOptions.
Trait Implementations§
source§impl Clone for DataLabelOptions
impl Clone for DataLabelOptions
source§fn clone(&self) -> DataLabelOptions
fn clone(&self) -> DataLabelOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataLabelOptions
impl Debug for DataLabelOptions
source§impl PartialEq for DataLabelOptions
impl PartialEq for DataLabelOptions
source§fn eq(&self, other: &DataLabelOptions) -> bool
fn eq(&self, other: &DataLabelOptions) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataLabelOptions
Auto Trait Implementations§
impl Freeze for DataLabelOptions
impl RefUnwindSafe for DataLabelOptions
impl Send for DataLabelOptions
impl Sync for DataLabelOptions
impl Unpin for DataLabelOptions
impl UnwindSafe for DataLabelOptions
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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