Enum discord::model::Channel
[−]
[src]
pub enum Channel {
Group(Group),
Private(PrivateChannel),
Public(PublicChannel),
}A private or public channel
Variants
Group(Group)A group channel separate from a server
Private(PrivateChannel)Text channel to another user
Public(PublicChannel)Voice or text channel within a server
Methods
impl Channel[src]
Trait Implementations
impl Debug for Channel[src]
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