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: ServerVersion

Information about the server’s version.

players: ServerPlayers

Information about currently online players.

description: ServerDescription

Single-field struct containing the server’s MOTD.

favicon: Option<String>

Optional field containing a path to the server’s favicon.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. 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

Performs the conversion.

Performs the conversion.

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.