Enum discord::model::MessageType [] [src]

pub enum MessageType {
    Regular,
    GroupRecipientAddition,
    GroupRecipientRemoval,
    GroupCallCreation,
    GroupNameUpdate,
    GroupIconUpdate,
    MessagePinned,
}

The type of a message

Variants

A regular, text-based message

A recipient was added to the group

A recipient was removed from the group

A group call was created

A group name was updated

A group icon was updated

A message was pinned

Methods

impl MessageType
[src]

Trait Implementations

impl Copy for MessageType
[src]

impl Clone for MessageType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for MessageType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for MessageType
[src]

impl PartialEq for MessageType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for MessageType
[src]

Formats the value using the given formatter.

impl Serialize for MessageType
[src]

Serialize this value into the given Serde serializer. Read more

impl<'d> Deserialize<'d> for MessageType
[src]

Deserialize this value from the given Serde deserializer. Read more