pub struct Bot {Show 16 fields
pub id: String,
pub name: String,
pub prefix: String,
pub tags: Vec<String>,
pub vanity_url: String,
pub server_count: u64,
pub shard_count: u64,
pub flags: u64,
pub short_desc: String,
pub long_desc: String,
pub editors: Vec<String>,
pub owner: Owner,
pub avatar: Avatar,
pub links: BotLinks,
pub social: Social,
pub status: BotStatus,
}
Fields§
§id: String
§name: String
§prefix: String
§vanity_url: String
§server_count: u64
§shard_count: u64
§flags: u64
§short_desc: String
§long_desc: String
§editors: Vec<String>
§owner: Owner
§avatar: Avatar
§links: BotLinks
§status: BotStatus
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