Enum discord::ChannelRef
[−]
[src]
pub enum ChannelRef<'a> { Private(&'a PrivateChannel), Group(&'a Group), Public(&'a LiveServer, &'a PublicChannel), }
A reference to a private or public channel.
Variants
Private(&'a PrivateChannel)
A private channel
Group(&'a Group)
A group channel
Public(&'a LiveServer, &'a PublicChannel)
A public channel and its server
Trait Implementations
impl<'a> Debug for ChannelRef<'a>
[src]
impl<'a> Clone for ChannelRef<'a>
[src]
fn clone(&self) -> ChannelRef<'a>
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