Struct airmash_protocol::server::Login [] [src]

pub struct Login {
    pub success: bool,
    pub id: u16,
    pub team: u16,
    pub clock: u32,
    pub token: String,
    pub ty: PlaneType,
    pub room: String,
    pub players: Vec<LoginPlayer>,
}

Initial login packet sent to the server.

Fields

Whether the login was successful.

The id of the just-logged-in player.

The team of the just-logged-in player.

Current server clock

The login token used by the current player, or "none".

The plane that the current player is flying.

The room that the current player has just logged into.

Data on all players within the current room.

Trait Implementations

impl Clone for Login
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Login
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Login

impl Sync for Login