Struct discord::model::ReadyEvent [] [src]

pub struct ReadyEvent {
    pub version: u64,
    pub user: CurrentUser,
    pub session_id: String,
    pub heartbeat_interval: u64,
    pub user_settings: Option<UserSettings>,
    pub read_state: Vec<ReadState>,
    pub private_channels: Vec<PrivateChannel>,
    pub presences: Vec<Presence>,
    pub relationships: Vec<Relationship>,
    pub servers: Vec<LiveServer>,
    pub user_server_settings: Option<Vec<UserServerSettings>>,
    pub tutorial: Option<Tutorial>,
}

The "Ready" event, containing initial state

Fields

version
user
session_id
heartbeat_interval
user_settings
read_state
private_channels
presences
relationships
servers
user_server_settings
tutorial

Trait Implementations

Derived Implementations

impl Clone for ReadyEvent
[src]

fn clone(&self) -> ReadyEvent

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ReadyEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.