Struct serenity::model::GuildInfo [] [src]

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

Basic information about a guild used for oauth.

Fields

Id of the Guild. Can be used to calculate the creation date.

The guild's icon.

The guild's name.

True if you're the owner of the guild.

Permissions that you have in the guild.

Methods

impl GuildInfo
[src]

Returns the formatted URL of the guild's icon, if the guild has an icon.

Trait Implementations

impl Clone for GuildInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GuildInfo
[src]

Formats the value using the given formatter.