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
impl StructuralPartialEq for SemanticType
Auto Trait Implementations§
impl Freeze for SemanticType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more