Struct aws_sdk_lexmodelsv2::model::PromptSpecification
source · [−]#[non_exhaustive]pub struct PromptSpecification { /* private fields */ }Expand description
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
Implementations
sourceimpl PromptSpecification
impl PromptSpecification
sourcepub fn message_groups(&self) -> Option<&[MessageGroup]>
pub fn message_groups(&self) -> Option<&[MessageGroup]>
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
sourcepub fn max_retries(&self) -> Option<i32>
pub fn max_retries(&self) -> Option<i32>
The maximum number of times the bot tries to elicit a response from the user using this prompt.
sourcepub fn allow_interrupt(&self) -> Option<bool>
pub fn allow_interrupt(&self) -> Option<bool>
Indicates whether the user can interrupt a speech prompt from the bot.
sourcepub fn message_selection_strategy(&self) -> Option<&MessageSelectionStrategy>
pub fn message_selection_strategy(&self) -> Option<&MessageSelectionStrategy>
Indicates how a message is selected from a message group among retries.
sourceimpl PromptSpecification
impl PromptSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PromptSpecification.
Trait Implementations
sourceimpl Clone for PromptSpecification
impl Clone for PromptSpecification
sourcefn clone(&self) -> PromptSpecification
fn clone(&self) -> PromptSpecification
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 moresourceimpl Debug for PromptSpecification
impl Debug for PromptSpecification
sourceimpl PartialEq<PromptSpecification> for PromptSpecification
impl PartialEq<PromptSpecification> for PromptSpecification
sourcefn eq(&self, other: &PromptSpecification) -> bool
fn eq(&self, other: &PromptSpecification) -> bool
impl StructuralPartialEq for PromptSpecification
Auto Trait Implementations
impl RefUnwindSafe for PromptSpecification
impl Send for PromptSpecification
impl Sync for PromptSpecification
impl Unpin for PromptSpecification
impl UnwindSafe for PromptSpecification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more