pub struct FollowUpPrompt {
pub prompt: Prompt,
pub rejection_statement: Statement,
}Expand description
A prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.
Fields§
§prompt: PromptPrompts for information from the user.
rejection_statement: StatementIf the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.
Trait Implementations§
Source§impl Clone for FollowUpPrompt
impl Clone for FollowUpPrompt
Source§fn clone(&self) -> FollowUpPrompt
fn clone(&self) -> FollowUpPrompt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FollowUpPrompt
impl Debug for FollowUpPrompt
Source§impl Default for FollowUpPrompt
impl Default for FollowUpPrompt
Source§fn default() -> FollowUpPrompt
fn default() -> FollowUpPrompt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FollowUpPrompt
impl<'de> Deserialize<'de> for FollowUpPrompt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FollowUpPrompt
impl PartialEq for FollowUpPrompt
Source§impl Serialize for FollowUpPrompt
impl Serialize for FollowUpPrompt
impl StructuralPartialEq for FollowUpPrompt
Auto Trait Implementations§
impl Freeze for FollowUpPrompt
impl RefUnwindSafe for FollowUpPrompt
impl Send for FollowUpPrompt
impl Sync for FollowUpPrompt
impl Unpin for FollowUpPrompt
impl UnwindSafe for FollowUpPrompt
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
Mutably borrows from an owned value. Read more