Struct steamworks::LobbyChatUpdate
source · 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§
source§impl Callback for LobbyChatUpdate
impl Callback for LobbyChatUpdate
source§impl Clone for LobbyChatUpdate
impl Clone for LobbyChatUpdate
source§fn clone(&self) -> LobbyChatUpdate
fn clone(&self) -> LobbyChatUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for LobbyChatUpdate
impl Send for LobbyChatUpdate
impl Sync for LobbyChatUpdate
impl Unpin for LobbyChatUpdate
impl UnwindSafe for LobbyChatUpdate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more