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

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

Initial Login packet sent to the server

Fields

Trait Implementations

impl Clone for Login
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Login
[src]

Formats the value using the given formatter. Read more

impl From<Login> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Login

impl Sync for Login