got nested routing working
This commit is contained in:
1
src/structs/mod.rs
Normal file
1
src/structs/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod users;
|
||||
9
src/structs/users.rs
Normal file
9
src/structs/users.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
pub struct User {
|
||||
pub id: uuid::Uuid,
|
||||
pub real_name: String,
|
||||
pub username: String,
|
||||
pub email: String,
|
||||
pub password_hash: String,
|
||||
pub is_admin: bool,
|
||||
pub created_at: chrono::NaiveDateTime,
|
||||
}
|
||||
Reference in New Issue
Block a user