[][src]Struct dbl::types::Bot

pub struct Bot {
    pub id: BotId,
    pub username: String,
    pub discriminator: String,
    pub avatar: Option<String>,
    pub default_avatar: String,
    pub clientid: 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<UserId>,
    pub guilds: Vec<GuildId>,
    pub invite: Option<String>,
    pub date: String,
    pub certified_bot: bool,
    pub vanity: Option<String>,
    pub shards: Vec<u64>,
    pub points: u64,
    pub monthly_points: u64,
}

Information about a bot.

Fields

id: BotIdusername: Stringdiscriminator: Stringavatar: Option<String>default_avatar: Stringclientid: Stringlib: Stringprefix: Stringshort_desc: Stringlong_desc: Option<String>tags: Vec<String>website: Option<String>support: Option<String>github: Option<String>owners: Vec<UserId>guilds: Vec<GuildId>invite: Option<String>date: Stringcertified_bot: boolvanity: Option<String>shards: Vec<u64>points: u64monthly_points: u64

Trait Implementations

impl Debug for Bot[src]

impl<'de> Deserialize<'de> for Bot[src]

Auto Trait Implementations

impl Send for Bot

impl Sync for Bot

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err