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.AlphaNumericbuilt-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.AlphaNumericbuilt-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
impl StructuralPartialEq for SlotTypeSummary
Auto Trait Implementations§
impl Freeze for SlotTypeSummary
impl RefUnwindSafe for SlotTypeSummary
impl Send for SlotTypeSummary
impl Sync for SlotTypeSummary
impl Unpin for SlotTypeSummary
impl UnwindSafe for SlotTypeSummary
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