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
guilds: Vec<GuildStatus>
presences: HashMap<UserId, Presence>
private_channels: HashMap<ChannelId, Channel>
session_id: String
trace: Vec<String>
user: CurrentUser
version: u64
Trait Implementations
impl Clone for Ready
[src]
fn clone(&self) -> Ready
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more