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_stringname: cc_stringip: cc_stringmppass: cc_stringsoftware: cc_stringplayers: c_intmaxPlayers: c_intport: c_intuptime: c_intfeatured: cc_boolcountry: [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 !=.
