Struct airmash_protocol::server::ScoreUpdate[][src]

pub struct ScoreUpdate {
    pub id: Player,
    pub score: Score,
    pub earnings: Score,
    pub upgrades: u16,
    pub total_kills: u32,
    pub total_deaths: u32,
}

Stats for the current player

Fields

The number of unused upgrades that the player has.

Trait Implementations

impl Copy for ScoreUpdate
[src]

impl Clone for ScoreUpdate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ScoreUpdate
[src]

Formats the value using the given formatter. Read more

impl From<ScoreUpdate> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ScoreUpdate

impl Sync for ScoreUpdate