pub struct StatusResponse {
    pub version: Version,
    pub players: Players,
    pub motd: String,
    pub favicon: String,
    pub previews_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: String

The “motd” - message shown in the server list by the client.

favicon: String

URI to the server’s favicon.

previews_chat: Option<bool>

Does the server preview chat?

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.