new laptop setup
This commit is contained in:
Executable
Executable
+7
@@ -0,0 +1,7 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct Login {
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
}
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
pub mod login;
|
||||
pub mod new_user;
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct NewUserSchema {
|
||||
pub name: String,
|
||||
pub email: String,
|
||||
pub password: String,
|
||||
}
|
||||
Reference in New Issue
Block a user