pub const CLIENT_DATA: &str = "client_data"; #[derive(Debug, Default, bincode::Encode, bincode::Decode)] pub struct ClientData { pub ip: String, pub username: String, /// TODO: not store this as plain string? /// need to figure out crypto stuff /// or store session token pub password: String, }