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
room_name: Option<RoomName>
The name of the room, or None if the room does not exist.
state: RoomState
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]
fn clone(&self) -> RoomStatus[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Hash for RoomStatus[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more