[][src]Struct screeps_api::MapStats

pub struct MapStats {
    pub rooms: Vec<RoomInfo>,
    pub users: Vec<UserInfo>,
    // some fields omitted
}

Statistics on a number of rooms.

Fields

rooms: Vec<RoomInfo>

A list of results retrieved from this map stats call. Note: Invalid or non-existent room names will simply just not appear in this result!

If you request some rooms, and only get part back, you can assume that all extra rooms requested simply do not exist.

users: Vec<UserInfo>

A list of user information for each user who either owns or signed a room that was requested.

Trait Implementations

impl Clone for MapStats[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for MapStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,