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 00c29a96..02e62355 100644 --- a/db_core/all.html +++ b/db_core/all.html @@ -1 +1 @@ -
mCaptcha 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.
@@ -10,5 +10,5 @@ implemented.pub use ops::GetConnection;pub use ops::GetConnection;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 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 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 4dec75ce..f92d549c 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 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 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 4baa5850..2c3a03c5 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 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 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 3cbb5a28..4ea18f6a 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 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 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.EasyCaptcha.html b/db_core/struct.EasyCaptcha.html
new file mode 100644
index 00000000..42d393da
--- /dev/null
+++ b/db_core/struct.EasyCaptcha.html
@@ -0,0 +1,33 @@
+EasyCaptcha in db_core - Rust Struct db_core::EasyCaptcha
source · pub struct EasyCaptcha {
+ pub traffic_pattern: TrafficPattern,
+ pub key: String,
+ pub description: String,
+ pub username: String,
+}
Expand description
Represents Easy captcha configuration
+Fields§
§traffic_pattern: TrafficPatterntraffic pattern of easy captcha
+§key: Stringcaptcha key/sitekey
+§description: Stringcaptcha description
+§username: StringOwner of the captcha configuration
+Trait Implementations§
source§impl Clone for EasyCaptcha
source§fn clone(&self) -> EasyCaptcha
Returns a 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 EasyCaptcha
source§impl Default for EasyCaptcha
source§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for EasyCaptcha
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for EasyCaptcha
source§fn eq(&self, other: &EasyCaptcha) -> bool
This method tests for self and other values to be equal, and is used
+by ==.source§impl Serialize for EasyCaptcha
source§impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/db_core/struct.Notification.html b/db_core/struct.Notification.html
index 1e37c968..0eefbf48 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 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 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 612a2cb8..78b6c387 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 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 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 b09a3c9a..6296df90 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 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 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 2db4f9f6..da1da7c6 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 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 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 f9728acd..44d1e438 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 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 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 e0e63c8a..a2d52920 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 c113946a..e87f6374 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
\ No newline at end of file
diff --git a/db_core/trait.CloneSPDatabase.html b/db_core/trait.CloneSPDatabase.html
index 5873c090..d259e263 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 6e68ab49..974763e9 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 48 methods
// Required methods
+MCDatabase in db_core - Rust Trait db_core::MCDatabase
source · pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+Show 49 methods
// Required methods
fn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
@@ -212,6 +212,13 @@
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
+ fn get_all_easy_captchas<'life0, 'async_trait>(
+ &'life0 self,
+ limit: usize,
+ offset: usize
+ ) -> Pin<Box<dyn Future<Output = DBResult<Vec<EasyCaptcha>>> + Send + 'async_trait>>
+ where Self: 'async_trait,
+ 'life0: 'async_trait;
fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
@@ -596,7 +603,14 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get traffic configuration
-sourcefn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
+
sourcefn get_all_easy_captchas<'life0, 'async_trait>(
+ &'life0 self,
+ limit: usize,
+ offset: usize
+) -> Pin<Box<dyn Future<Output = DBResult<Vec<EasyCaptcha>>> + Send + 'async_trait>>where
+ Self: 'async_trait,
+ 'life0: 'async_trait,
Get all easy captcha configurations on instance
+sourcefn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
captcha_key: &'life2 str
@@ -605,21 +619,21 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Delete traffic configuration
-sourcefn create_notification<'life0, 'life1, 'async_trait>(
+
sourcefn create_notification<'life0, 'life1, 'async_trait>(
&'life0 self,
p: &'life1 AddNotification<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
create new notification
-sourcefn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
+
sourcefn get_all_unread_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
username: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Notification>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
get all unread notifications
-sourcefn mark_notification_read<'life0, 'life1, 'async_trait>(
+
sourcefn mark_notification_read<'life0, 'life1, 'async_trait>(
&'life0 self,
username: &'life1 str,
id: i32
@@ -627,28 +641,28 @@ trait.
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
mark a notification read
-sourcefn record_fetch<'life0, 'life1, 'async_trait>(
+
sourcefn record_fetch<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
record PoWConfig fetches
-sourcefn record_solve<'life0, 'life1, 'async_trait>(
+
sourcefn record_solve<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
record PoWConfig solves
-sourcefn record_confirm<'life0, 'life1, 'async_trait>(
+
sourcefn record_confirm<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
record PoWConfig confirms
-sourcefn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
+
sourcefn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 str,
key: &'life2 str
@@ -657,7 +671,7 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fetch PoWConfig fetches
-sourcefn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
+
sourcefn fetch_solve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 str,
key: &'life2 str
@@ -666,7 +680,7 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fetch PoWConfig solves
-sourcefn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
+
sourcefn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 str,
key: &'life2 str
@@ -675,7 +689,7 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fetch PoWConfig confirms
-sourcefn analysis_save<'life0, 'life1, 'life2, 'async_trait>(
+
sourcefn analysis_save<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
captcha_id: &'life1 str,
d: &'life2 CreatePerformanceAnalytics
@@ -684,7 +698,7 @@ trait.
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
record PoW timing
-sourcefn analytics_fetch<'life0, 'life1, 'async_trait>(
+
sourcefn analytics_fetch<'life0, 'life1, 'async_trait>(
&'life0 self,
captcha_id: &'life1 str,
limit: usize,
@@ -693,41 +707,41 @@ trait.
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fetch PoW analytics
-sourcefn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>(
+
sourcefn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
captcha_id: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Create psuedo ID against campaign ID to publish analytics
-sourcefn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>(
+
sourcefn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>(
&'life0 self,
captcha_id: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get psuedo ID from campaign ID
-sourcefn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>(
+
sourcefn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>(
&'life0 self,
psuedo_id: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get campaign ID from psuedo ID
-sourcefn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>(
+
sourcefn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>(
&'life0 self,
campaign_id: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delete all records for campaign
-sourcefn analytics_get_all_psuedo_ids<'life0, 'async_trait>(
+
sourcefn analytics_get_all_psuedo_ids<'life0, 'async_trait>(
&'life0 self,
page: usize
) -> 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>(
+
sourcefn update_max_nonce_for_level<'life0, 'life1, 'async_trait>(
&'life0 self,
captcha_key: &'life1 str,
difficulty_factor: u32,
@@ -736,7 +750,7 @@ trait.
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>(
+
sourcefn get_max_nonce_for_level<'life0, 'life1, 'async_trait>(
&'life0 self,
captcha_key: &'life1 str,
difficulty_factor: u32
@@ -744,13 +758,13 @@ 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>(
+
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>(
+
sourcefn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>(
&'life0 self,
duration: u32,
location: u32
@@ -758,11 +772,11 @@ trait.
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>(
+
Provided Methods§
sourcefn analytics_captcha_is_published<'life0, 'life1, 'async_trait>(
&'life0 self,
campaign_id: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
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 03580c2d..751b8dfa 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::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::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::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
Type Aliases
- dev::BoxDynError
- dev::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
+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::EasyCaptcha
- dev::Level
- dev::NameHash
- dev::Notification
- dev::PerformanceAnalytics
- dev::Register
- dev::Secret
- dev::StatsUnixTimestamp
- dev::TrafficPattern
- dev::UpdateEmail
- dev::prelude::AddNotification
- dev::prelude::Captcha
- dev::prelude::CreateCaptcha
- dev::prelude::CreatePerformanceAnalytics
- dev::prelude::EasyCaptcha
- 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::EasyCaptcha
- 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::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::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
Type Aliases
- dev::BoxDynError
- dev::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/enum.DBError.html b/db_sqlx_maria/dev/enum.DBError.html
index da5fb483..c0a86a77 100644
--- a/db_sqlx_maria/dev/enum.DBError.html
+++ b/db_sqlx_maria/dev/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev - Rust Enum db_sqlx_maria::dev::DBError
pub enum DBError {
+DBError in db_sqlx_maria::dev - Rust Enum db_sqlx_maria::dev::DBError
source · pub enum DBError {
DBError(Box<dyn Error + Send + Sync>),
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/enum.Login.html b/db_sqlx_maria/dev/enum.Login.html
index 57f79799..47231afe 100644
--- a/db_sqlx_maria/dev/enum.Login.html
+++ b/db_sqlx_maria/dev/enum.Login.html
@@ -1,20 +1,20 @@
-Login in db_sqlx_maria::dev - Rust Enum db_sqlx_maria::dev::Login
pub enum Login<'a> {
+Login in db_sqlx_maria::dev - Rust Enum db_sqlx_maria::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 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/errors/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html
index 66cf1b06..e897024c 100644
--- a/db_sqlx_maria/dev/errors/enum.DBError.html
+++ b/db_sqlx_maria/dev/errors/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::errors - Rust Enum db_sqlx_maria::dev::errors::DBError
pub enum DBError {
+DBError in db_sqlx_maria::dev::errors - Rust Enum db_sqlx_maria::dev::errors::DBError
source · pub enum DBError {
DBError(Box<dyn Error + Send + Sync>),
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/errors/index.html b/db_sqlx_maria/dev/errors/index.html
index 7573c1e7..c26ef06c 100644
--- a/db_sqlx_maria/dev/errors/index.html
+++ b/db_sqlx_maria/dev/errors/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::errors - Rust Module db_sqlx_maria::dev::errors
Expand description
represents all the ways a trait can fail using this crate
+db_sqlx_maria::dev::errors - Rust Module db_sqlx_maria::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 Aliases
- 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/errors/type.BoxDynError.html b/db_sqlx_maria/dev/errors/type.BoxDynError.html
index ec6636c0..352c58b8 100644
--- a/db_sqlx_maria/dev/errors/type.BoxDynError.html
+++ b/db_sqlx_maria/dev/errors/type.BoxDynError.html
@@ -1,2 +1,2 @@
-BoxDynError in db_sqlx_maria::dev::errors - Rust Type Alias db_sqlx_maria::dev::errors::BoxDynError
pub type BoxDynError = Box<dyn Error + Send + Sync>;
Expand description
Convenience type alias for grouping driver-specific errors
+BoxDynError in db_sqlx_maria::dev::errors - Rust Type Alias db_sqlx_maria::dev::errors::BoxDynError
source · pub type BoxDynError = Box<dyn Error + Send + Sync>;
Expand description
Convenience type alias for grouping driver-specific errors
Aliased Type§
struct BoxDynError(/* private fields */);
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/errors/type.DBResult.html
index 78b83db8..489480c5 100644
--- a/db_sqlx_maria/dev/errors/type.DBResult.html
+++ b/db_sqlx_maria/dev/errors/type.DBResult.html
@@ -1,4 +1,4 @@
-DBResult in db_sqlx_maria::dev::errors - Rust Type Alias db_sqlx_maria::dev::errors::DBResult
pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
+DBResult in db_sqlx_maria::dev::errors - Rust Type Alias db_sqlx_maria::dev::errors::DBResult
source · pub type DBResult<V> = Result<V, DBError>;
Expand description
Generic result data structure
Aliased Type§
enum DBResult<V> {
Ok(V),
Err(DBError),
diff --git a/db_sqlx_maria/dev/index.html b/db_sqlx_maria/dev/index.html
index 91c0e2e1..7055305b 100644
--- a/db_sqlx_maria/dev/index.html
+++ b/db_sqlx_maria/dev/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev - Rust Module db_sqlx_maria::dev
source · Re-exports
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
- Represents all the ways a method can fail within SQLx.
- types of credentials used as identifiers during login
Traits
- Trait to clone MCDatabase
- Create database connection
- Database operations trait(migrations, pool creation and fetching connection from pool)
- Get database connection
- mCaptcha’s database requirements. To implement support for $Database, kindly implement this
+
db_sqlx_maria::dev - Rust Module db_sqlx_maria::dev
source · Re-exports
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
- Represents Easy captcha configuration
- Level struct that describes threshold-difficulty factor mapping
- type encapsulating username and hashed password of a user
- Represents notification
- Proof-of-Work CAPTCHA performance analytics
- Data required to register a new user
- datastructure representing a user’s secret
- Captcha statistics with time recorded in UNIX epoch formats
- User’s traffic pattern; used in generating a captcha configuration
- data required to update them email of a user
Enums
- Error data structure grouping various error subtypes
- Represents all the ways a method can fail within SQLx.
- types of credentials used as identifiers during login
Traits
- Trait to clone MCDatabase
- Create database connection
- Database operations trait(migrations, pool creation and fetching connection from pool)
- Get database connection
- mCaptcha’s database requirements. To implement support for $Database, kindly implement this
trait.
- database migrations
Type Aliases
- 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/ops/index.html b/db_sqlx_maria/dev/ops/index.html
index ded3273a..8fa9a672 100644
--- a/db_sqlx_maria/dev/ops/index.html
+++ b/db_sqlx_maria/dev/ops/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::ops - Rust Module db_sqlx_maria::dev::ops
Expand description
meta operations like migration and connecting to a database
+db_sqlx_maria::dev::ops - Rust Module db_sqlx_maria::dev::ops
source · Expand description
meta operations like migration and connecting to a database
Traits
- Create database connection
- Database operations trait(migrations, pool creation and fetching connection from pool)
- Get database connection
- database migrations
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html
index 0160cb25..8e189884 100644
--- a/db_sqlx_maria/dev/ops/trait.Connect.html
+++ b/db_sqlx_maria/dev/ops/trait.Connect.html
@@ -1,4 +1,4 @@
-Connect in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::dev::ops::Connect
pub trait Connect {
+Connect in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::dev::ops::Connect
source · pub trait Connect {
type Pool: MCDatabase;
// Required method
@@ -7,8 +7,8 @@
) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Create database connection
-Required Associated Types§
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>>where
Self: 'async_trait,
database specific error-type
diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html
index d83b5c01..6ae92aea 100644
--- a/db_sqlx_maria/dev/ops/trait.DBOps.html
+++ b/db_sqlx_maria/dev/ops/trait.DBOps.html
@@ -1,2 +1,2 @@
-
DBOps in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::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::ops - Rust Trait db_sqlx_maria::dev::ops::DBOps
source · pub trait DBOps: GetConnection + Migrate { }
Expand description
Database operations trait(migrations, pool creation and fetching connection from pool)
Implementors§
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html
index 8a306e75..97419ddb 100644
--- a/db_sqlx_maria/dev/ops/trait.GetConnection.html
+++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html
@@ -1,4 +1,4 @@
-GetConnection in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::dev::ops::GetConnection
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::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>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html
index c24f959a..3aea7517 100644
--- a/db_sqlx_maria/dev/ops/trait.Migrate.html
+++ b/db_sqlx_maria/dev/ops/trait.Migrate.html
@@ -1,4 +1,4 @@
-Migrate in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::dev::ops::Migrate
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::ops - Rust Trait db_sqlx_maria::dev::ops::Migrate
source · 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>>where
'life0: 'async_trait,
diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
index 5300a5bb..859c3a47 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::prelude::dev - Rust Enum db_sqlx_maria::dev::prelude::dev::DBError
pub enum DBError {
+DBError in db_sqlx_maria::dev::prelude::dev - Rust pub enum DBError {
DBError(Box<dyn Error + Send + Sync>),
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/prelude/dev/enum.Login.html b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
index 99a881bd..157de849 100644
--- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html
+++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html
@@ -1,20 +1,20 @@
-Login in db_sqlx_maria::dev::prelude::dev - Rust Enum db_sqlx_maria::dev::prelude::dev::Login
pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude::dev - 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 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/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html
index 074777d8..7127f629 100644
--- a/db_sqlx_maria/dev/prelude/dev/index.html
+++ b/db_sqlx_maria/dev/prelude/dev/index.html
@@ -1,3 +1,3 @@
-db_sqlx_maria::dev::prelude::dev - Rust Module db_sqlx_maria::dev::prelude::dev
Expand description
useful imports for supporting a new 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
+
db_sqlx_maria::dev::prelude::dev - Rust Module db_sqlx_maria::dev::prelude::dev
source · Expand description
useful imports for supporting a new database
+Structs
- Data required to add notification
- Data representing a captcha
- data required to create new captcha
- Log Proof-of-Work CAPTCHA performance analytics
- Represents Easy captcha configuration
- 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 Aliases
- 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/prelude/dev/sidebar-items.js b/db_sqlx_maria/dev/prelude/dev/sidebar-items.js
index 0ffdf23f..32798f50 100644
--- a/db_sqlx_maria/dev/prelude/dev/sidebar-items.js
+++ b/db_sqlx_maria/dev/prelude/dev/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"attr":["async_trait"],"enum":["DBError","Login"],"struct":["AddNotification","Captcha","CreateCaptcha","CreatePerformanceAnalytics","Level","NameHash","Notification","PerformanceAnalytics","Register","Secret","StatsUnixTimestamp","TrafficPattern","UpdateEmail"],"trait":["CloneSPDatabase","Connect","DBOps","GetConnection","MCDatabase","Migrate"],"type":["BoxDynError","DBResult"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"attr":["async_trait"],"enum":["DBError","Login"],"struct":["AddNotification","Captcha","CreateCaptcha","CreatePerformanceAnalytics","EasyCaptcha","Level","NameHash","Notification","PerformanceAnalytics","Register","Secret","StatsUnixTimestamp","TrafficPattern","UpdateEmail"],"trait":["CloneSPDatabase","Connect","DBOps","GetConnection","MCDatabase","Migrate"],"type":["BoxDynError","DBResult"]};
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
index bac49046..e2cc5723 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::AddNotification
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::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§
§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 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 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/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
index 0a645f13..151b72ea 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html
@@ -1,4 +1,4 @@
-Captcha in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::Captcha
pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude::dev - 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 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/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
index 636e4421..c06d9a6f 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html
@@ -1,4 +1,4 @@
-CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::CreateCaptcha
pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::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 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 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/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
index 833092ba..868874d1 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html
@@ -1,4 +1,4 @@
-CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::CreatePerformanceAnalytics
pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::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§
§impl Clone for CreatePerformanceAnalytics
§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 more§impl Debug for CreatePerformanceAnalytics
§impl Default for CreatePerformanceAnalytics
§fn default() -> CreatePerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for CreatePerformanceAnalytics
§fn deserialize<__D>(
+
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 more§impl PartialEq for CreatePerformanceAnalytics
§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 for CreatePerformanceAnalytics
source§fn eq(&self, other: &CreatePerformanceAnalytics) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Serialize for CreatePerformanceAnalytics
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 more§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/prelude/dev/struct.EasyCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
new file mode 100644
index 00000000..ca146a81
--- /dev/null
+++ b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html
@@ -0,0 +1,38 @@
+EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::EasyCaptcha
source · pub struct EasyCaptcha {
+ pub traffic_pattern: TrafficPattern,
+ pub key: String,
+ pub description: String,
+ pub username: String,
+}
Expand description
Represents Easy captcha configuration
+Fields§
§traffic_pattern: TrafficPatterntraffic pattern of easy captcha
+§key: Stringcaptcha key/sitekey
+§description: Stringcaptcha description
+§username: StringOwner of the captcha configuration
+Trait Implementations§
source§impl Clone for EasyCaptcha
source§fn clone(&self) -> EasyCaptcha
Returns a 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 EasyCaptcha
source§impl Default for EasyCaptcha
source§fn default() -> EasyCaptcha
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for EasyCaptcha
source§fn deserialize<__D>(
+ __deserializer: __D
+) -> Result<EasyCaptcha, <__D as Deserializer<'de>>::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for EasyCaptcha
source§fn eq(&self, other: &EasyCaptcha) -> bool
This method tests for self and other values to be equal, and is used
+by ==.source§impl Serialize for EasyCaptcha
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 EasyCaptcha
Auto Trait Implementations§
§impl RefUnwindSafe for EasyCaptcha
§impl Send for EasyCaptcha
§impl Sync for EasyCaptcha
§impl Unpin for EasyCaptcha
§impl UnwindSafe for EasyCaptcha
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
index 37d32587..8f5390c2 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html
@@ -1,19 +1,19 @@
-NameHash in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::NameHash
pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude::dev - Rust pub struct NameHash {
pub username: String,
pub hash: String,
}
Expand description
type encapsulating username and hashed password of a user
Fields§
§username: Stringusername
§hash: Stringhashed password
-Trait Implementations§
§impl<'de> Deserialize<'de> for NameHash
§fn deserialize<__D>(
+
Trait Implementations§
source§impl<'de> Deserialize<'de> for NameHash
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl PartialEq for NameHash
§fn eq(&self, other: &NameHash) -> 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 NameHash
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 NameHash
Auto Trait Implementations§
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl StructuralPartialEq for NameHash
Auto Trait Implementations§
§impl RefUnwindSafe for NameHash
§impl Send for NameHash
§impl Sync for NameHash
§impl Unpin for NameHash
§impl UnwindSafe for NameHash
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
index 8dbd9348..67a82cfe 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html
@@ -1,4 +1,4 @@
-Notification in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::Notification
pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::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§
§impl Clone for Notification
§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 more§impl Debug for Notification
§impl Default for Notification
§fn default() -> Notification
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for Notification
§fn deserialize<__D>(
+
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.§impl PartialEq for Notification
§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 for Notification
source§fn eq(&self, other: &Notification) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Serialize for Notification
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 more§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/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
index f53a4be9..53640a20 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html
@@ -1,4 +1,4 @@
-PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::PerformanceAnalytics
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::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§
§impl Clone for PerformanceAnalytics
§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 more§impl Debug for PerformanceAnalytics
§impl Default for PerformanceAnalytics
§fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for PerformanceAnalytics
§fn deserialize<__D>(
+
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 more§impl PartialEq for PerformanceAnalytics
§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 for PerformanceAnalytics
source§fn eq(&self, other: &PerformanceAnalytics) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Serialize for PerformanceAnalytics
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 more§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/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
index 5f69e49d..30c13701 100644
--- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html
+++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html
@@ -1,4 +1,4 @@
-Register in db_sqlx_maria::dev::prelude::dev - Rust Struct db_sqlx_maria::dev::prelude::dev::Register
pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude::dev - Rust pub struct Register<'a> {
pub username: &'a str,
pub secret: &'a str,
pub hash: &'a str,
@@ -8,17 +8,17 @@
§secret: &'a strsecret of new user
§hash: &'a strhashed password of new use
§email: Option<&'a str>Optionally, email of new use
-Trait Implementations§
§impl<'de, 'a> Deserialize<'de> for Register<'a>where
- 'de: 'a,
§fn deserialize<__D>(
+
Trait Implementations§