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: 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: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.