Struct screeps_api::endpoints::room_status::RoomStatus [] [src]

pub struct RoomStatus {
    pub room_name: Option<RoomName>,
    pub state: RoomState,
    // some fields omitted
}

Struct describing the status of a room

Fields

The name of the room, or None if the room does not exist.

The state of the room, determined by comparing the API response timestamps with the current UTC time, as retrieved from the system.

Trait Implementations

impl Clone for RoomStatus
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for RoomStatus
[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 RoomStatus
[src]

[src]

Formats the value using the given formatter.