[][src]Struct twilight_model::oauth::CurrentApplicationInfo

pub struct CurrentApplicationInfo {
    pub bot_public: bool,
    pub bot_require_code_grant: bool,
    pub cover_image: Option<String>,
    pub description: String,
    pub guild_id: Option<GuildId>,
    pub icon: Option<String>,
    pub id: ApplicationId,
    pub name: String,
    pub owner: User,
    pub primary_sku_id: Option<SkuId>,
    pub rpc_origins: Vec<String>,
    pub slug: Option<String>,
    pub summary: String,
    pub team: Option<Team>,
    pub verify_key: String,
}

Fields

bot_public: boolbot_require_code_grant: boolcover_image: Option<String>description: Stringguild_id: Option<GuildId>icon: Option<String>id: ApplicationIdname: Stringowner: Userprimary_sku_id: Option<SkuId>rpc_origins: Vec<String>slug: Option<String>summary: Stringteam: Option<Team>verify_key: String

Trait Implementations

impl Clone for CurrentApplicationInfo[src]

impl Debug for CurrentApplicationInfo[src]

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

impl Eq for CurrentApplicationInfo[src]

impl Hash for CurrentApplicationInfo[src]

impl PartialEq<CurrentApplicationInfo> for CurrentApplicationInfo[src]

impl Serialize for CurrentApplicationInfo[src]

impl StructuralEq for CurrentApplicationInfo[src]

impl StructuralPartialEq for CurrentApplicationInfo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.