user: added updated_at method
This commit is contained in:
parent
4454838d2d
commit
800705e134
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue