Struct mc_query::status::StatusResponse
source · pub struct StatusResponse {
pub version: Version,
pub players: Players,
pub motd: ChatObject,
pub favicon: Option<String>,
pub previews_chat: Option<bool>,
pub enforces_secure_chat: Option<bool>,
}
Expand description
Response from the server with status information. Represents this JSON object to be serialized and deserialized.
Fields§
§version: Version
Information about the game and protocol version. See Version for more information.
players: Players
See Players for more information.
motd: ChatObject
The “motd” - message shown in the server list by the client.
favicon: Option<String>
URI to the server’s favicon.
previews_chat: Option<bool>
Does the server preview chat?
enforces_secure_chat: Option<bool>
Does the server use signed chat messages? Only returned for servers post 1.19.1
Trait Implementations§
source§impl Debug for StatusResponse
impl Debug for StatusResponse
source§impl<'de> Deserialize<'de> for StatusResponse
impl<'de> Deserialize<'de> for StatusResponse
source§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