Struct screeps_api::websocket::types::room::RoomUpdateUserInfo [] [src]

pub struct RoomUpdateUserInfo {
    pub user_id: Option<String>,
    pub username: Option<String>,
    pub badge: Option<Badge>,
    // some fields omitted
}

Information on a user which is packaged with a room update.

Fields

User ID

Username

Badge description

Trait Implementations

impl Clone for RoomUpdateUserInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for RoomUpdateUserInfo
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for RoomUpdateUserInfo
[src]

[src]

Formats the value using the given formatter.