Struct aws_sdk_quicksight::types::SemanticType
source · #[non_exhaustive]pub struct SemanticType {
pub type_name: Option<String>,
pub sub_type_name: Option<String>,
pub type_parameters: Option<HashMap<String, String>>,
pub truthy_cell_value: Option<String>,
pub truthy_cell_value_synonyms: Option<Vec<String>>,
pub falsey_cell_value: Option<String>,
pub falsey_cell_value_synonyms: Option<Vec<String>>,
}
Expand description
A structure that represents a semantic type.
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.type_name: Option<String>
The semantic type name.
sub_type_name: Option<String>
The semantic type sub type name.
type_parameters: Option<HashMap<String, String>>
The semantic type parameters.
truthy_cell_value: Option<String>
The semantic type truthy cell value.
truthy_cell_value_synonyms: Option<Vec<String>>
The other names or aliases for the true cell value.
falsey_cell_value: Option<String>
The semantic type falsey cell value.
falsey_cell_value_synonyms: Option<Vec<String>>
The other names or aliases for the false cell value.
Implementations§
source§impl SemanticType
impl SemanticType
sourcepub fn sub_type_name(&self) -> Option<&str>
pub fn sub_type_name(&self) -> Option<&str>
The semantic type sub type name.
sourcepub fn type_parameters(&self) -> Option<&HashMap<String, String>>
pub fn type_parameters(&self) -> Option<&HashMap<String, String>>
The semantic type parameters.
sourcepub fn truthy_cell_value(&self) -> Option<&str>
pub fn truthy_cell_value(&self) -> Option<&str>
The semantic type truthy cell value.
sourcepub fn truthy_cell_value_synonyms(&self) -> &[String]
pub fn truthy_cell_value_synonyms(&self) -> &[String]
The other names or aliases for the true cell value.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .truthy_cell_value_synonyms.is_none()
.
sourcepub fn falsey_cell_value(&self) -> Option<&str>
pub fn falsey_cell_value(&self) -> Option<&str>
The semantic type falsey cell value.
sourcepub fn falsey_cell_value_synonyms(&self) -> &[String]
pub fn falsey_cell_value_synonyms(&self) -> &[String]
The other names or aliases for the false cell value.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .falsey_cell_value_synonyms.is_none()
.
source§impl SemanticType
impl SemanticType
sourcepub fn builder() -> SemanticTypeBuilder
pub fn builder() -> SemanticTypeBuilder
Creates a new builder-style object to manufacture SemanticType
.
Trait Implementations§
source§impl Clone for SemanticType
impl Clone for SemanticType
source§fn clone(&self) -> SemanticType
fn clone(&self) -> SemanticType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SemanticType
impl Debug for SemanticType
source§impl PartialEq for SemanticType
impl PartialEq for SemanticType
source§fn eq(&self, other: &SemanticType) -> bool
fn eq(&self, other: &SemanticType) -> bool
self
and other
values to be equal, and is used
by ==
.