pub struct LegacyServer {
pub protocol_version: i32,
pub server_version: String,
pub motd: String,
pub online_players: i32,
pub max_players: i32,
}Expand description
Legacy server info type.
Fields§
§protocol_version: i32Protocol version.
server_version: StringServer version.
motd: StringMOTD of the target server.
online_players: i32Online players.
max_players: i32Max players.
Trait Implementations§
Source§impl Debug for LegacyServer
impl Debug for LegacyServer
Source§impl Display for LegacyServer
impl Display for LegacyServer
Auto Trait Implementations§
impl Freeze for LegacyServer
impl RefUnwindSafe for LegacyServer
impl Send for LegacyServer
impl Sync for LegacyServer
impl Unpin for LegacyServer
impl UnwindSafe for LegacyServer
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