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: #6
This commit was merged in pull request #6.
This commit is contained in:
2026-09-18 17:58:29 -04:00
parent 94d97cb81d
commit e6ab0bcd83
3 changed files with 10 additions and 2 deletions
Generated
+1 -1
View File
@@ -478,7 +478,7 @@ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
[[package]]
name = "simodels"
version = "0.11.5"
version = "0.11.6"
dependencies = [
"josekit",
"rand",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "simodels"
version = "0.11.5"
version = "0.11.6"
edition = "2024"
rust-version = "1.95"
description = "models used for the soaricarus project"
+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 {