Struct aws_sdk_lexruntimev2::model::Message
source ·
[−]#[non_exhaustive]pub struct Message {
pub content: Option<String>,
pub content_type: Option<MessageContentType>,
pub image_response_card: Option<ImageResponseCard>,
}Expand description
Container for text that is returned to the customer..
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.content: Option<String>The text of the message.
content_type: Option<MessageContentType>Indicates the type of response.
image_response_card: Option<ImageResponseCard>A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.
Implementations
Indicates the type of response.
A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
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
