fix: forgot to make fields public
This commit is contained in:
parent
f4e9ece04c
commit
3a6325c722
1 changed files with 6 additions and 6 deletions
12
src/lib.rs
12
src/lib.rs
|
@ -10,12 +10,12 @@ use tide::prelude::*;
|
|||
|
||||
#[derive(Debug, Deserialize, Serialize, sqlx::FromRow)]
|
||||
pub struct AccountsNew {
|
||||
mail: String,
|
||||
auth_code: String,
|
||||
date_iso: String,
|
||||
date_expiry: String,
|
||||
name_first: String,
|
||||
name_surname: String,
|
||||
pub mail: String,
|
||||
pub auth_code: String,
|
||||
pub date_iso: String,
|
||||
pub date_expiry: String,
|
||||
pub name_first: String,
|
||||
pub name_surname: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize, sqlx::FromRow)]
|
||||
|
|
Loading…
Reference in a new issue