pub struct Bot {Show 22 fields
pub id: u64,
pub username: String,
pub discriminator: String,
pub avatar: Option<String>,
pub def_avatar: String,
pub lib: String,
pub prefix: String,
pub short_desc: String,
pub long_desc: Option<String>,
pub tags: Vec<String>,
pub website: Option<String>,
pub support: Option<String>,
pub github: Option<String>,
pub owners: Vec<u64>,
pub guilds: Vec<u64>,
pub invite: Option<String>,
pub date: String,
pub certified_bot: bool,
pub vanity: Option<String>,
pub points: u64,
pub monthly_points: u64,
pub donate_bot_guild_id: Option<u64>,
}
Fields§
§id: u64
§username: String
§discriminator: String
§avatar: Option<String>
§def_avatar: String
§lib: String
§prefix: String
§short_desc: String
§long_desc: Option<String>
§website: Option<String>
§support: Option<String>
§github: Option<String>
§owners: Vec<u64>
§guilds: Vec<u64>
§invite: Option<String>
§date: String
§certified_bot: bool
§vanity: Option<String>
§points: u64
§monthly_points: u64
§donate_bot_guild_id: Option<u64>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bot
impl<'de> Deserialize<'de> for Bot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Bot
impl RefUnwindSafe for Bot
impl Send for Bot
impl Sync for Bot
impl Unpin for Bot
impl UnwindSafe for Bot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more