Struct aws_sdk_lexmodelsv2::types::SlotSummary
source · #[non_exhaustive]pub struct SlotSummary { /* private fields */ }Expand description
Summary information about a slot, a value that the bot elicits from the user.
Implementations§
source§impl 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.
source§impl SlotSummary
impl SlotSummary
sourcepub fn builder() -> SlotSummaryBuilder
pub fn builder() -> SlotSummaryBuilder
Creates a new builder-style object to manufacture SlotSummary.
Trait Implementations§
source§impl Clone for SlotSummary
impl Clone for SlotSummary
source§fn clone(&self) -> SlotSummary
fn clone(&self) -> SlotSummary
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 SlotSummary
impl Debug for SlotSummary
source§impl PartialEq<SlotSummary> for SlotSummary
impl PartialEq<SlotSummary> for SlotSummary
source§fn 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 ==.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§
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