Struct db_sqlx_sqlite::prelude::UpdateUsernamePayload[][src]

pub struct UpdateUsernamePayload<'a> {
    pub old_username: &'a str,
    pub new_username: &'a str,
}
Expand description

payload to update a username in database

Fields

old_username: &'a str

old usename

new_username: &'a str

new username

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.