1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use crate::Snowflake; #[object(client)] pub struct ModifyBot { pub username: String, //pub avatar: Option<???> } #[object(client)] pub struct Recipient { pub recipient_id: Snowflake } #[object(client)] pub struct AddRecipient { pub access_token: String, pub nick: String }