Struct screeps_api::endpoints::shards::ShardInfo [] [src]

pub struct ShardInfo {
    pub name: String,
    pub room_count: u32,
    pub user_count: u32,
    pub tick_avg_milliseconds: f64,
    // some fields omitted
}

Structure describing information about a single game shard.

Fields

The name of this shard, useful for all shard-specific API calls.

The total number of open rooms in this shard.

The total number of users spawned in this shard (TODO: confirm this is what this is).

The average millisecond tick this shard has for some past period of time (TODO: more detail).

Trait Implementations

impl Clone for ShardInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ShardInfo
[src]

[src]

Formats the value using the given formatter.

impl AsRef<str> for ShardInfo
[src]

[src]

Performs the conversion.