model: remove CreateUserRequest
This commit is contained in:
committed by
nitnelave
parent
0dd05e5771
commit
0bcabc7d0c
@@ -92,16 +92,6 @@ impl Default for User {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Default)]
|
||||
pub struct CreateUserRequest {
|
||||
// Same fields as User, but no creation_date, and with password.
|
||||
pub user_id: String,
|
||||
pub email: String,
|
||||
pub display_name: Option<String>,
|
||||
pub first_name: Option<String>,
|
||||
pub last_name: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Default)]
|
||||
pub struct DeleteUserRequest {
|
||||
pub user_id: String,
|
||||
|
||||
Reference in New Issue
Block a user