Struct twilight_model::oauth::current_application_info::CurrentApplicationInfo [−][src]
pub struct CurrentApplicationInfo {Show 18 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: boolbot_require_code_grant: boolcover_image: Option<String>description: Stringguild_id: Option<GuildId>flags: Option<ApplicationFlags>Public flags of the application.
icon: Option<String>id: ApplicationIdname: Stringowner: Userprimary_sku_id: Option<SkuId>privacy_policy_url: Option<String>URL of the application’s privacy policy.
rpc_origins: Vec<String>slug: Option<String>summary: Stringteam: Option<Team>terms_of_service_url: Option<String>URL of the application’s terms of service.
verify_key: StringTrait Implementations
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
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
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more