Struct async_minecraft_ping::StatusResponse [−][src]
pub struct StatusResponse {
pub version: ServerVersion,
pub players: ServerPlayers,
pub description: ServerDescription,
pub favicon: Option<String>,
}Expand description
The decoded JSON response from a status query over ServerListPing.
Fields
version: ServerVersionInformation about the server’s version.
players: ServerPlayersInformation about currently online players.
description: ServerDescriptionSingle-field struct containing the server’s MOTD.
favicon: Option<String>Optional field containing a path to the server’s favicon.
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
