From 0ffb5df903d5b8b99230f586eec259e60e2b3c82 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Thu, 2 Oct 2025 09:46:04 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=209cd7c?= =?UTF-8?q?f3a02ca6cd56ed86ab4be33bb9bc563f135=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db_sqlx_maria/dev/enum.DBError.html | 4 +- db_sqlx_maria/dev/enum.Login.html | 12 +-- db_sqlx_maria/dev/errors/enum.DBError.html | 4 +- db_sqlx_maria/dev/errors/index.html | 2 +- .../dev/errors/type.BoxDynError.html | 2 +- db_sqlx_maria/dev/errors/type.DBResult.html | 2 +- db_sqlx_maria/dev/ops/index.html | 2 +- db_sqlx_maria/dev/ops/trait.Connect.html | 6 +- db_sqlx_maria/dev/ops/trait.DBOps.html | 2 +- .../dev/ops/trait.GetConnection.html | 6 +- db_sqlx_maria/dev/ops/trait.Migrate.html | 4 +- .../dev/prelude/dev/enum.DBError.html | 4 +- db_sqlx_maria/dev/prelude/dev/enum.Login.html | 12 +-- db_sqlx_maria/dev/prelude/dev/index.html | 2 +- .../prelude/dev/struct.AddNotification.html | 12 +-- .../dev/prelude/dev/struct.Captcha.html | 10 +- .../dev/prelude/dev/struct.CreateCaptcha.html | 12 +-- .../struct.CreatePerformanceAnalytics.html | 10 +- .../dev/prelude/dev/struct.EasyCaptcha.html | 10 +- .../dev/prelude/dev/struct.NameHash.html | 10 +- .../dev/prelude/dev/struct.Notification.html | 10 +- .../dev/struct.PerformanceAnalytics.html | 10 +- .../dev/prelude/dev/struct.Register.html | 12 +-- .../dev/prelude/dev/struct.Secret.html | 10 +- .../dev/struct.StatsUnixTimestamp.html | 10 +- .../prelude/dev/struct.TrafficPattern.html | 10 +- .../dev/prelude/dev/struct.UpdateEmail.html | 12 +-- .../prelude/dev/trait.CloneSPDatabase.html | 6 +- .../dev/prelude/dev/trait.Connect.html | 6 +- .../dev/prelude/dev/trait.DBOps.html | 2 +- .../dev/prelude/dev/trait.GetConnection.html | 6 +- .../dev/prelude/dev/trait.MCDatabase.html | 102 +++++++++--------- .../dev/prelude/dev/trait.Migrate.html | 4 +- .../dev/prelude/dev/type.BoxDynError.html | 2 +- .../dev/prelude/dev/type.DBResult.html | 2 +- db_sqlx_maria/dev/prelude/enum.DBError.html | 4 +- db_sqlx_maria/dev/prelude/enum.Login.html | 12 +-- db_sqlx_maria/dev/prelude/index.html | 2 +- .../dev/prelude/struct.AddNotification.html | 12 +-- db_sqlx_maria/dev/prelude/struct.Captcha.html | 10 +- .../dev/prelude/struct.CreateCaptcha.html | 12 +-- .../struct.CreatePerformanceAnalytics.html | 10 +- .../dev/prelude/struct.EasyCaptcha.html | 10 +- .../dev/prelude/struct.NameHash.html | 10 +- .../dev/prelude/struct.Notification.html | 10 +- .../prelude/struct.PerformanceAnalytics.html | 10 +- .../dev/prelude/struct.Register.html | 12 +-- db_sqlx_maria/dev/prelude/struct.Secret.html | 10 +- .../prelude/struct.StatsUnixTimestamp.html | 10 +- .../dev/prelude/struct.TrafficPattern.html | 10 +- .../dev/prelude/struct.UpdateEmail.html | 12 +-- .../dev/prelude/trait.CloneSPDatabase.html | 6 +- db_sqlx_maria/dev/prelude/trait.Connect.html | 6 +- db_sqlx_maria/dev/prelude/trait.DBOps.html | 2 +- .../dev/prelude/trait.GetConnection.html | 6 +- .../dev/prelude/trait.MCDatabase.html | 102 +++++++++--------- db_sqlx_maria/dev/prelude/trait.Migrate.html | 4 +- .../dev/prelude/type.BoxDynError.html | 2 +- db_sqlx_maria/dev/prelude/type.DBResult.html | 2 +- db_sqlx_maria/dev/struct.AddNotification.html | 12 +-- db_sqlx_maria/dev/struct.Captcha.html | 10 +- db_sqlx_maria/dev/struct.CreateCaptcha.html | 12 +-- .../struct.CreatePerformanceAnalytics.html | 10 +- db_sqlx_maria/dev/struct.EasyCaptcha.html | 10 +- db_sqlx_maria/dev/struct.NameHash.html | 10 +- db_sqlx_maria/dev/struct.Notification.html | 10 +- .../dev/struct.PerformanceAnalytics.html | 10 +- db_sqlx_maria/dev/struct.Register.html | 12 +-- db_sqlx_maria/dev/struct.Secret.html | 10 +- .../dev/struct.StatsUnixTimestamp.html | 10 +- db_sqlx_maria/dev/struct.TrafficPattern.html | 10 +- db_sqlx_maria/dev/struct.UpdateEmail.html | 12 +-- db_sqlx_maria/dev/tests/constant.LEVELS.html | 2 +- .../dev/tests/constant.TRAFFIC_PATTERN.html | 2 +- .../dev/tests/fn.database_works.html | 2 +- db_sqlx_maria/dev/tests/index.html | 2 +- db_sqlx_maria/dev/trait.CloneSPDatabase.html | 6 +- db_sqlx_maria/dev/trait.Connect.html | 6 +- db_sqlx_maria/dev/trait.DBOps.html | 2 +- db_sqlx_maria/dev/trait.GetConnection.html | 6 +- db_sqlx_maria/dev/trait.MCDatabase.html | 102 +++++++++--------- db_sqlx_maria/dev/trait.Migrate.html | 4 +- db_sqlx_maria/dev/type.BoxDynError.html | 2 +- db_sqlx_maria/dev/type.DBResult.html | 2 +- db_sqlx_maria/struct.Database.html | 6 +- mcaptcha/constant.GIT_COMMIT_HASH.html | 2 +- 86 files changed, 451 insertions(+), 451 deletions(-) diff --git a/db_sqlx_maria/dev/enum.DBError.html b/db_sqlx_maria/dev/enum.DBError.html index 462d3f72..b2ad4e24 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 DBError

pub enum DBError {
+DBError in db_sqlx_maria::dev - Rust

Enum DBError

Source
pub enum DBError {
     DBError(Box<dyn Error + Sync + Send>),
     UsernameTaken,
     EmailTaken,
@@ -18,7 +18,7 @@
 
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

§

impl Debug for DBError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for DBError

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for DBError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for DBError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DBError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for DBError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

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 412eecd5..f3887aed 100644 --- a/db_sqlx_maria/dev/enum.Login.html +++ b/db_sqlx_maria/dev/enum.Login.html @@ -1,19 +1,19 @@ -Login in db_sqlx_maria::dev - Rust

Enum Login

pub enum Login<'a> {
+Login in db_sqlx_maria::dev - Rust

Enum Login

Source
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

Username(&'a str)

username as login

§

Email(&'a str)

email as login

-

Trait Implementations§

§

impl<'a> Clone for Login<'a>

§

fn clone(&self) -> Login<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Login<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for Login<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for Login<'a>

Source§

fn clone(&self) -> Login<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Login<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for Login<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for Login<'a>

Source§

fn eq(&self, other: &Login<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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> Freeze for Login<'a>

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for Login<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Login<'a>

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html index 1561a263..cf4f88be 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 DBError

pub enum DBError {
+DBError in db_sqlx_maria::dev::errors - Rust

Enum DBError

Source
pub enum DBError {
     DBError(Box<dyn Error + Sync + Send>),
     UsernameTaken,
     EmailTaken,
@@ -18,7 +18,7 @@
 
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

§

impl Debug for DBError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for DBError

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for DBError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for DBError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DBError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for DBError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

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 d73b81f8..5151a3ae 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 errors

Expand description

represents all the ways a trait can fail using this crate

+db_sqlx_maria::dev::errors - Rust

Module errors

Source
Expand description

represents all the ways a trait can fail using this crate

Enums§

DBError
Error data structure grouping various error subtypes

Type Aliases§

BoxDynError
Convenience type alias for grouping driver-specific errors
DBResult
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/errors/type.BoxDynError.html index a17233d6..99660057 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 BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_maria::dev::errors - Rust

Type Alias BoxDynError

Source
pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

Aliased Type§

pub 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 9f27af9d..5c6b9e67 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 DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_maria::dev::errors - Rust

Type Alias DBResult

Source
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

Aliased Type§

pub enum DBResult<V> {
     Ok(V),
     Err(DBError),
diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html
index caf43493..4b8fcd15 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 ops

Expand description

meta operations like migration and connecting to a database

+db_sqlx_maria::dev::ops - Rust

Module ops

Source
Expand description

meta operations like migration and connecting to a database

Traits§

Connect
Create database connection
DBOps
Database operations trait(migrations, pool creation and fetching connection from pool)
GetConnection
Get database connection
Migrate
database migrations
\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html index a9e16f50..ea2b4c35 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 Connect

pub trait Connect {
+Connect in db_sqlx_maria::dev::ops - Rust

Trait 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§

Source

type Pool: MCDatabase

database specific pool-type

+

Required Methods§

Source

fn connect<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html index dfaddb4d..6d194b76 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 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 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 483c6048..0e8dd048 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 GetConnection

pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::ops - Rust

Trait 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§

Source

type Conn

database connection type

+

Required Methods§

Source

fn get_conn<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html index b948181e..9d54d2e6 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 Migrate

pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::ops - Rust

Trait 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§

Source

fn migrate<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html index a736cc65..e4bec176 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 DBError

pub enum DBError {
+DBError in db_sqlx_maria::dev::prelude::dev - Rust

Enum DBError

Source
pub enum DBError {
     DBError(Box<dyn Error + Sync + Send>),
     UsernameTaken,
     EmailTaken,
@@ -18,7 +18,7 @@
 
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

§

impl Debug for DBError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for DBError

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for DBError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for DBError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DBError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for DBError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

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 ce81bfed..1389063c 100644 --- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html @@ -1,19 +1,19 @@ -Login in db_sqlx_maria::dev::prelude::dev - Rust

Enum Login

pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude::dev - Rust

Enum Login

Source
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

Username(&'a str)

username as login

§

Email(&'a str)

email as login

-

Trait Implementations§

§

impl<'a> Clone for Login<'a>

§

fn clone(&self) -> Login<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Login<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for Login<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for Login<'a>

Source§

fn clone(&self) -> Login<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Login<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for Login<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for Login<'a>

Source§

fn eq(&self, other: &Login<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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> Freeze for Login<'a>

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for Login<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Login<'a>

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html index b7d8085e..b8d2bf45 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 dev

Expand description

useful imports for supporting a new database

+db_sqlx_maria::dev::prelude::dev - Rust

Module dev

Source
Expand description

useful imports for supporting a new database

Structs§

AddNotification
Data required to add notification
Captcha
Data representing a captcha
CreateCaptcha
data required to create new captcha
CreatePerformanceAnalytics
Log Proof-of-Work CAPTCHA performance analytics
EasyCaptcha
Represents Easy captcha configuration
Level
Level struct that describes threshold-difficulty factor mapping
NameHash
type encapsulating username and hashed password of a user
Notification
Represents notification
PerformanceAnalytics
Proof-of-Work CAPTCHA performance analytics
Register
Data required to register a new user
Secret
datastructure representing a user’s secret
StatsUnixTimestamp
Captcha statistics with time recorded in UNIX epoch formats
TrafficPattern
User’s traffic pattern; used in generating a captcha configuration
UpdateEmail
data required to update them email of a user

Enums§

DBError
Error data structure grouping various error subtypes
Login
types of credentials used as identifiers during login

Traits§

CloneSPDatabase
Trait to clone MCDatabase
Connect
Create database connection
DBOps
Database operations trait(migrations, pool creation and fetching connection from pool)
GetConnection
Get database connection
MCDatabase
mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.
Migrate
database migrations

Type Aliases§

BoxDynError
Convenience type alias for grouping driver-specific errors
DBResult
Generic result data structure

Attribute Macros§

async_trait
\ 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 fe725b18..90723e1a 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 AddNotification

pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude::dev - Rust

Struct AddNotification

Source
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,16 +8,16 @@
 
§from: &'a str

notification sender

§heading: &'a str

heading of the notification

§message: &'a str

message of the notification

-

Trait Implementations§

§

impl<'a> Clone for AddNotification<'a>

§

fn clone(&self) -> AddNotification<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for AddNotification<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for AddNotification<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for AddNotification<'a>

Source§

fn default() -> AddNotification<'a>

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for AddNotification<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for AddNotification<'a>

Source§

fn eq(&self, other: &AddNotification<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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> Freeze for AddNotification<'a>

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for AddNotification<'a>

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html index a4642a4a..5fd17971 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 Captcha

pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude::dev - Rust

Struct Captcha

Source
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,15 +8,15 @@
 
§duration: i32

cool down duration

§description: String

description of the captcha

§key: String

secret key of the captcha

-

Trait Implementations§

§

impl Clone for Captcha

§

fn clone(&self) -> Captcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Captcha

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Captcha

§

fn default() -> Captcha

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Captcha

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for Captcha

Source§

fn clone(&self) -> Captcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Captcha

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Captcha

Source§

fn default() -> Captcha

Returns the “default value” for a type. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Captcha

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Captcha

Source§

fn eq(&self, other: &Captcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Captcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html index 0f9480fc..cffa7964 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 CreateCaptcha

pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust

Struct CreateCaptcha

Source
pub struct CreateCaptcha<'a> {
     pub duration: i32,
     pub description: &'a str,
     pub key: &'a str,
@@ -6,16 +6,16 @@
 

Fields§

§duration: i32

cool down duration

§description: &'a str

description of the captcha

§key: &'a str

secret key of the captcha

-

Trait Implementations§

§

impl<'a> Clone for CreateCaptcha<'a>

§

fn clone(&self) -> CreateCaptcha<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for CreateCaptcha<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for CreateCaptcha<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for CreateCaptcha<'a>

Source§

fn default() -> CreateCaptcha<'a>

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for CreateCaptcha<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for CreateCaptcha<'a>

Source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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> Freeze for CreateCaptcha<'a>

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for CreateCaptcha<'a>

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html index 70256f60..c67adecb 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 CreatePerformanceAnalytics

pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust

Struct CreatePerformanceAnalytics

Source
pub struct CreatePerformanceAnalytics {
     pub time: u32,
     pub difficulty_factor: u32,
     pub worker_type: String,
@@ -6,15 +6,15 @@
 

Fields§

§time: u32

time taken to generate proof

§difficulty_factor: u32

difficulty factor for which the proof was generated

§worker_type: String

worker/client type: wasm, javascript, python, etc.

-

Trait Implementations§

§

impl Clone for CreatePerformanceAnalytics

§

fn clone(&self) -> CreatePerformanceAnalytics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for CreatePerformanceAnalytics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreatePerformanceAnalytics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for CreatePerformanceAnalytics

Source§

fn default() -> CreatePerformanceAnalytics

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for CreatePerformanceAnalytics

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for CreatePerformanceAnalytics

Source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CreatePerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html index 3fa4b758..ae969e97 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.EasyCaptcha.html @@ -1,4 +1,4 @@ -EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust

Struct EasyCaptcha

pub struct EasyCaptcha {
+EasyCaptcha in db_sqlx_maria::dev::prelude::dev - Rust

Struct EasyCaptcha

Source
pub struct EasyCaptcha {
     pub traffic_pattern: TrafficPattern,
     pub key: String,
     pub description: String,
@@ -8,15 +8,15 @@
 
§key: String

captcha key/sitekey

§description: String

captcha description

§username: String

Owner of the captcha configuration

-

Trait Implementations§

§

impl Clone for EasyCaptcha

§

fn clone(&self) -> EasyCaptcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for EasyCaptcha

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for EasyCaptcha

§

fn default() -> EasyCaptcha

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for EasyCaptcha

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for EasyCaptcha

Source§

fn clone(&self) -> EasyCaptcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EasyCaptcha

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for EasyCaptcha

Source§

fn default() -> EasyCaptcha

Returns the “default value” for a type. Read more
Source§

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 more
§

impl PartialEq for EasyCaptcha

§

fn eq(&self, other: &EasyCaptcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for EasyCaptcha

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for EasyCaptcha

Source§

fn eq(&self, other: &EasyCaptcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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 more
§

impl StructuralPartialEq for EasyCaptcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for EasyCaptcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html index bf1a60a3..c66e0a22 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html @@ -1,18 +1,18 @@ -NameHash in db_sqlx_maria::dev::prelude::dev - Rust

Struct NameHash

pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude::dev - Rust

Struct NameHash

Source
pub struct NameHash {
     pub username: String,
     pub hash: String,
 }
Expand description

type encapsulating username and hashed password of a user

Fields§

§username: String

username

§hash: String

hashed password

-

Trait Implementations§

§

impl Clone for NameHash

§

fn clone(&self) -> NameHash

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for NameHash

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for NameHash

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for NameHash

Source§

fn clone(&self) -> NameHash

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NameHash

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for NameHash

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for NameHash

Source§

fn eq(&self, other: &NameHash) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NameHash

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html index 469c8bc1..6e699a64 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 Notification

pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude::dev - Rust

Struct Notification

Source
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,15 +10,15 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Notification

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Notification

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Notification

Source§

fn default() -> Notification

Returns the “default value” for a type. Read more
Source§

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 more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Notification

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Notification

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html index 44e80cab..4a6ce802 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 PerformanceAnalytics

pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust

Struct PerformanceAnalytics

Source
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,15 +8,15 @@
 
§time: u32

time taken to generate proof

§difficulty_factor: u32

difficulty factor for which the proof was generated

§worker_type: String

worker/client type: wasm, javascript, python, etc.

-

Trait Implementations§

§

impl Clone for PerformanceAnalytics

§

fn clone(&self) -> PerformanceAnalytics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PerformanceAnalytics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PerformanceAnalytics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for PerformanceAnalytics

Source§

fn default() -> PerformanceAnalytics

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for PerformanceAnalytics

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for PerformanceAnalytics

Source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html index 456a36d6..568ddaa2 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 Register

pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude::dev - Rust

Struct Register

Source
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,16 +8,16 @@
 
§secret: &'a str

secret of new user

§hash: &'a str

hashed password of new use

§email: Option<&'a str>

Optionally, email of new use

-

Trait Implementations§

§

impl<'a> Clone for Register<'a>

§

fn clone(&self) -> Register<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Register<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for Register<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for Register<'a>

Source§

fn clone(&self) -> Register<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Register<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for Register<'a>
where + 'de: 'a,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> PartialEq for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for Register<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for Register<'a>

Source§

fn eq(&self, other: &Register<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Serialize for Register<'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 Register<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Register<'a>

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Register<'a>

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html index 7f404f3a..047c3bb2 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html @@ -1,16 +1,16 @@ -Secret in db_sqlx_maria::dev::prelude::dev - Rust

Struct Secret

pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude::dev - Rust

Struct Secret

Source
pub struct Secret {
     pub secret: String,
 }
Expand description

datastructure representing a user’s secret

Fields§

§secret: String

user’s secret

-

Trait Implementations§

§

impl Clone for Secret

§

fn clone(&self) -> Secret

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Secret

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Secret

§

fn default() -> Secret

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Secret

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for Secret

Source§

fn clone(&self) -> Secret

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Secret

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Secret

Source§

fn default() -> Secret

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Secret

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Secret, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Secret

§

fn eq(&self, other: &Secret) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Secret

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Secret

Source§

fn eq(&self, other: &Secret) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for Secret

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl Freeze for Secret

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl Freeze for Secret

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html index 204698da..c027b410 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust

Struct StatsUnixTimestamp

pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust

Struct StatsUnixTimestamp

Source
pub struct StatsUnixTimestamp {
     pub config_fetches: Vec<i64>,
     pub solves: Vec<i64>,
     pub confirms: Vec<i64>,
@@ -6,15 +6,15 @@
 

Fields§

§config_fetches: Vec<i64>

times at which the configuration were fetched

§solves: Vec<i64>

times at which the PoW was solved

§confirms: Vec<i64>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StatsUnixTimestamp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for StatsUnixTimestamp

§

fn default() -> StatsUnixTimestamp

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for StatsUnixTimestamp

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for StatsUnixTimestamp

Source§

fn clone(&self) -> StatsUnixTimestamp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StatsUnixTimestamp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for StatsUnixTimestamp

Source§

fn default() -> StatsUnixTimestamp

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for StatsUnixTimestamp

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for StatsUnixTimestamp

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for StatsUnixTimestamp

Source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for StatsUnixTimestamp

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html index 4e5368c8..6b8999ca 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust

Struct TrafficPattern

pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust

Struct TrafficPattern

Source
pub struct TrafficPattern {
     pub avg_traffic: u32,
     pub peak_sustainable_traffic: u32,
     pub broke_my_site_traffic: Option<u32>,
@@ -6,15 +6,15 @@
 

Fields§

§avg_traffic: u32

average traffic of user’s website

§peak_sustainable_traffic: u32

the 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§

§

impl Clone for TrafficPattern

§

fn clone(&self) -> TrafficPattern

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TrafficPattern

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TrafficPattern

§

fn default() -> TrafficPattern

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TrafficPattern

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for TrafficPattern

Source§

fn clone(&self) -> TrafficPattern

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TrafficPattern

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for TrafficPattern

Source§

fn default() -> TrafficPattern

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TrafficPattern

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for TrafficPattern

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for TrafficPattern

Source§

fn eq(&self, other: &TrafficPattern) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for TrafficPattern

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html index 18ad84ea..3087bbae 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html @@ -1,19 +1,19 @@ -UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust

Struct UpdateEmail

pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust

Struct UpdateEmail

Source
pub struct UpdateEmail<'a> {
     pub username: &'a str,
     pub new_email: &'a str,
 }
Expand description

data required to update them email of a user

Fields§

§username: &'a str

username of the user

§new_email: &'a str

new email address of the user

-

Trait Implementations§

§

impl<'a> Clone for UpdateEmail<'a>

§

fn clone(&self) -> UpdateEmail<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for UpdateEmail<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for UpdateEmail<'a>

Source§

fn clone(&self) -> UpdateEmail<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for UpdateEmail<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>
where + 'de: 'a,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> PartialEq for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for UpdateEmail<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for UpdateEmail<'a>

Source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Serialize for UpdateEmail<'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 UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UpdateEmail<'a>

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UpdateEmail<'a>

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html index c1b809db..04308d54 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust

Trait CloneSPDatabase

pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust

Trait CloneSPDatabase

Source
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for T
where +

Required Methods§

Source

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

+

Implementors§

Source§

impl<T> CloneSPDatabase for T
where T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html index 15ada426..0c786a12 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::prelude::dev - Rust

Trait Connect

pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude::dev - Rust

Trait 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§

Source

type Pool: MCDatabase

database specific pool-type

+

Required Methods§

Source

fn connect<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html index a9b4a8e9..be205aa5 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::prelude::dev - Rust

Trait 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::prelude::dev - Rust

Trait 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/prelude/dev/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html index 7034a805..da93e260 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::prelude::dev - Rust

Trait GetConnection

pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude::dev - Rust

Trait 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§

Source

type Conn

database connection type

+

Required Methods§

Source

fn get_conn<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html index cf7867cf..bffc38b0 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust

Trait MCDatabase

pub trait MCDatabase:
+MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust

Trait MCDatabase

Source
pub trait MCDatabase:
     Send
     + Sync
     + CloneSPDatabase {
@@ -394,68 +394,68 @@
              Self: 'async_trait { ... }
 

}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

fn ping<'life0, 'async_trait>( +

Required Methods§

Source

fn ping<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

ping DB

-

fn register<'life0, 'life1, 'async_trait>( +

Source

fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

register a new user

-

fn delete_user<'life0, 'life1, 'async_trait>( +

Source

fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

delete a user

-

fn username_exists<'life0, 'life1, 'async_trait>( +

Source

fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

check if username exists

-

fn get_email<'life0, 'life1, 'async_trait>( +

Source

fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get user email

-

fn email_exists<'life0, 'life1, 'async_trait>( +

Source

fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, email: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

check if email exists

-

fn update_email<'life0, 'life1, 'async_trait>( +

Source

fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

update a user’s email

-

fn get_password<'life0, 'life1, 'async_trait>( +

Source

fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_>, ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s password

-

fn update_password<'life0, 'life1, 'async_trait>( +

Source

fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

update user’s password

-

fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, current: &'life1 str, new: &'life2 str, @@ -464,21 +464,21 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update username

-

fn get_secret<'life0, 'life1, 'async_trait>( +

Source

fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s secret

-

fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

Source

fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s secret from a captcha key

-

fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, secret: &'life2 str, @@ -487,7 +487,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update a user’s secret

-

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, p: &'life2 CreateCaptcha<'_>, @@ -496,7 +496,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

create new captcha

-

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, key: &'life2 str, @@ -505,14 +505,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get captcha config

-

fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

Source

fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get all captchas belonging to user

-

fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, p: &'life2 CreateCaptcha<'_>, @@ -521,7 +521,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update captcha metadata; doesn’t change captcha key

-

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, old_key: &'life2 str, @@ -532,7 +532,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

update captcha key; doesn’t change metadata

-

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -543,7 +543,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Add levels to captcha

-

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: Option<&'life1 str>, captcha_key: &'life2 str, @@ -552,7 +552,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

check if captcha exists

-

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -561,7 +561,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete all levels of a captcha

-

fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -570,7 +570,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete captcha

-

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: Option<&'life1 str>, captcha_key: &'life2 str, @@ -579,14 +579,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get captcha levels

-

fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

Source

fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get captcha’s cooldown period

-

fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -597,7 +597,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Add traffic configuration

-

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -606,14 +606,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

fn get_all_easy_captchas<'life0, 'async_trait>( +

Source

fn get_all_easy_captchas<'life0, 'async_trait>( &'life0 self, limit: usize, offset: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<EasyCaptcha>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get all easy captcha configurations on instance

-

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -622,21 +622,21 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete traffic configuration

-

fn create_notification<'life0, 'life1, 'async_trait>( +

Source

fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

create new notification

-

fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

Source

fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get all unread notifications

-

fn mark_notification_read<'life0, 'life1, 'async_trait>( +

Source

fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, id: i32, @@ -644,28 +644,28 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

mark a notification read

-

fn record_fetch<'life0, 'life1, 'async_trait>( +

Source

fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig fetches

-

fn record_solve<'life0, 'life1, 'async_trait>( +

Source

fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig solves

-

fn record_confirm<'life0, 'life1, 'async_trait>( +

Source

fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig confirms

-

fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -674,7 +674,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig fetches

-

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -683,7 +683,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig solves

-

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -692,7 +692,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig confirms

-

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics, @@ -701,7 +701,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

record PoW timing

-

fn analytics_fetch<'life0, 'life1, 'async_trait>( +

Source

fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, limit: usize, @@ -710,41 +710,41 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

fetch PoW analytics

-

fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

Source

fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Create psuedo ID against campaign ID to publish analytics

-

fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

Source

fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get psuedo ID from campaign ID

-

fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

Source

fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, psuedo_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get campaign ID from psuedo ID

-

fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

Source

fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Delete all records for campaign

-

fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

Source

fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, page: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

Source

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, difficulty_factor: u32, @@ -753,7 +753,7 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Track maximum nonce received against captcha levels

-

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

Source

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, difficulty_factor: u32, @@ -761,13 +761,13 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get maximum nonce tracked so far for captcha levels

-

fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

Source

fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, duration: u32, ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get number of analytics entries that are under a certain duration

-

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

Source

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, duration: u32, location: u32, @@ -775,11 +775,11 @@ trait.

'life0: 'async_trait, Self: '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§

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

Provided Methods§

Source

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get publishing status of pow analytics for captcha ID/ campaign ID

-

Trait Implementations§

§

impl Clone for Box<dyn MCDatabase>

§

fn clone(&self) -> Box<dyn MCDatabase>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file +

Trait Implementations§

Source§

impl Clone for Box<dyn MCDatabase>

Source§

fn clone(&self) -> Box<dyn MCDatabase>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html index 5bb8f6c9..933c4a89 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev::prelude::dev - Rust

Trait Migrate

pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::prelude::dev - Rust

Trait 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§

Source

fn migrate<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html b/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html index 363fb928..39c2216d 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::prelude::dev - Rust

Type Alias BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_maria::dev::prelude::dev - Rust

Type Alias BoxDynError

Source
pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

Aliased Type§

pub struct BoxDynError(/* private fields */);
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html index adf13742..323147df 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html @@ -1,4 +1,4 @@ -DBResult in db_sqlx_maria::dev::prelude::dev - Rust

Type Alias DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_maria::dev::prelude::dev - Rust

Type Alias DBResult

Source
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

Aliased Type§

pub enum DBResult<V> {
     Ok(V),
     Err(DBError),
diff --git a/db_sqlx_maria/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/prelude/enum.DBError.html
index 85a93145..556c4d99 100644
--- a/db_sqlx_maria/dev/prelude/enum.DBError.html
+++ b/db_sqlx_maria/dev/prelude/enum.DBError.html
@@ -1,4 +1,4 @@
-DBError in db_sqlx_maria::dev::prelude - Rust

Enum DBError

pub enum DBError {
+DBError in db_sqlx_maria::dev::prelude - Rust

Enum DBError

Source
pub enum DBError {
     DBError(Box<dyn Error + Sync + Send>),
     UsernameTaken,
     EmailTaken,
@@ -18,7 +18,7 @@
 
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

§

impl Debug for DBError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for DBError

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for DBError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for DBError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DBError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for DBError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_sqlx_maria/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/prelude/enum.Login.html index 8e3a8e9c..13c14cc8 100644 --- a/db_sqlx_maria/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/enum.Login.html @@ -1,19 +1,19 @@ -Login in db_sqlx_maria::dev::prelude - Rust

Enum Login

pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude - Rust

Enum Login

Source
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

Username(&'a str)

username as login

§

Email(&'a str)

email as login

-

Trait Implementations§

§

impl<'a> Clone for Login<'a>

§

fn clone(&self) -> Login<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Login<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for Login<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for Login<'a>

Source§

fn clone(&self) -> Login<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Login<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for Login<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for Login<'a>

Source§

fn eq(&self, other: &Login<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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> Freeze for Login<'a>

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for Login<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Login<'a>

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/index.html b/db_sqlx_maria/dev/prelude/index.html index 14ccf5d3..bf8eee64 100644 --- a/db_sqlx_maria/dev/prelude/index.html +++ b/db_sqlx_maria/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::prelude - Rust

Module prelude

Expand description

useful imports for users working with a supported database

+db_sqlx_maria::dev::prelude - Rust

Module prelude

Source
Expand description

useful imports for users working with a supported database

Modules§

dev
useful imports for supporting a new database

Structs§

AddNotification
Data required to add notification
Captcha
Data representing a captcha
CreateCaptcha
data required to create new captcha
CreatePerformanceAnalytics
Log Proof-of-Work CAPTCHA performance analytics
EasyCaptcha
Represents Easy captcha configuration
Level
Level struct that describes threshold-difficulty factor mapping
NameHash
type encapsulating username and hashed password of a user
Notification
Represents notification
PerformanceAnalytics
Proof-of-Work CAPTCHA performance analytics
Register
Data required to register a new user
Secret
datastructure representing a user’s secret
StatsUnixTimestamp
Captcha statistics with time recorded in UNIX epoch formats
TrafficPattern
User’s traffic pattern; used in generating a captcha configuration
UpdateEmail
data required to update them email of a user

Enums§

DBError
Error data structure grouping various error subtypes
Login
types of credentials used as identifiers during login

Traits§

CloneSPDatabase
Trait to clone MCDatabase
Connect
Create database connection
DBOps
Database operations trait(migrations, pool creation and fetching connection from pool)
GetConnection
Get database connection
MCDatabase
mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.
Migrate
database migrations

Type Aliases§

BoxDynError
Convenience type alias for grouping driver-specific errors
DBResult
Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/struct.AddNotification.html index 8edec838..58402201 100644 --- a/db_sqlx_maria/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/dev/prelude/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_maria::dev::prelude - Rust

Struct AddNotification

pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude - Rust

Struct AddNotification

Source
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,16 +8,16 @@
 
§from: &'a str

notification sender

§heading: &'a str

heading of the notification

§message: &'a str

message of the notification

-

Trait Implementations§

§

impl<'a> Clone for AddNotification<'a>

§

fn clone(&self) -> AddNotification<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for AddNotification<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for AddNotification<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for AddNotification<'a>

Source§

fn default() -> AddNotification<'a>

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for AddNotification<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for AddNotification<'a>

Source§

fn eq(&self, other: &AddNotification<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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> Freeze for AddNotification<'a>

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for AddNotification<'a>

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/prelude/struct.Captcha.html index 7f0ed45d..85259a9c 100644 --- a/db_sqlx_maria/dev/prelude/struct.Captcha.html +++ b/db_sqlx_maria/dev/prelude/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_maria::dev::prelude - Rust

Struct Captcha

pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude - Rust

Struct Captcha

Source
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,15 +8,15 @@
 
§duration: i32

cool down duration

§description: String

description of the captcha

§key: String

secret key of the captcha

-

Trait Implementations§

§

impl Clone for Captcha

§

fn clone(&self) -> Captcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Captcha

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Captcha

§

fn default() -> Captcha

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Captcha

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for Captcha

Source§

fn clone(&self) -> Captcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Captcha

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Captcha

Source§

fn default() -> Captcha

Returns the “default value” for a type. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Captcha

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Captcha

Source§

fn eq(&self, other: &Captcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Captcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html index 21442e6c..a58ef9b9 100644 --- a/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_maria::dev::prelude - Rust

Struct CreateCaptcha

pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev::prelude - Rust

Struct CreateCaptcha

Source
pub struct CreateCaptcha<'a> {
     pub duration: i32,
     pub description: &'a str,
     pub key: &'a str,
@@ -6,16 +6,16 @@
 

Fields§

§duration: i32

cool down duration

§description: &'a str

description of the captcha

§key: &'a str

secret key of the captcha

-

Trait Implementations§

§

impl<'a> Clone for CreateCaptcha<'a>

§

fn clone(&self) -> CreateCaptcha<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for CreateCaptcha<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for CreateCaptcha<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for CreateCaptcha<'a>

Source§

fn default() -> CreateCaptcha<'a>

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for CreateCaptcha<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for CreateCaptcha<'a>

Source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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> Freeze for CreateCaptcha<'a>

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for CreateCaptcha<'a>

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html index f4e5e471..0cb55b05 100644 --- a/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust

Struct CreatePerformanceAnalytics

pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust

Struct CreatePerformanceAnalytics

Source
pub struct CreatePerformanceAnalytics {
     pub time: u32,
     pub difficulty_factor: u32,
     pub worker_type: String,
@@ -6,15 +6,15 @@
 

Fields§

§time: u32

time taken to generate proof

§difficulty_factor: u32

difficulty factor for which the proof was generated

§worker_type: String

worker/client type: wasm, javascript, python, etc.

-

Trait Implementations§

§

impl Clone for CreatePerformanceAnalytics

§

fn clone(&self) -> CreatePerformanceAnalytics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for CreatePerformanceAnalytics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreatePerformanceAnalytics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for CreatePerformanceAnalytics

Source§

fn default() -> CreatePerformanceAnalytics

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for CreatePerformanceAnalytics

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for CreatePerformanceAnalytics

Source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CreatePerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.EasyCaptcha.html b/db_sqlx_maria/dev/prelude/struct.EasyCaptcha.html index 88e6b7e8..dcea744c 100644 --- a/db_sqlx_maria/dev/prelude/struct.EasyCaptcha.html +++ b/db_sqlx_maria/dev/prelude/struct.EasyCaptcha.html @@ -1,4 +1,4 @@ -EasyCaptcha in db_sqlx_maria::dev::prelude - Rust

Struct EasyCaptcha

pub struct EasyCaptcha {
+EasyCaptcha in db_sqlx_maria::dev::prelude - Rust

Struct EasyCaptcha

Source
pub struct EasyCaptcha {
     pub traffic_pattern: TrafficPattern,
     pub key: String,
     pub description: String,
@@ -8,15 +8,15 @@
 
§key: String

captcha key/sitekey

§description: String

captcha description

§username: String

Owner of the captcha configuration

-

Trait Implementations§

§

impl Clone for EasyCaptcha

§

fn clone(&self) -> EasyCaptcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for EasyCaptcha

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for EasyCaptcha

§

fn default() -> EasyCaptcha

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for EasyCaptcha

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for EasyCaptcha

Source§

fn clone(&self) -> EasyCaptcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EasyCaptcha

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for EasyCaptcha

Source§

fn default() -> EasyCaptcha

Returns the “default value” for a type. Read more
Source§

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 more
§

impl PartialEq for EasyCaptcha

§

fn eq(&self, other: &EasyCaptcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for EasyCaptcha

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for EasyCaptcha

Source§

fn eq(&self, other: &EasyCaptcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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 more
§

impl StructuralPartialEq for EasyCaptcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for EasyCaptcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.NameHash.html b/db_sqlx_maria/dev/prelude/struct.NameHash.html index 0bc8a941..74f4fb66 100644 --- a/db_sqlx_maria/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/struct.NameHash.html @@ -1,18 +1,18 @@ -NameHash in db_sqlx_maria::dev::prelude - Rust

Struct NameHash

pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude - Rust

Struct NameHash

Source
pub struct NameHash {
     pub username: String,
     pub hash: String,
 }
Expand description

type encapsulating username and hashed password of a user

Fields§

§username: String

username

§hash: String

hashed password

-

Trait Implementations§

§

impl Clone for NameHash

§

fn clone(&self) -> NameHash

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for NameHash

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for NameHash

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for NameHash

Source§

fn clone(&self) -> NameHash

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NameHash

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for NameHash

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for NameHash

Source§

fn eq(&self, other: &NameHash) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NameHash

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/prelude/struct.Notification.html index acebc1de..b6928b23 100644 --- a/db_sqlx_maria/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_maria::dev::prelude - Rust

Struct Notification

pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude - Rust

Struct Notification

Source
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,15 +10,15 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Notification

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Notification

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Notification

Source§

fn default() -> Notification

Returns the “default value” for a type. Read more
Source§

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 more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Notification

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Notification

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html index 450725ef..e5d5fda7 100644 --- a/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust

Struct PerformanceAnalytics

pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust

Struct PerformanceAnalytics

Source
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,15 +8,15 @@
 
§time: u32

time taken to generate proof

§difficulty_factor: u32

difficulty factor for which the proof was generated

§worker_type: String

worker/client type: wasm, javascript, python, etc.

-

Trait Implementations§

§

impl Clone for PerformanceAnalytics

§

fn clone(&self) -> PerformanceAnalytics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PerformanceAnalytics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PerformanceAnalytics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for PerformanceAnalytics

Source§

fn default() -> PerformanceAnalytics

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for PerformanceAnalytics

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for PerformanceAnalytics

Source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.Register.html b/db_sqlx_maria/dev/prelude/struct.Register.html index c476ad0f..44ab6e1e 100644 --- a/db_sqlx_maria/dev/prelude/struct.Register.html +++ b/db_sqlx_maria/dev/prelude/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_maria::dev::prelude - Rust

Struct Register

pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude - Rust

Struct Register

Source
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,16 +8,16 @@
 
§secret: &'a str

secret of new user

§hash: &'a str

hashed password of new use

§email: Option<&'a str>

Optionally, email of new use

-

Trait Implementations§

§

impl<'a> Clone for Register<'a>

§

fn clone(&self) -> Register<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Register<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for Register<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for Register<'a>

Source§

fn clone(&self) -> Register<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Register<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for Register<'a>
where + 'de: 'a,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> PartialEq for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for Register<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for Register<'a>

Source§

fn eq(&self, other: &Register<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Serialize for Register<'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 Register<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Register<'a>

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Register<'a>

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/prelude/struct.Secret.html index b3f37370..55f9050e 100644 --- a/db_sqlx_maria/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/struct.Secret.html @@ -1,16 +1,16 @@ -Secret in db_sqlx_maria::dev::prelude - Rust

Struct Secret

pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude - Rust

Struct Secret

Source
pub struct Secret {
     pub secret: String,
 }
Expand description

datastructure representing a user’s secret

Fields§

§secret: String

user’s secret

-

Trait Implementations§

§

impl Clone for Secret

§

fn clone(&self) -> Secret

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Secret

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Secret

§

fn default() -> Secret

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Secret

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for Secret

Source§

fn clone(&self) -> Secret

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Secret

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Secret

Source§

fn default() -> Secret

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Secret

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Secret, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Secret

§

fn eq(&self, other: &Secret) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Secret

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Secret

Source§

fn eq(&self, other: &Secret) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for Secret

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl Freeze for Secret

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl Freeze for Secret

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html index 0a38473e..95b2cfbb 100644 --- a/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::prelude - Rust

Struct StatsUnixTimestamp

pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev::prelude - Rust

Struct StatsUnixTimestamp

Source
pub struct StatsUnixTimestamp {
     pub config_fetches: Vec<i64>,
     pub solves: Vec<i64>,
     pub confirms: Vec<i64>,
@@ -6,15 +6,15 @@
 

Fields§

§config_fetches: Vec<i64>

times at which the configuration were fetched

§solves: Vec<i64>

times at which the PoW was solved

§confirms: Vec<i64>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StatsUnixTimestamp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for StatsUnixTimestamp

§

fn default() -> StatsUnixTimestamp

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for StatsUnixTimestamp

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for StatsUnixTimestamp

Source§

fn clone(&self) -> StatsUnixTimestamp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StatsUnixTimestamp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for StatsUnixTimestamp

Source§

fn default() -> StatsUnixTimestamp

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for StatsUnixTimestamp

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for StatsUnixTimestamp

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for StatsUnixTimestamp

Source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for StatsUnixTimestamp

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html index b15592eb..ee22a2b5 100644 --- a/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_maria::dev::prelude - Rust

Struct TrafficPattern

pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev::prelude - Rust

Struct TrafficPattern

Source
pub struct TrafficPattern {
     pub avg_traffic: u32,
     pub peak_sustainable_traffic: u32,
     pub broke_my_site_traffic: Option<u32>,
@@ -6,15 +6,15 @@
 

Fields§

§avg_traffic: u32

average traffic of user’s website

§peak_sustainable_traffic: u32

the 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§

§

impl Clone for TrafficPattern

§

fn clone(&self) -> TrafficPattern

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TrafficPattern

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TrafficPattern

§

fn default() -> TrafficPattern

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TrafficPattern

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for TrafficPattern

Source§

fn clone(&self) -> TrafficPattern

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TrafficPattern

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for TrafficPattern

Source§

fn default() -> TrafficPattern

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TrafficPattern

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for TrafficPattern

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for TrafficPattern

Source§

fn eq(&self, other: &TrafficPattern) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for TrafficPattern

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html index 79010094..6d25fe7d 100644 --- a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html @@ -1,19 +1,19 @@ -UpdateEmail in db_sqlx_maria::dev::prelude - Rust

Struct UpdateEmail

pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude - Rust

Struct UpdateEmail

Source
pub struct UpdateEmail<'a> {
     pub username: &'a str,
     pub new_email: &'a str,
 }
Expand description

data required to update them email of a user

Fields§

§username: &'a str

username of the user

§new_email: &'a str

new email address of the user

-

Trait Implementations§

§

impl<'a> Clone for UpdateEmail<'a>

§

fn clone(&self) -> UpdateEmail<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for UpdateEmail<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for UpdateEmail<'a>

Source§

fn clone(&self) -> UpdateEmail<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for UpdateEmail<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>
where + 'de: 'a,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> PartialEq for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for UpdateEmail<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for UpdateEmail<'a>

Source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Serialize for UpdateEmail<'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 UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UpdateEmail<'a>

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UpdateEmail<'a>

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html index 0aa37722..531dabf1 100644 --- a/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::prelude - Rust

Trait CloneSPDatabase

pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude - Rust

Trait CloneSPDatabase

Source
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for T
where +

Required Methods§

Source

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

+

Implementors§

Source§

impl<T> CloneSPDatabase for T
where T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/prelude/trait.Connect.html index 53010ce5..c30a1dc3 100644 --- a/db_sqlx_maria/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::prelude - Rust

Trait Connect

pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude - Rust

Trait 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§

Source

type Pool: MCDatabase

database specific pool-type

+

Required Methods§

Source

fn connect<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_maria/dev/prelude/trait.DBOps.html b/db_sqlx_maria/dev/prelude/trait.DBOps.html index a54e9c62..1ddf2587 100644 --- a/db_sqlx_maria/dev/prelude/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::prelude - Rust

Trait 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::prelude - Rust

Trait 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/prelude/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/trait.GetConnection.html index 76e99757..d5277037 100644 --- a/db_sqlx_maria/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::prelude - Rust

Trait GetConnection

pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude - Rust

Trait 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§

Source

type Conn

database connection type

+

Required Methods§

Source

fn get_conn<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html index c0ffcdf7..5ccce890 100644 --- a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_maria::dev::prelude - Rust

Trait MCDatabase

pub trait MCDatabase:
+MCDatabase in db_sqlx_maria::dev::prelude - Rust

Trait MCDatabase

Source
pub trait MCDatabase:
     Send
     + Sync
     + CloneSPDatabase {
@@ -394,68 +394,68 @@
              Self: 'async_trait { ... }
 

}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

fn ping<'life0, 'async_trait>( +

Required Methods§

Source

fn ping<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

ping DB

-

fn register<'life0, 'life1, 'async_trait>( +

Source

fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

register a new user

-

fn delete_user<'life0, 'life1, 'async_trait>( +

Source

fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

delete a user

-

fn username_exists<'life0, 'life1, 'async_trait>( +

Source

fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

check if username exists

-

fn get_email<'life0, 'life1, 'async_trait>( +

Source

fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get user email

-

fn email_exists<'life0, 'life1, 'async_trait>( +

Source

fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, email: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

check if email exists

-

fn update_email<'life0, 'life1, 'async_trait>( +

Source

fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

update a user’s email

-

fn get_password<'life0, 'life1, 'async_trait>( +

Source

fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_>, ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s password

-

fn update_password<'life0, 'life1, 'async_trait>( +

Source

fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

update user’s password

-

fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, current: &'life1 str, new: &'life2 str, @@ -464,21 +464,21 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update username

-

fn get_secret<'life0, 'life1, 'async_trait>( +

Source

fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s secret

-

fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

Source

fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s secret from a captcha key

-

fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, secret: &'life2 str, @@ -487,7 +487,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update a user’s secret

-

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, p: &'life2 CreateCaptcha<'_>, @@ -496,7 +496,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

create new captcha

-

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, key: &'life2 str, @@ -505,14 +505,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get captcha config

-

fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

Source

fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get all captchas belonging to user

-

fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, p: &'life2 CreateCaptcha<'_>, @@ -521,7 +521,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update captcha metadata; doesn’t change captcha key

-

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, old_key: &'life2 str, @@ -532,7 +532,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

update captcha key; doesn’t change metadata

-

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -543,7 +543,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Add levels to captcha

-

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: Option<&'life1 str>, captcha_key: &'life2 str, @@ -552,7 +552,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

check if captcha exists

-

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -561,7 +561,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete all levels of a captcha

-

fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -570,7 +570,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete captcha

-

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: Option<&'life1 str>, captcha_key: &'life2 str, @@ -579,14 +579,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get captcha levels

-

fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

Source

fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get captcha’s cooldown period

-

fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -597,7 +597,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Add traffic configuration

-

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -606,14 +606,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

fn get_all_easy_captchas<'life0, 'async_trait>( +

Source

fn get_all_easy_captchas<'life0, 'async_trait>( &'life0 self, limit: usize, offset: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<EasyCaptcha>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get all easy captcha configurations on instance

-

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -622,21 +622,21 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete traffic configuration

-

fn create_notification<'life0, 'life1, 'async_trait>( +

Source

fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

create new notification

-

fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

Source

fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get all unread notifications

-

fn mark_notification_read<'life0, 'life1, 'async_trait>( +

Source

fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, id: i32, @@ -644,28 +644,28 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

mark a notification read

-

fn record_fetch<'life0, 'life1, 'async_trait>( +

Source

fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig fetches

-

fn record_solve<'life0, 'life1, 'async_trait>( +

Source

fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig solves

-

fn record_confirm<'life0, 'life1, 'async_trait>( +

Source

fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig confirms

-

fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -674,7 +674,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig fetches

-

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -683,7 +683,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig solves

-

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -692,7 +692,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig confirms

-

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics, @@ -701,7 +701,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

record PoW timing

-

fn analytics_fetch<'life0, 'life1, 'async_trait>( +

Source

fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, limit: usize, @@ -710,41 +710,41 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

fetch PoW analytics

-

fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

Source

fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Create psuedo ID against campaign ID to publish analytics

-

fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

Source

fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get psuedo ID from campaign ID

-

fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

Source

fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, psuedo_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get campaign ID from psuedo ID

-

fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

Source

fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Delete all records for campaign

-

fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

Source

fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, page: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

Source

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, difficulty_factor: u32, @@ -753,7 +753,7 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Track maximum nonce received against captcha levels

-

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

Source

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, difficulty_factor: u32, @@ -761,13 +761,13 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get maximum nonce tracked so far for captcha levels

-

fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

Source

fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, duration: u32, ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get number of analytics entries that are under a certain duration

-

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

Source

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, duration: u32, location: u32, @@ -775,11 +775,11 @@ trait.

'life0: 'async_trait, Self: '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§

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

Provided Methods§

Source

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get publishing status of pow analytics for captcha ID/ campaign ID

-

Trait Implementations§

§

impl Clone for Box<dyn MCDatabase>

§

fn clone(&self) -> Box<dyn MCDatabase>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file +

Trait Implementations§

Source§

impl Clone for Box<dyn MCDatabase>

Source§

fn clone(&self) -> Box<dyn MCDatabase>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/prelude/trait.Migrate.html index 4176fbe9..7c1c49aa 100644 --- a/db_sqlx_maria/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev::prelude - Rust

Trait Migrate

pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::prelude - Rust

Trait 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§

Source

fn migrate<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/prelude/type.BoxDynError.html b/db_sqlx_maria/dev/prelude/type.BoxDynError.html index 96e6a79e..384a058e 100644 --- a/db_sqlx_maria/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::prelude - Rust

Type Alias BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_maria::dev::prelude - Rust

Type Alias BoxDynError

Source
pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

Aliased Type§

pub struct BoxDynError(/* private fields */);
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/type.DBResult.html b/db_sqlx_maria/dev/prelude/type.DBResult.html index acdff1ba..37f70177 100644 --- a/db_sqlx_maria/dev/prelude/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/type.DBResult.html @@ -1,4 +1,4 @@ -DBResult in db_sqlx_maria::dev::prelude - Rust

Type Alias DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_maria::dev::prelude - Rust

Type Alias DBResult

Source
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

Aliased Type§

pub enum DBResult<V> {
     Ok(V),
     Err(DBError),
diff --git a/db_sqlx_maria/dev/struct.AddNotification.html b/db_sqlx_maria/dev/struct.AddNotification.html
index 4517c509..b109b1b7 100644
--- a/db_sqlx_maria/dev/struct.AddNotification.html
+++ b/db_sqlx_maria/dev/struct.AddNotification.html
@@ -1,4 +1,4 @@
-AddNotification in db_sqlx_maria::dev - Rust

Struct AddNotification

pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev - Rust

Struct AddNotification

Source
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,16 +8,16 @@
 
§from: &'a str

notification sender

§heading: &'a str

heading of the notification

§message: &'a str

message of the notification

-

Trait Implementations§

§

impl<'a> Clone for AddNotification<'a>

§

fn clone(&self) -> AddNotification<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for AddNotification<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for AddNotification<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for AddNotification<'a>

Source§

fn default() -> AddNotification<'a>

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for AddNotification<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for AddNotification<'a>

Source§

fn eq(&self, other: &AddNotification<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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> Freeze for AddNotification<'a>

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for AddNotification<'a>

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.Captcha.html b/db_sqlx_maria/dev/struct.Captcha.html index bbff1e8a..cdaaf80f 100644 --- a/db_sqlx_maria/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_maria::dev - Rust

Struct Captcha

pub struct Captcha {
+Captcha in db_sqlx_maria::dev - Rust

Struct Captcha

Source
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,15 +8,15 @@
 
§duration: i32

cool down duration

§description: String

description of the captcha

§key: String

secret key of the captcha

-

Trait Implementations§

§

impl Clone for Captcha

§

fn clone(&self) -> Captcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Captcha

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Captcha

§

fn default() -> Captcha

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Captcha

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for Captcha

Source§

fn clone(&self) -> Captcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Captcha

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Captcha

Source§

fn default() -> Captcha

Returns the “default value” for a type. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Captcha

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Captcha

Source§

fn eq(&self, other: &Captcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Captcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/struct.CreateCaptcha.html index aa40f7e8..ba4a52cc 100644 --- a/db_sqlx_maria/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_maria::dev - Rust

Struct CreateCaptcha

pub struct CreateCaptcha<'a> {
+CreateCaptcha in db_sqlx_maria::dev - Rust

Struct CreateCaptcha

Source
pub struct CreateCaptcha<'a> {
     pub duration: i32,
     pub description: &'a str,
     pub key: &'a str,
@@ -6,16 +6,16 @@
 

Fields§

§duration: i32

cool down duration

§description: &'a str

description of the captcha

§key: &'a str

secret key of the captcha

-

Trait Implementations§

§

impl<'a> Clone for CreateCaptcha<'a>

§

fn clone(&self) -> CreateCaptcha<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for CreateCaptcha<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for CreateCaptcha<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for CreateCaptcha<'a>

Source§

fn default() -> CreateCaptcha<'a>

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for CreateCaptcha<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for CreateCaptcha<'a>

Source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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> Freeze for CreateCaptcha<'a>

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for CreateCaptcha<'a>

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html index 4f403dc0..07626f6a 100644 --- a/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev - Rust

Struct CreatePerformanceAnalytics

pub struct CreatePerformanceAnalytics {
+CreatePerformanceAnalytics in db_sqlx_maria::dev - Rust

Struct CreatePerformanceAnalytics

Source
pub struct CreatePerformanceAnalytics {
     pub time: u32,
     pub difficulty_factor: u32,
     pub worker_type: String,
@@ -6,15 +6,15 @@
 

Fields§

§time: u32

time taken to generate proof

§difficulty_factor: u32

difficulty factor for which the proof was generated

§worker_type: String

worker/client type: wasm, javascript, python, etc.

-

Trait Implementations§

§

impl Clone for CreatePerformanceAnalytics

§

fn clone(&self) -> CreatePerformanceAnalytics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for CreatePerformanceAnalytics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreatePerformanceAnalytics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for CreatePerformanceAnalytics

Source§

fn default() -> CreatePerformanceAnalytics

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for CreatePerformanceAnalytics

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for CreatePerformanceAnalytics

Source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CreatePerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.EasyCaptcha.html b/db_sqlx_maria/dev/struct.EasyCaptcha.html index 0686851b..98a734e7 100644 --- a/db_sqlx_maria/dev/struct.EasyCaptcha.html +++ b/db_sqlx_maria/dev/struct.EasyCaptcha.html @@ -1,4 +1,4 @@ -EasyCaptcha in db_sqlx_maria::dev - Rust

Struct EasyCaptcha

pub struct EasyCaptcha {
+EasyCaptcha in db_sqlx_maria::dev - Rust

Struct EasyCaptcha

Source
pub struct EasyCaptcha {
     pub traffic_pattern: TrafficPattern,
     pub key: String,
     pub description: String,
@@ -8,15 +8,15 @@
 
§key: String

captcha key/sitekey

§description: String

captcha description

§username: String

Owner of the captcha configuration

-

Trait Implementations§

§

impl Clone for EasyCaptcha

§

fn clone(&self) -> EasyCaptcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for EasyCaptcha

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for EasyCaptcha

§

fn default() -> EasyCaptcha

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for EasyCaptcha

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for EasyCaptcha

Source§

fn clone(&self) -> EasyCaptcha

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EasyCaptcha

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for EasyCaptcha

Source§

fn default() -> EasyCaptcha

Returns the “default value” for a type. Read more
Source§

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 more
§

impl PartialEq for EasyCaptcha

§

fn eq(&self, other: &EasyCaptcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for EasyCaptcha

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for EasyCaptcha

Source§

fn eq(&self, other: &EasyCaptcha) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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 more
§

impl StructuralPartialEq for EasyCaptcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for EasyCaptcha

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.NameHash.html b/db_sqlx_maria/dev/struct.NameHash.html index e2a93161..5fed0604 100644 --- a/db_sqlx_maria/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/struct.NameHash.html @@ -1,18 +1,18 @@ -NameHash in db_sqlx_maria::dev - Rust

Struct NameHash

pub struct NameHash {
+NameHash in db_sqlx_maria::dev - Rust

Struct NameHash

Source
pub struct NameHash {
     pub username: String,
     pub hash: String,
 }
Expand description

type encapsulating username and hashed password of a user

Fields§

§username: String

username

§hash: String

hashed password

-

Trait Implementations§

§

impl Clone for NameHash

§

fn clone(&self) -> NameHash

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for NameHash

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for NameHash

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for NameHash

Source§

fn clone(&self) -> NameHash

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NameHash

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for NameHash

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for NameHash

Source§

fn eq(&self, other: &NameHash) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NameHash

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.Notification.html b/db_sqlx_maria/dev/struct.Notification.html index bf929328..3942e5c0 100644 --- a/db_sqlx_maria/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_maria::dev - Rust

Struct Notification

pub struct Notification {
+Notification in db_sqlx_maria::dev - Rust

Struct Notification

Source
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,15 +10,15 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Notification

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Notification

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Notification

Source§

fn default() -> Notification

Returns the “default value” for a type. Read more
Source§

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 more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Notification

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Notification

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/struct.PerformanceAnalytics.html index dea804d2..02f07a83 100644 --- a/db_sqlx_maria/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_maria::dev - Rust

Struct PerformanceAnalytics

pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev - Rust

Struct PerformanceAnalytics

Source
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,15 +8,15 @@
 
§time: u32

time taken to generate proof

§difficulty_factor: u32

difficulty factor for which the proof was generated

§worker_type: String

worker/client type: wasm, javascript, python, etc.

-

Trait Implementations§

§

impl Clone for PerformanceAnalytics

§

fn clone(&self) -> PerformanceAnalytics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PerformanceAnalytics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

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 duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PerformanceAnalytics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for PerformanceAnalytics

Source§

fn default() -> PerformanceAnalytics

Returns the “default value” for a type. Read more
Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for PerformanceAnalytics

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for PerformanceAnalytics

Source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
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§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.Register.html b/db_sqlx_maria/dev/struct.Register.html index b0ab4a50..f0d64bc7 100644 --- a/db_sqlx_maria/dev/struct.Register.html +++ b/db_sqlx_maria/dev/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_maria::dev - Rust

Struct Register

pub struct Register<'a> {
+Register in db_sqlx_maria::dev - Rust

Struct Register

Source
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,16 +8,16 @@
 
§secret: &'a str

secret of new user

§hash: &'a str

hashed password of new use

§email: Option<&'a str>

Optionally, email of new use

-

Trait Implementations§

§

impl<'a> Clone for Register<'a>

§

fn clone(&self) -> Register<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Register<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for Register<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for Register<'a>

Source§

fn clone(&self) -> Register<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Register<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for Register<'a>
where + 'de: 'a,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> PartialEq for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for Register<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for Register<'a>

Source§

fn eq(&self, other: &Register<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Serialize for Register<'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 Register<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Register<'a>

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Register<'a>

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.Secret.html b/db_sqlx_maria/dev/struct.Secret.html index d8f423a9..ed010724 100644 --- a/db_sqlx_maria/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/struct.Secret.html @@ -1,16 +1,16 @@ -Secret in db_sqlx_maria::dev - Rust

Struct Secret

pub struct Secret {
+Secret in db_sqlx_maria::dev - Rust

Struct Secret

Source
pub struct Secret {
     pub secret: String,
 }
Expand description

datastructure representing a user’s secret

Fields§

§secret: String

user’s secret

-

Trait Implementations§

§

impl Clone for Secret

§

fn clone(&self) -> Secret

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Secret

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Secret

§

fn default() -> Secret

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Secret

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for Secret

Source§

fn clone(&self) -> Secret

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Secret

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for Secret

Source§

fn default() -> Secret

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Secret

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Secret, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for Secret

§

fn eq(&self, other: &Secret) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for Secret

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Secret

Source§

fn eq(&self, other: &Secret) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for Secret

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl Freeze for Secret

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl Freeze for Secret

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html index e111964a..105c087c 100644 --- a/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_maria::dev - Rust

Struct StatsUnixTimestamp

pub struct StatsUnixTimestamp {
+StatsUnixTimestamp in db_sqlx_maria::dev - Rust

Struct StatsUnixTimestamp

Source
pub struct StatsUnixTimestamp {
     pub config_fetches: Vec<i64>,
     pub solves: Vec<i64>,
     pub confirms: Vec<i64>,
@@ -6,15 +6,15 @@
 

Fields§

§config_fetches: Vec<i64>

times at which the configuration were fetched

§solves: Vec<i64>

times at which the PoW was solved

§confirms: Vec<i64>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StatsUnixTimestamp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for StatsUnixTimestamp

§

fn default() -> StatsUnixTimestamp

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for StatsUnixTimestamp

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for StatsUnixTimestamp

Source§

fn clone(&self) -> StatsUnixTimestamp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StatsUnixTimestamp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for StatsUnixTimestamp

Source§

fn default() -> StatsUnixTimestamp

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for StatsUnixTimestamp

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for StatsUnixTimestamp

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for StatsUnixTimestamp

Source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for StatsUnixTimestamp

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/struct.TrafficPattern.html index 3f166f3c..e79e2af8 100644 --- a/db_sqlx_maria/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_maria::dev - Rust

Struct TrafficPattern

pub struct TrafficPattern {
+TrafficPattern in db_sqlx_maria::dev - Rust

Struct TrafficPattern

Source
pub struct TrafficPattern {
     pub avg_traffic: u32,
     pub peak_sustainable_traffic: u32,
     pub broke_my_site_traffic: Option<u32>,
@@ -6,15 +6,15 @@
 

Fields§

§avg_traffic: u32

average traffic of user’s website

§peak_sustainable_traffic: u32

the 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§

§

impl Clone for TrafficPattern

§

fn clone(&self) -> TrafficPattern

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TrafficPattern

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TrafficPattern

§

fn default() -> TrafficPattern

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TrafficPattern

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl Clone for TrafficPattern

Source§

fn clone(&self) -> TrafficPattern

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TrafficPattern

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for TrafficPattern

Source§

fn default() -> TrafficPattern

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TrafficPattern

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Serialize for TrafficPattern

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for TrafficPattern

Source§

fn eq(&self, other: &TrafficPattern) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for TrafficPattern

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/struct.UpdateEmail.html index 555a7687..8b6b6b99 100644 --- a/db_sqlx_maria/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/struct.UpdateEmail.html @@ -1,19 +1,19 @@ -UpdateEmail in db_sqlx_maria::dev - Rust

Struct UpdateEmail

pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev - Rust

Struct UpdateEmail

Source
pub struct UpdateEmail<'a> {
     pub username: &'a str,
     pub new_email: &'a str,
 }
Expand description

data required to update them email of a user

Fields§

§username: &'a str

username of the user

§new_email: &'a str

new email address of the user

-

Trait Implementations§

§

impl<'a> Clone for UpdateEmail<'a>

§

fn clone(&self) -> UpdateEmail<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for UpdateEmail<'a>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>
where - 'de: 'a,

§

fn deserialize<__D>( +

Trait Implementations§

Source§

impl<'a> Clone for UpdateEmail<'a>

Source§

fn clone(&self) -> UpdateEmail<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for UpdateEmail<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>
where + 'de: 'a,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<'a> PartialEq for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<'a> Serialize for UpdateEmail<'a>

§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a> PartialEq for UpdateEmail<'a>

Source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Serialize for UpdateEmail<'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 UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UpdateEmail<'a>

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UpdateEmail<'a>

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/db_sqlx_maria/dev/tests/constant.LEVELS.html b/db_sqlx_maria/dev/tests/constant.LEVELS.html index f4a9974f..2e153fbe 100644 --- a/db_sqlx_maria/dev/tests/constant.LEVELS.html +++ b/db_sqlx_maria/dev/tests/constant.LEVELS.html @@ -1,2 +1,2 @@ -LEVELS in db_sqlx_maria::dev::tests - Rust

Constant LEVELS

pub const LEVELS: [Level; 3];
Expand description

levels for complex captcha config

+LEVELS in db_sqlx_maria::dev::tests - Rust

Constant LEVELS

Source
pub const LEVELS: [Level; 3];
Expand description

levels for complex captcha config

\ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html b/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html index 3d2a0701..2d49c7e5 100644 --- a/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html +++ b/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html @@ -1,2 +1,2 @@ -TRAFFIC_PATTERN in db_sqlx_maria::dev::tests - Rust

Constant TRAFFIC_PATTERN

pub const TRAFFIC_PATTERN: TrafficPattern;
Expand description

easy traffic pattern

+TRAFFIC_PATTERN in db_sqlx_maria::dev::tests - Rust

Constant TRAFFIC_PATTERN

Source
pub const TRAFFIC_PATTERN: TrafficPattern;
Expand description

easy traffic pattern

\ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/fn.database_works.html b/db_sqlx_maria/dev/tests/fn.database_works.html index 660002fa..9b3c4b1a 100644 --- a/db_sqlx_maria/dev/tests/fn.database_works.html +++ b/db_sqlx_maria/dev/tests/fn.database_works.html @@ -1,4 +1,4 @@ -database_works in db_sqlx_maria::dev::tests - Rust

Function database_works

pub async fn database_works<'a, T>(
+database_works in db_sqlx_maria::dev::tests - Rust

Function database_works

Source
pub async fn database_works<'a, T>(
     db: &T,
     p: &Register<'a>,
     c: &CreateCaptcha<'a>,
diff --git a/db_sqlx_maria/dev/tests/index.html b/db_sqlx_maria/dev/tests/index.html
index cbf5f836..3f15b5db 100644
--- a/db_sqlx_maria/dev/tests/index.html
+++ b/db_sqlx_maria/dev/tests/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::tests - Rust

Module tests

Expand description

Test utilities

+db_sqlx_maria::dev::tests - Rust

Module tests

Source
Expand description

Test utilities

Constants§

LEVELS
levels for complex captcha config
TRAFFIC_PATTERN
easy traffic pattern

Functions§

database_works
test all database functions
\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/trait.CloneSPDatabase.html index 95e89898..e5420442 100644 --- a/db_sqlx_maria/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev - Rust

Trait CloneSPDatabase

pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev - Rust

Trait CloneSPDatabase

Source
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for T
where +

Required Methods§

Source

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB

+

Implementors§

Source§

impl<T> CloneSPDatabase for T
where T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Connect.html b/db_sqlx_maria/dev/trait.Connect.html index 5d0f333b..7c82009e 100644 --- a/db_sqlx_maria/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev - Rust

Trait Connect

pub trait Connect {
+Connect in db_sqlx_maria::dev - Rust

Trait 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§

Source

type Pool: MCDatabase

database specific pool-type

+

Required Methods§

Source

fn connect<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait>>
where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_maria/dev/trait.DBOps.html b/db_sqlx_maria/dev/trait.DBOps.html index 0c205567..57b964df 100644 --- a/db_sqlx_maria/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev - Rust

Trait 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 - Rust

Trait 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/trait.GetConnection.html b/db_sqlx_maria/dev/trait.GetConnection.html index 149985ad..a87ebaa1 100644 --- a/db_sqlx_maria/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev - Rust

Trait GetConnection

pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev - Rust

Trait 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§

Source

type Conn

database connection type

+

Required Methods§

Source

fn get_conn<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/trait.MCDatabase.html index 1eeb3a73..bf3a4a0e 100644 --- a/db_sqlx_maria/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_maria::dev - Rust

Trait MCDatabase

pub trait MCDatabase:
+MCDatabase in db_sqlx_maria::dev - Rust

Trait MCDatabase

Source
pub trait MCDatabase:
     Send
     + Sync
     + CloneSPDatabase {
@@ -394,68 +394,68 @@
              Self: 'async_trait { ... }
 

}
Expand description

mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

-

Required Methods§

fn ping<'life0, 'async_trait>( +

Required Methods§

Source

fn ping<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

ping DB

-

fn register<'life0, 'life1, 'async_trait>( +

Source

fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

register a new user

-

fn delete_user<'life0, 'life1, 'async_trait>( +

Source

fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

delete a user

-

fn username_exists<'life0, 'life1, 'async_trait>( +

Source

fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

check if username exists

-

fn get_email<'life0, 'life1, 'async_trait>( +

Source

fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get user email

-

fn email_exists<'life0, 'life1, 'async_trait>( +

Source

fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, email: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

check if email exists

-

fn update_email<'life0, 'life1, 'async_trait>( +

Source

fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

update a user’s email

-

fn get_password<'life0, 'life1, 'async_trait>( +

Source

fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_>, ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s password

-

fn update_password<'life0, 'life1, 'async_trait>( +

Source

fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

update user’s password

-

fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, current: &'life1 str, new: &'life2 str, @@ -464,21 +464,21 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update username

-

fn get_secret<'life0, 'life1, 'async_trait>( +

Source

fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s secret

-

fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

Source

fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get a user’s secret from a captcha key

-

fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, secret: &'life2 str, @@ -487,7 +487,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update a user’s secret

-

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, p: &'life2 CreateCaptcha<'_>, @@ -496,7 +496,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

create new captcha

-

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, key: &'life2 str, @@ -505,14 +505,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get captcha config

-

fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

Source

fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get all captchas belonging to user

-

fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, p: &'life2 CreateCaptcha<'_>, @@ -521,7 +521,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

update captcha metadata; doesn’t change captcha key

-

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, old_key: &'life2 str, @@ -532,7 +532,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

update captcha key; doesn’t change metadata

-

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -543,7 +543,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Add levels to captcha

-

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: Option<&'life1 str>, captcha_key: &'life2 str, @@ -552,7 +552,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

check if captcha exists

-

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -561,7 +561,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete all levels of a captcha

-

fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -570,7 +570,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete captcha

-

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: Option<&'life1 str>, captcha_key: &'life2 str, @@ -579,14 +579,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get captcha levels

-

fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

Source

fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get captcha’s cooldown period

-

fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

Source

fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -597,7 +597,7 @@ trait.

'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

Add traffic configuration

-

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -606,14 +606,14 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

fn get_all_easy_captchas<'life0, 'async_trait>( +

Source

fn get_all_easy_captchas<'life0, 'async_trait>( &'life0 self, limit: usize, offset: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<EasyCaptcha>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get all easy captcha configurations on instance

-

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, username: &'life1 str, captcha_key: &'life2 str, @@ -622,21 +622,21 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Delete traffic configuration

-

fn create_notification<'life0, 'life1, 'async_trait>( +

Source

fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_>, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

create new notification

-

fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

Source

fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

get all unread notifications

-

fn mark_notification_read<'life0, 'life1, 'async_trait>( +

Source

fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, username: &'life1 str, id: i32, @@ -644,28 +644,28 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

mark a notification read

-

fn record_fetch<'life0, 'life1, 'async_trait>( +

Source

fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig fetches

-

fn record_solve<'life0, 'life1, 'async_trait>( +

Source

fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig solves

-

fn record_confirm<'life0, 'life1, 'async_trait>( +

Source

fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

record PoWConfig confirms

-

fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -674,7 +674,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig fetches

-

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -683,7 +683,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig solves

-

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, user: &'life1 str, key: &'life2 str, @@ -692,7 +692,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fetch PoWConfig confirms

-

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

Source

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics, @@ -701,7 +701,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

record PoW timing

-

fn analytics_fetch<'life0, 'life1, 'async_trait>( +

Source

fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, limit: usize, @@ -710,41 +710,41 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

fetch PoW analytics

-

fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

Source

fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Create psuedo ID against campaign ID to publish analytics

-

fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

Source

fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get psuedo ID from campaign ID

-

fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

Source

fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, psuedo_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get campaign ID from psuedo ID

-

fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

Source

fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Delete all records for campaign

-

fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

Source

fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, page: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

Source

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, difficulty_factor: u32, @@ -753,7 +753,7 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Track maximum nonce received against captcha levels

-

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

Source

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, captcha_key: &'life1 str, difficulty_factor: u32, @@ -761,13 +761,13 @@ trait.

'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get maximum nonce tracked so far for captcha levels

-

fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

Source

fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, duration: u32, ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Get number of analytics entries that are under a certain duration

-

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

Source

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, duration: u32, location: u32, @@ -775,11 +775,11 @@ trait.

'life0: 'async_trait, Self: '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§

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

Provided Methods§

Source

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Get publishing status of pow analytics for captcha ID/ campaign ID

-

Trait Implementations§

§

impl Clone for Box<dyn MCDatabase>

§

fn clone(&self) -> Box<dyn MCDatabase>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file +

Trait Implementations§

Source§

impl Clone for Box<dyn MCDatabase>

Source§

fn clone(&self) -> Box<dyn MCDatabase>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Migrate.html b/db_sqlx_maria/dev/trait.Migrate.html index e80bc6a4..7f5d4c04 100644 --- a/db_sqlx_maria/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev - Rust

Trait Migrate

pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev - Rust

Trait 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§

Source

fn migrate<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait>>
where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/type.BoxDynError.html b/db_sqlx_maria/dev/type.BoxDynError.html index 6fd1971b..441ba350 100644 --- a/db_sqlx_maria/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev - Rust

Type Alias BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_maria::dev - Rust

Type Alias BoxDynError

Source
pub type BoxDynError = Box<dyn Error + Sync + Send>;
Expand description

Convenience type alias for grouping driver-specific errors

Aliased Type§

pub struct BoxDynError(/* private fields */);
\ No newline at end of file diff --git a/db_sqlx_maria/dev/type.DBResult.html b/db_sqlx_maria/dev/type.DBResult.html index 7ddb84cb..c918e620 100644 --- a/db_sqlx_maria/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/type.DBResult.html @@ -1,4 +1,4 @@ -DBResult in db_sqlx_maria::dev - Rust

Type Alias DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_maria::dev - Rust

Type Alias DBResult

Source
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

Aliased Type§

pub enum DBResult<V> {
     Ok(V),
     Err(DBError),
diff --git a/db_sqlx_maria/struct.Database.html b/db_sqlx_maria/struct.Database.html
index f33e0e4f..2a9c3b24 100644
--- a/db_sqlx_maria/struct.Database.html
+++ b/db_sqlx_maria/struct.Database.html
@@ -380,7 +380,7 @@ and sorted in ascending order

) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, - 'life1: 'async_trait,

Delete all records for campaign
§

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( + 'life1: 'async_trait,

Delete all records for campaign
Source§

fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, campaign_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait>>
where @@ -394,8 +394,8 @@ and sorted in ascending order

run migrations

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneSPDatabase for T
where - T: MCDatabase + Clone + 'static,

§

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB
Source§

impl<T> CloneToUninit for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneSPDatabase for T
where + T: MCDatabase + Clone + 'static,

Source§

fn clone_db(&self) -> Box<dyn MCDatabase>

clone DB
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/mcaptcha/constant.GIT_COMMIT_HASH.html b/mcaptcha/constant.GIT_COMMIT_HASH.html index 117e6758..7ab06f57 100644 --- a/mcaptcha/constant.GIT_COMMIT_HASH.html +++ b/mcaptcha/constant.GIT_COMMIT_HASH.html @@ -1 +1 @@ -GIT_COMMIT_HASH in mcaptcha - Rust

Constant GIT_COMMIT_HASH

Source
pub const GIT_COMMIT_HASH: &str = "89d49c63d270c565bb632f48da13a58160f1d0f5";
\ No newline at end of file +GIT_COMMIT_HASH in mcaptcha - Rust

Constant GIT_COMMIT_HASH

Source
pub const GIT_COMMIT_HASH: &str = "9cd7cf3a02ca6cd56ed86ab4be33bb9bc563f135";
\ No newline at end of file