Struct common::UserData [] [src]

pub struct UserData {
    pub user_id: u32,
    pub move_to: char,
    pub new_game: bool,

Outgoing and incoming data is parsed to this via JSON


Trait Implementations

impl Encodable for UserData


Serialize a value using an Encoder.

impl Decodable for UserData


Deserialize a value using a Decoder.

impl Debug for UserData


Formats the value using the given formatter.