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
sourceimpl 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.
sourceimpl ResponseCard
impl ResponseCard
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResponseCard.
Trait Implementations
sourceimpl Clone for ResponseCard
impl Clone for ResponseCard
sourcefn clone(&self) -> ResponseCard
fn clone(&self) -> ResponseCard
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ResponseCard
impl Debug for ResponseCard
sourceimpl PartialEq<ResponseCard> for ResponseCard
impl PartialEq<ResponseCard> for ResponseCard
sourcefn eq(&self, other: &ResponseCard) -> bool
fn eq(&self, other: &ResponseCard) -> bool
impl StructuralPartialEq for ResponseCard
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more