V0.3.0 #21

Merged
phoenix merged 20 commits from v0.3.0-migrate into main 2026-06-07 14:54:19 -04:00
Showing only changes of commit a8e173d831 - Show all commits
+12
View File
@@ -15,3 +15,15 @@ pub struct User {
#[serde(with = "time::serde::rfc3339::option")]
pub last_login: Option<time::OffsetDateTime>,
}
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct ServiceUser {
pub id: uuid::Uuid,
pub username: String,
pub passphrase: String,
#[serde(with = "time::serde::rfc3339::option")]
pub created: Option<time::OffsetDateTime>,
// When serializing to json, if empty do not populate
#[serde(with = "time::serde::rfc3339::option")]
pub last_login: Option<time::OffsetDateTime>,
}