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 ==.