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]
impl Default for ResponseCard
fn default() -> ResponseCard
[src]
fn default() -> ResponseCard
Returns the "default value" for a type. Read more
impl Debug for ResponseCard
[src]
impl Debug for ResponseCard
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ResponseCard
[src]
impl Clone for ResponseCard
fn clone(&self) -> ResponseCard
[src]
fn clone(&self) -> ResponseCard
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ResponseCard
[src]
impl PartialEq for ResponseCard
fn eq(&self, other: &ResponseCard) -> bool
[src]
fn eq(&self, other: &ResponseCard) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ResponseCard) -> bool
[src]
fn ne(&self, other: &ResponseCard) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ResponseCard
impl Send for ResponseCard
impl Sync for ResponseCard
impl Sync for ResponseCard