Struct discord::model::ReadyEvent
[−]
[src]
pub struct ReadyEvent { pub version: u64, pub user: CurrentUser, pub session_id: String, pub user_settings: Option<UserSettings>, pub read_state: Option<Vec<ReadState>>, pub private_channels: Vec<PrivateChannel>, pub presences: Vec<Presence>, pub relationships: Vec<Relationship>, pub servers: Vec<PossibleServer<LiveServer>>, pub user_server_settings: Option<Vec<UserServerSettings>>, pub tutorial: Option<Tutorial>, pub trace: Vec<Option<String>>, pub notes: Option<BTreeMap<UserId, String>>, }
The "Ready" event, containing initial state
Fields
version | |
user | |
session_id | |
user_settings | |
read_state | |
private_channels | |
presences | |
relationships | |
servers | |
user_server_settings | |
tutorial | |
trace | The trace of servers involved in this connection. |
notes |
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