Module dev
Source pub use super::Database;pub use super::errors::*;
- errors
- represents all the ways a trait can fail using this crate
- ops
- meta operations like migration and connecting to a database
- prelude
- useful imports for users working with a supported database
- tests
- Test utilities
- AddNotification
- Data required to add notification
- Captcha
- Data representing a captcha
- CreateCaptcha
- data required to create new captcha
- CreatePerformanceAnalytics
- Log Proof-of-Work CAPTCHA performance analytics
- EasyCaptcha
- Represents Easy captcha configuration
- Level
- Level struct that describes threshold-difficulty factor mapping
- NameHash
- type encapsulating username and hashed password of a user
- Notification
- Represents notification
- PerformanceAnalytics
- Proof-of-Work CAPTCHA performance analytics
- Register
- Data required to register a new user
- Secret
- datastructure representing a user’s secret
- StatsUnixTimestamp
- Captcha statistics with time recorded in UNIX epoch formats
- TrafficPattern
- User’s traffic pattern; used in generating a captcha configuration
- UpdateEmail
- data required to update them email of a user
- DBError
- Error data structure grouping various error subtypes
- Error
- Represents all the ways a method can fail within SQLx.
- Login
- types of credentials used as identifiers during login
- CloneSPDatabase
- Trait to clone MCDatabase
- Connect
- Create database connection
- DBOps
- Database operations trait(migrations, pool creation and fetching connection from pool)
- GetConnection
- Get database connection
- MCDatabase
- mCaptcha’s database requirements. To implement support for $Database, kindly implement this
trait.
- Migrate
- database migrations
- BoxDynError
- Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
- async_trait