Struct aws_sdk_lexmodelsv2::model::SlotSummary
source · [−]#[non_exhaustive]pub struct SlotSummary {
pub slot_id: Option<String>,
pub slot_name: Option<String>,
pub description: Option<String>,
pub slot_constraint: Option<SlotConstraint>,
pub slot_type_id: Option<String>,
pub value_elicitation_prompt_specification: Option<PromptSpecification>,
pub last_updated_date_time: Option<DateTime>,
}Expand description
Summary information about a slot, a value that the bot elicits from the user.
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_id: Option<String>The unique identifier of the slot.
slot_name: Option<String>The name given to the slot.
description: Option<String>The description of the slot.
slot_constraint: Option<SlotConstraint>Whether the slot is required or optional. An intent is complete when all required slots are filled.
slot_type_id: Option<String>The unique identifier for the slot type that defines the values for the slot.
value_elicitation_prompt_specification: Option<PromptSpecification>Prompts that are sent to the user to elicit a value for the slot.
last_updated_date_time: Option<DateTime>The timestamp of the last date and time that the slot was updated.
Implementations
sourceimpl SlotSummary
impl SlotSummary
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the slot.
sourcepub fn slot_constraint(&self) -> Option<&SlotConstraint>
pub fn slot_constraint(&self) -> Option<&SlotConstraint>
Whether the slot is required or optional. An intent is complete when all required slots are filled.
sourcepub fn slot_type_id(&self) -> Option<&str>
pub fn slot_type_id(&self) -> Option<&str>
The unique identifier for the slot type that defines the values for the slot.
sourcepub fn value_elicitation_prompt_specification(
&self
) -> Option<&PromptSpecification>
pub fn value_elicitation_prompt_specification(
&self
) -> Option<&PromptSpecification>
Prompts that are sent to the user to elicit a value for the slot.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The timestamp of the last date and time that the slot was updated.
sourceimpl SlotSummary
impl SlotSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SlotSummary
Trait Implementations
sourceimpl Clone for SlotSummary
impl Clone for SlotSummary
sourcefn clone(&self) -> SlotSummary
fn clone(&self) -> SlotSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SlotSummary
impl Debug for SlotSummary
sourceimpl PartialEq<SlotSummary> for SlotSummary
impl PartialEq<SlotSummary> for SlotSummary
sourcefn eq(&self, other: &SlotSummary) -> bool
fn eq(&self, other: &SlotSummary) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlotSummary) -> bool
fn ne(&self, other: &SlotSummary) -> bool
This method tests for !=.
impl StructuralPartialEq for SlotSummary
Auto Trait Implementations
impl RefUnwindSafe for SlotSummary
impl Send for SlotSummary
impl Sync for SlotSummary
impl Unpin for SlotSummary
impl UnwindSafe for SlotSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more