Enum discord::model::ChannelType [] [src]

pub enum ChannelType {
    Group,
    Private,
    Text,
    Voice,
}

The type of a channel

Variants

A group channel, separate from a server

A private channel with only one other person

A text channel in a server

A voice channel

Methods

impl ChannelType
[src]

impl ChannelType
[src]

Trait Implementations

impl Copy for ChannelType
[src]

impl Clone for ChannelType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for ChannelType
[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 ChannelType
[src]

impl PartialEq for ChannelType
[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 ChannelType
[src]

Formats the value using the given formatter.