/* 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, Deserialize, Debug)] pub struct NewUserResponse { pub userid: Option, pub username: Option, pub key: Option, pub err: Option<&'static str>, }