Struct rgs_models::Server
[−]
[src]
pub struct Server { pub host: String, pub protocol: Protocol, pub status: Status, pub country: Country, pub rules: Map<String, Value>, pub name: Option<String>, pub need_pass: Option<bool>, pub mod_name: Option<String>, pub game_type: Option<String>, pub terrain: Option<String>, pub num_clients: Option<i64>, pub max_clients: Option<i64>, pub num_bots: Option<i64>, pub secure: Option<bool>, pub ping: Option<i64>, pub players: Option<Vec<Player>>, }
Fields
host: String
protocol: Protocol
status: Status
country: Country
rules: Map<String, Value>
name: Option<String>
need_pass: Option<bool>
mod_name: Option<String>
game_type: Option<String>
terrain: Option<String>
num_clients: Option<i64>
max_clients: Option<i64>
num_bots: Option<i64>
secure: Option<bool>
ping: Option<i64>
players: Option<Vec<Player>>
Trait Implementations
impl Clone for Server
[src]
fn clone(&self) -> Server
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more