Struct steamworks::UserStatsReceived[][src]

pub struct UserStatsReceived {
    pub steam_id: SteamId,
    pub game_id: GameId,
    pub result: Result<(), SteamError>,
}
Expand description

Callback type after calling request_current_stats().

Example

let callback_handle = client.register_callback(|val: UserStatsReceived| {
    if val.result.is_err() {
        // ...
    }
});

Fields

steam_id: SteamIdgame_id: GameIdresult: Result<(), SteamError>

Trait Implementations

Formats the value using the given formatter. 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.

Performs the conversion.

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.