#[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 ==.impl StructuralPartialEq for WaitAndContinueSpecification
Auto Trait Implementations§
impl Freeze for WaitAndContinueSpecification
impl RefUnwindSafe for WaitAndContinueSpecification
impl Send for WaitAndContinueSpecification
impl Sync for WaitAndContinueSpecification
impl Unpin for WaitAndContinueSpecification
impl UnwindSafe for WaitAndContinueSpecification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more