Struct aws_sdk_chime::model::ChannelMessage [−][src]
#[non_exhaustive]pub struct ChannelMessage {
pub channel_arn: Option<String>,
pub message_id: Option<String>,
pub content: Option<String>,
pub metadata: Option<String>,
pub type: Option<ChannelMessageType>,
pub created_timestamp: Option<DateTime>,
pub last_edited_timestamp: Option<DateTime>,
pub last_updated_timestamp: Option<DateTime>,
pub sender: Option<Identity>,
pub redacted: bool,
pub persistence: Option<ChannelMessagePersistenceType>,
}
Expand description
The details of a message in a channel.
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.channel_arn: Option<String>
The ARN of the channel.
message_id: Option<String>
The ID of a message.
content: Option<String>
The message content.
metadata: Option<String>
The message metadata.
type: Option<ChannelMessageType>
The message type.
created_timestamp: Option<DateTime>
The time at which the message was created.
last_edited_timestamp: Option<DateTime>
The time at which a message was edited.
last_updated_timestamp: Option<DateTime>
The time at which a message was updated.
sender: Option<Identity>
The message sender.
redacted: bool
Hides the content of a message.
persistence: Option<ChannelMessagePersistenceType>
The persistence setting for a channel message.
Implementations
The ARN of the channel.
The ID of a message.
The message type.
The time at which the message was created.
The time at which a message was edited.
The time at which a message was updated.
The persistence setting for a channel message.
Creates a new builder-style object to manufacture ChannelMessage
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ChannelMessage
impl Send for ChannelMessage
impl Sync for ChannelMessage
impl Unpin for ChannelMessage
impl UnwindSafe for ChannelMessage
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