Struct db_sqlx_postgres::prelude::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 str

username of new user

password: &'a str

password of new user

email: &'a str

password of new user

secret: &'a str

a randomly generated secret associated with an account

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.