Struct screeps_api::endpoints::map_stats::RoomInfo
[−]
[src]
pub struct RoomInfo { pub name: RoomName, pub state: RoomState, pub owner: Option<RoomOwner>, pub sign: Option<RoomSign>, pub hard_sign: Option<HardSign>, // some fields omitted }
Information on a room.
Fields
name: RoomName
The room name / id.
state: RoomState
The room state.
owner: Option<RoomOwner>
Info on the room's owner, if any.
sign: Option<RoomSign>
The room's player-set sign, if any.
hard_sign: Option<HardSign>
The room's system-set sign, if any.
Trait Implementations
impl Clone for RoomInfo
[src]
fn clone(&self) -> RoomInfo
[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 RoomInfo
[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