Struct aws_sdk_connect::types::ChatMessage
source · #[non_exhaustive]pub struct ChatMessage { /* private fields */ }
Expand description
A chat message.
Implementations§
source§impl ChatMessage
impl ChatMessage
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The type of the content. Supported types are text/plain
, text/markdown
, and application/json
.
source§impl ChatMessage
impl ChatMessage
sourcepub fn builder() -> ChatMessageBuilder
pub fn builder() -> ChatMessageBuilder
Creates a new builder-style object to manufacture ChatMessage
.
Trait Implementations§
source§impl Clone for ChatMessage
impl Clone for ChatMessage
source§fn clone(&self) -> ChatMessage
fn clone(&self) -> ChatMessage
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 moresource§impl Debug for ChatMessage
impl Debug for ChatMessage
source§impl PartialEq<ChatMessage> for ChatMessage
impl PartialEq<ChatMessage> for ChatMessage
source§fn eq(&self, other: &ChatMessage) -> bool
fn eq(&self, other: &ChatMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.