Struct aws_sdk_lexruntime::model::ResponseCard
source · #[non_exhaustive]pub struct ResponseCard { /* private fields */ }
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).
Implementations§
source§impl ResponseCard
impl ResponseCard
sourcepub fn content_type(&self) -> Option<&ContentType>
pub fn content_type(&self) -> Option<&ContentType>
The content type of the response.
sourcepub fn generic_attachments(&self) -> Option<&[GenericAttachment]>
pub fn generic_attachments(&self) -> Option<&[GenericAttachment]>
An array of attachment objects representing options.
source§impl ResponseCard
impl ResponseCard
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResponseCard
.
Trait Implementations§
source§impl Clone for ResponseCard
impl Clone for ResponseCard
source§fn clone(&self) -> ResponseCard
fn clone(&self) -> ResponseCard
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more