Enum dasi::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

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

Trait Implementations

Derived Implementations

impl Clone for Channel

fn clone(&self) -> Channel

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

impl Debug for Channel

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