List of all items
Structs
- AddNotification
- Captcha
- CreateCaptcha
- CreatePerformanceAnalytics
- Level
- NameHash
- Notification
- PerformanceAnalytics
- Register
- Secret
- StatsUnixTimestamp
- TrafficPattern
- UpdateEmail
diff --git a/db_core/all.html b/db_core/all.html index 3457058f..df280f13 100644 --- a/db_core/all.html +++ b/db_core/all.html @@ -1 +1 @@ -
mCaptcha database operationsmCaptcha database operationsTraits and datastructures used in mCaptcha to interact with database.
To use an unsupported database with mCaptcha, traits present within this crate should be implemented.
diff --git a/db_core/struct.AddNotification.html b/db_core/struct.AddNotification.html index fc97ada1..1491befd 100644 --- a/db_core/struct.AddNotification.html +++ b/db_core/struct.AddNotification.html @@ -1,4 +1,4 @@ -pub struct AddNotification<'a> {
+AddNotification in db_core - Rust Struct db_core::AddNotification
source · pub struct AddNotification<'a> {
pub to: &'a str,
pub from: &'a str,
pub heading: &'a str,
@@ -8,11 +8,11 @@
§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 copy 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, 'a> Deserialize<'de> for AddNotification<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>
source§fn eq(&self, other: &AddNotification<'a>) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl<'a> Clone for AddNotification<'a>
source§fn clone(&self) -> AddNotification<'a>
Returns a copy 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, 'a> Deserialize<'de> for AddNotification<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>
source§fn eq(&self, other: &AddNotification<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl<'a> Serialize for AddNotification<'a>
source§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§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<'a> Serialize for AddNotification<'a>
source§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.Captcha.html b/db_core/struct.Captcha.html
index 17d7aca9..4d05b5c1 100644
--- a/db_core/struct.Captcha.html
+++ b/db_core/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_core - Rust pub struct Captcha {
+Captcha in db_core - Rust pub struct Captcha {
pub config_id: i32,
pub duration: i32,
pub description: String,
@@ -8,11 +8,11 @@
§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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<Captcha> for Captcha
source§fn eq(&self, other: &Captcha) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Captcha
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<Captcha> for Captcha
source§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§impl RefUnwindSafe for Captcha
§impl Send for Captcha
§impl Sync for Captcha
§impl Unpin for Captcha
§impl UnwindSafe for Captcha
Blanket Implementations§
source§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.CreateCaptcha.html b/db_core/struct.CreateCaptcha.html
index cf0956df..bb06e1e7 100644
--- a/db_core/struct.CreateCaptcha.html
+++ b/db_core/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_core - Rust Struct db_core::CreateCaptcha
source · pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_core - Rust Struct db_core::CreateCaptcha
source · pub struct CreateCaptcha<'a> {
pub duration: i32,
pub description: &'a str,
pub key: &'a str,
@@ -6,11 +6,11 @@
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 copy 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, 'a> Deserialize<'de> for CreateCaptcha<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>
source§fn eq(&self, other: &CreateCaptcha<'a>) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl<'a> Clone for CreateCaptcha<'a>
source§fn clone(&self) -> CreateCaptcha<'a>
Returns a copy 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, 'a> Deserialize<'de> for CreateCaptcha<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>
source§fn eq(&self, other: &CreateCaptcha<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl<'a> Serialize for CreateCaptcha<'a>
source§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§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<'a> Serialize for CreateCaptcha<'a>
source§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.CreatePerformanceAnalytics.html b/db_core/struct.CreatePerformanceAnalytics.html
index 1259f914..7b93ebc9 100644
--- a/db_core/struct.CreatePerformanceAnalytics.html
+++ b/db_core/struct.CreatePerformanceAnalytics.html
@@ -1,4 +1,4 @@
-CreatePerformanceAnalytics in db_core - Rust Struct db_core::CreatePerformanceAnalytics
source · pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_core - Rust Struct db_core::CreatePerformanceAnalytics
source · pub struct CreatePerformanceAnalytics {
pub time: u32,
pub difficulty_factor: u32,
pub worker_type: String,
@@ -6,11 +6,11 @@
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 copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics
source§fn eq(&self, other: &CreatePerformanceAnalytics) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for CreatePerformanceAnalytics
source§fn clone(&self) -> CreatePerformanceAnalytics
Returns a copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics
source§fn eq(&self, other: &CreatePerformanceAnalytics) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§impl RefUnwindSafe for CreatePerformanceAnalytics
§impl Send for CreatePerformanceAnalytics
§impl Sync for CreatePerformanceAnalytics
§impl Unpin for CreatePerformanceAnalytics
§impl UnwindSafe for CreatePerformanceAnalytics
Blanket Implementations§
source§impl StructuralPartialEq for CreatePerformanceAnalytics
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.Notification.html b/db_core/struct.Notification.html
index 916d523d..0951e35b 100644
--- a/db_core/struct.Notification.html
+++ b/db_core/struct.Notification.html
@@ -1,4 +1,4 @@
-Notification in db_core - Rust Struct db_core::Notification
source · pub struct Notification {
+Notification in db_core - Rust Struct db_core::Notification
source · pub struct Notification {
pub name: Option<String>,
pub heading: Option<String>,
pub message: Option<String>,
@@ -10,11 +10,11 @@
§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 copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<Notification> for Notification
source§fn eq(&self, other: &Notification) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for Notification
source§fn clone(&self) -> Notification
Returns a copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<Notification> for Notification
source§fn eq(&self, other: &Notification) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for Notification
source§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§impl RefUnwindSafe for Notification
§impl Send for Notification
§impl Sync for Notification
§impl Unpin for Notification
§impl UnwindSafe for Notification
Blanket Implementations§
source§impl Serialize for Notification
source§impl StructuralPartialEq for Notification
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.PerformanceAnalytics.html b/db_core/struct.PerformanceAnalytics.html
index f503ccee..2503ecda 100644
--- a/db_core/struct.PerformanceAnalytics.html
+++ b/db_core/struct.PerformanceAnalytics.html
@@ -1,4 +1,4 @@
-PerformanceAnalytics in db_core - Rust Struct db_core::PerformanceAnalytics
source · pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_core - Rust Struct db_core::PerformanceAnalytics
source · pub struct PerformanceAnalytics {
pub id: usize,
pub time: u32,
pub difficulty_factor: u32,
@@ -8,11 +8,11 @@
§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 copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics
source§fn eq(&self, other: &PerformanceAnalytics) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for PerformanceAnalytics
source§fn clone(&self) -> PerformanceAnalytics
Returns a copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics
source§fn eq(&self, other: &PerformanceAnalytics) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for PerformanceAnalytics
source§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§impl RefUnwindSafe for PerformanceAnalytics
§impl Send for PerformanceAnalytics
§impl Sync for PerformanceAnalytics
§impl Unpin for PerformanceAnalytics
§impl UnwindSafe for PerformanceAnalytics
Blanket Implementations§
source§impl Serialize for PerformanceAnalytics
source§impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.Secret.html b/db_core/struct.Secret.html
index efa6a5fd..a82c5a4c 100644
--- a/db_core/struct.Secret.html
+++ b/db_core/struct.Secret.html
@@ -1,12 +1,12 @@
-Secret in db_core - Rust pub struct Secret {
+Secret in db_core - Rust 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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<Secret> for Secret
source§fn eq(&self, other: &Secret) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl<'de> Deserialize<'de> for Secret
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<Secret> for Secret
source§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§impl RefUnwindSafe for Secret
§impl Send for Secret
§impl Sync for Secret
§impl Unpin for Secret
§impl UnwindSafe for Secret
Blanket Implementations§
source§impl StructuralPartialEq for Secret
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.StatsUnixTimestamp.html b/db_core/struct.StatsUnixTimestamp.html
index f7cf3632..411208f4 100644
--- a/db_core/struct.StatsUnixTimestamp.html
+++ b/db_core/struct.StatsUnixTimestamp.html
@@ -1,4 +1,4 @@
-StatsUnixTimestamp in db_core - Rust Struct db_core::StatsUnixTimestamp
source · pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_core - Rust Struct db_core::StatsUnixTimestamp
source · pub struct StatsUnixTimestamp {
pub config_fetches: Vec<i64>,
pub solves: Vec<i64>,
pub confirms: Vec<i64>,
@@ -6,11 +6,11 @@
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 copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp
source§fn eq(&self, other: &StatsUnixTimestamp) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for StatsUnixTimestamp
source§fn clone(&self) -> StatsUnixTimestamp
Returns a copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp
source§fn eq(&self, other: &StatsUnixTimestamp) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for StatsUnixTimestamp
source§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§impl RefUnwindSafe for StatsUnixTimestamp
§impl Send for StatsUnixTimestamp
§impl Sync for StatsUnixTimestamp
§impl Unpin for StatsUnixTimestamp
§impl UnwindSafe for StatsUnixTimestamp
Blanket Implementations§
source§impl Serialize for StatsUnixTimestamp
source§impl StructuralPartialEq for StatsUnixTimestamp
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/struct.TrafficPattern.html b/db_core/struct.TrafficPattern.html
index 1b8daead..33f6fedf 100644
--- a/db_core/struct.TrafficPattern.html
+++ b/db_core/struct.TrafficPattern.html
@@ -1,4 +1,4 @@
-TrafficPattern in db_core - Rust Struct db_core::TrafficPattern
source · pub struct TrafficPattern {
+TrafficPattern in db_core - Rust Struct db_core::TrafficPattern
source · pub struct TrafficPattern {
pub avg_traffic: u32,
pub peak_sustainable_traffic: u32,
pub broke_my_site_traffic: Option<u32>,
@@ -6,11 +6,11 @@
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 copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<TrafficPattern> for TrafficPattern
source§fn eq(&self, other: &TrafficPattern) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for TrafficPattern
source§fn clone(&self) -> TrafficPattern
Returns a copy 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>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq<TrafficPattern> for TrafficPattern
source§fn eq(&self, other: &TrafficPattern) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for TrafficPattern
source§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§impl RefUnwindSafe for TrafficPattern
§impl Send for TrafficPattern
§impl Sync for TrafficPattern
§impl Unpin for TrafficPattern
§impl UnwindSafe for TrafficPattern
Blanket Implementations§
source§impl Serialize for TrafficPattern
source§impl StructuralPartialEq for TrafficPattern
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_core/tests/constant.LEVELS.html b/db_core/tests/constant.LEVELS.html
new file mode 100644
index 00000000..20aeb9b3
--- /dev/null
+++ b/db_core/tests/constant.LEVELS.html
@@ -0,0 +1,2 @@
+LEVELS in db_core::tests - Rust
\ No newline at end of file
diff --git a/db_core/tests/constant.TRAFFIC_PATTERN.html b/db_core/tests/constant.TRAFFIC_PATTERN.html
new file mode 100644
index 00000000..f6dbe346
--- /dev/null
+++ b/db_core/tests/constant.TRAFFIC_PATTERN.html
@@ -0,0 +1,2 @@
+TRAFFIC_PATTERN in db_core::tests - Rust Constant db_core::tests::TRAFFIC_PATTERN
source · pub const TRAFFIC_PATTERN: TrafficPattern;
Expand description
easy traffic pattern
+
\ No newline at end of file
diff --git a/db_core/tests/fn.database_works.html b/db_core/tests/fn.database_works.html
index 1093fb76..36519adf 100644
--- a/db_core/tests/fn.database_works.html
+++ b/db_core/tests/fn.database_works.html
@@ -1,4 +1,4 @@
-database_works in db_core::tests - Rust Function db_core::tests::database_works
source · pub async fn database_works<'a, T: MCDatabase>(
+database_works in db_core::tests - Rust Function db_core::tests::database_works
source · pub async fn database_works<'a, T: MCDatabase>(
db: &T,
p: &Register<'a>,
c: &CreateCaptcha<'a>,
diff --git a/db_core/tests/index.html b/db_core/tests/index.html
index 8b3a81b8..071744bd 100644
--- a/db_core/tests/index.html
+++ b/db_core/tests/index.html
@@ -1,2 +1,2 @@
-db_core::tests - Rust Expand description
Test utilities
-Functions
- test all database functions
\ No newline at end of file
+db_core::tests - Rust
\ No newline at end of file
diff --git a/db_core/tests/sidebar-items.js b/db_core/tests/sidebar-items.js
index b8901262..a6ef623a 100644
--- a/db_core/tests/sidebar-items.js
+++ b/db_core/tests/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"fn":["database_works"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["LEVELS","TRAFFIC_PATTERN"],"fn":["database_works"]};
\ No newline at end of file
diff --git a/db_core/trait.CloneSPDatabase.html b/db_core/trait.CloneSPDatabase.html
index d52f3fa2..28c00fad 100644
--- a/db_core/trait.CloneSPDatabase.html
+++ b/db_core/trait.CloneSPDatabase.html
@@ -1,7 +1,7 @@
-CloneSPDatabase in db_core - Rust Trait db_core::CloneSPDatabase
source · pub trait CloneSPDatabase {
+CloneSPDatabase in db_core - Rust Trait db_core::CloneSPDatabase
source · 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§
sourcefn clone_db(&self) -> Box<dyn MCDatabase>
clone DB
+Implementors§
source§impl<T> CloneSPDatabase for Twhere
T: MCDatabase + Clone + 'static,
\ No newline at end of file
diff --git a/db_core/trait.MCDatabase.html b/db_core/trait.MCDatabase.html
index a2e4a3ca..df1f18e5 100644
--- a/db_core/trait.MCDatabase.html
+++ b/db_core/trait.MCDatabase.html
@@ -1,5 +1,5 @@
-MCDatabase in db_core - Rust Trait db_core::MCDatabase
source · pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-Show 46 methods
// Required methods
+MCDatabase in db_core - Rust Trait db_core::MCDatabase
source · pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+Show 48 methods
// Required methods
fn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
@@ -360,6 +360,19 @@
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
+ fn stats_get_num_logs_under_time<'life0, 'async_trait>(
+ &'life0 self,
+ duration: u32
+ ) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>>
+ where Self: 'async_trait,
+ 'life0: 'async_trait;
+ fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>(
+ &'life0 self,
+ duration: u32,
+ location: u32
+ ) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>
+ where Self: 'async_trait,
+ 'life0: 'async_trait;
// Provided method
fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
@@ -731,6 +744,20 @@ trait.
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get maximum nonce tracked so far for captcha levels
+sourcefn stats_get_num_logs_under_time<'life0, 'async_trait>(
+ &'life0 self,
+ duration: u32
+) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>>where
+ Self: 'async_trait,
+ 'life0: 'async_trait,
Get number of analytics entries that are under a certain duration
+sourcefn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>(
+ &'life0 self,
+ duration: u32,
+ location: u32
+) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where
+ Self: 'async_trait,
+ 'life0: 'async_trait,
Get the entry at a location in the list of analytics entires under a certain time limit
+and sorted in ascending order
Provided Methods§
sourcefn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
&'life0 self,
campaign_id: &'life1 str
@@ -738,4 +765,4 @@ trait.
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get publishing status of pow analytics for captcha ID/ campaign ID
-Trait Implementations§
Implementors§
\ No newline at end of file
+
Trait Implementations§
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/all.html b/db_sqlx_maria/all.html
index a8d499ff..f388854f 100644
--- a/db_sqlx_maria/all.html
+++ b/db_sqlx_maria/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Conn
- Database
- Fresh
- InnerNotification
- dev::AddNotification
- dev::Captcha
- dev::CreateCaptcha
- dev::CreatePerformanceAnalytics
- dev::Level
- dev::NameHash
- dev::Notification
- dev::PerformanceAnalytics
- dev::Register
- dev::Secret
- dev::StatsUnixTimestamp
- dev::TrafficPattern
- dev::UpdateEmail
- dev::dev::AddNotification
- dev::dev::Captcha
- dev::dev::CreateCaptcha
- dev::dev::CreatePerformanceAnalytics
- dev::dev::Level
- dev::dev::NameHash
- dev::dev::Notification
- dev::dev::PerformanceAnalytics
- dev::dev::Register
- dev::dev::Secret
- dev::dev::StatsUnixTimestamp
- dev::dev::TrafficPattern
- dev::dev::UpdateEmail
- dev::dev::prelude::AddNotification
- dev::dev::prelude::Captcha
- dev::dev::prelude::CreateCaptcha
- dev::dev::prelude::CreatePerformanceAnalytics
- dev::dev::prelude::Level
- dev::dev::prelude::NameHash
- dev::dev::prelude::Notification
- dev::dev::prelude::PerformanceAnalytics
- dev::dev::prelude::Register
- dev::dev::prelude::Secret
- dev::dev::prelude::StatsUnixTimestamp
- dev::dev::prelude::TrafficPattern
- dev::dev::prelude::UpdateEmail
- dev::prelude::AddNotification
- dev::prelude::Captcha
- dev::prelude::CreateCaptcha
- dev::prelude::CreatePerformanceAnalytics
- dev::prelude::Level
- dev::prelude::NameHash
- dev::prelude::Notification
- dev::prelude::PerformanceAnalytics
- dev::prelude::Register
- dev::prelude::Secret
- dev::prelude::StatsUnixTimestamp
- dev::prelude::TrafficPattern
- dev::prelude::UpdateEmail
- dev::prelude::dev::AddNotification
- dev::prelude::dev::Captcha
- dev::prelude::dev::CreateCaptcha
- dev::prelude::dev::CreatePerformanceAnalytics
- dev::prelude::dev::Level
- dev::prelude::dev::NameHash
- dev::prelude::dev::Notification
- dev::prelude::dev::PerformanceAnalytics
- dev::prelude::dev::Register
- dev::prelude::dev::Secret
- dev::prelude::dev::StatsUnixTimestamp
- dev::prelude::dev::TrafficPattern
- dev::prelude::dev::UpdateEmail
Enums
- ConnectionOptions
- dev::DBError
- dev::Error
- dev::Login
- dev::dev::DBError
- dev::dev::Login
- dev::dev::errors::DBError
- dev::dev::prelude::DBError
- dev::dev::prelude::Login
- dev::errors::DBError
- dev::prelude::DBError
- dev::prelude::Login
- dev::prelude::dev::DBError
- dev::prelude::dev::Login
Traits
- dev::CloneSPDatabase
- dev::Connect
- dev::DBOps
- dev::GetConnection
- dev::MCDatabase
- dev::Migrate
- dev::dev::CloneSPDatabase
- dev::dev::Connect
- dev::dev::DBOps
- dev::dev::GetConnection
- dev::dev::MCDatabase
- dev::dev::Migrate
- dev::dev::ops::Connect
- dev::dev::ops::DBOps
- dev::dev::ops::GetConnection
- dev::dev::ops::Migrate
- dev::dev::prelude::CloneSPDatabase
- dev::dev::prelude::Connect
- dev::dev::prelude::DBOps
- dev::dev::prelude::GetConnection
- dev::dev::prelude::MCDatabase
- dev::dev::prelude::Migrate
- dev::ops::Connect
- dev::ops::DBOps
- dev::ops::GetConnection
- dev::ops::Migrate
- dev::prelude::CloneSPDatabase
- dev::prelude::Connect
- dev::prelude::DBOps
- dev::prelude::GetConnection
- dev::prelude::MCDatabase
- dev::prelude::Migrate
- dev::prelude::dev::CloneSPDatabase
- dev::prelude::dev::Connect
- dev::prelude::dev::DBOps
- dev::prelude::dev::GetConnection
- dev::prelude::dev::MCDatabase
- dev::prelude::dev::Migrate
Attribute Macros
Functions
- dev::dev::tests::database_works
- dev::tests::database_works
- errors::map_register_err
- errors::map_row_not_found_err
Type Definitions
- dev::BoxDynError
- dev::DBResult
- dev::dev::BoxDynError
- dev::dev::DBResult
- dev::dev::errors::BoxDynError
- dev::dev::errors::DBResult
- dev::dev::prelude::BoxDynError
- dev::dev::prelude::DBResult
- dev::errors::BoxDynError
- dev::errors::DBResult
- dev::prelude::BoxDynError
- dev::prelude::DBResult
- dev::prelude::dev::BoxDynError
- dev::prelude::dev::DBResult
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Conn
- Database
- Fresh
- InnerNotification
- dev::AddNotification
- dev::Captcha
- dev::CreateCaptcha
- dev::CreatePerformanceAnalytics
- dev::Level
- dev::NameHash
- dev::Notification
- dev::PerformanceAnalytics
- dev::Register
- dev::Secret
- dev::StatsUnixTimestamp
- dev::TrafficPattern
- dev::UpdateEmail
- dev::dev::AddNotification
- dev::dev::Captcha
- dev::dev::CreateCaptcha
- dev::dev::CreatePerformanceAnalytics
- dev::dev::Level
- dev::dev::NameHash
- dev::dev::Notification
- dev::dev::PerformanceAnalytics
- dev::dev::Register
- dev::dev::Secret
- dev::dev::StatsUnixTimestamp
- dev::dev::TrafficPattern
- dev::dev::UpdateEmail
- dev::dev::prelude::AddNotification
- dev::dev::prelude::Captcha
- dev::dev::prelude::CreateCaptcha
- dev::dev::prelude::CreatePerformanceAnalytics
- dev::dev::prelude::Level
- dev::dev::prelude::NameHash
- dev::dev::prelude::Notification
- dev::dev::prelude::PerformanceAnalytics
- dev::dev::prelude::Register
- dev::dev::prelude::Secret
- dev::dev::prelude::StatsUnixTimestamp
- dev::dev::prelude::TrafficPattern
- dev::dev::prelude::UpdateEmail
- dev::prelude::AddNotification
- dev::prelude::Captcha
- dev::prelude::CreateCaptcha
- dev::prelude::CreatePerformanceAnalytics
- dev::prelude::Level
- dev::prelude::NameHash
- dev::prelude::Notification
- dev::prelude::PerformanceAnalytics
- dev::prelude::Register
- dev::prelude::Secret
- dev::prelude::StatsUnixTimestamp
- dev::prelude::TrafficPattern
- dev::prelude::UpdateEmail
- dev::prelude::dev::AddNotification
- dev::prelude::dev::Captcha
- dev::prelude::dev::CreateCaptcha
- dev::prelude::dev::CreatePerformanceAnalytics
- dev::prelude::dev::Level
- dev::prelude::dev::NameHash
- dev::prelude::dev::Notification
- dev::prelude::dev::PerformanceAnalytics
- dev::prelude::dev::Register
- dev::prelude::dev::Secret
- dev::prelude::dev::StatsUnixTimestamp
- dev::prelude::dev::TrafficPattern
- dev::prelude::dev::UpdateEmail
Enums
- ConnectionOptions
- dev::DBError
- dev::Error
- dev::Login
- dev::dev::DBError
- dev::dev::Login
- dev::dev::errors::DBError
- dev::dev::prelude::DBError
- dev::dev::prelude::Login
- dev::errors::DBError
- dev::prelude::DBError
- dev::prelude::Login
- dev::prelude::dev::DBError
- dev::prelude::dev::Login
Traits
- dev::CloneSPDatabase
- dev::Connect
- dev::DBOps
- dev::GetConnection
- dev::MCDatabase
- dev::Migrate
- dev::dev::CloneSPDatabase
- dev::dev::Connect
- dev::dev::DBOps
- dev::dev::GetConnection
- dev::dev::MCDatabase
- dev::dev::Migrate
- dev::dev::ops::Connect
- dev::dev::ops::DBOps
- dev::dev::ops::GetConnection
- dev::dev::ops::Migrate
- dev::dev::prelude::CloneSPDatabase
- dev::dev::prelude::Connect
- dev::dev::prelude::DBOps
- dev::dev::prelude::GetConnection
- dev::dev::prelude::MCDatabase
- dev::dev::prelude::Migrate
- dev::ops::Connect
- dev::ops::DBOps
- dev::ops::GetConnection
- dev::ops::Migrate
- dev::prelude::CloneSPDatabase
- dev::prelude::Connect
- dev::prelude::DBOps
- dev::prelude::GetConnection
- dev::prelude::MCDatabase
- dev::prelude::Migrate
- dev::prelude::dev::CloneSPDatabase
- dev::prelude::dev::Connect
- dev::prelude::dev::DBOps
- dev::prelude::dev::GetConnection
- dev::prelude::dev::MCDatabase
- dev::prelude::dev::Migrate
Attribute Macros
Functions
- dev::dev::tests::database_works
- dev::tests::database_works
- errors::map_register_err
- errors::map_row_not_found_err
Type Definitions
- dev::BoxDynError
- dev::DBResult
- dev::dev::BoxDynError
- dev::dev::DBResult
- dev::dev::errors::BoxDynError
- dev::dev::errors::DBResult
- dev::dev::prelude::BoxDynError
- dev::dev::prelude::DBResult
- dev::errors::BoxDynError
- dev::errors::DBResult
- dev::prelude::BoxDynError
- dev::prelude::DBResult
- dev::prelude::dev::BoxDynError
- dev::prelude::dev::DBResult
Constants
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/enum.DBError.html b/db_sqlx_maria/dev/dev/enum.DBError.html
index 56fc0377..18e6c5c6 100644
--- a/db_sqlx_maria/dev/dev/enum.DBError.html
+++ b/db_sqlx_maria/dev/dev/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::dev - Rust Enum db_sqlx_maria::dev::dev::DBError
pub enum DBError {
+DBError in db_sqlx_maria::dev::dev - Rust Enum db_sqlx_maria::dev::dev::DBError
source · pub enum DBError {
DBError(Box<dyn Error + Sync + Send, Global>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
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 !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
source§impl Error for DBError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
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 !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/dev/enum.Login.html b/db_sqlx_maria/dev/dev/enum.Login.html
index 9cb3ce65..e89ff613 100644
--- a/db_sqlx_maria/dev/dev/enum.Login.html
+++ b/db_sqlx_maria/dev/dev/enum.Login.html
@@ -1,20 +1,20 @@
-Login in db_sqlx_maria::dev::dev - Rust Enum db_sqlx_maria::dev::dev::Login
pub enum Login<'a> {
+Login in db_sqlx_maria::dev::dev - Rust Enum db_sqlx_maria::dev::dev::Login
source · pub enum Login<'a> {
Username(&'a str),
Email(&'a str),
}
Expand description
types of credentials used as identifiers during login
Variants§
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Login<'a>where
- 'de: 'a,
§fn deserialize<__D>(
+
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Login<'a>where
+ 'de: 'a,
source§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> PartialEq<Login<'a>> for Login<'a>
§fn eq(&self, other: &Login<'a>) -> bool
This method tests for self and other values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> Serialize for Login<'a>
source§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 more§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§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 moresource§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/dev/errors/enum.DBError.html
index 551f9f76..30ca3626 100644
--- a/db_sqlx_maria/dev/dev/errors/enum.DBError.html
+++ b/db_sqlx_maria/dev/dev/errors/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::dev::errors - Rust Enum db_sqlx_maria::dev::dev::errors::DBError
pub enum DBError {
+DBError in db_sqlx_maria::dev::dev::errors - Rust pub enum DBError {
DBError(Box<dyn Error + Sync + Send, Global>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
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 !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
source§impl Error for DBError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
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 !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/dev/errors/index.html b/db_sqlx_maria/dev/dev/errors/index.html
index 2e2ba268..3bacc21e 100644
--- a/db_sqlx_maria/dev/dev/errors/index.html
+++ b/db_sqlx_maria/dev/dev/errors/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::dev::errors - Rust Module db_sqlx_maria::dev::dev::errors
Expand description
represents all the ways a trait can fail using this crate
+db_sqlx_maria::dev::dev::errors - Rust Module db_sqlx_maria::dev::dev::errors
source · Expand description
represents all the ways a trait can fail using this crate
Enums
- Error data structure grouping various error subtypes
Type Definitions
- Convenience type alias for grouping driver-specific errors
- Generic result data structure
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html
index 763f409e..33f694ec 100644
--- a/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html
+++ b/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html
@@ -1,2 +1,2 @@
-BoxDynError in db_sqlx_maria::dev::dev::errors - Rust Type Definition db_sqlx_maria::dev::dev::errors::BoxDynError
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description
Convenience type alias for grouping driver-specific errors
+BoxDynError in db_sqlx_maria::dev::dev::errors - Rust
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/dev/errors/type.DBResult.html
index b63d7264..9f9e3655 100644
--- a/db_sqlx_maria/dev/dev/errors/type.DBResult.html
+++ b/db_sqlx_maria/dev/dev/errors/type.DBResult.html
@@ -1,2 +1,2 @@
-DBResult in db_sqlx_maria::dev::dev::errors - Rust Type Definition db_sqlx_maria::dev::dev::errors::DBResult
pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
+DBResult in db_sqlx_maria::dev::dev::errors - Rust
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/index.html b/db_sqlx_maria/dev/dev/index.html
index 2b35f007..9597fe82 100644
--- a/db_sqlx_maria/dev/dev/index.html
+++ b/db_sqlx_maria/dev/dev/index.html
@@ -1,3 +1,3 @@
-db_sqlx_maria::dev::dev - Rust Module db_sqlx_maria::dev::dev
Expand description
useful imports for supporting a new database
+db_sqlx_maria::dev::dev - Rust Module db_sqlx_maria::dev::dev
source · Expand description
useful imports for supporting a new database
Modules
- represents all the ways a trait can fail using this crate
- meta operations like migration and connecting to a database
- useful imports for users working with a supported database
- Test utilities
Structs
- Data required to add notification
- Data representing a captcha
- data required to create new captcha
- Log Proof-of-Work CAPTCHA performance analytics
- Level struct that describes threshold-difficulty factor mapping
- type encapsulating username and hashed password of a user
- Represents notification
- Proof-of-Work CAPTCHA performance analytics
- Data required to register a new user
- datastructure representing a user’s secret
- Captcha statistics with time recorded in UNIX epoch formats
- User’s traffic pattern; used in generating a captcha configuration
- data required to update them email of a user
Enums
- Error data structure grouping various error subtypes
- types of credentials used as identifiers during login
Traits
- Trait to clone MCDatabase
- Create database connection
- Database operations trait(migrations, pool creation and fetching connection from pool)
- Get database connection
- mCaptcha’s database requirements. To implement support for $Database, kindly implement this
trait.
- database migrations
Type Definitions
- Convenience type alias for grouping driver-specific errors
- Generic result data structure
Attribute Macros
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/ops/index.html b/db_sqlx_maria/dev/dev/ops/index.html
index 94752285..bb572019 100644
--- a/db_sqlx_maria/dev/dev/ops/index.html
+++ b/db_sqlx_maria/dev/dev/ops/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::dev::ops - Rust Module db_sqlx_maria::dev::dev::ops
Expand description
meta operations like migration and connecting to a database
+db_sqlx_maria::dev::dev::ops - Rust
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/dev/ops/trait.Connect.html
index bc5f7295..27aa2827 100644
--- a/db_sqlx_maria/dev/dev/ops/trait.Connect.html
+++ b/db_sqlx_maria/dev/dev/ops/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::dev::ops - Rust Trait db_sqlx_maria::dev::dev::ops::Connect
pub trait Connect {
+Connect in db_sqlx_maria::dev::dev::ops - Rust pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
type Pool: MCDatabase
database specific pool-type
-Required Methods§
fn connect<'async_trait>(
+
Required Associated Types§
sourcetype Pool: MCDatabase
database specific pool-type
+Required Methods§
sourcefn connect<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html
index 12860e4f..e71b51f5 100644
--- a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html
+++ b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::dev::ops - Rust Trait db_sqlx_maria::dev::dev::ops::DBOps
pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
+DBOps in db_sqlx_maria::dev::dev::ops - Rust 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/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html
index cda542f8..05ce9c57 100644
--- a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::dev::ops - Rust Trait db_sqlx_maria::dev::dev::ops::GetConnection
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::dev::ops - Rust Trait db_sqlx_maria::dev::dev::ops::GetConnection
source · 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§
type Conn
database connection type
-Required Methods§
fn get_conn<'life0, 'async_trait>(
+
Required Associated Types§
Required Methods§
sourcefn get_conn<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html
index b6103826..ffc5511b 100644
--- a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html
+++ b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html
@@ -1,4 +1,4 @@
-Migrate in db_sqlx_maria::dev::dev::ops - Rust Trait db_sqlx_maria::dev::dev::ops::Migrate
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::dev::ops - Rust 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§
fn migrate<'life0, 'async_trait>(
+
Required Methods§
sourcefn migrate<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html
index 44413ab5..fb455e0c 100644
--- a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html
+++ b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::dev::prelude - Rust Enum db_sqlx_maria::dev::dev::prelude::DBError
pub enum DBError {
+DBError in db_sqlx_maria::dev::dev::prelude - Rust pub enum DBError {
DBError(Box<dyn Error + Sync + Send, Global>),
UsernameTaken,
EmailTaken,
@@ -18,7 +18,7 @@
§CaptchaNotFound
Captcha not found
§TrafficPatternNotFound
Traffic pattern not found
§NotificationNotFound
Notification not found
-
Trait Implementations§
§impl Error for DBError
§fn source(&self) -> Option<&(dyn Error + 'static)>
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 !RefUnwindSafe for DBError
§impl Send for DBError
§impl Sync for DBError
§impl Unpin for DBError
§impl !UnwindSafe for DBError
Blanket Implementations§
Trait Implementations§
source§impl Error for DBError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
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 !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/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/dev/prelude/enum.Login.html
index 53b1b981..b97bb009 100644
--- a/db_sqlx_maria/dev/dev/prelude/enum.Login.html
+++ b/db_sqlx_maria/dev/dev/prelude/enum.Login.html
@@ -1,20 +1,20 @@
-Login in db_sqlx_maria::dev::dev::prelude - Rust Enum db_sqlx_maria::dev::dev::prelude::Login
pub enum Login<'a> {
+Login in db_sqlx_maria::dev::dev::prelude - Rust pub enum Login<'a> {
Username(&'a str),
Email(&'a str),
}
Expand description
types of credentials used as identifiers during login
Variants§
Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Login<'a>where
- 'de: 'a,
§fn deserialize<__D>(
+
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Login<'a>where
+ 'de: 'a,
source§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> PartialEq<Login<'a>> for Login<'a>
§fn eq(&self, other: &Login<'a>) -> bool
This method tests for self and other values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> Serialize for Login<'a>
source§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 more§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§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 moresource§impl<'a> StructuralPartialEq for Login<'a>
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/dev/prelude/index.html b/db_sqlx_maria/dev/dev/prelude/index.html
index 3166677f..fde19a49 100644
--- a/db_sqlx_maria/dev/dev/prelude/index.html
+++ b/db_sqlx_maria/dev/dev/prelude/index.html
@@ -1,3 +1,3 @@
-db_sqlx_maria::dev::dev::prelude - Rust Module db_sqlx_maria::dev::dev::prelude
Expand description
useful imports for users working with a supported database
+db_sqlx_maria::dev::dev::prelude - Rust Module db_sqlx_maria::dev::dev::prelude
source · Expand description
useful imports for users working with a supported database
Structs
- Data required to add notification
- Data representing a captcha
- data required to create new captcha
- Log Proof-of-Work CAPTCHA performance analytics
- Level struct that describes threshold-difficulty factor mapping
- type encapsulating username and hashed password of a user
- Represents notification
- Proof-of-Work CAPTCHA performance analytics
- Data required to register a new user
- datastructure representing a user’s secret
- Captcha statistics with time recorded in UNIX epoch formats
- User’s traffic pattern; used in generating a captcha configuration
- data required to update them email of a user
Enums
- Error data structure grouping various error subtypes
- types of credentials used as identifiers during login
Traits
- Trait to clone MCDatabase
- Create database connection
- Database operations trait(migrations, pool creation and fetching connection from pool)
- Get database connection
- mCaptcha’s database requirements. To implement support for $Database, kindly implement this
trait.
- database migrations
Type Definitions
- Convenience type alias for grouping driver-specific errors
- Generic result data structure
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html
index 7eb17047..31146537 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::AddNotification
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::AddNotification
source · pub struct AddNotification<'a> {
pub to: &'a str,
pub from: &'a str,
pub heading: &'a str,
@@ -8,17 +8,17 @@
§from: &'a strnotification sender
§heading: &'a strheading of the notification
§message: &'a strmessage of the notification
-Trait Implementations§
§impl<'a> Clone for AddNotification<'a>
§fn clone(&self) -> AddNotification<'a>
Returns a copy 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>(
+
Trait Implementations§
source§impl<'a> Clone for AddNotification<'a>
source§fn clone(&self) -> AddNotification<'a>
Returns a copy 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>(
__deserializer: __D
) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>
§fn eq(&self, other: &AddNotification<'a>) -> bool
This method tests for self and other values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>
source§fn eq(&self, other: &AddNotification<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl<'a> Serialize for AddNotification<'a>
source§impl<'a> Serialize for AddNotification<'a>
source§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 more§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§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 moresource§impl<'a> StructuralPartialEq for AddNotification<'a>
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html
index 65d67e03..51f4ae93 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::Captcha
pub struct Captcha {
+Captcha in db_sqlx_maria::dev::dev::prelude - Rust pub struct Captcha {
pub config_id: i32,
pub duration: i32,
pub description: String,
@@ -8,16 +8,16 @@
§duration: i32cool down duration
§description: Stringdescription of the captcha
§key: Stringsecret key of the captcha
-Trait Implementations§
§impl<'de> Deserialize<'de> for Captcha
§fn deserialize<__D>(
+
Trait Implementations§
source§impl<'de> Deserialize<'de> for Captcha
source§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 PartialEq<Captcha> for Captcha
§fn eq(&self, other: &Captcha) -> bool
This method tests for self and other values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for Captcha
source§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 more§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§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 moresource§impl StructuralPartialEq for Captcha
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html
index 1dc3baad..509141ce 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::CreateCaptcha
pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::CreateCaptcha
source · pub struct CreateCaptcha<'a> {
pub duration: i32,
pub description: &'a str,
pub key: &'a str,
@@ -6,17 +6,17 @@
Fields§
§duration: i32cool down duration
§description: &'a strdescription of the captcha
§key: &'a strsecret key of the captcha
-Trait Implementations§
§impl<'a> Clone for CreateCaptcha<'a>
§fn clone(&self) -> CreateCaptcha<'a>
Returns a copy 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>(
+
Trait Implementations§
source§impl<'a> Clone for CreateCaptcha<'a>
source§fn clone(&self) -> CreateCaptcha<'a>
Returns a copy 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>(
__deserializer: __D
) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>
§fn eq(&self, other: &CreateCaptcha<'a>) -> bool
This method tests for self and other values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>
source§fn eq(&self, other: &CreateCaptcha<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl<'a> Serialize for CreateCaptcha<'a>
source§impl<'a> Serialize for CreateCaptcha<'a>
source§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 more§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§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 moresource§impl<'a> StructuralPartialEq for CreateCaptcha<'a>
Auto Trait Implementations§
§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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html
index 802f8b78..52122d06 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html
@@ -1,4 +1,4 @@
-CreatePerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::