()
| 91 | |
| 92 | impl Default for SessionTime { |
| 93 | fn default() -> Self { |
| 94 | let now = Utc::now().timestamp_millis(); |
| 95 | Self { |
| 96 | created: now, |
| 97 | updated: now, |
| 98 | compacting: None, |
| 99 | archived: None, |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | /// Usage statistics for a session |