#[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
sourceimpl 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.
sourceimpl WaitAndContinueSpecification
impl WaitAndContinueSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WaitAndContinueSpecification
Trait Implementations
sourceimpl Clone for WaitAndContinueSpecification
impl Clone for WaitAndContinueSpecification
sourcefn clone(&self) -> WaitAndContinueSpecification
fn clone(&self) -> WaitAndContinueSpecification
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 more
sourceimpl Debug for WaitAndContinueSpecification
impl Debug for WaitAndContinueSpecification
sourceimpl PartialEq<WaitAndContinueSpecification> for WaitAndContinueSpecification
impl PartialEq<WaitAndContinueSpecification> for WaitAndContinueSpecification
sourcefn eq(&self, other: &WaitAndContinueSpecification) -> bool
fn eq(&self, other: &WaitAndContinueSpecification) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WaitAndContinueSpecification) -> bool
fn ne(&self, other: &WaitAndContinueSpecification) -> bool
This method tests for !=.
impl StructuralPartialEq for WaitAndContinueSpecification
Auto Trait Implementations
impl RefUnwindSafe for WaitAndContinueSpecification
impl Send for WaitAndContinueSpecification
impl Sync for WaitAndContinueSpecification
impl Unpin for WaitAndContinueSpecification
impl UnwindSafe for WaitAndContinueSpecification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more