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