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
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.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) -> Option<&[String]>
pub fn truthy_cell_value_synonyms(&self) -> Option<&[String]>
The other names or aliases for the true cell value.
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) -> Option<&[String]>
pub fn falsey_cell_value_synonyms(&self) -> Option<&[String]>
The other names or aliases for the false cell value.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SemanticType
impl Debug for SemanticType
source§impl PartialEq<SemanticType> for SemanticType
impl PartialEq<SemanticType> for SemanticType
source§fn eq(&self, other: &SemanticType) -> bool
fn eq(&self, other: &SemanticType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SemanticType
Auto Trait Implementations§
impl RefUnwindSafe for SemanticType
impl Send for SemanticType
impl Sync for SemanticType
impl Unpin for SemanticType
impl UnwindSafe for SemanticType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more