Struct msp::LegacyServer
source · 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: i32
Protocol version.
server_version: String
Server version.
motd: String
MOTD of the target server.
online_players: i32
Online players.
max_players: i32
Max 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 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