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]

[src]

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

impl Debug for ResponseCard
[src]

[src]

Formats the value using the given formatter.

impl Clone for ResponseCard
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more