From 9701e4dcc0620afc05fcbb89831cca0abef7ad24 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Thu, 25 Jul 2024 00:19:28 -0400 Subject: [PATCH] login --- lib/src/models.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/models.rs b/lib/src/models.rs index 20f4afb..bc7760b 100644 --- a/lib/src/models.rs +++ b/lib/src/models.rs @@ -1,6 +1,12 @@ use serde::{Deserialize, Serialize}; use std::net::SocketAddr; +/// User login +#[derive(Serialize, Deserialize, Debug)] +pub struct UserLogIn { + pub username: String, +} + /// Chat message #[derive(Clone, Serialize, Deserialize, Debug)] pub struct ChatMessage {