Struct discord::model::PublicChannel [] [src]

pub struct PublicChannel {
    pub id: ChannelId,
    pub name: String,
    pub server_id: ServerId,
    pub kind: ChannelType,
    pub permission_overwrites: Vec<PermissionOverwrite>,
    pub topic: Option<String>,
    pub position: i64,
    pub last_message_id: Option<MessageId>,
    pub bitrate: Option<u64>,
    pub user_limit: Option<u64>,
    pub last_pin_timestamp: Option<DateTime<FixedOffset>>,
}

Public voice or text channel within a server

Fields

Methods

impl PublicChannel
[src]

Return a Mention which will link to this channel.

Trait Implementations

impl Debug for PublicChannel
[src]

Formats the value using the given formatter.

impl Clone for PublicChannel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more