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
success: bool
id: Player
team: Team
clock: u32
token: String
ty: GameType
room: String
players: Vec<LoginPlayer>
Trait Implementations
impl Clone for Login
[src]
impl Clone for Login
fn clone(&self) -> Login
[src]
fn clone(&self) -> Login
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Login
[src]
impl Debug for Login
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Login> for ServerPacket
[src]
impl From<Login> for ServerPacket