Struct rgs_models::Server
[−]
[src]
pub struct Server { pub host: String, pub protocol: Protocol, pub status: Status, pub country: Country, pub rules: HashMap<String, String>, 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: HashMap<String, String>
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
impl Debug for Server
[src]
impl Default for Server
[src]
impl PartialEq for Server
[src]
fn eq(&self, __arg_0: &Server) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Server) -> bool
This method tests for !=
.