Expand description
mCaptcha database operations
+Expand description
mCaptcha database operations
Traits 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 c84cd042..fc97ada1 100644 --- a/db_core/struct.AddNotification.html +++ b/db_core/struct.AddNotification.html @@ -1,4 +1,4 @@ -Struct db_core::AddNotification
source · 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 1d7c75c5..17d7aca9 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 4b97a2b7..cf0956df 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 98cbbe75..1259f914 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 ca7275e9..916d523d 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 2e1451de..f503ccee 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 d8d226c0..efa6a5fd 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 ee2f6143..f7cf3632 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 d228b4fc..1b8daead 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/fn.database_works.html b/db_core/tests/fn.database_works.html
index 36012b9b..1093fb76 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 05032b65..8b3a81b8 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
+db_core::tests - Rust Expand description
Test utilities
Functions
- test all database functions
\ No newline at end of file
diff --git a/db_core/trait.CloneSPDatabase.html b/db_core/trait.CloneSPDatabase.html
index 899e9203..d52f3fa2 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 29e67398..a2e4a3ca 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 44 methods
// Required methods
+MCDatabase in db_core - Rust Trait db_core::MCDatabase
source · pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+Show 46 methods
// Required methods
fn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
@@ -343,6 +343,23 @@
) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
+ fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32,
+ latest_nonce: u32
+ ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
+ where Self: 'async_trait,
+ 'life0: 'async_trait,
+ 'life1: 'async_trait;
+ fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32
+ ) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>
+ where Self: 'async_trait,
+ 'life0: 'async_trait,
+ 'life1: 'async_trait;
// Provided method
fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
@@ -697,6 +714,23 @@ trait.
) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all psuedo IDs
+sourcefn update_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32,
+ latest_nonce: u32
+) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
+ Self: 'async_trait,
+ 'life0: 'async_trait,
+ 'life1: 'async_trait,
Track maximum nonce received against captcha levels
+sourcefn get_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32
+) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where
+ Self: 'async_trait,
+ 'life0: 'async_trait,
+ 'life1: 'async_trait,
Get maximum nonce tracked so far for captcha levels
Provided Methods§
sourcefn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
&'life0 self,
campaign_id: &'life1 str
@@ -704,4 +738,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/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html
index 3f7d6b5f..8c94bec9 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
source · 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§
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>(
+
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 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
+ __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§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> 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 57208ab0..11cdad07 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 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§
source§impl<'de> Deserialize<'de> for Captcha
source§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 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
+ __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 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> 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 12617a90..7486106d 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
source · 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§
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>(
+
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 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
+ __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§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> 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 48a7b2e5..e6a1c8d8 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::prelude::CreatePerformanceAnalytics
source · pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::CreatePerformanceAnalytics
source · pub struct CreatePerformanceAnalytics {
pub time: u32,
pub difficulty_factor: u32,
pub worker_type: String,
@@ -6,16 +6,16 @@
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>(
+
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<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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
+ __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 Serialize for CreatePerformanceAnalytics
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 moresource§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> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§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_sqlx_maria/dev/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html
index e4f16f58..342219ad 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html
@@ -1,4 +1,4 @@
-Notification in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::Notification
source · pub struct Notification {
+Notification in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::Notification
source · pub struct Notification {
pub name: Option<String>,
pub heading: Option<String>,
pub message: Option<String>,
@@ -10,16 +10,16 @@
§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>(
+
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<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<Notification> for Notification
source§fn eq(&self, other: &Notification) -> 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 From<InnerNotification> for Notification
source§fn from(n: InnerNotification) -> Self
Converts to this type from the input type.source§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§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 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 moresource§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_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html
index 2e9551d2..5918ceea 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html
@@ -1,4 +1,4 @@
-PerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::PerformanceAnalytics
source · pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::PerformanceAnalytics
source · pub struct PerformanceAnalytics {
pub id: usize,
pub time: u32,
pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
§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>(
+
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<PerformanceAnalytics, <__D as Deserializer<'de>>::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
+ __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§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 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 moresource§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_sqlx_maria/dev/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html
index a8e4d312..1a0ae685 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.Secret.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html
@@ -1,17 +1,17 @@
-Secret in db_sqlx_maria::dev::dev::prelude - Rust pub struct Secret {
+Secret in db_sqlx_maria::dev::dev::prelude - 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>(
+
Trait Implementations§
source§impl<'de> Deserialize<'de> for Secret
source§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 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
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for Secret
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 moresource§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> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§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_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html
index e58e5aae..8aa51b02 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html
@@ -1,4 +1,4 @@
-StatsUnixTimestamp in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::StatsUnixTimestamp
source · pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::StatsUnixTimestamp
source · pub struct StatsUnixTimestamp {
pub config_fetches: Vec<i64, Global>,
pub solves: Vec<i64, Global>,
pub confirms: Vec<i64, Global>,
@@ -6,16 +6,16 @@
Fields§
§config_fetches: Vec<i64, Global>times at which the configuration were fetched
§solves: Vec<i64, Global>times at which the PoW was solved
§confirms: Vec<i64, Global>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>(
+
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<StatsUnixTimestamp, <__D as Deserializer<'de>>::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
+ __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§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 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 moresource§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_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html
index 05752a19..93b8aa65 100644
--- a/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html
+++ b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html
@@ -1,4 +1,4 @@
-TrafficPattern in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::TrafficPattern
source · pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev::dev::prelude - Rust Struct db_sqlx_maria::dev::dev::prelude::TrafficPattern
source · pub struct TrafficPattern {
pub avg_traffic: u32,
pub peak_sustainable_traffic: u32,
pub broke_my_site_traffic: Option<u32>,
@@ -6,16 +6,16 @@
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>(
+
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<TrafficPattern, <__D as Deserializer<'de>>::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
+ __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§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 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 moresource§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_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html
index 1088d217..57e63588 100644
--- a/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html
+++ b/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html
@@ -1,7 +1,7 @@
-CloneSPDatabase in db_sqlx_maria::dev::dev::prelude - Rust Trait db_sqlx_maria::dev::dev::prelude::CloneSPDatabase
source · pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::dev::prelude - Rust Trait db_sqlx_maria::dev::dev::prelude::CloneSPDatabase
source · pub trait CloneSPDatabase {
// Required method
fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
}
Expand description
Trait to clone MCDatabase
-Required Methods§
sourcefn clone_db(&self) -> Box<dyn MCDatabase, Global>
clone DB
-Implementors§
source§impl<T> CloneSPDatabase for Twhere
+
Required Methods§
sourcefn clone_db(&self) -> Box<dyn MCDatabase, Global>
clone DB
+Implementors§
source§impl<T> CloneSPDatabase for Twhere
T: MCDatabase + Clone + 'static,
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html
index c6fda978..95ab3be5 100644
--- a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html
+++ b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html
@@ -1,5 +1,5 @@
-MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust Trait db_sqlx_maria::dev::dev::prelude::MCDatabase
source · pub trait MCDatabase: Send + Sync + CloneSPDatabase {
-Show 44 methods
// Required methods
+MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust Trait db_sqlx_maria::dev::dev::prelude::MCDatabase
source · pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+Show 46 methods
// Required methods
fn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>
@@ -343,6 +343,23 @@
) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
Self: 'async_trait;
+ fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32,
+ latest_nonce: u32
+ ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
+ where 'life0: 'async_trait,
+ 'life1: 'async_trait,
+ Self: 'async_trait;
+ fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32
+ ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>
+ where 'life0: 'async_trait,
+ 'life1: 'async_trait,
+ Self: 'async_trait;
// Provided method
fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
@@ -697,6 +714,23 @@ trait.
) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
Get all psuedo IDs
+sourcefn update_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32,
+ latest_nonce: u32
+) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where
+ 'life0: 'async_trait,
+ 'life1: 'async_trait,
+ Self: 'async_trait,
Track maximum nonce received against captcha levels
+sourcefn get_max_nonce_for_level<'life0, 'life1, 'async_trait>(
+ &'life0 self,
+ captcha_key: &'life1 str,
+ difficulty_factor: u32
+) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where
+ 'life0: 'async_trait,
+ 'life1: 'async_trait,
+ Self: 'async_trait,
Get maximum nonce tracked so far for captcha levels
Provided Methods§
sourcefn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
&'life0 self,
campaign_id: &'life1 str
@@ -704,4 +738,4 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get publishing status of pow analytics for captcha ID/ campaign ID
-Implementors§
source§impl MCDatabase for Database
\ No newline at end of file
+
Implementors§
source§impl MCDatabase for Database
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/dev/struct.AddNotification.html b/db_sqlx_maria/dev/dev/struct.AddNotification.html
index 56b619fc..d0f503fc 100644
--- a/db_sqlx_maria/dev/dev/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/dev/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev::dev - Rust Struct db_sqlx_maria::dev::dev::AddNotification
source · pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::dev - Rust Struct db_sqlx_maria::dev::dev::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§
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>(
+
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 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
+ __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§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> 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/struct.Captcha.html b/db_sqlx_maria/dev/dev/struct.Captcha.html
index 61ebe124..c337eff5 100644
--- a/db_sqlx_maria/dev/dev/struct.Captcha.html
+++ b/db_sqlx_maria/dev/dev/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_sqlx_maria::dev::dev - Rust Struct db_sqlx_maria::dev::dev::Captcha
source · pub struct Captcha {
+Captcha in db_sqlx_maria::dev::dev - Rust Struct db_sqlx_maria::dev::dev::Captcha
source · 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§
source§impl<'de> Deserialize<'de> for Captcha
source§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 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
+ __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 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> 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/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html
index 8e1ea0be..15b64e9f 100644
--- a/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html
+++ b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_sqlx_maria::dev::dev - Rust Struct db_sqlx_maria::dev::dev::CreateCaptcha
source · pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::dev - Rust Struct db_sqlx_maria::dev::dev::CreateCaptcha