Struct discord::model::ServerInfo [] [src]

pub struct ServerInfo {
    pub id: ServerId,
    pub name: String,
    pub icon: Option<String>,
    pub owner: bool,
    pub permissions: Permissions,
}

The basic information about a server only

Fields

Methods

impl ServerInfo
[src]

Returns the formatted URL of the server's icon.

Returns None if the server does not have an icon.

Trait Implementations

impl Debug for ServerInfo
[src]

Formats the value using the given formatter.

impl Clone for ServerInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more