Struct serenity::model::gateway::Ready[][src]

pub struct Ready {
    pub guilds: Vec<GuildStatus>,
    pub presences: HashMap<UserId, Presence>,
    pub private_channels: HashMap<ChannelId, Channel>,
    pub session_id: String,
    pub shard: Option<[u64; 2]>,
    pub trace: Vec<String>,
    pub user: CurrentUser,
    pub version: u64,
}

An initial set of information given after IDENTIFYing to the gateway.

Fields

Trait Implementations

impl Clone for Ready
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Ready
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Ready

impl Sync for Ready