Struct aws_sdk_lexmodelsv2::model::Message [−][src]
#[non_exhaustive]pub struct Message {
pub plain_text_message: Option<PlainTextMessage>,
pub custom_payload: Option<CustomPayload>,
pub ssml_message: Option<SsmlMessage>,
pub image_response_card: Option<ImageResponseCard>,
}Expand description
The object that provides message text and it's type.
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.plain_text_message: Option<PlainTextMessage>A message in plain text format.
custom_payload: Option<CustomPayload>A message in a custom format defined by the client application.
ssml_message: Option<SsmlMessage>A message in Speech Synthesis Markup Language (SSML).
image_response_card: Option<ImageResponseCard>A message that defines a response card that the client application can show to the user.
Implementations
A message in plain text format.
A message in a custom format defined by the client application.
A message in Speech Synthesis Markup Language (SSML).
A message that defines a response card that the client application can show to the user.
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
