#[non_exhaustive]
pub struct Visual {
Show 23 fields pub table_visual: Option<TableVisual>, pub pivot_table_visual: Option<PivotTableVisual>, pub bar_chart_visual: Option<BarChartVisual>, pub kpi_visual: Option<KpiVisual>, pub pie_chart_visual: Option<PieChartVisual>, pub gauge_chart_visual: Option<GaugeChartVisual>, pub line_chart_visual: Option<LineChartVisual>, pub heat_map_visual: Option<HeatMapVisual>, pub tree_map_visual: Option<TreeMapVisual>, pub geospatial_map_visual: Option<GeospatialMapVisual>, pub filled_map_visual: Option<FilledMapVisual>, pub funnel_chart_visual: Option<FunnelChartVisual>, pub scatter_plot_visual: Option<ScatterPlotVisual>, pub combo_chart_visual: Option<ComboChartVisual>, pub box_plot_visual: Option<BoxPlotVisual>, pub waterfall_visual: Option<WaterfallVisual>, pub histogram_visual: Option<HistogramVisual>, pub word_cloud_visual: Option<WordCloudVisual>, pub insight_visual: Option<InsightVisual>, pub sankey_diagram_visual: Option<SankeyDiagramVisual>, pub custom_content_visual: Option<CustomContentVisual>, pub empty_visual: Option<EmptyVisual>, pub radar_chart_visual: Option<RadarChartVisual>,
}
Expand description

A visual displayed on a sheet in an analysis, dashboard, or template.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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.
§table_visual: Option<TableVisual>

A table visual.

For more information, see Using tables as visuals in the Amazon QuickSight User Guide.

§pivot_table_visual: Option<PivotTableVisual>

A pivot table.

For more information, see Using pivot tables in the Amazon QuickSight User Guide.

§bar_chart_visual: Option<BarChartVisual>

A bar chart.

For more information, see Using bar charts in the Amazon QuickSight User Guide.

§kpi_visual: Option<KpiVisual>

A key performance indicator (KPI).

For more information, see Using KPIs in the Amazon QuickSight User Guide.

§pie_chart_visual: Option<PieChartVisual>

A pie or donut chart.

For more information, see Using pie charts in the Amazon QuickSight User Guide.

§gauge_chart_visual: Option<GaugeChartVisual>

A gauge chart.

For more information, see Using gauge charts in the Amazon QuickSight User Guide.

§line_chart_visual: Option<LineChartVisual>

A line chart.

For more information, see Using line charts in the Amazon QuickSight User Guide.

§heat_map_visual: Option<HeatMapVisual>

A heat map.

For more information, see Using heat maps in the Amazon QuickSight User Guide.

§tree_map_visual: Option<TreeMapVisual>

A tree map.

For more information, see Using tree maps in the Amazon QuickSight User Guide.

§geospatial_map_visual: Option<GeospatialMapVisual>

A geospatial map or a points on map visual.

For more information, see Creating point maps in the Amazon QuickSight User Guide.

§filled_map_visual: Option<FilledMapVisual>

A filled map.

For more information, see Creating filled maps in the Amazon QuickSight User Guide.

§funnel_chart_visual: Option<FunnelChartVisual>

A funnel chart.

For more information, see Using funnel charts in the Amazon QuickSight User Guide.

§scatter_plot_visual: Option<ScatterPlotVisual>

A scatter plot.

For more information, see Using scatter plots in the Amazon QuickSight User Guide.

§combo_chart_visual: Option<ComboChartVisual>

A combo chart.

For more information, see Using combo charts in the Amazon QuickSight User Guide.

§box_plot_visual: Option<BoxPlotVisual>

A box plot.

For more information, see Using box plots in the Amazon QuickSight User Guide.

§waterfall_visual: Option<WaterfallVisual>

A waterfall chart.

For more information, see Using waterfall charts in the Amazon QuickSight User Guide.

§histogram_visual: Option<HistogramVisual>

A histogram.

For more information, see Using histograms in the Amazon QuickSight User Guide.

§word_cloud_visual: Option<WordCloudVisual>

A word cloud.

For more information, see Using word clouds in the Amazon QuickSight User Guide.

§insight_visual: Option<InsightVisual>

An insight visual.

For more information, see Working with insights in the Amazon QuickSight User Guide.

§sankey_diagram_visual: Option<SankeyDiagramVisual>

A sankey diagram.

For more information, see Using Sankey diagrams in the Amazon QuickSight User Guide.

§custom_content_visual: Option<CustomContentVisual>

A visual that contains custom content.

For more information, see Using custom visual content in the Amazon QuickSight User Guide.

§empty_visual: Option<EmptyVisual>

An empty visual.

§radar_chart_visual: Option<RadarChartVisual>

A radar chart visual.

For more information, see Using radar charts in the Amazon QuickSight User Guide.

Implementations§

source§

impl Visual

source

pub fn table_visual(&self) -> Option<&TableVisual>

A table visual.

For more information, see Using tables as visuals in the Amazon QuickSight User Guide.

source

pub fn pivot_table_visual(&self) -> Option<&PivotTableVisual>

A pivot table.

For more information, see Using pivot tables in the Amazon QuickSight User Guide.

source

pub fn bar_chart_visual(&self) -> Option<&BarChartVisual>

A bar chart.

For more information, see Using bar charts in the Amazon QuickSight User Guide.

source

pub fn kpi_visual(&self) -> Option<&KpiVisual>

A key performance indicator (KPI).

For more information, see Using KPIs in the Amazon QuickSight User Guide.

source

pub fn pie_chart_visual(&self) -> Option<&PieChartVisual>

A pie or donut chart.

For more information, see Using pie charts in the Amazon QuickSight User Guide.

source

pub fn gauge_chart_visual(&self) -> Option<&GaugeChartVisual>

A gauge chart.

For more information, see Using gauge charts in the Amazon QuickSight User Guide.

source

pub fn line_chart_visual(&self) -> Option<&LineChartVisual>

A line chart.

For more information, see Using line charts in the Amazon QuickSight User Guide.

source

pub fn heat_map_visual(&self) -> Option<&HeatMapVisual>

A heat map.

For more information, see Using heat maps in the Amazon QuickSight User Guide.

source

pub fn tree_map_visual(&self) -> Option<&TreeMapVisual>

A tree map.

For more information, see Using tree maps in the Amazon QuickSight User Guide.

source

pub fn geospatial_map_visual(&self) -> Option<&GeospatialMapVisual>

A geospatial map or a points on map visual.

For more information, see Creating point maps in the Amazon QuickSight User Guide.

source

pub fn filled_map_visual(&self) -> Option<&FilledMapVisual>

A filled map.

For more information, see Creating filled maps in the Amazon QuickSight User Guide.

source

pub fn funnel_chart_visual(&self) -> Option<&FunnelChartVisual>

A funnel chart.

For more information, see Using funnel charts in the Amazon QuickSight User Guide.

source

pub fn scatter_plot_visual(&self) -> Option<&ScatterPlotVisual>

A scatter plot.

For more information, see Using scatter plots in the Amazon QuickSight User Guide.

source

pub fn combo_chart_visual(&self) -> Option<&ComboChartVisual>

A combo chart.

For more information, see Using combo charts in the Amazon QuickSight User Guide.

source

pub fn box_plot_visual(&self) -> Option<&BoxPlotVisual>

A box plot.

For more information, see Using box plots in the Amazon QuickSight User Guide.

source

pub fn waterfall_visual(&self) -> Option<&WaterfallVisual>

A waterfall chart.

For more information, see Using waterfall charts in the Amazon QuickSight User Guide.

source

pub fn histogram_visual(&self) -> Option<&HistogramVisual>

A histogram.

For more information, see Using histograms in the Amazon QuickSight User Guide.

source

pub fn word_cloud_visual(&self) -> Option<&WordCloudVisual>

A word cloud.

For more information, see Using word clouds in the Amazon QuickSight User Guide.

source

pub fn insight_visual(&self) -> Option<&InsightVisual>

An insight visual.

For more information, see Working with insights in the Amazon QuickSight User Guide.

source

pub fn sankey_diagram_visual(&self) -> Option<&SankeyDiagramVisual>

A sankey diagram.

For more information, see Using Sankey diagrams in the Amazon QuickSight User Guide.

source

pub fn custom_content_visual(&self) -> Option<&CustomContentVisual>

A visual that contains custom content.

For more information, see Using custom visual content in the Amazon QuickSight User Guide.

source

pub fn empty_visual(&self) -> Option<&EmptyVisual>

An empty visual.

source

pub fn radar_chart_visual(&self) -> Option<&RadarChartVisual>

A radar chart visual.

For more information, see Using radar charts in the Amazon QuickSight User Guide.

source§

impl Visual

source

pub fn builder() -> VisualBuilder

Creates a new builder-style object to manufacture Visual.

Trait Implementations§

source§

impl Clone for Visual

source§

fn clone(&self) -> Visual

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Visual

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Visual

source§

fn eq(&self, other: &Visual) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Visual

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more