#[non_exhaustive]pub struct WaitAndContinueSpecification {
pub waiting_response: Option<ResponseSpecification>,
pub continue_response: Option<ResponseSpecification>,
pub still_waiting_response: Option<StillWaitingResponseSpecification>,
pub active: Option<bool>,
}
Expand description
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
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.waiting_response: Option<ResponseSpecification>
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
continue_response: Option<ResponseSpecification>
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
still_waiting_response: Option<StillWaitingResponseSpecification>
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
active: Option<bool>
Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active
field isn't specified, the default is true.
Implementations§
source§impl WaitAndContinueSpecification
impl WaitAndContinueSpecification
sourcepub fn waiting_response(&self) -> Option<&ResponseSpecification>
pub fn waiting_response(&self) -> Option<&ResponseSpecification>
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
sourcepub fn continue_response(&self) -> Option<&ResponseSpecification>
pub fn continue_response(&self) -> Option<&ResponseSpecification>
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
sourcepub fn still_waiting_response(
&self
) -> Option<&StillWaitingResponseSpecification>
pub fn still_waiting_response( &self ) -> Option<&StillWaitingResponseSpecification>
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
source§impl WaitAndContinueSpecification
impl WaitAndContinueSpecification
sourcepub fn builder() -> WaitAndContinueSpecificationBuilder
pub fn builder() -> WaitAndContinueSpecificationBuilder
Creates a new builder-style object to manufacture WaitAndContinueSpecification
.
Trait Implementations§
source§impl Clone for WaitAndContinueSpecification
impl Clone for WaitAndContinueSpecification
source§fn clone(&self) -> WaitAndContinueSpecification
fn clone(&self) -> WaitAndContinueSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WaitAndContinueSpecification
impl Debug for WaitAndContinueSpecification
source§impl PartialEq for WaitAndContinueSpecification
impl PartialEq for WaitAndContinueSpecification
source§fn eq(&self, other: &WaitAndContinueSpecification) -> bool
fn eq(&self, other: &WaitAndContinueSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.