[−][src]Struct top_gg::model::Bot
Information about a bot.
Fields
avatar: Option<String>
The avatar hash of the bot user.
certified_bot: bool
The certified status of the bot.
date: DateTime<FixedOffset>
The date when the bot was approved.
def_avatar: Option<String>
The CDN hash of the bot's avatar if the bot has none.
description_long: Option<String>
The long description of the bot.
Can contain HTML and/or Markdown.
description_short: String
The short description of the bot.
discriminator: String
The discriminator of the bot.
github: Option<String>
The link to the GitHub repo of the bot.
id: String
The ID of the bot.
invite: Option<String>
The custom bot invite URL of the bot.
lib: String
The library of the bot.
owners: Vec<String>
The owners of the bot. First one in the array is the main owner.
points: u64
The amount of upvotes the bot has.
prefix: String
The prefix of the bot.
support: Option<String>
The support server invite code of the bot.
The tags of the bot.
username: String
The username of the bot.
vanity: Option<String>
The vanity URL of the bot.
website: Option<String>
The website URL of the bot.
Trait Implementations
impl Clone for Bot
[src]
impl Debug for Bot
[src]
impl Serialize for Bot
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Bot
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Bot
impl Sync for Bot
impl Unpin for Bot
impl UnwindSafe for Bot
impl RefUnwindSafe for Bot
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,