// use serde::{Deserialize, Serialize}; /*#[derive(Serialize, Deserialize, Debug, Clone)] pub struct MemberCompositeKey { pub guild: String, pub user: String, } #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Member { #[serde(rename = "_id")] pub id: MemberCompositeKey, pub nickname: Option, } #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Invite { pub code: String, pub creator: String, pub channel: String, } #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Ban { pub id: String, pub reason: String, } #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Guild { #[serde(rename = "_id")] pub id: String, // pub nonce: String, used internally pub name: String, pub description: String, pub owner: String, pub channels: Vec, pub invites: Vec, pub bans: Vec, pub default_permissions: u32, }*/