From fc4c691fbf2bbc85ea293c88d5cc75cbc136cd05 Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 29 May 2026 10:00:40 -0400 Subject: [PATCH] Added serde macro --- src/user/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/user/mod.rs b/src/user/mod.rs index 463efdf..8d8c934 100644 --- a/src/user/mod.rs +++ b/src/user/mod.rs @@ -21,6 +21,7 @@ pub struct ServiceUser { pub id: uuid::Uuid, pub username: String, pub passphrase: String, + #[serde(with = "time::serde::rfc3339::option")] pub created: Option, // When serializing to json, if empty do not populate #[serde(with = "time::serde::rfc3339::option")]