Struct db_sqlx_sqlite::Database[][src]

pub struct Database {
    pub pool: SqlitePool,
}

Fields

pool: SqlitePool

Trait Implementations

login with email as user-identifier

login with username as user-identifier

username and email is available during registration

register with username

Update email of specified user in database

Update password of specified user in database

check if an email exists in the database

delete account from database

check if a username exists in the database

update username in database

update secret in database

update secret in database

database specific error-type run migrations Read more

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.