c742b75
1 2 3 4 5 6 7 8 9 10 11 12
use sqlx::FromRow; #[derive(Debug, FromRow)] pub struct DbUser { pub id: String, pub email: String, pub pref_name: String, pub pw_hash: String, pub last_login: chrono::NaiveDateTime }