diff --git a/src/lib.rs b/src/lib.rs index 6e10ff9..7bd606c 100644 --- a/src/lib.rs +++ b/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)]