Struct aws_sdk_lexmodelsv2::model::PromptSpecification
source · [−]#[non_exhaustive]pub struct PromptSpecification {
pub message_groups: Option<Vec<MessageGroup>>,
pub max_retries: Option<i32>,
pub allow_interrupt: Option<bool>,
}Expand description
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
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.message_groups: Option<Vec<MessageGroup>>A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
max_retries: Option<i32>The maximum number of times the bot tries to elicit a response from the user using this prompt.
allow_interrupt: Option<bool>Indicates whether the user can interrupt a speech prompt from the bot.
Implementations
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
The maximum number of times the bot tries to elicit a response from the user using this prompt.
Indicates whether the user can interrupt a speech prompt from the bot.
Creates a new builder-style object to manufacture PromptSpecification
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more