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

The configured maximum number of players for the server.

online: u32

The number of players currently online.

sample: Option<Vec<ServerPlayer>>

An optional list of player information for currently online players.

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.