Struct aws_sdk_quicksight::types::LayoutConfiguration
source · #[non_exhaustive]pub struct LayoutConfiguration {
pub grid_layout: Option<GridLayoutConfiguration>,
pub free_form_layout: Option<FreeFormLayoutConfiguration>,
pub section_based_layout: Option<SectionBasedLayoutConfiguration>,
}
Expand description
The configuration that determines what the type of layout will be used on a sheet.
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
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.grid_layout: Option<GridLayoutConfiguration>
A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: FIXED
or RESPONSIVE
.
free_form_layout: Option<FreeFormLayoutConfiguration>
A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
section_based_layout: Option<SectionBasedLayoutConfiguration>
A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
Implementations§
source§impl LayoutConfiguration
impl LayoutConfiguration
sourcepub fn grid_layout(&self) -> Option<&GridLayoutConfiguration>
pub fn grid_layout(&self) -> Option<&GridLayoutConfiguration>
A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: FIXED
or RESPONSIVE
.
sourcepub fn free_form_layout(&self) -> Option<&FreeFormLayoutConfiguration>
pub fn free_form_layout(&self) -> Option<&FreeFormLayoutConfiguration>
A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.
sourcepub fn section_based_layout(&self) -> Option<&SectionBasedLayoutConfiguration>
pub fn section_based_layout(&self) -> Option<&SectionBasedLayoutConfiguration>
A section based layout organizes visuals into multiple sections and has customized header, footer and page break.
source§impl LayoutConfiguration
impl LayoutConfiguration
sourcepub fn builder() -> LayoutConfigurationBuilder
pub fn builder() -> LayoutConfigurationBuilder
Creates a new builder-style object to manufacture LayoutConfiguration
.
Trait Implementations§
source§impl Clone for LayoutConfiguration
impl Clone for LayoutConfiguration
source§fn clone(&self) -> LayoutConfiguration
fn clone(&self) -> LayoutConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LayoutConfiguration
impl Debug for LayoutConfiguration
source§impl PartialEq for LayoutConfiguration
impl PartialEq for LayoutConfiguration
source§fn eq(&self, other: &LayoutConfiguration) -> bool
fn eq(&self, other: &LayoutConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.