Struct aws_sdk_lexmodelsv2::types::SlotTypeSummary
source · #[non_exhaustive]pub struct SlotTypeSummary {
pub slot_type_id: Option<String>,
pub slot_type_name: Option<String>,
pub description: Option<String>,
pub parent_slot_type_signature: Option<String>,
pub last_updated_date_time: Option<DateTime>,
pub slot_type_category: Option<SlotTypeCategory>,
}
Expand description
Provides summary information about a slot 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.slot_type_id: Option<String>
The unique identifier assigned to the slot type.
slot_type_name: Option<String>
The name of the slot type.
description: Option<String>
The description of the slot type.
parent_slot_type_signature: Option<String>
If the slot type is derived from a built-on slot type, the name of the parent slot type.
last_updated_date_time: Option<DateTime>
A timestamp of the date and time that the slot type was last updated.
slot_type_category: Option<SlotTypeCategory>
Indicates the type of the slot type.
-
Custom
- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended
- A slot type created by extending theAMAZON.AlphaNumeric
built-in slot type. For more information, seeAMAZON.AlphaNumeric
. -
ExternalGrammar
- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
Implementations§
source§impl SlotTypeSummary
impl SlotTypeSummary
sourcepub fn slot_type_id(&self) -> Option<&str>
pub fn slot_type_id(&self) -> Option<&str>
The unique identifier assigned to the slot type.
sourcepub fn slot_type_name(&self) -> Option<&str>
pub fn slot_type_name(&self) -> Option<&str>
The name of the slot type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the slot type.
sourcepub fn parent_slot_type_signature(&self) -> Option<&str>
pub fn parent_slot_type_signature(&self) -> Option<&str>
If the slot type is derived from a built-on slot type, the name of the parent slot type.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
A timestamp of the date and time that the slot type was last updated.
sourcepub fn slot_type_category(&self) -> Option<&SlotTypeCategory>
pub fn slot_type_category(&self) -> Option<&SlotTypeCategory>
Indicates the type of the slot type.
-
Custom
- A slot type that you created using custom values. For more information, see Creating custom slot types. -
Extended
- A slot type created by extending theAMAZON.AlphaNumeric
built-in slot type. For more information, seeAMAZON.AlphaNumeric
. -
ExternalGrammar
- A slot type using a custom GRXML grammar to define values. For more information, see Using a custom grammar slot type.
source§impl SlotTypeSummary
impl SlotTypeSummary
sourcepub fn builder() -> SlotTypeSummaryBuilder
pub fn builder() -> SlotTypeSummaryBuilder
Creates a new builder-style object to manufacture SlotTypeSummary
.
Trait Implementations§
source§impl Clone for SlotTypeSummary
impl Clone for SlotTypeSummary
source§fn clone(&self) -> SlotTypeSummary
fn clone(&self) -> SlotTypeSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SlotTypeSummary
impl Debug for SlotTypeSummary
source§impl PartialEq for SlotTypeSummary
impl PartialEq for SlotTypeSummary
source§fn eq(&self, other: &SlotTypeSummary) -> bool
fn eq(&self, other: &SlotTypeSummary) -> bool
self
and other
values to be equal, and is used
by ==
.