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: u32
Time period. Currently either "8" for hour long stats, "180" for day long stats, or "1440" for week-long stats.
energy_harvested: u32
Energy harvested during this time period
energy_spent_creeps: u32
Energy spent on creeps during this time period
energy_spent_control: u32
Energy spent on control during this time period
energy_spent_construction: u32
Energy spent on construction during this time period
creep_parts_produced: u32
Creep parts produced during this time period
Trait Implementations
impl Copy for TotalStats[src]
impl Clone for TotalStats[src]
fn clone(&self) -> TotalStats[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 TotalStats[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