Struct aws_sdk_chime::types::ChannelMessage
source · #[non_exhaustive]pub struct ChannelMessage { /* private fields */ }Expand description
The details of a message in a channel.
Implementations§
source§impl ChannelMessage
impl ChannelMessage
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of the channel.
sourcepub fn message_id(&self) -> Option<&str>
pub fn message_id(&self) -> Option<&str>
The ID of a message.
sourcepub fn type(&self) -> Option<&ChannelMessageType>
pub fn type(&self) -> Option<&ChannelMessageType>
The message type.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The time at which the message was created.
sourcepub fn last_edited_timestamp(&self) -> Option<&DateTime>
pub fn last_edited_timestamp(&self) -> Option<&DateTime>
The time at which a message was edited.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
The time at which a message was updated.
sourcepub fn persistence(&self) -> Option<&ChannelMessagePersistenceType>
pub fn persistence(&self) -> Option<&ChannelMessagePersistenceType>
The persistence setting for a channel message.
source§impl ChannelMessage
impl ChannelMessage
sourcepub fn builder() -> ChannelMessageBuilder
pub fn builder() -> ChannelMessageBuilder
Creates a new builder-style object to manufacture ChannelMessage.
Trait Implementations§
source§impl Clone for ChannelMessage
impl Clone for ChannelMessage
source§fn clone(&self) -> ChannelMessage
fn clone(&self) -> ChannelMessage
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 ChannelMessage
impl Debug for ChannelMessage
source§impl PartialEq<ChannelMessage> for ChannelMessage
impl PartialEq<ChannelMessage> for ChannelMessage
source§fn eq(&self, other: &ChannelMessage) -> bool
fn eq(&self, other: &ChannelMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.