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 given [Hasher]. Read more

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

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.

impl Serialize for ChannelType
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more