Struct classicube_sys::ServerInfo
source ·
[−]#[repr(C)]pub struct ServerInfo {Show 17 fields
pub hash: cc_string,
pub name: cc_string,
pub ip: cc_string,
pub mppass: cc_string,
pub software: cc_string,
pub players: c_int,
pub maxPlayers: c_int,
pub port: c_int,
pub uptime: c_int,
pub featured: cc_bool,
pub country: [c_char; 2],
pub _order: c_int,
pub _hashBuffer: [c_char; 32],
pub _nameBuffer: [c_char; 64],
pub _ipBuffer: [c_char; 16],
pub _mppassBuffer: [c_char; 64],
pub _softBuffer: [c_char; 64],
}
Fields
hash: cc_string
name: cc_string
ip: cc_string
mppass: cc_string
software: cc_string
players: c_int
maxPlayers: c_int
port: c_int
uptime: c_int
featured: cc_bool
country: [c_char; 2]
_order: c_int
_hashBuffer: [c_char; 32]
_nameBuffer: [c_char; 64]
_ipBuffer: [c_char; 16]
_mppassBuffer: [c_char; 64]
_softBuffer: [c_char; 64]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.