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]
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