Struct screeps_api::endpoints::room_overview::RoomOverview [] [src]

pub struct RoomOverview {
    pub owner: Option<String>,
    pub owner_badge: Option<Badge>,
    pub energy_harvested: Vec<StatPoint>,
    pub energy_spent_creeps: Vec<StatPoint>,
    pub energy_spent_control: Vec<StatPoint>,
    pub energy_spent_construction: Vec<StatPoint>,
    pub creep_parts_produced: Vec<StatPoint>,
    pub creep_parts_lost: Vec<StatPoint>,
    pub total_stats: Vec<TotalStats>,
    // some fields omitted
}

Various statistics about a single room, returned as a result from room_overview calls.

Fields

The username of the owner of the room.

The owner's badge

Energy harvested during each interval of the requested time.

Energy spent on creeps during each interval of the requested time.

Energy spent on control during each interval of the requested time.

Energy spent on construction during each interval of the requested time.

Number of creep parts produced during each interval of the requested time.

Number of creep parts lost during each interval of the requested time.

A list of all total statistics provided (usually hour long, day long, and week long returned)

Trait Implementations

impl Clone for RoomOverview
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.