Struct db_sqlx_postgres::prelude::dev::EmailRegisterPayload [−][src]
pub struct EmailRegisterPayload<'a> {
pub username: &'a str,
pub password: &'a str,
pub email: &'a str,
pub secret: &'a str,
}Expand description
payload to register a user with username and email
Fields
username: &'a strusername of new user
password: &'a strpassword of new user
email: &'a strpassword of new user
secret: &'a stra randomly generated secret associated with an account