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

A private channel

A group channel

A public channel and its server

Trait Implementations

impl<'a> Debug for ChannelRef<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for ChannelRef<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for ChannelRef<'a>
[src]