Struct source_query::ServerInfo
[−]
[src]
pub struct ServerInfo { pub protocol_version: u8, pub name: String, pub map: String, pub folder: String, pub game: String, pub steamapp_id: i16, pub players: u8, pub max_players: u8, pub bots: u8, pub server_type: ServerType, pub os: OS, pub is_public: bool, pub uses_vac: bool, pub version: String, pub port: Option<i16>, pub steam_id: Option<u64>, pub spectator_port: Option<i16>, pub spectator_name: Option<String>, pub keywords: Option<String>, pub game_id: Option<u64>, }
Fields
protocol_version: u8
name: String
map: String
folder: String
game: String
steamapp_id: i16
players: u8
max_players: u8
bots: u8
server_type: ServerType
os: OS
is_public: bool
uses_vac: bool
version: String
port: Option<i16>
steam_id: Option<u64>
spectator_port: Option<i16>
spectator_name: Option<String>
keywords: Option<String>
game_id: Option<u64>
Trait Implementations
impl Clone for ServerInfo
[src]
fn clone(&self) -> ServerInfo
[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