Struct async_minecraft_ping::ServerPlayers [−][src]
pub struct ServerPlayers {
pub max: u32,
pub online: u32,
pub sample: Option<Vec<ServerPlayer>>,
}Expand description
Contains information about the currently online players.
Fields
max: u32The configured maximum number of players for the server.
online: u32The number of players currently online.
sample: Option<Vec<ServerPlayer>>An optional list of player information for currently online players.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
