1 2 3 4 5 6 7 8 9 10
use time::OffsetDateTime; use uuid::Uuid; #[derive(Debug, Clone)] pub struct User { pub id: Uuid, pub username: String, pub password_hash: String, pub created_at: Option<OffsetDateTime>, }