···11pub mod channels;
22-pub mod common;
32pub mod guilds;
4354use anyhow::Result;
···1615 Delete,
1716}
18171919-/// Trait to use when implementing a new API call
1818+/// Trait to use when implementing a new API call
2019pub trait ApiCall {
2120 type ReturnType;
2221
···22use serde_json::Value;
3344/// Data returned by the `READY` dispatch event
55-#[derive(Deserialize)]
55+#[derive(Deserialize, Debug)]
66pub struct ReadyData {
77 pub country_code: String,
88 pub favorite_memes: Vec<Value>,
···2424}
25252626/// Data for a session used in [`ReadyData`]
2727-#[derive(Deserialize)]
2727+#[derive(Deserialize, Debug)]
2828pub struct Session {
2929 pub afk: bool,
3030 pub mobile: bool,
···3333}
34343535/// Data for a logged in user used in [`ReadyData`]
3636-#[derive(Deserialize)]
3636+#[derive(Deserialize, Debug)]
3737pub struct LoggedInUser {
3838 pub accent_color: Value,
3939 pub acls: Vec<Value>,
···8989}
90909191/// Data for notes used in [`ReadyData`]
9292-#[derive(Deserialize)]
9292+#[derive(Deserialize, Debug)]
9393pub struct Notes {}
94949595/// Data returned by the `SESSIONS_REPLACE` dispatch event
9696-#[derive(Deserialize)]
9696+#[derive(Deserialize, Debug)]
9797pub struct SessionReplaceData {
9898 pub afk: bool,
9999 pub mobile: bool,