Struct aws_sdk_quicksight::types::DatasetMetadata
source · #[non_exhaustive]pub struct DatasetMetadata {
pub dataset_arn: String,
pub dataset_name: Option<String>,
pub dataset_description: Option<String>,
pub data_aggregation: Option<DataAggregation>,
pub filters: Option<Vec<TopicFilter>>,
pub columns: Option<Vec<TopicColumn>>,
pub calculated_fields: Option<Vec<TopicCalculatedField>>,
pub named_entities: Option<Vec<TopicNamedEntity>>,
}
Expand description
A structure that represents a dataset.
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.dataset_arn: String
The Amazon Resource Name (ARN) of the dataset.
dataset_name: Option<String>
The name of the dataset.
dataset_description: Option<String>
The description of the dataset.
data_aggregation: Option<DataAggregation>
The definition of a data aggregation.
filters: Option<Vec<TopicFilter>>
The list of filter definitions.
columns: Option<Vec<TopicColumn>>
The list of column definitions.
calculated_fields: Option<Vec<TopicCalculatedField>>
The list of calculated field definitions.
named_entities: Option<Vec<TopicNamedEntity>>
The list of named entities definitions.
Implementations§
source§impl DatasetMetadata
impl DatasetMetadata
sourcepub fn dataset_arn(&self) -> &str
pub fn dataset_arn(&self) -> &str
The Amazon Resource Name (ARN) of the dataset.
sourcepub fn dataset_name(&self) -> Option<&str>
pub fn dataset_name(&self) -> Option<&str>
The name of the dataset.
sourcepub fn dataset_description(&self) -> Option<&str>
pub fn dataset_description(&self) -> Option<&str>
The description of the dataset.
sourcepub fn data_aggregation(&self) -> Option<&DataAggregation>
pub fn data_aggregation(&self) -> Option<&DataAggregation>
The definition of a data aggregation.
sourcepub fn filters(&self) -> &[TopicFilter]
pub fn filters(&self) -> &[TopicFilter]
The list of filter definitions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn columns(&self) -> &[TopicColumn]
pub fn columns(&self) -> &[TopicColumn]
The list of column definitions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .columns.is_none()
.
sourcepub fn calculated_fields(&self) -> &[TopicCalculatedField]
pub fn calculated_fields(&self) -> &[TopicCalculatedField]
The list of calculated field definitions.
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 named_entities(&self) -> &[TopicNamedEntity]
pub fn named_entities(&self) -> &[TopicNamedEntity]
The list of named entities definitions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .named_entities.is_none()
.
source§impl DatasetMetadata
impl DatasetMetadata
sourcepub fn builder() -> DatasetMetadataBuilder
pub fn builder() -> DatasetMetadataBuilder
Creates a new builder-style object to manufacture DatasetMetadata
.
Trait Implementations§
source§impl Clone for DatasetMetadata
impl Clone for DatasetMetadata
source§fn clone(&self) -> DatasetMetadata
fn clone(&self) -> DatasetMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatasetMetadata
impl Debug for DatasetMetadata
source§impl PartialEq for DatasetMetadata
impl PartialEq for DatasetMetadata
source§fn eq(&self, other: &DatasetMetadata) -> bool
fn eq(&self, other: &DatasetMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.