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

pub struct TotalStats {
    pub time_period: u32,
    pub energy_harvested: u32,
    pub energy_spent_creeps: u32,
    pub energy_spent_control: u32,
    pub energy_spent_construction: u32,
    pub creep_parts_produced: u32,
    // some fields omitted
}

Total stats over a specific time period.

Fields

Time period. Currently either "8" for hour long stats, "180" for day long stats, or "1440" for week-long stats.

Energy harvested during this time period

Energy spent on creeps during this time period

Energy spent on control during this time period

Energy spent on construction during this time period

Creep parts produced during this time period

Trait Implementations

impl Copy for TotalStats
[src]

impl Clone for TotalStats
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.