From d21ff7618f3f4583fb197f02110edf81920cfbba Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 18 Sep 2026 16:13:14 -0400 Subject: [PATCH] Adding UserProfile --- src/user.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/user.rs b/src/user.rs index 8b95b2c..1e6264f 100644 --- a/src/user.rs +++ b/src/user.rs @@ -31,6 +31,14 @@ pub struct User { pub salt_id: uuid::Uuid, } +#[derive(Clone, Debug, Deserialize, Serialize, utoipa::ToSchema)] +pub struct UserProfile { + pub firstname: String, + pub lastname: String, + pub username: String, + pub email: String +} + impl Default for User { fn default() -> Self { User {