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§
source§impl Debug for ServerInfo
impl Debug for ServerInfo
source§impl Hash for ServerInfo
impl Hash for ServerInfo
source§impl PartialEq for ServerInfo
impl PartialEq for ServerInfo
source§fn eq(&self, other: &ServerInfo) -> bool
fn eq(&self, other: &ServerInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServerInfo
impl StructuralPartialEq for ServerInfo
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl !Send for ServerInfo
impl !Sync for ServerInfo
impl Unpin for ServerInfo
impl UnwindSafe for ServerInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more