#[non_exhaustive]pub struct TemplateVersionDefinition {
pub data_set_configurations: Vec<DataSetConfiguration>,
pub sheets: Option<Vec<SheetDefinition>>,
pub calculated_fields: Option<Vec<CalculatedField>>,
pub parameter_declarations: Option<Vec<ParameterDeclaration>>,
pub filter_groups: Option<Vec<FilterGroup>>,
pub column_configurations: Option<Vec<ColumnConfiguration>>,
pub analysis_defaults: Option<AnalysisDefaults>,
pub options: Option<AssetOptions>,
}
Expand description
The detailed definition of a template.
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.data_set_configurations: Vec<DataSetConfiguration>
An array of dataset configurations. These configurations define the required columns for each dataset used within a template.
sheets: Option<Vec<SheetDefinition>>
An array of sheet definitions for a template.
calculated_fields: Option<Vec<CalculatedField>>
An array of calculated field definitions for the template.
parameter_declarations: Option<Vec<ParameterDeclaration>>
An array of parameter declarations for a template.
Parameters are named variables that can transfer a value for use by an action or an object.
For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.
filter_groups: Option<Vec<FilterGroup>>
Filter definitions for a template.
For more information, see Filtering Data in the Amazon QuickSight User Guide.
column_configurations: Option<Vec<ColumnConfiguration>>
An array of template-level column configurations. Column configurations are used to set default formatting for a column that's used throughout a template.
analysis_defaults: Option<AnalysisDefaults>
The configuration for default analysis settings.
options: Option<AssetOptions>
An array of option definitions for a template.
Implementations§
source§impl TemplateVersionDefinition
impl TemplateVersionDefinition
sourcepub fn data_set_configurations(&self) -> &[DataSetConfiguration]
pub fn data_set_configurations(&self) -> &[DataSetConfiguration]
An array of dataset configurations. These configurations define the required columns for each dataset used within a template.
sourcepub fn sheets(&self) -> &[SheetDefinition]
pub fn sheets(&self) -> &[SheetDefinition]
An array of sheet definitions for a template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sheets.is_none()
.
sourcepub fn calculated_fields(&self) -> &[CalculatedField]
pub fn calculated_fields(&self) -> &[CalculatedField]
An array of calculated field definitions for the template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .calculated_fields.is_none()
.
sourcepub fn parameter_declarations(&self) -> &[ParameterDeclaration]
pub fn parameter_declarations(&self) -> &[ParameterDeclaration]
An array of parameter declarations for a template.
Parameters are named variables that can transfer a value for use by an action or an object.
For more information, see Parameters in Amazon QuickSight in the Amazon QuickSight User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameter_declarations.is_none()
.
sourcepub fn filter_groups(&self) -> &[FilterGroup]
pub fn filter_groups(&self) -> &[FilterGroup]
Filter definitions for a template.
For more information, see Filtering Data in the Amazon QuickSight User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filter_groups.is_none()
.
sourcepub fn column_configurations(&self) -> &[ColumnConfiguration]
pub fn column_configurations(&self) -> &[ColumnConfiguration]
An array of template-level column configurations. Column configurations are used to set default formatting for a column that's used throughout a template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .column_configurations.is_none()
.
sourcepub fn analysis_defaults(&self) -> Option<&AnalysisDefaults>
pub fn analysis_defaults(&self) -> Option<&AnalysisDefaults>
The configuration for default analysis settings.
sourcepub fn options(&self) -> Option<&AssetOptions>
pub fn options(&self) -> Option<&AssetOptions>
An array of option definitions for a template.
source§impl TemplateVersionDefinition
impl TemplateVersionDefinition
sourcepub fn builder() -> TemplateVersionDefinitionBuilder
pub fn builder() -> TemplateVersionDefinitionBuilder
Creates a new builder-style object to manufacture TemplateVersionDefinition
.
Trait Implementations§
source§impl Clone for TemplateVersionDefinition
impl Clone for TemplateVersionDefinition
source§fn clone(&self) -> TemplateVersionDefinition
fn clone(&self) -> TemplateVersionDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TemplateVersionDefinition
impl Debug for TemplateVersionDefinition
source§impl PartialEq for TemplateVersionDefinition
impl PartialEq for TemplateVersionDefinition
source§fn eq(&self, other: &TemplateVersionDefinition) -> bool
fn eq(&self, other: &TemplateVersionDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.