Struct aws_sdk_quicksight::types::AxisLabelOptions
source · #[non_exhaustive]pub struct AxisLabelOptions {
pub font_configuration: Option<FontConfiguration>,
pub custom_label: Option<String>,
pub apply_to: Option<AxisLabelReferenceOptions>,
}
Expand description
The label options for a chart axis. You must specify the field that the label is targeted to.
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.font_configuration: Option<FontConfiguration>
The font configuration of the axis label.
custom_label: Option<String>
The text for the axis label.
apply_to: Option<AxisLabelReferenceOptions>
The options that indicate which field the label belongs to.
Implementations§
source§impl AxisLabelOptions
impl AxisLabelOptions
sourcepub fn font_configuration(&self) -> Option<&FontConfiguration>
pub fn font_configuration(&self) -> Option<&FontConfiguration>
The font configuration of the axis label.
sourcepub fn custom_label(&self) -> Option<&str>
pub fn custom_label(&self) -> Option<&str>
The text for the axis label.
sourcepub fn apply_to(&self) -> Option<&AxisLabelReferenceOptions>
pub fn apply_to(&self) -> Option<&AxisLabelReferenceOptions>
The options that indicate which field the label belongs to.
source§impl AxisLabelOptions
impl AxisLabelOptions
sourcepub fn builder() -> AxisLabelOptionsBuilder
pub fn builder() -> AxisLabelOptionsBuilder
Creates a new builder-style object to manufacture AxisLabelOptions
.
Trait Implementations§
source§impl Clone for AxisLabelOptions
impl Clone for AxisLabelOptions
source§fn clone(&self) -> AxisLabelOptions
fn clone(&self) -> AxisLabelOptions
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 AxisLabelOptions
impl Debug for AxisLabelOptions
source§impl PartialEq for AxisLabelOptions
impl PartialEq for AxisLabelOptions
source§fn eq(&self, other: &AxisLabelOptions) -> bool
fn eq(&self, other: &AxisLabelOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AxisLabelOptions
Auto Trait Implementations§
impl RefUnwindSafe for AxisLabelOptions
impl Send for AxisLabelOptions
impl Sync for AxisLabelOptions
impl Unpin for AxisLabelOptions
impl UnwindSafe for AxisLabelOptions
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.