Struct rusoto_lex_runtime::ResponseCard
[−]
[src]
pub struct ResponseCard { pub content_type: Option<String>, pub generic_attachments: Option<Vec<GenericAttachment>>, pub version: Option<String>, }
If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook
and fulfillmentActivity
on an intent).
Fields
content_type: Option<String>
The content type of the response.
generic_attachments: Option<Vec<GenericAttachment>>
An array of attachment objects representing options.
version: Option<String>
The version of the response card format.
Trait Implementations
impl Default for ResponseCard
[src]
fn default() -> ResponseCard
[src]
Returns the "default value" for a type. Read more
impl Debug for ResponseCard
[src]
impl Clone for ResponseCard
[src]
fn clone(&self) -> ResponseCard
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more