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

The content type of the response.

An array of attachment objects representing options.

The version of the response card format.

Trait Implementations

impl Default for ResponseCard
[src]

Returns the "default value" for a type. Read more

impl Debug for ResponseCard
[src]

Formats the value using the given formatter. Read more

impl Clone for ResponseCard
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ResponseCard
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations