pub struct PlayerDistribution {
    pub bedrock_total: usize,
    pub java_total: usize,
    pub bedrock_lobby: usize,
    pub bedrock_player_server: usize,
    pub java_lobby: usize,
    pub java_player_server: usize,
}
Expand description

Struct represents response from the API for player distribution. It contains both Java and Bedrock stats.

Fields

bedrock_total: usize

Total number of Bedrock edition players.

java_total: usize

Total number of Java edition players.

bedrock_lobby: usize

Total number of Bedrock players in the lobby.

bedrock_player_server: usize

Total number of Bedrock servers.

java_lobby: usize

Total number of Java players in the lobby.

java_player_server: usize

Total number of Java servers.

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more