ServiceUser #8

Merged
phoenix merged 4 commits from service_user into v0.3.0-migrate 2026-05-29 10:02:51 -04:00
Showing only changes of commit 7e5758d0c9 - Show all commits
+4 -4
View File
@@ -20,10 +20,10 @@ pub struct User {
pub struct ServiceUser {
pub id: uuid::Uuid,
// TODO: Remove the omitempty tags at a later point
pub username: String,
pub passphrase: String,
pub created: Option<time::OffsetDateTime>,
pub username: String,
pub passphrase: String,
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>,
pub last_login: Option<time::OffsetDateTime>,
}