Struct twilight_model::oauth::current_application_info::CurrentApplicationInfo [−][src]
pub struct CurrentApplicationInfo {}Show fields
pub bot_public: bool, pub bot_require_code_grant: bool, pub cover_image: Option<String>, pub description: String, pub guild_id: Option<GuildId>, pub flags: Option<ApplicationFlags>, pub icon: Option<String>, pub id: ApplicationId, pub name: String, pub owner: User, pub primary_sku_id: Option<SkuId>, pub privacy_policy_url: Option<String>, pub rpc_origins: Vec<String>, pub slug: Option<String>, pub summary: String, pub team: Option<Team>, pub terms_of_service_url: Option<String>, pub verify_key: String,
Fields
bot_public: bool
bot_require_code_grant: bool
cover_image: Option<String>
description: String
guild_id: Option<GuildId>
flags: Option<ApplicationFlags>
Public flags of the application.
icon: Option<String>
id: ApplicationId
name: String
owner: User
primary_sku_id: Option<SkuId>
privacy_policy_url: Option<String>
URL of the application’s privacy policy.
rpc_origins: Vec<String>
slug: Option<String>
summary: String
team: Option<Team>
terms_of_service_url: Option<String>
URL of the application’s terms of service.
verify_key: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CurrentApplicationInfo
impl Send for CurrentApplicationInfo
impl Sync for CurrentApplicationInfo
impl Unpin for CurrentApplicationInfo
impl UnwindSafe for CurrentApplicationInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more