Struct discord_game_sdk_sys::DiscordCreateParams[][src]

#[repr(C)]
pub struct DiscordCreateParams {
Show 28 fields pub client_id: DiscordClientId, pub flags: u64, pub events: *mut IDiscordCoreEvents, pub event_data: *mut c_void, pub application_events: *mut IDiscordApplicationEvents, pub application_version: DiscordVersion, pub user_events: *mut IDiscordUserEvents, pub user_version: DiscordVersion, pub image_events: *mut IDiscordImageEvents, pub image_version: DiscordVersion, pub activity_events: *mut IDiscordActivityEvents, pub activity_version: DiscordVersion, pub relationship_events: *mut IDiscordRelationshipEvents, pub relationship_version: DiscordVersion, pub lobby_events: *mut IDiscordLobbyEvents, pub lobby_version: DiscordVersion, pub network_events: *mut IDiscordNetworkEvents, pub network_version: DiscordVersion, pub overlay_events: *mut IDiscordOverlayEvents, pub overlay_version: DiscordVersion, pub storage_events: *mut IDiscordStorageEvents, pub storage_version: DiscordVersion, pub store_events: *mut IDiscordStoreEvents, pub store_version: DiscordVersion, pub voice_events: *mut IDiscordVoiceEvents, pub voice_version: DiscordVersion, pub achievement_events: *mut IDiscordAchievementEvents, pub achievement_version: DiscordVersion,
}

Fields

client_id: DiscordClientIdflags: u64events: *mut IDiscordCoreEventsevent_data: *mut c_voidapplication_events: *mut IDiscordApplicationEventsapplication_version: DiscordVersionuser_events: *mut IDiscordUserEventsuser_version: DiscordVersionimage_events: *mut IDiscordImageEventsimage_version: DiscordVersionactivity_events: *mut IDiscordActivityEventsactivity_version: DiscordVersionrelationship_events: *mut IDiscordRelationshipEventsrelationship_version: DiscordVersionlobby_events: *mut IDiscordLobbyEventslobby_version: DiscordVersionnetwork_events: *mut IDiscordNetworkEventsnetwork_version: DiscordVersionoverlay_events: *mut IDiscordOverlayEventsoverlay_version: DiscordVersionstorage_events: *mut IDiscordStorageEventsstorage_version: DiscordVersionstore_events: *mut IDiscordStoreEventsstore_version: DiscordVersionvoice_events: *mut IDiscordVoiceEventsvoice_version: DiscordVersionachievement_events: *mut IDiscordAchievementEventsachievement_version: DiscordVersion

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.