UserProfile (#6)
simodels Build / Check (push) Successful in 57s
simodels Build / Rustfmt (push) Successful in 58s
Release Tagging / release (push) Successful in 1m3s
simodels Build / Test Suite (push) Successful in 1m8s
simodels Build / Clippy (push) Successful in 1m20s
simodels Build / build (push) Successful in 1m24s

Reviewed-on: http://git.kundeng.us/phoenix/simodels/pulls/6
This commit was merged in pull request #6.
This commit is contained in:
phoenix committed 2026-09-18 17:58:29 -04:00
1 parent 94d97cb81d
commit e6ab0bcd83
3 files changed
+10 -2

No files matched your search

+8
View File
@@ -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 {