#[non_exhaustive]pub struct SankeyDiagramChartConfiguration {
pub field_wells: Option<SankeyDiagramFieldWells>,
pub sort_configuration: Option<SankeyDiagramSortConfiguration>,
pub data_labels: Option<DataLabelOptions>,
pub interactions: Option<VisualInteractionOptions>,
}Expand description
The configuration of a sankey diagram.
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.field_wells: Option<SankeyDiagramFieldWells>The field well configuration of a sankey diagram.
sort_configuration: Option<SankeyDiagramSortConfiguration>The sort configuration of a sankey diagram.
data_labels: Option<DataLabelOptions>The data label configuration of a sankey diagram.
interactions: Option<VisualInteractionOptions>The general visual interactions setup for a visual.
Implementations§
source§impl SankeyDiagramChartConfiguration
impl SankeyDiagramChartConfiguration
sourcepub fn field_wells(&self) -> Option<&SankeyDiagramFieldWells>
pub fn field_wells(&self) -> Option<&SankeyDiagramFieldWells>
The field well configuration of a sankey diagram.
sourcepub fn sort_configuration(&self) -> Option<&SankeyDiagramSortConfiguration>
pub fn sort_configuration(&self) -> Option<&SankeyDiagramSortConfiguration>
The sort configuration of a sankey diagram.
sourcepub fn data_labels(&self) -> Option<&DataLabelOptions>
pub fn data_labels(&self) -> Option<&DataLabelOptions>
The data label configuration of a sankey diagram.
sourcepub fn interactions(&self) -> Option<&VisualInteractionOptions>
pub fn interactions(&self) -> Option<&VisualInteractionOptions>
The general visual interactions setup for a visual.
source§impl SankeyDiagramChartConfiguration
impl SankeyDiagramChartConfiguration
sourcepub fn builder() -> SankeyDiagramChartConfigurationBuilder
pub fn builder() -> SankeyDiagramChartConfigurationBuilder
Creates a new builder-style object to manufacture SankeyDiagramChartConfiguration.
Trait Implementations§
source§impl Clone for SankeyDiagramChartConfiguration
impl Clone for SankeyDiagramChartConfiguration
source§fn clone(&self) -> SankeyDiagramChartConfiguration
fn clone(&self) -> SankeyDiagramChartConfiguration
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 PartialEq for SankeyDiagramChartConfiguration
impl PartialEq for SankeyDiagramChartConfiguration
source§fn eq(&self, other: &SankeyDiagramChartConfiguration) -> bool
fn eq(&self, other: &SankeyDiagramChartConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SankeyDiagramChartConfiguration
Auto Trait Implementations§
impl Freeze for SankeyDiagramChartConfiguration
impl RefUnwindSafe for SankeyDiagramChartConfiguration
impl Send for SankeyDiagramChartConfiguration
impl Sync for SankeyDiagramChartConfiguration
impl Unpin for SankeyDiagramChartConfiguration
impl UnwindSafe for SankeyDiagramChartConfiguration
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.