Struct serenity::model::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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Ready
[src]

[src]

Formats the value using the given formatter.