Struct steamworks::LobbyChatUpdate[][src]

pub struct LobbyChatUpdate {
    pub lobby: LobbyId,
    pub user_changed: SteamId,
    pub making_change: SteamId,
    pub member_state_change: ChatMemberStateChange,
}
Expand description

A lobby chat room state has changed, this is usually sent when a user has joined or left the lobby.

Fields

lobby: LobbyId

The Steam ID of the lobby.

user_changed: SteamId

The user who’s status in the lobby just changed - can be recipient.

making_change: SteamId

Chat member who made the change. This can be different from user_changed if kicking, muting, etc. For example, if one user kicks another from the lobby, this will be set to the id of the user who initiated the kick.

member_state_change: ChatMemberStateChange

“ChatMemberStateChange” values.

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

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.