Enum discord::model::Channel [] [src]

pub enum Channel {
    Private(PrivateChannel),
    Public(PublicChannel),
}

A private or public channel

Variants

Private

Text channel to another user

Public

Voice or text channel within a server

Methods

impl Channel
[src]

fn decode(value: Value) -> Result<Channel>

Trait Implementations

Derived Implementations

impl Clone for Channel
[src]

fn clone(&self) -> Channel

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Channel
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.