Struct rgs_models::Server [] [src]

pub struct Server {
    pub addr: SocketAddr,
    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

Methods

impl Server
[src]

Trait Implementations

impl Clone for Server
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Server
[src]

Formats the value using the given formatter.

impl PartialEq for Server
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.