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 state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

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.