Module db_sqlx_maria::dev
source · Re-exports
Modules
- useful imports for supporting a new database
- represents all the ways a trait can fail using this crate
- meta operations like migration and connecting to a database
- useful imports for users working with a supported database
- Test utilities
Structs
- Data required to add notification
- Data representing a captcha
- data required to create new captcha
- Log Proof-of-Work CAPTCHA performance analytics
- Level struct that describes threshold-difficulty factor mapping
- type encapsulating username and hashed password of a user
- Represents notification
- Proof-of-Work CAPTCHA performance analytics
- Data required to register a new user
- datastructure representing a user’s secret
- Captcha statistics with time recorded in UNIX epoch formats
- User’s traffic pattern; used in generating a captcha configuration
- data required to update them email of a user
Enums
- Error data structure grouping various error subtypes
- Represents all the ways a method can fail within SQLx.
- types of credentials used as identifiers during login
Traits
- Trait to clone MCDatabase
- Create database connection
- Database operations trait(migrations, pool creation and fetching connection from pool)
- Get database connection
- mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.
- database migrations
Type Definitions
- Convenience type alias for grouping driver-specific errors
- Generic result data structure