Struct discord_game_sdk_sys::IDiscordApplicationManager[][src]

#[repr(C)]
pub struct IDiscordApplicationManager { pub validate_or_exit: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, callback_data: *mut c_void, callback: Option<unsafe extern "C" fn(callback_data: *mut c_void, result: EDiscordResult)>)>, pub get_current_locale: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, locale: *mut DiscordLocale)>, pub get_current_branch: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, branch: *mut DiscordBranch)>, pub get_oauth2_token: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, callback_data: *mut c_void, callback: Option<unsafe extern "C" fn(callback_data: *mut c_void, result: EDiscordResult, oauth2_token: *mut DiscordOAuth2Token)>)>, pub get_ticket: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, callback_data: *mut c_void, callback: Option<unsafe extern "C" fn(callback_data: *mut c_void, result: EDiscordResult, data: *const c_char)>)>, }

Fields

validate_or_exit: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, callback_data: *mut c_void, callback: Option<unsafe extern "C" fn(callback_data: *mut c_void, result: EDiscordResult)>)>get_current_locale: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, locale: *mut DiscordLocale)>get_current_branch: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, branch: *mut DiscordBranch)>get_oauth2_token: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, callback_data: *mut c_void, callback: Option<unsafe extern "C" fn(callback_data: *mut c_void, result: EDiscordResult, oauth2_token: *mut DiscordOAuth2Token)>)>get_ticket: Option<unsafe extern "C" fn(manager: *mut IDiscordApplicationManager, callback_data: *mut c_void, callback: Option<unsafe extern "C" fn(callback_data: *mut c_void, result: EDiscordResult, data: *const c_char)>)>

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

Returns the “default value” for a type. 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 !=.

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.

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.