Struct twilight_cache_inmemory::model::CachedMessage [−][src]
pub struct CachedMessage { /* fields omitted */ }Expand description
Represents a cached Message.
Implementations
For rich presence chat embeds, the activity object.
For interaction responses, the ID of the interaction’s application.
Attached files.
ID of the message author.
If the author is a webhook, this is its ID.
ID of the channel the message was sent in.
Timestamp of the date the message was last edited.
Message flags.
ID of the guild the message was sent in, if there is one.
Type of the message.
Member data for the author, if there is any.
Channels mentioned in the content.
Whether or not ‘@everyone’ or ‘@here’ is mentioned in the content.
Roles mentioned in the content.
Reactions to the message.
Message reference.
Stickers within the message.
For messages sent by webhooks, the webhook ID.
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 CachedMessage
impl Send for CachedMessage
impl Sync for CachedMessage
impl Unpin for CachedMessage
impl UnwindSafe for CachedMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
