user: added updated_at method

This commit is contained in:
Philippe Loctaux 2023-04-15 11:02:03 +02:00
parent 4454838d2d
commit 800705e134

View file

@ -47,4 +47,7 @@ impl User {
pub fn timezone(&self) -> &str { pub fn timezone(&self) -> &str {
&self.timezone &self.timezone
} }
pub fn updated_at(&self) -> DateTime<Utc> {
self.updated_at
}
} }