pub enum DBError {
+DBError in db_sqlx_maria::dev - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-Trait Implementations§
Source§impl Error for DBError
impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for DBError
impl !RefUnwindSafe for DBError
impl Send for DBError
impl Sync for DBError
impl Unpin for DBError
impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for DBError
impl !RefUnwindSafe for DBError
impl Send for DBError
impl Sync for DBError
impl Unpin for DBError
impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> From<T> for T
impl<T> From<T> for T
Source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/enum.Login.html b/db_sqlx_maria/dev/enum.Login.html index f3887aed..412eecd5 100644 --- a/db_sqlx_maria/dev/enum.Login.html +++ b/db_sqlx_maria/dev/enum.Login.html @@ -1,19 +1,19 @@ -pub enum Login<'a> {
+Login in db_sqlx_maria::dev - Rust Enum Login
pub enum Login<'a> {
Username(&'a str),
Email(&'a str),
}
Expand description
types of credentials used as identifiers during login
Variants§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Login<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Login<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Login<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
impl<'a> Freeze for Login<'a>
impl<'a> RefUnwindSafe for Login<'a>
impl<'a> Send for Login<'a>
impl<'a> Sync for Login<'a>
impl<'a> Unpin for Login<'a>
impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html
index cf4f88be..1561a263 100644
--- a/db_sqlx_maria/dev/errors/enum.DBError.html
+++ b/db_sqlx_maria/dev/errors/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::errors - Rust pub enum DBError {
+DBError in db_sqlx_maria::dev::errors - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
Source§impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/errors/index.html b/db_sqlx_maria/dev/errors/index.html
index 5151a3ae..d73b81f8 100644
--- a/db_sqlx_maria/dev/errors/index.html
+++ b/db_sqlx_maria/dev/errors/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::errors - Rust Expand description
represents all the ways a trait can fail using this crate
+db_sqlx_maria::dev::errors - Rust Module errors
Expand description
represents all the ways a trait can fail using this crate
Enums§
- DBError
- Error data structure grouping various error subtypes
Type Aliases§
- BoxDyn
Error - Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/errors/type.BoxDynError.html
index 99660057..a17233d6 100644
--- a/db_sqlx_maria/dev/errors/type.BoxDynError.html
+++ b/db_sqlx_maria/dev/errors/type.BoxDynError.html
@@ -1,2 +1,2 @@
-BoxDynError in db_sqlx_maria::dev::errors - Rust pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description
Convenience type alias for grouping driver-specific errors
+BoxDynError in db_sqlx_maria::dev::errors - Rust
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/errors/type.DBResult.html
index 5c6b9e67..9f27af9d 100644
--- a/db_sqlx_maria/dev/errors/type.DBResult.html
+++ b/db_sqlx_maria/dev/errors/type.DBResult.html
@@ -1,4 +1,4 @@
-DBResult in db_sqlx_maria::dev::errors - Rust pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
+DBResult in db_sqlx_maria::dev::errors - Rust Type Alias DBResult
pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
Aliased Type§
pub enum DBResult<V> {
Ok(V),
Err(DBError),
diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html
index 4b8fcd15..caf43493 100644
--- a/db_sqlx_maria/dev/ops/index.html
+++ b/db_sqlx_maria/dev/ops/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::ops - Rust Expand description
meta operations like migration and connecting to a database
+db_sqlx_maria::dev::ops - Rust Module ops
Expand description
meta operations like migration and connecting to a database
Traits§
- Connect
- Create database connection
- DBOps
- Database operations trait(migrations, pool creation and fetching connection from pool)
- GetConnection
- Get database connection
- Migrate
- database migrations
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html
index ea2b4c35..a9e16f50 100644
--- a/db_sqlx_maria/dev/ops/trait.Connect.html
+++ b/db_sqlx_maria/dev/ops/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::ops - Rust pub trait Connect {
+Connect in db_sqlx_maria::dev::ops - Rust Trait Connect
pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
Sourcetype Pool: MCDatabase
database specific pool-type
-Required Methods§
Required Associated Types§
type Pool: MCDatabase
database specific pool-type
+Required Methods§
fn connect<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html
index 6d194b76..dfaddb4d 100644
--- a/db_sqlx_maria/dev/ops/trait.DBOps.html
+++ b/db_sqlx_maria/dev/ops/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::ops - Rust pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::ops - Rust Trait DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html
index 0e8dd048..483c6048 100644
--- a/db_sqlx_maria/dev/ops/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::ops - Rust pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::ops - Rust Trait GetConnection
pub trait GetConnection {
type Conn;
// Required method
@@ -8,8 +8,8 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
-Required Associated Types§
Required Methods§
Required Associated Types§
type Conn
database connection type
+Required Methods§
fn get_conn<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html
index 9d54d2e6..b948181e 100644
--- a/db_sqlx_maria/dev/ops/trait.Migrate.html
+++ b/db_sqlx_maria/dev/ops/trait.Migrate.html
@@ -1,4 +1,4 @@
-Migrate in db_sqlx_maria::dev::ops - Rust pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::ops - Rust Trait Migrate
pub trait Migrate: MCDatabase {
// Required method
fn migrate<'life0, 'async_trait>(
&'life0 self,
@@ -6,7 +6,7 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
database migrations
-Required Methods§
Required Methods§
fn migrate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
index e4bec176..a736cc65 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::prelude::dev - Rust pub enum DBError {
+DBError in db_sqlx_maria::dev::prelude::dev - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
Source§impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.Login.html b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
index 1389063c..ce81bfed 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
@@ -1,19 +1,19 @@
-Login in db_sqlx_maria::dev::prelude::dev - Rust pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude::dev - Rust Enum Login
pub enum Login<'a> {
Username(&'a str),
Email(&'a str),
}
Expand description
types of credentials used as identifiers during login
Variants§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Login<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Login<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Login<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html
index b8d2bf45..b7d8085e 100644
--- a/db_sqlx_maria/dev/prelude/dev/index.html
+++ b/db_sqlx_maria/dev/prelude/dev/index.html
@@ -1,3 +1,3 @@
-db_sqlx_maria::dev::prelude::dev - Rust Expand description
useful imports for supporting a new database
+db_sqlx_maria::dev::prelude::dev - Rust Module dev
Expand description
useful imports for supporting a new database
Structs§
- AddNotification
- Data required to add notification
- Captcha
- Data representing a captcha
- Create
Captcha - data required to create new captcha
- Create
PerformanceAnalytics - Log Proof-of-Work CAPTCHA performance analytics
- Easy
Captcha - Represents Easy captcha configuration
- Level
- Level struct that describes threshold-difficulty factor mapping
- Name
Hash - type encapsulating username and hashed password of a user
- Notification
- Represents notification
- Performance
Analytics - Proof-of-Work CAPTCHA performance analytics
- Register
- Data required to register a new user
- Secret
- datastructure representing a user’s secret
- Stats
UnixTimestamp - Captcha statistics with time recorded in UNIX epoch formats
- Traffic
Pattern - User’s traffic pattern; used in generating a captcha configuration
- Update
Email - data required to update them email of a user
Enums§
- DBError
- Error data structure grouping various error subtypes
- Login
- types of credentials used as identifiers during login
Traits§
- CloneSP
Database - 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
Type Aliases§
- BoxDyn
Error - Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
Attribute Macros§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
index 90723e1a..fe725b18 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev::prelude::dev - Rust pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude::dev - Rust Struct AddNotification
pub struct AddNotification<'a> {
pub to: &'a str,
pub from: &'a str,
pub heading: &'a str,
@@ -8,16 +8,16 @@
§from: &'a strnotification sender
§heading: &'a strheading of the notification
§message: &'a strmessage of the notification
-Trait Implementations§
Source§impl<'a> Clone for AddNotification<'a>
Source§fn clone(&self) -> AddNotification<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for AddNotification<'a>
Source§impl<'a> Default for AddNotification<'a>
Source§fn default() -> AddNotification<'a>
Returns the “default value” for a type. Read moreSource§impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for AddNotification<'a>
§fn clone(&self) -> AddNotification<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for AddNotification<'a>
§impl<'a> Default for AddNotification<'a>
§fn default() -> AddNotification<'a>
Returns the “default value” for a type. Read more§impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for AddNotification<'a>
Source§impl<'a> Serialize for AddNotification<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for AddNotification<'a>
§impl<'a> Serialize for AddNotification<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§impl<'a> Freeze for AddNotification<'a>
§impl<'a> RefUnwindSafe for AddNotification<'a>
§impl<'a> Send for AddNotification<'a>
§impl<'a> Sync for AddNotification<'a>
§impl<'a> Unpin for AddNotification<'a>
§impl<'a> UnwindSafe for AddNotification<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§impl<'a> Freeze for AddNotification<'a>
§impl<'a> RefUnwindSafe for AddNotification<'a>
§impl<'a> Send for AddNotification<'a>
§impl<'a> Sync for AddNotification<'a>
§impl<'a> Unpin for AddNotification<'a>
§impl<'a> UnwindSafe for AddNotification<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
index 5fd17971..a4642a4a 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude::dev - Rust Struct Captcha
pub struct Captcha {
pub config_id: i32,
pub duration: i32,
pub description: String,
@@ -8,15 +8,15 @@
§duration: i32cool down duration
§description: Stringdescription of the captcha
§key: Stringsecret key of the captcha
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Captcha
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for Captcha
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for Captcha
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl Freeze for Captcha
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl Freeze for Captcha
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
index cffa7964..0f9480fc 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct CreateCaptcha
pub struct CreateCaptcha<'a> {
pub duration: i32,
pub description: &'a str,
pub key: &'a str,
@@ -6,16 +6,16 @@
Fields§
§duration: i32cool down duration
§description: &'a strdescription of the captcha
§key: &'a strsecret key of the captcha
-Trait Implementations§
Source§impl<'a> Clone for CreateCaptcha<'a>
Source§fn clone(&self) -> CreateCaptcha<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for CreateCaptcha<'a>
Source§impl<'a> Default for CreateCaptcha<'a>
Source§fn default() -> CreateCaptcha<'a>
Returns the “default value” for a type. Read moreSource§impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for CreateCaptcha<'a>
§fn clone(&self) -> CreateCaptcha<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for CreateCaptcha<'a>
§impl<'a> Default for CreateCaptcha<'a>
§fn default() -> CreateCaptcha<'a>
Returns the “default value” for a type. Read more§impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for CreateCaptcha<'a>
Source§impl<'a> Serialize for CreateCaptcha<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for CreateCaptcha<'a>
§impl<'a> Serialize for CreateCaptcha<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§impl<'a> Freeze for CreateCaptcha<'a>
§impl<'a> RefUnwindSafe for CreateCaptcha<'a>
§impl<'a> Send for CreateCaptcha<'a>
§impl<'a> Sync for CreateCaptcha<'a>
§impl<'a> Unpin for CreateCaptcha<'a>
§impl<'a> UnwindSafe for CreateCaptcha<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§impl<'a> Freeze for CreateCaptcha<'a>
§impl<'a> RefUnwindSafe for CreateCaptcha<'a>
§impl<'a> Send for CreateCaptcha<'a>
§impl<'a> Sync for CreateCaptcha<'a>
§impl<'a> Unpin for CreateCaptcha<'a>
§impl<'a> UnwindSafe for CreateCaptcha<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
index c67adecb..70256f60 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
@@ -1,4 +1,4 @@
-CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct CreatePerformanceAnalytics
pub struct CreatePerformanceAnalytics {
pub time: u32,
pub difficulty_factor: u32,
pub worker_type: String,
@@ -6,15 +6,15 @@
Fields§
§time: u32time taken to generate proof
§difficulty_factor: u32difficulty factor for which the proof was generated
§worker_type: Stringworker/client type: wasm, javascript, python, etc.
-Trait Implementations§
Source§impl Clone for CreatePerformanceAnalytics
Source§fn clone(&self) -> CreatePerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for CreatePerformanceAnalytics
Source§impl Default for CreatePerformanceAnalytics
Source§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for CreatePerformanceAnalytics
§fn clone(&self) -> CreatePerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for CreatePerformanceAnalytics
§impl Default for CreatePerformanceAnalytics
§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CreatePerformanceAnalytics
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for CreatePerformanceAnalytics
§impl Serialize for CreatePerformanceAnalytics
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for CreatePerformanceAnalytics
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for CreatePerformanceAnalytics
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
index ae969e97..3fa4b758 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
@@ -1,4 +1,4 @@
-EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct EasyCaptcha {
+EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct EasyCaptcha
pub struct EasyCaptcha {
pub traffic_pattern: TrafficPattern,
pub key: String,
pub description: String,
@@ -8,15 +8,15 @@
§key: Stringcaptcha key/sitekey
§description: Stringcaptcha description
§username: StringOwner of the captcha configuration
-Trait Implementations§
Source§impl Clone for EasyCaptcha
Source§fn clone(&self) -> EasyCaptcha
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for EasyCaptcha
Source§impl Default for EasyCaptcha
Source§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for EasyCaptcha
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for EasyCaptcha
§fn clone(&self) -> EasyCaptcha
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for EasyCaptcha
§impl Default for EasyCaptcha
§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for EasyCaptcha
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EasyCaptcha, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for EasyCaptcha
Source§impl Serialize for EasyCaptcha
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for EasyCaptcha
§impl Serialize for EasyCaptcha
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl Freeze for EasyCaptcha
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl Freeze for EasyCaptcha
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
index c66e0a22..bf1a60a3 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
@@ -1,18 +1,18 @@
-NameHash in db_sqlx_maria::dev::prelude::dev - Rust pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude::dev - Rust Struct NameHash
pub struct NameHash {
pub username: String,
pub hash: String,
}
Expand description
type encapsulating username and hashed password of a user
Fields§
§username: Stringusername
§hash: Stringhashed password
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for NameHash
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for NameHash
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for NameHash
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl Freeze for NameHash
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl Freeze for NameHash
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
index 6e699a64..469c8bc1 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
@@ -1,4 +1,4 @@
-Notification in db_sqlx_maria::dev::prelude::dev - Rust pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude::dev - Rust Struct Notification
pub struct Notification {
pub name: Option<String>,
pub heading: Option<String>,
pub message: Option<String>,
@@ -10,15 +10,15 @@
§message: Option<String>message of the notification
§received: Option<i64>when notification was received
§id: Option<i32>db assigned ID of the notification
-Trait Implementations§
Source§impl Clone for Notification
Source§fn clone(&self) -> Notification
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for Notification
Source§impl Default for Notification
Source§fn default() -> Notification
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for Notification
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for Notification
§fn clone(&self) -> Notification
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for Notification
§impl Default for Notification
§fn default() -> Notification
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for Notification
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Notification, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<InnerNotification> for Notification
Source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.Source§impl PartialEq for Notification
Source§impl Serialize for Notification
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<InnerNotification> for Notification
Source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.§impl PartialEq for Notification
§impl Serialize for Notification
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl Freeze for Notification
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl Freeze for Notification
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
index 4a6ce802..44e80cab 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
@@ -1,4 +1,4 @@
-PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct PerformanceAnalytics
pub struct PerformanceAnalytics {
pub id: usize,
pub time: u32,
pub difficulty_factor: u32,
@@ -8,15 +8,15 @@
§time: u32time taken to generate proof
§difficulty_factor: u32difficulty factor for which the proof was generated
§worker_type: Stringworker/client type: wasm, javascript, python, etc.
-Trait Implementations§
Source§impl Clone for PerformanceAnalytics
Source§fn clone(&self) -> PerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for PerformanceAnalytics
Source§impl Default for PerformanceAnalytics
Source§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for PerformanceAnalytics
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for PerformanceAnalytics
§fn clone(&self) -> PerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for PerformanceAnalytics
§impl Default for PerformanceAnalytics
§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for PerformanceAnalytics
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for PerformanceAnalytics
Source§impl Serialize for PerformanceAnalytics
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for PerformanceAnalytics
§impl Serialize for PerformanceAnalytics
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for PerformanceAnalytics
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for PerformanceAnalytics
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
index 568ddaa2..456a36d6 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
@@ -1,4 +1,4 @@
-Register in db_sqlx_maria::dev::prelude::dev - Rust pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude::dev - Rust Struct Register
pub struct Register<'a> {
pub username: &'a str,
pub secret: &'a str,
pub hash: &'a str,
@@ -8,16 +8,16 @@
§secret: &'a strsecret of new user
§hash: &'a strhashed password of new use
§email: Option<&'a str>Optionally, email of new use
-Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Register<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Register<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Register<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Register<'a>
§impl<'a> RefUnwindSafe for Register<'a>
§impl<'a> Send for Register<'a>
§impl<'a> Sync for Register<'a>
§impl<'a> Unpin for Register<'a>
§impl<'a> UnwindSafe for Register<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Register<'a>
§impl<'a> RefUnwindSafe for Register<'a>
§impl<'a> Send for Register<'a>
§impl<'a> Sync for Register<'a>
§impl<'a> Unpin for Register<'a>
§impl<'a> UnwindSafe for Register<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
index 047c3bb2..7f404f3a 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
@@ -1,16 +1,16 @@
-Secret in db_sqlx_maria::dev::prelude::dev - Rust pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude::dev - Rust Struct Secret
pub struct Secret {
pub secret: String,
}
Expand description
datastructure representing a user’s secret
Fields§
§secret: Stringuser’s secret
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Secret
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for Secret
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Secret, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for Secret
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl Freeze for Secret
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl Freeze for Secret
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
index c027b410..204698da 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
@@ -1,4 +1,4 @@
-StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust Struct StatsUnixTimestamp
pub struct StatsUnixTimestamp {
pub config_fetches: Vec<i64>,
pub solves: Vec<i64>,
pub confirms: Vec<i64>,
@@ -6,15 +6,15 @@
Fields§
§config_fetches: Vec<i64>times at which the configuration were fetched
§solves: Vec<i64>times at which the PoW was solved
§confirms: Vec<i64>times at which the PoW token was verified
-Trait Implementations§
Source§impl Clone for StatsUnixTimestamp
Source§fn clone(&self) -> StatsUnixTimestamp
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for StatsUnixTimestamp
Source§impl Default for StatsUnixTimestamp
Source§fn default() -> StatsUnixTimestamp
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for StatsUnixTimestamp
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for StatsUnixTimestamp
§fn clone(&self) -> StatsUnixTimestamp
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for StatsUnixTimestamp
§impl Default for StatsUnixTimestamp
§fn default() -> StatsUnixTimestamp
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for StatsUnixTimestamp
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for StatsUnixTimestamp
Source§impl Serialize for StatsUnixTimestamp
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for StatsUnixTimestamp
§impl Serialize for StatsUnixTimestamp
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl Freeze for StatsUnixTimestamp
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl Freeze for StatsUnixTimestamp
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
index 6b8999ca..4e5368c8 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
@@ -1,4 +1,4 @@
-TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust Struct TrafficPattern
pub struct TrafficPattern {
pub avg_traffic: u32,
pub peak_sustainable_traffic: u32,
pub broke_my_site_traffic: Option<u32>,
@@ -6,15 +6,15 @@
Fields§
§avg_traffic: u32average traffic of user’s website
§peak_sustainable_traffic: u32the peak traffic that the user’s website can handle
§broke_my_site_traffic: Option<u32>traffic that bought the user’s website down; optional
-Trait Implementations§
Source§impl Clone for TrafficPattern
Source§fn clone(&self) -> TrafficPattern
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for TrafficPattern
Source§impl Default for TrafficPattern
Source§fn default() -> TrafficPattern
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for TrafficPattern
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for TrafficPattern
§fn clone(&self) -> TrafficPattern
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for TrafficPattern
§impl Default for TrafficPattern
§fn default() -> TrafficPattern
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TrafficPattern
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for TrafficPattern
Source§impl Serialize for TrafficPattern
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for TrafficPattern
§impl Serialize for TrafficPattern
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl Freeze for TrafficPattern
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl Freeze for TrafficPattern
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
index 3087bbae..18ad84ea 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
@@ -1,19 +1,19 @@
-UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust Struct UpdateEmail
pub struct UpdateEmail<'a> {
pub username: &'a str,
pub new_email: &'a str,
}
Expand description
data required to update them email of a user
Fields§
§username: &'a strusername of the user
§new_email: &'a strnew email address of the user
-Trait Implementations§
Source§impl<'a> Clone for UpdateEmail<'a>
Source§fn clone(&self) -> UpdateEmail<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for UpdateEmail<'a>
Source§impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for UpdateEmail<'a>
§fn clone(&self) -> UpdateEmail<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for UpdateEmail<'a>
§impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for UpdateEmail<'a>
Source§impl<'a> Serialize for UpdateEmail<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for UpdateEmail<'a>
§impl<'a> Serialize for UpdateEmail<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations§
§impl<'a> Freeze for UpdateEmail<'a>
§impl<'a> RefUnwindSafe for UpdateEmail<'a>
§impl<'a> Send for UpdateEmail<'a>
§impl<'a> Sync for UpdateEmail<'a>
§impl<'a> Unpin for UpdateEmail<'a>
§impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations§
§impl<'a> Freeze for UpdateEmail<'a>
§impl<'a> RefUnwindSafe for UpdateEmail<'a>
§impl<'a> Send for UpdateEmail<'a>
§impl<'a> Sync for UpdateEmail<'a>
§impl<'a> Unpin for UpdateEmail<'a>
§impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
index 04308d54..c1b809db 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
@@ -1,7 +1,7 @@
-CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust Trait CloneSPDatabase
pub trait CloneSPDatabase {
// Required method
fn clone_db(&self) -> Box<dyn MCDatabase>;
}
Expand description
Trait to clone MCDatabase
-Required Methods§
Sourcefn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
-Implementors§
Source§impl<T> CloneSPDatabase for Twhere
+Required Methods§
fn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
+Implementors§
§impl<T> CloneSPDatabase for Twhere
T: MCDatabase + Clone + 'static,
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
index 0c786a12..15ada426 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::prelude::dev - Rust pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude::dev - Rust Trait Connect
pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
Sourcetype Pool: MCDatabase
database specific pool-type
-Required Methods§
Required Associated Types§
type Pool: MCDatabase
database specific pool-type
+Required Methods§
fn connect<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
index be205aa5..a9b4a8e9 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::prelude::dev - Rust pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::prelude::dev - Rust Trait DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
index da93e260..7034a805 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::prelude::dev - Rust pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude::dev - Rust Trait GetConnection
pub trait GetConnection {
type Conn;
// Required method
@@ -8,8 +8,8 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
-Required Associated Types§
Required Methods§
Required Associated Types§
type Conn
database connection type
+Required Methods§
fn get_conn<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
index bffc38b0..cf7867cf 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
@@ -1,4 +1,4 @@
-MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust
impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html
index cf4f88be..1561a263 100644
--- a/db_sqlx_maria/dev/errors/enum.DBError.html
+++ b/db_sqlx_maria/dev/errors/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::errors - Rust pub enum DBError {
+DBError in db_sqlx_maria::dev::errors - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
Source§impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/errors/index.html b/db_sqlx_maria/dev/errors/index.html
index 5151a3ae..d73b81f8 100644
--- a/db_sqlx_maria/dev/errors/index.html
+++ b/db_sqlx_maria/dev/errors/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::errors - Rust Expand description
represents all the ways a trait can fail using this crate
+db_sqlx_maria::dev::errors - Rust Module errors
Expand description
represents all the ways a trait can fail using this crate
Enums§
- DBError
- Error data structure grouping various error subtypes
Type Aliases§
- BoxDyn
Error - Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/errors/type.BoxDynError.html
index 99660057..a17233d6 100644
--- a/db_sqlx_maria/dev/errors/type.BoxDynError.html
+++ b/db_sqlx_maria/dev/errors/type.BoxDynError.html
@@ -1,2 +1,2 @@
-BoxDynError in db_sqlx_maria::dev::errors - Rust pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description
Convenience type alias for grouping driver-specific errors
+BoxDynError in db_sqlx_maria::dev::errors - Rust
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/errors/type.DBResult.html
index 5c6b9e67..9f27af9d 100644
--- a/db_sqlx_maria/dev/errors/type.DBResult.html
+++ b/db_sqlx_maria/dev/errors/type.DBResult.html
@@ -1,4 +1,4 @@
-DBResult in db_sqlx_maria::dev::errors - Rust pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
+DBResult in db_sqlx_maria::dev::errors - Rust Type Alias DBResult
pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
Aliased Type§
pub enum DBResult<V> {
Ok(V),
Err(DBError),
diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html
index 4b8fcd15..caf43493 100644
--- a/db_sqlx_maria/dev/ops/index.html
+++ b/db_sqlx_maria/dev/ops/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::ops - Rust Expand description
meta operations like migration and connecting to a database
+db_sqlx_maria::dev::ops - Rust Module ops
Expand description
meta operations like migration and connecting to a database
Traits§
- Connect
- Create database connection
- DBOps
- Database operations trait(migrations, pool creation and fetching connection from pool)
- GetConnection
- Get database connection
- Migrate
- database migrations
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html
index ea2b4c35..a9e16f50 100644
--- a/db_sqlx_maria/dev/ops/trait.Connect.html
+++ b/db_sqlx_maria/dev/ops/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::ops - Rust pub trait Connect {
+Connect in db_sqlx_maria::dev::ops - Rust Trait Connect
pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
Sourcetype Pool: MCDatabase
database specific pool-type
-Required Methods§
Required Associated Types§
type Pool: MCDatabase
database specific pool-type
+Required Methods§
fn connect<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html
index 6d194b76..dfaddb4d 100644
--- a/db_sqlx_maria/dev/ops/trait.DBOps.html
+++ b/db_sqlx_maria/dev/ops/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::ops - Rust pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::ops - Rust Trait DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html
index 0e8dd048..483c6048 100644
--- a/db_sqlx_maria/dev/ops/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::ops - Rust pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::ops - Rust Trait GetConnection
pub trait GetConnection {
type Conn;
// Required method
@@ -8,8 +8,8 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
-Required Associated Types§
Required Methods§
Required Associated Types§
type Conn
database connection type
+Required Methods§
fn get_conn<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html
index 9d54d2e6..b948181e 100644
--- a/db_sqlx_maria/dev/ops/trait.Migrate.html
+++ b/db_sqlx_maria/dev/ops/trait.Migrate.html
@@ -1,4 +1,4 @@
-Migrate in db_sqlx_maria::dev::ops - Rust pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::ops - Rust Trait Migrate
pub trait Migrate: MCDatabase {
// Required method
fn migrate<'life0, 'async_trait>(
&'life0 self,
@@ -6,7 +6,7 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
database migrations
-Required Methods§
Required Methods§
fn migrate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
index e4bec176..a736cc65 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::prelude::dev - Rust pub enum DBError {
+DBError in db_sqlx_maria::dev::prelude::dev - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
Source§impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.Login.html b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
index 1389063c..ce81bfed 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
@@ -1,19 +1,19 @@
-Login in db_sqlx_maria::dev::prelude::dev - Rust pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude::dev - Rust Enum Login
pub enum Login<'a> {
Username(&'a str),
Email(&'a str),
}
Expand description
types of credentials used as identifiers during login
Variants§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Login<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Login<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Login<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html
index b8d2bf45..b7d8085e 100644
--- a/db_sqlx_maria/dev/prelude/dev/index.html
+++ b/db_sqlx_maria/dev/prelude/dev/index.html
@@ -1,3 +1,3 @@
-db_sqlx_maria::dev::prelude::dev - Rust Expand description
useful imports for supporting a new database
+db_sqlx_maria::dev::prelude::dev - Rust Module dev
Expand description
useful imports for supporting a new database
Structs§
- AddNotification
- Data required to add notification
- Captcha
- Data representing a captcha
- Create
Captcha - data required to create new captcha
- Create
PerformanceAnalytics - Log Proof-of-Work CAPTCHA performance analytics
- Easy
Captcha - Represents Easy captcha configuration
- Level
- Level struct that describes threshold-difficulty factor mapping
- Name
Hash - type encapsulating username and hashed password of a user
- Notification
- Represents notification
- Performance
Analytics - Proof-of-Work CAPTCHA performance analytics
- Register
- Data required to register a new user
- Secret
- datastructure representing a user’s secret
- Stats
UnixTimestamp - Captcha statistics with time recorded in UNIX epoch formats
- Traffic
Pattern - User’s traffic pattern; used in generating a captcha configuration
- Update
Email - data required to update them email of a user
Enums§
- DBError
- Error data structure grouping various error subtypes
- Login
- types of credentials used as identifiers during login
Traits§
- CloneSP
Database - 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
Type Aliases§
- BoxDyn
Error - Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
Attribute Macros§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
index 90723e1a..fe725b18 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev::prelude::dev - Rust pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude::dev - Rust Struct AddNotification
pub struct AddNotification<'a> {
pub to: &'a str,
pub from: &'a str,
pub heading: &'a str,
@@ -8,16 +8,16 @@
§from: &'a strnotification sender
§heading: &'a strheading of the notification
§message: &'a strmessage of the notification
-Trait Implementations§
Source§impl<'a> Clone for AddNotification<'a>
Source§fn clone(&self) -> AddNotification<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for AddNotification<'a>
Source§impl<'a> Default for AddNotification<'a>
Source§fn default() -> AddNotification<'a>
Returns the “default value” for a type. Read moreSource§impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for AddNotification<'a>
§fn clone(&self) -> AddNotification<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for AddNotification<'a>
§impl<'a> Default for AddNotification<'a>
§fn default() -> AddNotification<'a>
Returns the “default value” for a type. Read more§impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for AddNotification<'a>
Source§impl<'a> Serialize for AddNotification<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for AddNotification<'a>
§impl<'a> Serialize for AddNotification<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§impl<'a> Freeze for AddNotification<'a>
§impl<'a> RefUnwindSafe for AddNotification<'a>
§impl<'a> Send for AddNotification<'a>
§impl<'a> Sync for AddNotification<'a>
§impl<'a> Unpin for AddNotification<'a>
§impl<'a> UnwindSafe for AddNotification<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§impl<'a> Freeze for AddNotification<'a>
§impl<'a> RefUnwindSafe for AddNotification<'a>
§impl<'a> Send for AddNotification<'a>
§impl<'a> Sync for AddNotification<'a>
§impl<'a> Unpin for AddNotification<'a>
§impl<'a> UnwindSafe for AddNotification<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
index 5fd17971..a4642a4a 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude::dev - Rust Struct Captcha
pub struct Captcha {
pub config_id: i32,
pub duration: i32,
pub description: String,
@@ -8,15 +8,15 @@
§duration: i32cool down duration
§description: Stringdescription of the captcha
§key: Stringsecret key of the captcha
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Captcha
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for Captcha
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for Captcha
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl Freeze for Captcha
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl Freeze for Captcha
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
index cffa7964..0f9480fc 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct CreateCaptcha
pub struct CreateCaptcha<'a> {
pub duration: i32,
pub description: &'a str,
pub key: &'a str,
@@ -6,16 +6,16 @@
Fields§
§duration: i32cool down duration
§description: &'a strdescription of the captcha
§key: &'a strsecret key of the captcha
-Trait Implementations§
Source§impl<'a> Clone for CreateCaptcha<'a>
Source§fn clone(&self) -> CreateCaptcha<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for CreateCaptcha<'a>
Source§impl<'a> Default for CreateCaptcha<'a>
Source§fn default() -> CreateCaptcha<'a>
Returns the “default value” for a type. Read moreSource§impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for CreateCaptcha<'a>
§fn clone(&self) -> CreateCaptcha<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for CreateCaptcha<'a>
§impl<'a> Default for CreateCaptcha<'a>
§fn default() -> CreateCaptcha<'a>
Returns the “default value” for a type. Read more§impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for CreateCaptcha<'a>
Source§impl<'a> Serialize for CreateCaptcha<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for CreateCaptcha<'a>
§impl<'a> Serialize for CreateCaptcha<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§impl<'a> Freeze for CreateCaptcha<'a>
§impl<'a> RefUnwindSafe for CreateCaptcha<'a>
§impl<'a> Send for CreateCaptcha<'a>
§impl<'a> Sync for CreateCaptcha<'a>
§impl<'a> Unpin for CreateCaptcha<'a>
§impl<'a> UnwindSafe for CreateCaptcha<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§impl<'a> Freeze for CreateCaptcha<'a>
§impl<'a> RefUnwindSafe for CreateCaptcha<'a>
§impl<'a> Send for CreateCaptcha<'a>
§impl<'a> Sync for CreateCaptcha<'a>
§impl<'a> Unpin for CreateCaptcha<'a>
§impl<'a> UnwindSafe for CreateCaptcha<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
index c67adecb..70256f60 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
@@ -1,4 +1,4 @@
-CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct CreatePerformanceAnalytics
pub struct CreatePerformanceAnalytics {
pub time: u32,
pub difficulty_factor: u32,
pub worker_type: String,
@@ -6,15 +6,15 @@
Fields§
§time: u32time taken to generate proof
§difficulty_factor: u32difficulty factor for which the proof was generated
§worker_type: Stringworker/client type: wasm, javascript, python, etc.
-Trait Implementations§
Source§impl Clone for CreatePerformanceAnalytics
Source§fn clone(&self) -> CreatePerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for CreatePerformanceAnalytics
Source§impl Default for CreatePerformanceAnalytics
Source§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for CreatePerformanceAnalytics
§fn clone(&self) -> CreatePerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for CreatePerformanceAnalytics
§impl Default for CreatePerformanceAnalytics
§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CreatePerformanceAnalytics
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for CreatePerformanceAnalytics
§impl Serialize for CreatePerformanceAnalytics
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for CreatePerformanceAnalytics
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for CreatePerformanceAnalytics
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
index ae969e97..3fa4b758 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
@@ -1,4 +1,4 @@
-EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct EasyCaptcha {
+EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct EasyCaptcha
pub struct EasyCaptcha {
pub traffic_pattern: TrafficPattern,
pub key: String,
pub description: String,
@@ -8,15 +8,15 @@
§key: Stringcaptcha key/sitekey
§description: Stringcaptcha description
§username: StringOwner of the captcha configuration
-Trait Implementations§
Source§impl Clone for EasyCaptcha
Source§fn clone(&self) -> EasyCaptcha
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for EasyCaptcha
Source§impl Default for EasyCaptcha
Source§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for EasyCaptcha
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for EasyCaptcha
§fn clone(&self) -> EasyCaptcha
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for EasyCaptcha
§impl Default for EasyCaptcha
§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for EasyCaptcha
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EasyCaptcha, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for EasyCaptcha
Source§impl Serialize for EasyCaptcha
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for EasyCaptcha
§impl Serialize for EasyCaptcha
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl Freeze for EasyCaptcha
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl Freeze for EasyCaptcha
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
index c66e0a22..bf1a60a3 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
@@ -1,18 +1,18 @@
-NameHash in db_sqlx_maria::dev::prelude::dev - Rust pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude::dev - Rust Struct NameHash
pub struct NameHash {
pub username: String,
pub hash: String,
}
Expand description
type encapsulating username and hashed password of a user
Fields§
§username: Stringusername
§hash: Stringhashed password
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for NameHash
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for NameHash
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for NameHash
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl Freeze for NameHash
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl Freeze for NameHash
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
index 6e699a64..469c8bc1 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
@@ -1,4 +1,4 @@
-Notification in db_sqlx_maria::dev::prelude::dev - Rust pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude::dev - Rust Struct Notification
pub struct Notification {
pub name: Option<String>,
pub heading: Option<String>,
pub message: Option<String>,
@@ -10,15 +10,15 @@
§message: Option<String>message of the notification
§received: Option<i64>when notification was received
§id: Option<i32>db assigned ID of the notification
-Trait Implementations§
Source§impl Clone for Notification
Source§fn clone(&self) -> Notification
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for Notification
Source§impl Default for Notification
Source§fn default() -> Notification
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for Notification
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for Notification
§fn clone(&self) -> Notification
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for Notification
§impl Default for Notification
§fn default() -> Notification
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for Notification
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Notification, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<InnerNotification> for Notification
Source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.Source§impl PartialEq for Notification
Source§impl Serialize for Notification
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<InnerNotification> for Notification
Source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.§impl PartialEq for Notification
§impl Serialize for Notification
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl Freeze for Notification
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl Freeze for Notification
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
index 4a6ce802..44e80cab 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
@@ -1,4 +1,4 @@
-PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct PerformanceAnalytics
pub struct PerformanceAnalytics {
pub id: usize,
pub time: u32,
pub difficulty_factor: u32,
@@ -8,15 +8,15 @@
§time: u32time taken to generate proof
§difficulty_factor: u32difficulty factor for which the proof was generated
§worker_type: Stringworker/client type: wasm, javascript, python, etc.
-Trait Implementations§
Source§impl Clone for PerformanceAnalytics
Source§fn clone(&self) -> PerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for PerformanceAnalytics
Source§impl Default for PerformanceAnalytics
Source§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for PerformanceAnalytics
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for PerformanceAnalytics
§fn clone(&self) -> PerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for PerformanceAnalytics
§impl Default for PerformanceAnalytics
§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for PerformanceAnalytics
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for PerformanceAnalytics
Source§impl Serialize for PerformanceAnalytics
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for PerformanceAnalytics
§impl Serialize for PerformanceAnalytics
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for PerformanceAnalytics
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for PerformanceAnalytics
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
index 568ddaa2..456a36d6 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
@@ -1,4 +1,4 @@
-Register in db_sqlx_maria::dev::prelude::dev - Rust pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude::dev - Rust Struct Register
pub struct Register<'a> {
pub username: &'a str,
pub secret: &'a str,
pub hash: &'a str,
@@ -8,16 +8,16 @@
§secret: &'a strsecret of new user
§hash: &'a strhashed password of new use
§email: Option<&'a str>Optionally, email of new use
-Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Register<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Register<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Register<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Register<'a>
§impl<'a> RefUnwindSafe for Register<'a>
§impl<'a> Send for Register<'a>
§impl<'a> Sync for Register<'a>
§impl<'a> Unpin for Register<'a>
§impl<'a> UnwindSafe for Register<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Register<'a>
§impl<'a> RefUnwindSafe for Register<'a>
§impl<'a> Send for Register<'a>
§impl<'a> Sync for Register<'a>
§impl<'a> Unpin for Register<'a>
§impl<'a> UnwindSafe for Register<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
index 047c3bb2..7f404f3a 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
@@ -1,16 +1,16 @@
-Secret in db_sqlx_maria::dev::prelude::dev - Rust pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude::dev - Rust Struct Secret
pub struct Secret {
pub secret: String,
}
Expand description
datastructure representing a user’s secret
Fields§
§secret: Stringuser’s secret
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Secret
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for Secret
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Secret, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for Secret
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl Freeze for Secret
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl Freeze for Secret
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
index c027b410..204698da 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
@@ -1,4 +1,4 @@
-StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust Struct StatsUnixTimestamp
pub struct StatsUnixTimestamp {
pub config_fetches: Vec<i64>,
pub solves: Vec<i64>,
pub confirms: Vec<i64>,
@@ -6,15 +6,15 @@
Fields§
§config_fetches: Vec<i64>times at which the configuration were fetched
§solves: Vec<i64>times at which the PoW was solved
§confirms: Vec<i64>times at which the PoW token was verified
-Trait Implementations§
Source§impl Clone for StatsUnixTimestamp
Source§fn clone(&self) -> StatsUnixTimestamp
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for StatsUnixTimestamp
Source§impl Default for StatsUnixTimestamp
Source§fn default() -> StatsUnixTimestamp
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for StatsUnixTimestamp
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for StatsUnixTimestamp
§fn clone(&self) -> StatsUnixTimestamp
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for StatsUnixTimestamp
§impl Default for StatsUnixTimestamp
§fn default() -> StatsUnixTimestamp
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for StatsUnixTimestamp
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for StatsUnixTimestamp
Source§impl Serialize for StatsUnixTimestamp
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for StatsUnixTimestamp
§impl Serialize for StatsUnixTimestamp
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl Freeze for StatsUnixTimestamp
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl Freeze for StatsUnixTimestamp
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
index 6b8999ca..4e5368c8 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
@@ -1,4 +1,4 @@
-TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust Struct TrafficPattern
pub struct TrafficPattern {
pub avg_traffic: u32,
pub peak_sustainable_traffic: u32,
pub broke_my_site_traffic: Option<u32>,
@@ -6,15 +6,15 @@
Fields§
§avg_traffic: u32average traffic of user’s website
§peak_sustainable_traffic: u32the peak traffic that the user’s website can handle
§broke_my_site_traffic: Option<u32>traffic that bought the user’s website down; optional
-Trait Implementations§
Source§impl Clone for TrafficPattern
Source§fn clone(&self) -> TrafficPattern
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for TrafficPattern
Source§impl Default for TrafficPattern
Source§fn default() -> TrafficPattern
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for TrafficPattern
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for TrafficPattern
§fn clone(&self) -> TrafficPattern
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for TrafficPattern
§impl Default for TrafficPattern
§fn default() -> TrafficPattern
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TrafficPattern
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for TrafficPattern
Source§impl Serialize for TrafficPattern
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for TrafficPattern
§impl Serialize for TrafficPattern
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl Freeze for TrafficPattern
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl Freeze for TrafficPattern
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
index 3087bbae..18ad84ea 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
@@ -1,19 +1,19 @@
-UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust Struct UpdateEmail
pub struct UpdateEmail<'a> {
pub username: &'a str,
pub new_email: &'a str,
}
Expand description
data required to update them email of a user
Fields§
§username: &'a strusername of the user
§new_email: &'a strnew email address of the user
-Trait Implementations§
Source§impl<'a> Clone for UpdateEmail<'a>
Source§fn clone(&self) -> UpdateEmail<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for UpdateEmail<'a>
Source§impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for UpdateEmail<'a>
§fn clone(&self) -> UpdateEmail<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for UpdateEmail<'a>
§impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for UpdateEmail<'a>
Source§impl<'a> Serialize for UpdateEmail<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for UpdateEmail<'a>
§impl<'a> Serialize for UpdateEmail<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations§
§impl<'a> Freeze for UpdateEmail<'a>
§impl<'a> RefUnwindSafe for UpdateEmail<'a>
§impl<'a> Send for UpdateEmail<'a>
§impl<'a> Sync for UpdateEmail<'a>
§impl<'a> Unpin for UpdateEmail<'a>
§impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations§
§impl<'a> Freeze for UpdateEmail<'a>
§impl<'a> RefUnwindSafe for UpdateEmail<'a>
§impl<'a> Send for UpdateEmail<'a>
§impl<'a> Sync for UpdateEmail<'a>
§impl<'a> Unpin for UpdateEmail<'a>
§impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
index 04308d54..c1b809db 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
@@ -1,7 +1,7 @@
-CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust Trait CloneSPDatabase
pub trait CloneSPDatabase {
// Required method
fn clone_db(&self) -> Box<dyn MCDatabase>;
}
Expand description
Trait to clone MCDatabase
-Required Methods§
Sourcefn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
-Implementors§
Source§impl<T> CloneSPDatabase for Twhere
+Required Methods§
fn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
+Implementors§
§impl<T> CloneSPDatabase for Twhere
T: MCDatabase + Clone + 'static,
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
index 0c786a12..15ada426 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::prelude::dev - Rust pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude::dev - Rust Trait Connect
pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
Sourcetype Pool: MCDatabase
database specific pool-type
-Required Methods§
Required Associated Types§
type Pool: MCDatabase
database specific pool-type
+Required Methods§
fn connect<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
index be205aa5..a9b4a8e9 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::prelude::dev - Rust pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::prelude::dev - Rust Trait DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
index da93e260..7034a805 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::prelude::dev - Rust pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude::dev - Rust Trait GetConnection
pub trait GetConnection {
type Conn;
// Required method
@@ -8,8 +8,8 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
-Required Associated Types§
Required Methods§
Required Associated Types§
type Conn
database connection type
+Required Methods§
fn get_conn<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
index bffc38b0..cf7867cf 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
@@ -1,4 +1,4 @@
-MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust
pub enum DBError {
+DBError in db_sqlx_maria::dev::errors - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-Trait Implementations§
Source§impl Error for DBError
impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for DBError
impl !RefUnwindSafe for DBError
impl Send for DBError
impl Sync for DBError
impl Unpin for DBError
impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for DBError
impl !RefUnwindSafe for DBError
impl Send for DBError
impl Sync for DBError
impl Unpin for DBError
impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> From<T> for T
impl<T> From<T> for T
Source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/errors/index.html b/db_sqlx_maria/dev/errors/index.html index 5151a3ae..d73b81f8 100644 --- a/db_sqlx_maria/dev/errors/index.html +++ b/db_sqlx_maria/dev/errors/index.html @@ -1,2 +1,2 @@ -Expand description
represents all the ways a trait can fail using this crate
+Module errors
Expand description
represents all the ways a trait can fail using this crate
Enums§
- DBError
- Error data structure grouping various error subtypes
Type Aliases§
- BoxDyn
Error - Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
pub type BoxDynError = Box<dyn Error + Sync + Send>;Expand description
Convenience type alias for grouping driver-specific errors
+pub type DBResult<V> = Result<V, DBError>;Expand description
Generic result data structure
+Type Alias DBResult
pub type DBResult<V> = Result<V, DBError>;Expand description
Generic result data structure
Aliased Type§
pub enum DBResult<V> {
Ok(V),
Err(DBError),
diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html
index 4b8fcd15..caf43493 100644
--- a/db_sqlx_maria/dev/ops/index.html
+++ b/db_sqlx_maria/dev/ops/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::ops - Rust Expand description
meta operations like migration and connecting to a database
+db_sqlx_maria::dev::ops - Rust Module ops
Expand description
meta operations like migration and connecting to a database
Traits§
- Connect
- Create database connection
- DBOps
- Database operations trait(migrations, pool creation and fetching connection from pool)
- GetConnection
- Get database connection
- Migrate
- database migrations
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html
index ea2b4c35..a9e16f50 100644
--- a/db_sqlx_maria/dev/ops/trait.Connect.html
+++ b/db_sqlx_maria/dev/ops/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::ops - Rust pub trait Connect {
+Connect in db_sqlx_maria::dev::ops - Rust Trait Connect
pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
Sourcetype Pool: MCDatabase
database specific pool-type
-Required Methods§
Required Associated Types§
type Pool: MCDatabase
database specific pool-type
+Required Methods§
fn connect<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html
index 6d194b76..dfaddb4d 100644
--- a/db_sqlx_maria/dev/ops/trait.DBOps.html
+++ b/db_sqlx_maria/dev/ops/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::ops - Rust pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::ops - Rust Trait DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html
index 0e8dd048..483c6048 100644
--- a/db_sqlx_maria/dev/ops/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::ops - Rust pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::ops - Rust Trait GetConnection
pub trait GetConnection {
type Conn;
// Required method
@@ -8,8 +8,8 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
-Required Associated Types§
Required Methods§
Required Associated Types§
type Conn
database connection type
+Required Methods§
fn get_conn<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html
index 9d54d2e6..b948181e 100644
--- a/db_sqlx_maria/dev/ops/trait.Migrate.html
+++ b/db_sqlx_maria/dev/ops/trait.Migrate.html
@@ -1,4 +1,4 @@
-Migrate in db_sqlx_maria::dev::ops - Rust pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::ops - Rust Trait Migrate
pub trait Migrate: MCDatabase {
// Required method
fn migrate<'life0, 'async_trait>(
&'life0 self,
@@ -6,7 +6,7 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
database migrations
-Required Methods§
Required Methods§
fn migrate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
index e4bec176..a736cc65 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::prelude::dev - Rust pub enum DBError {
+DBError in db_sqlx_maria::dev::prelude::dev - Rust Enum DBError
pub enum DBError {
DBError(Box<dyn Error + Sync + Send>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
Source§impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl Freeze for DBError
§impl !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> From<T> for T
Source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.Login.html b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
index 1389063c..ce81bfed 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
@@ -1,19 +1,19 @@
-Login in db_sqlx_maria::dev::prelude::dev - Rust pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude::dev - Rust Enum Login
pub enum Login<'a> {
Username(&'a str),
Email(&'a str),
}
Expand description
types of credentials used as identifiers during login
Variants§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Login<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Login<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Login<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Login<'a>
§impl<'a> RefUnwindSafe for Login<'a>
§impl<'a> Send for Login<'a>
§impl<'a> Sync for Login<'a>
§impl<'a> Unpin for Login<'a>
§impl<'a> UnwindSafe for Login<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html
index b8d2bf45..b7d8085e 100644
--- a/db_sqlx_maria/dev/prelude/dev/index.html
+++ b/db_sqlx_maria/dev/prelude/dev/index.html
@@ -1,3 +1,3 @@
-db_sqlx_maria::dev::prelude::dev - Rust Expand description
useful imports for supporting a new database
+db_sqlx_maria::dev::prelude::dev - Rust Module dev
Expand description
useful imports for supporting a new database
Structs§
- AddNotification
- Data required to add notification
- Captcha
- Data representing a captcha
- Create
Captcha - data required to create new captcha
- Create
PerformanceAnalytics - Log Proof-of-Work CAPTCHA performance analytics
- Easy
Captcha - Represents Easy captcha configuration
- Level
- Level struct that describes threshold-difficulty factor mapping
- Name
Hash - type encapsulating username and hashed password of a user
- Notification
- Represents notification
- Performance
Analytics - Proof-of-Work CAPTCHA performance analytics
- Register
- Data required to register a new user
- Secret
- datastructure representing a user’s secret
- Stats
UnixTimestamp - Captcha statistics with time recorded in UNIX epoch formats
- Traffic
Pattern - User’s traffic pattern; used in generating a captcha configuration
- Update
Email - data required to update them email of a user
Enums§
- DBError
- Error data structure grouping various error subtypes
- Login
- types of credentials used as identifiers during login
Traits§
- CloneSP
Database - 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
Type Aliases§
- BoxDyn
Error - Convenience type alias for grouping driver-specific errors
- DBResult
- Generic result data structure
Attribute Macros§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
index 90723e1a..fe725b18 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev::prelude::dev - Rust pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude::dev - Rust Struct AddNotification
pub struct AddNotification<'a> {
pub to: &'a str,
pub from: &'a str,
pub heading: &'a str,
@@ -8,16 +8,16 @@
§from: &'a strnotification sender
§heading: &'a strheading of the notification
§message: &'a strmessage of the notification
-Trait Implementations§
Source§impl<'a> Clone for AddNotification<'a>
Source§fn clone(&self) -> AddNotification<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for AddNotification<'a>
Source§impl<'a> Default for AddNotification<'a>
Source§fn default() -> AddNotification<'a>
Returns the “default value” for a type. Read moreSource§impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for AddNotification<'a>
§fn clone(&self) -> AddNotification<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for AddNotification<'a>
§impl<'a> Default for AddNotification<'a>
§fn default() -> AddNotification<'a>
Returns the “default value” for a type. Read more§impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for AddNotification<'a>
Source§impl<'a> Serialize for AddNotification<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for AddNotification<'a>
§impl<'a> Serialize for AddNotification<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§impl<'a> Freeze for AddNotification<'a>
§impl<'a> RefUnwindSafe for AddNotification<'a>
§impl<'a> Send for AddNotification<'a>
§impl<'a> Sync for AddNotification<'a>
§impl<'a> Unpin for AddNotification<'a>
§impl<'a> UnwindSafe for AddNotification<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§impl<'a> Freeze for AddNotification<'a>
§impl<'a> RefUnwindSafe for AddNotification<'a>
§impl<'a> Send for AddNotification<'a>
§impl<'a> Sync for AddNotification<'a>
§impl<'a> Unpin for AddNotification<'a>
§impl<'a> UnwindSafe for AddNotification<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
index 5fd17971..a4642a4a 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude::dev - Rust Struct Captcha
pub struct Captcha {
pub config_id: i32,
pub duration: i32,
pub description: String,
@@ -8,15 +8,15 @@
§duration: i32cool down duration
§description: Stringdescription of the captcha
§key: Stringsecret key of the captcha
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Captcha
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for Captcha
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for Captcha
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl Freeze for Captcha
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl Freeze for Captcha
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
index cffa7964..0f9480fc 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct CreateCaptcha
pub struct CreateCaptcha<'a> {
pub duration: i32,
pub description: &'a str,
pub key: &'a str,
@@ -6,16 +6,16 @@
Fields§
§duration: i32cool down duration
§description: &'a strdescription of the captcha
§key: &'a strsecret key of the captcha
-Trait Implementations§
Source§impl<'a> Clone for CreateCaptcha<'a>
Source§fn clone(&self) -> CreateCaptcha<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for CreateCaptcha<'a>
Source§impl<'a> Default for CreateCaptcha<'a>
Source§fn default() -> CreateCaptcha<'a>
Returns the “default value” for a type. Read moreSource§impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for CreateCaptcha<'a>
§fn clone(&self) -> CreateCaptcha<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for CreateCaptcha<'a>
§impl<'a> Default for CreateCaptcha<'a>
§fn default() -> CreateCaptcha<'a>
Returns the “default value” for a type. Read more§impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for CreateCaptcha<'a>
Source§impl<'a> Serialize for CreateCaptcha<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for CreateCaptcha<'a>
§impl<'a> Serialize for CreateCaptcha<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§impl<'a> Freeze for CreateCaptcha<'a>
§impl<'a> RefUnwindSafe for CreateCaptcha<'a>
§impl<'a> Send for CreateCaptcha<'a>
§impl<'a> Sync for CreateCaptcha<'a>
§impl<'a> Unpin for CreateCaptcha<'a>
§impl<'a> UnwindSafe for CreateCaptcha<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§impl<'a> Freeze for CreateCaptcha<'a>
§impl<'a> RefUnwindSafe for CreateCaptcha<'a>
§impl<'a> Send for CreateCaptcha<'a>
§impl<'a> Sync for CreateCaptcha<'a>
§impl<'a> Unpin for CreateCaptcha<'a>
§impl<'a> UnwindSafe for CreateCaptcha<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
index c67adecb..70256f60 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
@@ -1,4 +1,4 @@
-CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct CreatePerformanceAnalytics
pub struct CreatePerformanceAnalytics {
pub time: u32,
pub difficulty_factor: u32,
pub worker_type: String,
@@ -6,15 +6,15 @@
Fields§
§time: u32time taken to generate proof
§difficulty_factor: u32difficulty factor for which the proof was generated
§worker_type: Stringworker/client type: wasm, javascript, python, etc.
-Trait Implementations§
Source§impl Clone for CreatePerformanceAnalytics
Source§fn clone(&self) -> CreatePerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for CreatePerformanceAnalytics
Source§impl Default for CreatePerformanceAnalytics
Source§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for CreatePerformanceAnalytics
§fn clone(&self) -> CreatePerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for CreatePerformanceAnalytics
§impl Default for CreatePerformanceAnalytics
§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl Serialize for CreatePerformanceAnalytics
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for CreatePerformanceAnalytics
§impl Serialize for CreatePerformanceAnalytics
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for CreatePerformanceAnalytics
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for CreatePerformanceAnalytics
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
index ae969e97..3fa4b758 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
@@ -1,4 +1,4 @@
-EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust pub struct EasyCaptcha {
+EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct EasyCaptcha
pub struct EasyCaptcha {
pub traffic_pattern: TrafficPattern,
pub key: String,
pub description: String,
@@ -8,15 +8,15 @@
§key: Stringcaptcha key/sitekey
§description: Stringcaptcha description
§username: StringOwner of the captcha configuration
-Trait Implementations§
Source§impl Clone for EasyCaptcha
Source§fn clone(&self) -> EasyCaptcha
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for EasyCaptcha
Source§impl Default for EasyCaptcha
Source§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for EasyCaptcha
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for EasyCaptcha
§fn clone(&self) -> EasyCaptcha
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for EasyCaptcha
§impl Default for EasyCaptcha
§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for EasyCaptcha
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EasyCaptcha, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for EasyCaptcha
Source§impl Serialize for EasyCaptcha
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for EasyCaptcha
§impl Serialize for EasyCaptcha
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl Freeze for EasyCaptcha
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl Freeze for EasyCaptcha
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
index c66e0a22..bf1a60a3 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
@@ -1,18 +1,18 @@
-NameHash in db_sqlx_maria::dev::prelude::dev - Rust pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude::dev - Rust Struct NameHash
pub struct NameHash {
pub username: String,
pub hash: String,
}
Expand description
type encapsulating username and hashed password of a user
Fields§
§username: Stringusername
§hash: Stringhashed password
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for NameHash
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for NameHash
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for NameHash
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl Freeze for NameHash
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl Freeze for NameHash
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
index 6e699a64..469c8bc1 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
@@ -1,4 +1,4 @@
-Notification in db_sqlx_maria::dev::prelude::dev - Rust pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude::dev - Rust Struct Notification
pub struct Notification {
pub name: Option<String>,
pub heading: Option<String>,
pub message: Option<String>,
@@ -10,15 +10,15 @@
§message: Option<String>message of the notification
§received: Option<i64>when notification was received
§id: Option<i32>db assigned ID of the notification
-Trait Implementations§
Source§impl Clone for Notification
Source§fn clone(&self) -> Notification
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for Notification
Source§impl Default for Notification
Source§fn default() -> Notification
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for Notification
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for Notification
§fn clone(&self) -> Notification
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for Notification
§impl Default for Notification
§fn default() -> Notification
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for Notification
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Notification, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<InnerNotification> for Notification
Source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.Source§impl PartialEq for Notification
Source§impl Serialize for Notification
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl From<InnerNotification> for Notification
Source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.§impl PartialEq for Notification
§impl Serialize for Notification
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl Freeze for Notification
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl Freeze for Notification
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
index 4a6ce802..44e80cab 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
@@ -1,4 +1,4 @@
-PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct PerformanceAnalytics
pub struct PerformanceAnalytics {
pub id: usize,
pub time: u32,
pub difficulty_factor: u32,
@@ -8,15 +8,15 @@
§time: u32time taken to generate proof
§difficulty_factor: u32difficulty factor for which the proof was generated
§worker_type: Stringworker/client type: wasm, javascript, python, etc.
-Trait Implementations§
Source§impl Clone for PerformanceAnalytics
Source§fn clone(&self) -> PerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for PerformanceAnalytics
Source§impl Default for PerformanceAnalytics
Source§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for PerformanceAnalytics
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for PerformanceAnalytics
§fn clone(&self) -> PerformanceAnalytics
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for PerformanceAnalytics
§impl Default for PerformanceAnalytics
§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for PerformanceAnalytics
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for PerformanceAnalytics
Source§impl Serialize for PerformanceAnalytics
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for PerformanceAnalytics
§impl Serialize for PerformanceAnalytics
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for PerformanceAnalytics
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl Freeze for PerformanceAnalytics
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
index 568ddaa2..456a36d6 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
@@ -1,4 +1,4 @@
-Register in db_sqlx_maria::dev::prelude::dev - Rust pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude::dev - Rust Struct Register
pub struct Register<'a> {
pub username: &'a str,
pub secret: &'a str,
pub hash: &'a str,
@@ -8,16 +8,16 @@
§secret: &'a strsecret of new user
§hash: &'a strhashed password of new use
§email: Option<&'a str>Optionally, email of new use
-Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Register<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Register<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> Serialize for Register<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Register<'a>
§impl<'a> RefUnwindSafe for Register<'a>
§impl<'a> Send for Register<'a>
§impl<'a> Sync for Register<'a>
§impl<'a> Unpin for Register<'a>
§impl<'a> UnwindSafe for Register<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for Register<'a>
Auto Trait Implementations§
§impl<'a> Freeze for Register<'a>
§impl<'a> RefUnwindSafe for Register<'a>
§impl<'a> Send for Register<'a>
§impl<'a> Sync for Register<'a>
§impl<'a> Unpin for Register<'a>
§impl<'a> UnwindSafe for Register<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
index 047c3bb2..7f404f3a 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html
@@ -1,16 +1,16 @@
-Secret in db_sqlx_maria::dev::prelude::dev - Rust pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude::dev - Rust Struct Secret
pub struct Secret {
pub secret: String,
}
Expand description
datastructure representing a user’s secret
Fields§
§secret: Stringuser’s secret
-Trait Implementations§
Source§impl<'de> Deserialize<'de> for Secret
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'de> Deserialize<'de> for Secret
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Secret, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for Secret
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl Freeze for Secret
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl Freeze for Secret
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
index c027b410..204698da 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html
@@ -1,4 +1,4 @@
-StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust Struct StatsUnixTimestamp
pub struct StatsUnixTimestamp {
pub config_fetches: Vec<i64>,
pub solves: Vec<i64>,
pub confirms: Vec<i64>,
@@ -6,15 +6,15 @@
Fields§
§config_fetches: Vec<i64>times at which the configuration were fetched
§solves: Vec<i64>times at which the PoW was solved
§confirms: Vec<i64>times at which the PoW token was verified
-Trait Implementations§
Source§impl Clone for StatsUnixTimestamp
Source§fn clone(&self) -> StatsUnixTimestamp
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for StatsUnixTimestamp
Source§impl Default for StatsUnixTimestamp
Source§fn default() -> StatsUnixTimestamp
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for StatsUnixTimestamp
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for StatsUnixTimestamp
§fn clone(&self) -> StatsUnixTimestamp
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for StatsUnixTimestamp
§impl Default for StatsUnixTimestamp
§fn default() -> StatsUnixTimestamp
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for StatsUnixTimestamp
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for StatsUnixTimestamp
Source§impl Serialize for StatsUnixTimestamp
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for StatsUnixTimestamp
§impl Serialize for StatsUnixTimestamp
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl Freeze for StatsUnixTimestamp
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl Freeze for StatsUnixTimestamp
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
index 6b8999ca..4e5368c8 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html
@@ -1,4 +1,4 @@
-TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust Struct TrafficPattern
pub struct TrafficPattern {
pub avg_traffic: u32,
pub peak_sustainable_traffic: u32,
pub broke_my_site_traffic: Option<u32>,
@@ -6,15 +6,15 @@
Fields§
§avg_traffic: u32average traffic of user’s website
§peak_sustainable_traffic: u32the peak traffic that the user’s website can handle
§broke_my_site_traffic: Option<u32>traffic that bought the user’s website down; optional
-Trait Implementations§
Source§impl Clone for TrafficPattern
Source§fn clone(&self) -> TrafficPattern
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl Debug for TrafficPattern
Source§impl Default for TrafficPattern
Source§fn default() -> TrafficPattern
Returns the “default value” for a type. Read moreSource§impl<'de> Deserialize<'de> for TrafficPattern
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl Clone for TrafficPattern
§fn clone(&self) -> TrafficPattern
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for TrafficPattern
§impl Default for TrafficPattern
§fn default() -> TrafficPattern
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for TrafficPattern
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl PartialEq for TrafficPattern
Source§impl Serialize for TrafficPattern
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for TrafficPattern
§impl Serialize for TrafficPattern
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl Freeze for TrafficPattern
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl Freeze for TrafficPattern
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
index 3087bbae..18ad84ea 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html
@@ -1,19 +1,19 @@
-UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust Struct UpdateEmail
pub struct UpdateEmail<'a> {
pub username: &'a str,
pub new_email: &'a str,
}
Expand description
data required to update them email of a user
Fields§
§username: &'a strusername of the user
§new_email: &'a strnew email address of the user
-Trait Implementations§
Source§impl<'a> Clone for UpdateEmail<'a>
Source§fn clone(&self) -> UpdateEmail<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreSource§impl<'a> Debug for UpdateEmail<'a>
Source§impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where
- 'de: 'a,
Source§fn deserialize<__D>(
+
Trait Implementations§
§impl<'a> Clone for UpdateEmail<'a>
§fn clone(&self) -> UpdateEmail<'a>
Returns a duplicate of the value. Read more1.0.0 · Source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl<'a> Debug for UpdateEmail<'a>
§impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where
+ 'de: 'a,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreSource§impl<'a> PartialEq for UpdateEmail<'a>
Source§impl<'a> Serialize for UpdateEmail<'a>
Source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq for UpdateEmail<'a>
§impl<'a> Serialize for UpdateEmail<'a>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read moreSource§impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations§
§impl<'a> Freeze for UpdateEmail<'a>
§impl<'a> RefUnwindSafe for UpdateEmail<'a>
§impl<'a> Send for UpdateEmail<'a>
§impl<'a> Sync for UpdateEmail<'a>
§impl<'a> Unpin for UpdateEmail<'a>
§impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations§
Source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl<'a> StructuralPartialEq for UpdateEmail<'a>
Auto Trait Implementations§
§impl<'a> Freeze for UpdateEmail<'a>
§impl<'a> RefUnwindSafe for UpdateEmail<'a>
§impl<'a> Send for UpdateEmail<'a>
§impl<'a> Sync for UpdateEmail<'a>
§impl<'a> Unpin for UpdateEmail<'a>
§impl<'a> UnwindSafe for UpdateEmail<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
index 04308d54..c1b809db 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html
@@ -1,7 +1,7 @@
-CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust Trait CloneSPDatabase
pub trait CloneSPDatabase {
// Required method
fn clone_db(&self) -> Box<dyn MCDatabase>;
}
Expand description
Trait to clone MCDatabase
-Required Methods§
Sourcefn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
-Implementors§
Source§impl<T> CloneSPDatabase for Twhere
+Required Methods§
fn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
+Implementors§
§impl<T> CloneSPDatabase for Twhere
T: MCDatabase + Clone + 'static,
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
index 0c786a12..15ada426 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::prelude::dev - Rust pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude::dev - Rust Trait Connect
pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
Sourcetype Pool: MCDatabase
database specific pool-type
-Required Methods§
Required Associated Types§
type Pool: MCDatabase
database specific pool-type
+Required Methods§
fn connect<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
index be205aa5..a9b4a8e9 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::prelude::dev - Rust pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::prelude::dev - Rust Trait DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
index da93e260..7034a805 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::prelude::dev - Rust pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude::dev - Rust Trait GetConnection
pub trait GetConnection {
type Conn;
// Required method
@@ -8,8 +8,8 @@
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Get database connection
-Required Associated Types§
Required Methods§
Required Associated Types§
type Conn
database connection type
+Required Methods§
fn get_conn<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
index bffc38b0..cf7867cf 100644
--- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
+++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html
@@ -1,4 +1,4 @@
-MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust