Struct aws_sdk_lexruntime::model::ResponseCard [−][src]
#[non_exhaustive]pub struct ResponseCard {
pub version: Option<String>,
pub content_type: Option<ContentType>,
pub generic_attachments: Option<Vec<GenericAttachment>>,
}
Expand description
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 (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version: Option<String>
The version of the response card format.
content_type: Option<ContentType>
The content type of the response.
generic_attachments: Option<Vec<GenericAttachment>>
An array of attachment objects representing options.
Implementations
The content type of the response.
An array of attachment objects representing options.
Creates a new builder-style object to manufacture ResponseCard
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResponseCard
impl Send for ResponseCard
impl Sync for ResponseCard
impl Unpin for ResponseCard
impl UnwindSafe for ResponseCard
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more