Struct aws_sdk_quicksight::types::DonutOptions
source · #[non_exhaustive]pub struct DonutOptions {
pub arc_options: Option<ArcOptions>,
pub donut_center_options: Option<DonutCenterOptions>,
}Expand description
The options for configuring a donut chart or pie chart.
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.arc_options: Option<ArcOptions>The option for define the arc of the chart shape. Valid values are as follows:
-
WHOLE- A pie chart -
SMALL- A small-sized donut chart -
MEDIUM- A medium-sized donut chart -
LARGE- A large-sized donut chart
donut_center_options: Option<DonutCenterOptions>The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
Implementations§
source§impl DonutOptions
impl DonutOptions
sourcepub fn arc_options(&self) -> Option<&ArcOptions>
pub fn arc_options(&self) -> Option<&ArcOptions>
The option for define the arc of the chart shape. Valid values are as follows:
-
WHOLE- A pie chart -
SMALL- A small-sized donut chart -
MEDIUM- A medium-sized donut chart -
LARGE- A large-sized donut chart
sourcepub fn donut_center_options(&self) -> Option<&DonutCenterOptions>
pub fn donut_center_options(&self) -> Option<&DonutCenterOptions>
The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
source§impl DonutOptions
impl DonutOptions
sourcepub fn builder() -> DonutOptionsBuilder
pub fn builder() -> DonutOptionsBuilder
Creates a new builder-style object to manufacture DonutOptions.
Trait Implementations§
source§impl Clone for DonutOptions
impl Clone for DonutOptions
source§fn clone(&self) -> DonutOptions
fn clone(&self) -> DonutOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DonutOptions
impl Debug for DonutOptions
source§impl PartialEq for DonutOptions
impl PartialEq for DonutOptions
source§fn eq(&self, other: &DonutOptions) -> bool
fn eq(&self, other: &DonutOptions) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DonutOptions
Auto Trait Implementations§
impl Freeze for DonutOptions
impl RefUnwindSafe for DonutOptions
impl Send for DonutOptions
impl Sync for DonutOptions
impl Unpin for DonutOptions
impl UnwindSafe for DonutOptions
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