/* Module containg various structure which we use to pass back * and forth from client/server as auth tokens */ // This structure allows us to provide some critical data for the client to reconnect to // the server without having to go through a sign in process everytime #[derive(Serialize)] pub struct NewUserInfo { pub userid: u64, // userid which later will be discoverable via the pub username: String, pub key: String, pub valid: bool }