diff --git a/db_sqlx_maria/dev/dev/enum.DBError.html b/db_sqlx_maria/dev/dev/enum.DBError.html index 56fc0377..18e6c5c6 100644 --- a/db_sqlx_maria/dev/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_maria::dev::dev - Rust
pub enum DBError {
+DBError in db_sqlx_maria::dev::dev - Rust
pub enum DBError {
     DBError(Box<dyn Error + Sync + Send, Global>),
     UsernameTaken,
     EmailTaken,
@@ -18,7 +18,7 @@
 
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

§

impl 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)>

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§

§

impl !RefUnwindSafe for DBError

§

impl Send for DBError

§

impl Sync for DBError

§

impl Unpin for DBError

§

impl !UnwindSafe for DBError

Blanket Implementations§

source§

impl<T> Any for Twhere +

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)>

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§

§

impl !RefUnwindSafe for DBError

§

impl Send for DBError

§

impl Sync for DBError

§

impl Unpin for DBError

§

impl !UnwindSafe for DBError

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/enum.Login.html b/db_sqlx_maria/dev/dev/enum.Login.html index 9cb3ce65..e89ff613 100644 --- a/db_sqlx_maria/dev/dev/enum.Login.html +++ b/db_sqlx_maria/dev/dev/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_maria::dev::dev - Rust

Enum db_sqlx_maria::dev::dev::Login

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

Enum db_sqlx_maria::dev::dev::Login

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

types of credentials used as identifiers during login

Variants§

§

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

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/dev/errors/enum.DBError.html index 551f9f76..30ca3626 100644 --- a/db_sqlx_maria/dev/dev/errors/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/errors/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_maria::dev::dev::errors - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/errors/index.html b/db_sqlx_maria/dev/dev/errors/index.html index 2e2ba268..3bacc21e 100644 --- a/db_sqlx_maria/dev/dev/errors/index.html +++ b/db_sqlx_maria/dev/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::dev::errors - Rust

Module db_sqlx_maria::dev::dev::errors

Expand description

represents all the ways a trait can fail using this crate

+db_sqlx_maria::dev::dev::errors - Rust

Module db_sqlx_maria::dev::dev::errors

source ·
Expand description

represents all the ways a trait can fail using this crate

Enums

  • Error data structure grouping various error subtypes

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html index 763f409e..33f694ec 100644 --- a/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::dev::errors - Rust

Type Definition db_sqlx_maria::dev::dev::errors::BoxDynError

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_maria::dev::dev::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/dev/errors/type.DBResult.html index b63d7264..9f9e3655 100644 --- a/db_sqlx_maria/dev/dev/errors/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::dev::errors - Rust

Type Definition db_sqlx_maria::dev::dev::errors::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_maria::dev::dev::errors::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/index.html b/db_sqlx_maria/dev/dev/index.html index 2b35f007..9597fe82 100644 --- a/db_sqlx_maria/dev/dev/index.html +++ b/db_sqlx_maria/dev/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::dev - Rust

Module db_sqlx_maria::dev::dev

Expand description

useful imports for supporting a new database

+db_sqlx_maria::dev::dev - Rust

Module db_sqlx_maria::dev::dev

source ·
Expand description

useful imports for supporting a new database

Modules

  • represents all the ways a trait can fail using this crate
  • meta operations like migration and connecting to a database
  • useful imports for users working with a supported database
  • Test utilities

Structs

Enums

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

Traits

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

Type Definitions

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

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/index.html b/db_sqlx_maria/dev/dev/ops/index.html index 94752285..bb572019 100644 --- a/db_sqlx_maria/dev/dev/ops/index.html +++ b/db_sqlx_maria/dev/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::dev::ops - Rust

Module db_sqlx_maria::dev::dev::ops

Expand description

meta operations like migration and connecting to a database

+db_sqlx_maria::dev::dev::ops - Rust

Module db_sqlx_maria::dev::dev::ops

source ·
Expand description

meta operations like migration and connecting to a database

Traits

  • Create database connection
  • Database operations trait(migrations, pool creation and fetching connection from pool)
  • Get database connection
  • database migrations
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/dev/ops/trait.Connect.html index bc5f7295..27aa2827 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::dev::ops - Rust
pub trait Connect {
+Connect in db_sqlx_maria::dev::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html index 12860e4f..e71b51f5 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::dev::ops - Rust

Trait db_sqlx_maria::dev::dev::ops::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_maria::dev::dev::ops - Rust

Trait db_sqlx_maria::dev::dev::ops::DBOps

source ·
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html index cda542f8..05ce9c57 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::dev::ops - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::dev::ops - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html index b6103826..ffc5511b 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev::dev::ops - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::dev::ops - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html index 44413ab5..fb455e0c 100644 --- a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_maria::dev::dev::prelude - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/dev/prelude/enum.Login.html index 53b1b981..b97bb009 100644 --- a/db_sqlx_maria/dev/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/dev/prelude/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_maria::dev::dev::prelude - Rust
pub enum Login<'a> {
+Login in db_sqlx_maria::dev::dev::prelude - Rust
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

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

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/index.html b/db_sqlx_maria/dev/dev/prelude/index.html index 3166677f..fde19a49 100644 --- a/db_sqlx_maria/dev/dev/prelude/index.html +++ b/db_sqlx_maria/dev/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::dev::prelude - Rust

Module db_sqlx_maria::dev::dev::prelude

Expand description

useful imports for users working with a supported database

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

Module db_sqlx_maria::dev::dev::prelude

source ·
Expand description

useful imports for users working with a supported database

Structs

Enums

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

Traits

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

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html index 7eb17047..3f7d6b5f 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_maria::dev::dev::prelude - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::dev::prelude - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html index 65d67e03..57208ab0 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Captcha {
+Captcha in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§duration: 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 copy 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 copy 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<Captcha> for Captcha

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html index 1dc3baad..12617a90 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_maria::dev::dev::prelude - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html index 802f8b78..48a7b2e5 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.NameHash.html b/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html index f9593f1a..a7d82344 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_maria::dev::dev::prelude - Rust
pub struct NameHash {
+NameHash in db_sqlx_maria::dev::dev::prelude - Rust
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 copy 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 copy 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<NameHash> for NameHash

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html index 1de31677..e4f16f58 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Notification {
+Notification in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __S: Serializer,

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

impl StructuralPartialEq for Notification

Auto Trait Implementations§

§

impl RefUnwindSafe for Notification

§

impl Send for Notification

§

impl Sync for Notification

§

impl Unpin for Notification

§

impl UnwindSafe for Notification

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html index fa051201..2e9551d2 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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§

§

impl RefUnwindSafe for PerformanceAnalytics

§

impl Send for PerformanceAnalytics

§

impl Sync for PerformanceAnalytics

§

impl Unpin for PerformanceAnalytics

§

impl UnwindSafe for PerformanceAnalytics

Blanket Implementations§

source§

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

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

impl StructuralPartialEq for PerformanceAnalytics

Auto Trait Implementations§

§

impl RefUnwindSafe for PerformanceAnalytics

§

impl Send for PerformanceAnalytics

§

impl Sync for PerformanceAnalytics

§

impl Unpin for PerformanceAnalytics

§

impl UnwindSafe for PerformanceAnalytics

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.Register.html b/db_sqlx_maria/dev/dev/prelude/struct.Register.html index a6a38dc1..5570b892 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Register.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Register<'a> {
+Register in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Register<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html index 6acab12b..a8e4d312 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Secret {
+Secret in db_sqlx_maria::dev::dev::prelude - Rust
pub struct Secret {
     pub secret: String,
 }
Expand description

datastructure representing a user’s secret

Fields§

§secret: String

user’s secret

-

Trait Implementations§

§

impl Clone for Secret

§

fn clone(&self) -> Secret

Returns a copy 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 copy 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<Secret> for Secret

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

source§

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

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

impl StructuralPartialEq for Secret

Auto Trait Implementations§

§

impl RefUnwindSafe for Secret

§

impl Send for Secret

§

impl Sync for Secret

§

impl Unpin for Secret

§

impl UnwindSafe for Secret

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html index 225b302a..e58e5aae 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::dev::prelude - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __S: Serializer,

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

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

§

impl RefUnwindSafe for StatsUnixTimestamp

§

impl Send for StatsUnixTimestamp

§

impl Sync for StatsUnixTimestamp

§

impl Unpin for StatsUnixTimestamp

§

impl UnwindSafe for StatsUnixTimestamp

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html index 45c1a5a0..05752a19 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_maria::dev::dev::prelude - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __S: Serializer,

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

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

§

impl RefUnwindSafe for TrafficPattern

§

impl Send for TrafficPattern

§

impl Sync for TrafficPattern

§

impl Unpin for TrafficPattern

§

impl UnwindSafe for TrafficPattern

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/struct.UpdateEmail.html b/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html index 237f6d7e..e48bc280 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_maria::dev::dev::prelude - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::dev::prelude - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html index 411c5c05..1088d217 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::dev::prelude - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::dev::prelude - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

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

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

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

clone DB

+

Implementors§

source§

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

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/dev/prelude/trait.Connect.html index 69d9ee76..16b530b6 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::dev::prelude - Rust
pub trait Connect {
+Connect in db_sqlx_maria::dev::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

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

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_maria::dev::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html b/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html index eab06ee8..39af987a 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::dev::prelude - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::dev::prelude - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html index c8085ea6..c6fda978 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

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

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html index 50a2d6e6..17340ebb 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev::dev::prelude - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::dev::prelude - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html b/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html index 12be38f1..63568d4c 100644 --- a/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::dev::prelude::BoxDynError

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_maria::dev::dev::prelude::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/type.DBResult.html b/db_sqlx_maria/dev/dev/prelude/type.DBResult.html index 6abf69da..ca885035 100644 --- a/db_sqlx_maria/dev/dev/prelude/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::dev::prelude::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_maria::dev::dev::prelude::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.AddNotification.html b/db_sqlx_maria/dev/dev/struct.AddNotification.html index 0acf2ac6..56b619fc 100644 --- a/db_sqlx_maria/dev/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/dev/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_maria::dev::dev - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::dev - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

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

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.Captcha.html b/db_sqlx_maria/dev/dev/struct.Captcha.html index db5621af..61ebe124 100644 --- a/db_sqlx_maria/dev/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/dev/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Captcha

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

Struct db_sqlx_maria::dev::dev::Captcha

source ·
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§duration: 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 copy 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 copy 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<Captcha> for Captcha

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html index c2ce3bce..8e1ea0be 100644 --- a/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_maria::dev::dev - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html index e9016826..630130de 100644 --- a/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::dev - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.NameHash.html b/db_sqlx_maria/dev/dev/struct.NameHash.html index 76aa1a95..d9895fa2 100644 --- a/db_sqlx_maria/dev/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/dev/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::NameHash

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

Struct db_sqlx_maria::dev::dev::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 copy 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 copy 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<NameHash> for NameHash

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.Notification.html b/db_sqlx_maria/dev/dev/struct.Notification.html index d9901cd2..54c0fd30 100644 --- a/db_sqlx_maria/dev/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_maria::dev::dev - Rust
pub struct Notification {
+Notification in db_sqlx_maria::dev::dev - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html index bda4dfbf..775c4011 100644 --- a/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_maria::dev::dev - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::dev - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.Register.html b/db_sqlx_maria/dev/dev/struct.Register.html index 6cb19802..1e6f1e72 100644 --- a/db_sqlx_maria/dev/dev/struct.Register.html +++ b/db_sqlx_maria/dev/dev/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Register

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

Struct db_sqlx_maria::dev::dev::Register

source ·
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Register<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.Secret.html b/db_sqlx_maria/dev/dev/struct.Secret.html index 7208c276..93c1649d 100644 --- a/db_sqlx_maria/dev/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/dev/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_maria::dev::dev - Rust

Struct db_sqlx_maria::dev::dev::Secret

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

Struct db_sqlx_maria::dev::dev::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 copy 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 copy 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<Secret> for Secret

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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§

Blanket Implementations§

source§

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

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

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html index 2839a862..76042af7 100644 --- a/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::dev - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/struct.TrafficPattern.html index 334c0098..d3985865 100644 --- a/db_sqlx_maria/dev/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/dev/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_maria::dev::dev - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/dev/struct.UpdateEmail.html index 224d8bef..f494786f 100644 --- a/db_sqlx_maria/dev/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/dev/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_maria::dev::dev - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::dev - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/dev/tests/fn.database_works.html b/db_sqlx_maria/dev/dev/tests/fn.database_works.html index cb09a5b5..36e7c040 100644 --- a/db_sqlx_maria/dev/dev/tests/fn.database_works.html +++ b/db_sqlx_maria/dev/dev/tests/fn.database_works.html @@ -1,4 +1,4 @@ -database_works in db_sqlx_maria::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
+database_works in db_sqlx_maria::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
     db: &T,
     p: &Register<'a>,
     c: &CreateCaptcha<'a>,
diff --git a/db_sqlx_maria/dev/dev/tests/index.html b/db_sqlx_maria/dev/dev/tests/index.html
index 34a6f4a3..18e68631 100644
--- a/db_sqlx_maria/dev/dev/tests/index.html
+++ b/db_sqlx_maria/dev/dev/tests/index.html
@@ -1,2 +1,2 @@
-db_sqlx_maria::dev::dev::tests - Rust

Module db_sqlx_maria::dev::dev::tests

Expand description

Test utilities

+db_sqlx_maria::dev::dev::tests - Rust

Module db_sqlx_maria::dev::dev::tests

source ·
Expand description

Test utilities

Functions

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html index 00ab408b..3a90ac6d 100644 --- a/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::dev - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::dev - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

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

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

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

clone DB

+

Implementors§

source§

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

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.Connect.html b/db_sqlx_maria/dev/dev/trait.Connect.html index f6800c7d..a91c7d6e 100644 --- a/db_sqlx_maria/dev/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::dev - Rust
pub trait Connect {
+Connect in db_sqlx_maria::dev::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_maria/dev/dev/trait.DBOps.html b/db_sqlx_maria/dev/dev/trait.DBOps.html index 7a09c518..4363b38d 100644 --- a/db_sqlx_maria/dev/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::dev - Rust

Trait db_sqlx_maria::dev::dev::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_maria::dev::dev - Rust

Trait db_sqlx_maria::dev::dev::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/dev/trait.GetConnection.html b/db_sqlx_maria/dev/dev/trait.GetConnection.html index d27be07f..5877fa41 100644 --- a/db_sqlx_maria/dev/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::dev - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::dev - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/trait.MCDatabase.html index e76a19ef..8ba5b63b 100644 --- a/db_sqlx_maria/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_maria::dev::dev - Rust

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

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

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_maria/dev/dev/trait.Migrate.html b/db_sqlx_maria/dev/dev/trait.Migrate.html index 16477759..c53509ab 100644 --- a/db_sqlx_maria/dev/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev::dev - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::dev - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/dev/type.BoxDynError.html b/db_sqlx_maria/dev/dev/type.BoxDynError.html index 0e048145..b4ed8418 100644 --- a/db_sqlx_maria/dev/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_maria::dev::dev - Rust

Type Definition db_sqlx_maria::dev::dev::BoxDynError

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_maria::dev::dev::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/type.DBResult.html b/db_sqlx_maria/dev/dev/type.DBResult.html index 8b55970a..62dcb39a 100644 --- a/db_sqlx_maria/dev/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::dev - Rust

Type Definition db_sqlx_maria::dev::dev::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_maria::dev::dev::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/dev/enum.DBError.html b/db_sqlx_maria/dev/enum.DBError.html index 6ec9d351..bccc9d21 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

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 7817ce8e..9f5b32ed 100644 --- a/db_sqlx_maria/dev/enum.Login.html +++ b/db_sqlx_maria/dev/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_maria::dev - Rust

Enum db_sqlx_maria::dev::Login

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

Enum db_sqlx_maria::dev::Login

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

types of credentials used as identifiers during login

Variants§

§

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

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

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

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html index 1af758cc..42307a44 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

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 e2459445..06f85085 100644 --- a/db_sqlx_maria/dev/errors/index.html +++ b/db_sqlx_maria/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::errors - Rust

Module db_sqlx_maria::dev::errors

Expand description

represents all the ways a trait can fail using this crate

+db_sqlx_maria::dev::errors - Rust

Module db_sqlx_maria::dev::errors

source ·
Expand description

represents all the ways a trait can fail using this crate

Enums

  • Error data structure grouping various error subtypes

Type Definitions

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

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_maria::dev::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ 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 7beaa0fa..1189b8d4 100644 --- a/db_sqlx_maria/dev/errors/type.DBResult.html +++ b/db_sqlx_maria/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::errors - Rust

Type Definition db_sqlx_maria::dev::errors::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_maria::dev::errors::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html index 4b8f19c7..a58fdeca 100644 --- a/db_sqlx_maria/dev/ops/index.html +++ b/db_sqlx_maria/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::ops - Rust

Module db_sqlx_maria::dev::ops

Expand description

meta operations like migration and connecting to a database

+db_sqlx_maria::dev::ops - Rust

Module db_sqlx_maria::dev::ops

source ·
Expand description

meta operations like migration and connecting to a database

Traits

  • Create database connection
  • Database operations trait(migrations, pool creation and fetching connection from pool)
  • Get database connection
  • database migrations
\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html index bd23e375..64c13722 100644 --- a/db_sqlx_maria/dev/ops/trait.Connect.html +++ b/db_sqlx_maria/dev/ops/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::ops - Rust
pub trait Connect {
+Connect in db_sqlx_maria::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>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 2ee3a91d..c35e081c 100644 --- a/db_sqlx_maria/dev/ops/trait.DBOps.html +++ b/db_sqlx_maria/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::ops - Rust

Trait db_sqlx_maria::dev::ops::DBOps

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_maria::dev::ops - Rust

Trait db_sqlx_maria::dev::ops::DBOps

source ·
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html index a021203b..93e3bbda 100644 --- a/db_sqlx_maria/dev/ops/trait.GetConnection.html +++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::ops - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::ops - Rust
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, Global>>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 ff1d2657..ef33bcc5 100644 --- a/db_sqlx_maria/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/ops/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_maria::dev::ops - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::ops - Rust
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, Global>>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 3d9f530e..8357b79c 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

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 1df37913..ce9b3584 100644 --- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_maria::dev::prelude::dev - Rust
pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude::dev - Rust
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

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

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/index.html b/db_sqlx_maria/dev/prelude/dev/index.html index 423961f6..8f99a513 100644 --- a/db_sqlx_maria/dev/prelude/dev/index.html +++ b/db_sqlx_maria/dev/prelude/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::prelude::dev - Rust

Module db_sqlx_maria::dev::prelude::dev

Expand description

useful imports for supporting a new database

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

Module db_sqlx_maria::dev::prelude::dev

source ·
Expand description

useful imports for supporting a new database

Structs

Enums

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

Traits

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

Type Definitions

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

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html index ace954de..66fb105d 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_maria::dev::prelude::dev - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude::dev - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html index adeba9e4..7ecb0fff 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html index c9f6da8e..2a0c1c2c 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

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html index 7957549f..106aa5e7 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

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html index a71a23da..e6323050 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_maria::dev::prelude::dev - Rust
pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude::dev - Rust
pub struct NameHash {
     pub username: String,
     pub hash: String,
 }
Expand description

type encapsulating username and hashed password of a user

Fields§

§username: String

username

§hash: String

hashed password

-

Trait Implementations§

§

impl Clone for NameHash

§

fn clone(&self) -> NameHash

Returns a copy 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 copy 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<NameHash> for NameHash

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html index ad4db8df..83692f1e 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html index 0a03cf90..b4838ca3 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html index d3a26abe..0dfbb015 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Register<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html index 122ffce0..00596870 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_maria::dev::prelude::dev - Rust
pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude::dev - Rust
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 copy 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 copy 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<Secret> for Secret

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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§

Blanket Implementations§

source§

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

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

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html index eada75ed..91d38252 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

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html index 4173fba2..21a2c2fc 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

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html index 1eee4027..e41d044c 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html index f3afdc3c..5815c9be 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

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

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

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

clone DB

+

Implementors§

source§

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

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html index 9737bfed..c250b35c 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_maria::dev::prelude::dev - Rust
pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>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 d35782a1..c703a382 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::prelude::dev - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_maria::dev::prelude::dev - Rust
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 7da66b61..c42b7c3d 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_maria::dev::prelude::dev - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude::dev - Rust
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, Global>>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 25e8ffcb..1e3f364d 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

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

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

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html index 574179f1..1beb24fb 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
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::prelude::dev - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

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

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_maria::dev::prelude::dev::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ 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 1ea1b1af..1c205381 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::prelude::dev - Rust

Type Definition db_sqlx_maria::dev::prelude::dev::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_maria::dev::prelude::dev::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/prelude/enum.DBError.html index 6b4ba07d..5fe66d54 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

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 6fd2ebcc..f48460b0 100644 --- a/db_sqlx_maria/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_maria::dev::prelude - Rust
pub enum Login<'a> {
+Login in db_sqlx_maria::dev::prelude - Rust
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 copy 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 copy 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<Login<'a>> for Login<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

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

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/index.html b/db_sqlx_maria/dev/prelude/index.html index 4b33a12e..f7f9d14b 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 db_sqlx_maria::dev::prelude

Expand description

useful imports for users working with a supported database

+db_sqlx_maria::dev::prelude - Rust

Module db_sqlx_maria::dev::prelude

source ·
Expand description

useful imports for users working with a supported database

Modules

  • useful imports for supporting a new database

Structs

Enums

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

Traits

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

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/struct.AddNotification.html index 64c9af05..eec59312 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
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev::prelude - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Captcha.html b/db_sqlx_maria/dev/prelude/struct.Captcha.html index 7d695aec..ebad215a 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
pub struct Captcha {
+Captcha in db_sqlx_maria::dev::prelude - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html index 915d4538..fcf20f38 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

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html index b929bab2..3f47929e 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

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.NameHash.html b/db_sqlx_maria/dev/prelude/struct.NameHash.html index 0848364b..85f77f3e 100644 --- a/db_sqlx_maria/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_maria::dev::prelude - Rust
pub struct NameHash {
+NameHash in db_sqlx_maria::dev::prelude - Rust
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 copy 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 copy 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<NameHash> for NameHash

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Notification.html b/db_sqlx_maria/dev/prelude/struct.Notification.html index f27129c0..603182a6 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
pub struct Notification {
+Notification in db_sqlx_maria::dev::prelude - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html index aef59c85..a5872210 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
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Register.html b/db_sqlx_maria/dev/prelude/struct.Register.html index 8c8d9bd5..2b859bc4 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
pub struct Register<'a> {
+Register in db_sqlx_maria::dev::prelude - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Register<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Secret.html b/db_sqlx_maria/dev/prelude/struct.Secret.html index 01bcefb6..e64f4c36 100644 --- a/db_sqlx_maria/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_maria::dev::prelude - Rust
pub struct Secret {
+Secret in db_sqlx_maria::dev::prelude - Rust
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 copy 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 copy 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<Secret> for Secret

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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§

Blanket Implementations§

source§

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

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

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html index e2281813..e2bb3890 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

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html index 79f62ca2..cb5657fe 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

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html index a626ee5f..b31c960a 100644 --- a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_maria::dev::prelude - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev::prelude - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html index 08c0a2c6..909c1c71 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
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev::prelude - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

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

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

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

clone DB

+

Implementors§

source§

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

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/prelude/trait.Connect.html index e2603fe2..be5c5b0f 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
pub trait Connect {
+Connect in db_sqlx_maria::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>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 189b2ba5..477fb8b6 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

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
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 7ab65b76..441445fc 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
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev::prelude - Rust
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, Global>>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 c3b769c3..cd76b08c 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

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

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

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_maria/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/prelude/trait.Migrate.html index 2f0b0b0e..985fd850 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
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev::prelude - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

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

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_maria::dev::prelude::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ 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 cdda522d..f799f3b7 100644 --- a/db_sqlx_maria/dev/prelude/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev::prelude - Rust

Type Definition db_sqlx_maria::dev::prelude::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_maria::dev::prelude::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.AddNotification.html b/db_sqlx_maria/dev/struct.AddNotification.html index 6528690d..c4410e2f 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
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_maria::dev - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

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

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Captcha.html b/db_sqlx_maria/dev/struct.Captcha.html index b2323847..47fb9f99 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 db_sqlx_maria::dev::Captcha

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

Struct db_sqlx_maria::dev::Captcha

source ·
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html index d035e37a..60281f24 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

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.NameHash.html b/db_sqlx_maria/dev/struct.NameHash.html index 77af4937..9096f83c 100644 --- a/db_sqlx_maria/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::NameHash

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

Struct db_sqlx_maria::dev::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 copy 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 copy 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<NameHash> for NameHash

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Notification.html b/db_sqlx_maria/dev/struct.Notification.html index c5e00366..5dbce81a 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
pub struct Notification {
+Notification in db_sqlx_maria::dev - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/struct.PerformanceAnalytics.html index dff76421..975dc6e6 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
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_maria::dev - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Register.html b/db_sqlx_maria/dev/struct.Register.html index 8b25f634..8e91d423 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 db_sqlx_maria::dev::Register

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

Struct db_sqlx_maria::dev::Register

source ·
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Register<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.Secret.html b/db_sqlx_maria/dev/struct.Secret.html index 9cf6b1e8..1e1fc05b 100644 --- a/db_sqlx_maria/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_maria::dev - Rust

Struct db_sqlx_maria::dev::Secret

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

Struct db_sqlx_maria::dev::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 copy 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 copy 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<Secret> for Secret

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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§

Blanket Implementations§

source§

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

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

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/struct.UpdateEmail.html b/db_sqlx_maria/dev/struct.UpdateEmail.html index dd37653f..e476b7a6 100644 --- a/db_sqlx_maria/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_maria::dev - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_maria::dev - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/tests/fn.database_works.html b/db_sqlx_maria/dev/tests/fn.database_works.html index 5c62669f..e7dc9e6a 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
pub async fn database_works<T, 'a>(
+database_works in db_sqlx_maria::dev::tests - Rust
pub async fn database_works<T, 'a>(
     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 64bdc54d..ed582135 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 db_sqlx_maria::dev::tests

Expand description

Test utilities

+db_sqlx_maria::dev::tests - Rust

Module db_sqlx_maria::dev::tests

source ·
Expand description

Test utilities

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 28f803c6..8319925c 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
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_maria::dev - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

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

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

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

clone DB

+

Implementors§

source§

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

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Connect.html b/db_sqlx_maria/dev/trait.Connect.html index 7c63be66..e51a9fa3 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
pub trait Connect {
+Connect in db_sqlx_maria::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>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 11e6626f..3ae7de7f 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 db_sqlx_maria::dev::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 db_sqlx_maria::dev::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 97abe39b..db674f5d 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
pub trait GetConnection {
+GetConnection in db_sqlx_maria::dev - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/trait.MCDatabase.html index 8a202d8d..d418334e 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

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

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

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_maria/dev/trait.Migrate.html b/db_sqlx_maria/dev/trait.Migrate.html index f4629afc..700a4d8b 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
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_maria::dev - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_maria/dev/type.BoxDynError.html b/db_sqlx_maria/dev/type.BoxDynError.html index 435f3348..b8923232 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 Definition db_sqlx_maria::dev::BoxDynError

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

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ 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 dfb71cfb..d21fdd11 100644 --- a/db_sqlx_maria/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::DBResult

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

Generic result data structure

+DBResult in db_sqlx_maria::dev - Rust

Type Definition db_sqlx_maria::dev::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_maria/struct.Database.html b/db_sqlx_maria/struct.Database.html index 16ab3602..30ee6aab 100644 --- a/db_sqlx_maria/struct.Database.html +++ b/db_sqlx_maria/struct.Database.html @@ -342,7 +342,7 @@ ) -> 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, Global>>where @@ -356,8 +356,8 @@ run migrations

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
§

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

§

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

clone DB
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

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

Mutably borrows from an owned value. Read more
source§

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

source§

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

clone DB
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere diff --git a/db_sqlx_postgres/dev/dev/enum.DBError.html b/db_sqlx_postgres/dev/dev/enum.DBError.html index b78eeff0..e3b13374 100644 --- a/db_sqlx_postgres/dev/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev::dev - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/enum.Login.html b/db_sqlx_postgres/dev/dev/enum.Login.html index 5ba15993..d293c2c4 100644 --- a/db_sqlx_postgres/dev/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/dev/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_postgres::dev::dev - Rust
pub enum Login<'a> {
+Login in db_sqlx_postgres::dev::dev - Rust
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 copy 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 copy 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<Login<'a>> for Login<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/errors/enum.DBError.html b/db_sqlx_postgres/dev/dev/errors/enum.DBError.html index 9c36c0de..eba38d56 100644 --- a/db_sqlx_postgres/dev/dev/errors/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/errors/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev::dev::errors - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/errors/index.html b/db_sqlx_postgres/dev/dev/errors/index.html index 90bc91c3..983112fd 100644 --- a/db_sqlx_postgres/dev/dev/errors/index.html +++ b/db_sqlx_postgres/dev/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::dev::errors - Rust
Expand description

represents all the ways a trait can fail using this crate

+db_sqlx_postgres::dev::dev::errors - Rust
Expand description

represents all the ways a trait can fail using this crate

Enums

  • Error data structure grouping various error subtypes

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html index f28cb094..29fe260e 100644 --- a/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::dev::errors::BoxDynError

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

Convenience type alias for grouping driver-specific errors

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

Type Definition db_sqlx_postgres::dev::dev::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/type.DBResult.html b/db_sqlx_postgres/dev/dev/errors/type.DBResult.html index b01aa44e..3cdc01fe 100644 --- a/db_sqlx_postgres/dev/dev/errors/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::dev::errors::DBResult

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

Generic result data structure

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

Type Definition db_sqlx_postgres::dev::dev::errors::DBResult

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

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/index.html b/db_sqlx_postgres/dev/dev/index.html index 1d549692..48861b0b 100644 --- a/db_sqlx_postgres/dev/dev/index.html +++ b/db_sqlx_postgres/dev/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::dev - Rust

Module db_sqlx_postgres::dev::dev

Expand description

useful imports for supporting a new database

+db_sqlx_postgres::dev::dev - Rust

Module db_sqlx_postgres::dev::dev

source ·
Expand description

useful imports for supporting a new database

Modules

  • represents all the ways a trait can fail using this crate
  • meta operations like migration and connecting to a database
  • useful imports for users working with a supported database
  • Test utilities

Structs

Enums

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

Traits

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

Type Definitions

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

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/index.html b/db_sqlx_postgres/dev/dev/ops/index.html index b457eac6..0efc0578 100644 --- a/db_sqlx_postgres/dev/dev/ops/index.html +++ b/db_sqlx_postgres/dev/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::dev::ops - Rust

Module db_sqlx_postgres::dev::dev::ops

Expand description

meta operations like migration and connecting to a database

+db_sqlx_postgres::dev::dev::ops - Rust

Module db_sqlx_postgres::dev::dev::ops

source ·
Expand description

meta operations like migration and connecting to a database

Traits

  • Create database connection
  • Database operations trait(migrations, pool creation and fetching connection from pool)
  • Get database connection
  • database migrations
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html index c9be7866..8fa71274 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev::dev::ops - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html b/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html index 5c9906e0..348fe8aa 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::dev::ops - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev::dev::ops - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html index cad9e95e..99b09158 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev::dev::ops - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev::dev::ops - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html index f883e35e..7fbeccc3 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev::dev::ops - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev::dev::ops - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html b/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html index 208c9d19..0c455340 100644 --- a/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev::dev::prelude - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/enum.Login.html b/db_sqlx_postgres/dev/dev/prelude/enum.Login.html index d1b26a0b..d6fa0d39 100644 --- a/db_sqlx_postgres/dev/dev/prelude/enum.Login.html +++ b/db_sqlx_postgres/dev/dev/prelude/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_postgres::dev::dev::prelude - Rust
pub enum Login<'a> {
+Login in db_sqlx_postgres::dev::dev::prelude - Rust
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

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

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for Login<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/index.html b/db_sqlx_postgres/dev/dev/prelude/index.html index e2dabb73..f6d7ae34 100644 --- a/db_sqlx_postgres/dev/dev/prelude/index.html +++ b/db_sqlx_postgres/dev/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::dev::prelude - Rust
Expand description

useful imports for users working with a supported database

+db_sqlx_postgres::dev::dev::prelude - Rust
Expand description

useful imports for users working with a supported database

Structs

Enums

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

Traits

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

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html index 0830be9d..96aef091 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

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

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

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

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

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.Captcha.html b/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html index 5991ef3c..a787c64b 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Captcha {
+Captcha in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html index 35016e34..29e75578 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_postgres::dev::dev::prelude - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html index 2385ece7..0f47b7e6 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.NameHash.html b/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html index d50a01ec..eb63a39f 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct NameHash {
+NameHash in db_sqlx_postgres::dev::dev::prelude - Rust
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 copy 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 copy 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<NameHash> for NameHash

§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.Notification.html b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html index 211c2365..7168dfa4 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Notification {
+Notification in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html index abc16b1d..b42072b8 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.Register.html b/db_sqlx_postgres/dev/dev/prelude/struct.Register.html index 4fbba8d6..541e3e83 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Register.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Register<'a> {
+Register in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Register<'a>> for Register<'a>

source§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.Secret.html b/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html index 01201540..b4e6496a 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct Secret {
+Secret in db_sqlx_postgres::dev::dev::prelude - Rust
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 copy 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 copy 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<Secret> for Secret

§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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§

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html index 36a2401c..f8ef50f6 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::dev::prelude - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html index 1ebc1210..895e6b7e 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_postgres::dev::dev::prelude - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html index 21047774..9dc41ebd 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_postgres::dev::dev::prelude - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_postgres::dev::dev::prelude - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html index 2afdeab2..7eb5267b 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

+

Implementors§

source§

impl<T> CloneSPDatabase for Twhere T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html index 5e429ba8..ba46c4af 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html b/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html index bef44e0f..d706ca86 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::dev::prelude - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html index 825cc856..d15fa556 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev::dev::prelude - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html index 99e440f0..2a40ca15 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+MCDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
 
Show 44 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self @@ -354,68 +354,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html index d0fe1825..93f3ebce 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev::dev::prelude - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html index 6e64799b..d3f36069 100644 --- a/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html b/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html index 6552ba2e..48aa2086 100644 --- a/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_postgres::dev::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::dev::prelude::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/dev/struct.AddNotification.html index 9bf917d7..c6b81bc9 100644 --- a/db_sqlx_postgres/dev/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/dev/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_postgres::dev::dev - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_postgres::dev::dev - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

source§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.Captcha.html b/db_sqlx_postgres/dev/dev/struct.Captcha.html index 9ff012c6..60a73342 100644 --- a/db_sqlx_postgres/dev/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/dev/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_postgres::dev::dev - Rust
pub struct Captcha {
+Captcha in db_sqlx_postgres::dev::dev - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html index 3342fde6..e9e5363e 100644 --- a/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_postgres::dev::dev - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html index f031e1ee..2ea41033 100644 --- a/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.NameHash.html b/db_sqlx_postgres/dev/dev/struct.NameHash.html index 5b230697..89109dc9 100644 --- a/db_sqlx_postgres/dev/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/dev/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_postgres::dev::dev - Rust
pub struct NameHash {
+NameHash in db_sqlx_postgres::dev::dev - Rust
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 copy 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 copy 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<NameHash> for NameHash

§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.Notification.html b/db_sqlx_postgres/dev/dev/struct.Notification.html index 1e4f4b5a..03397b6d 100644 --- a/db_sqlx_postgres/dev/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_postgres::dev::dev - Rust
pub struct Notification {
+Notification in db_sqlx_postgres::dev::dev - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html index 7193b716..028c61bf 100644 --- a/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.Register.html b/db_sqlx_postgres/dev/dev/struct.Register.html index 550d424e..f7d414c6 100644 --- a/db_sqlx_postgres/dev/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/dev/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_postgres::dev::dev - Rust
pub struct Register<'a> {
+Register in db_sqlx_postgres::dev::dev - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Register<'a>> for Register<'a>

source§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.Secret.html b/db_sqlx_postgres/dev/dev/struct.Secret.html index fd25c892..21a999e0 100644 --- a/db_sqlx_postgres/dev/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/dev/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_postgres::dev::dev - Rust
pub struct Secret {
+Secret in db_sqlx_postgres::dev::dev - Rust
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 copy 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 copy 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<Secret> for Secret

§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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§

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html index a841217b..cd4a878a 100644 --- a/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::dev - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html index 3541780e..c4b7990c 100644 --- a/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_postgres::dev::dev - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html index 361cfa41..9dc37d44 100644 --- a/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_postgres::dev::dev - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_postgres::dev::dev - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/dev/tests/fn.database_works.html b/db_sqlx_postgres/dev/dev/tests/fn.database_works.html index 71abcedd..d6b809a5 100644 --- a/db_sqlx_postgres/dev/dev/tests/fn.database_works.html +++ b/db_sqlx_postgres/dev/dev/tests/fn.database_works.html @@ -1,4 +1,4 @@ -database_works in db_sqlx_postgres::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
+database_works in db_sqlx_postgres::dev::dev::tests - Rust
pub async fn database_works<T, 'a>(
     db: &T,
     p: &Register<'a>,
     c: &CreateCaptcha<'a>,
diff --git a/db_sqlx_postgres/dev/dev/tests/index.html b/db_sqlx_postgres/dev/dev/tests/index.html
index de1286b6..e93d4607 100644
--- a/db_sqlx_postgres/dev/dev/tests/index.html
+++ b/db_sqlx_postgres/dev/dev/tests/index.html
@@ -1,2 +1,2 @@
-db_sqlx_postgres::dev::dev::tests - Rust

Module db_sqlx_postgres::dev::dev::tests

Expand description

Test utilities

+db_sqlx_postgres::dev::dev::tests - Rust

Module db_sqlx_postgres::dev::dev::tests

source ·
Expand description

Test utilities

Functions

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html index 19091f0e..df99d43f 100644 --- a/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::dev - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_postgres::dev::dev - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

+

Implementors§

source§

impl<T> CloneSPDatabase for Twhere T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.Connect.html b/db_sqlx_postgres/dev/dev/trait.Connect.html index cf60ea8e..b0a33b22 100644 --- a/db_sqlx_postgres/dev/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev::dev - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/dev/trait.DBOps.html b/db_sqlx_postgres/dev/dev/trait.DBOps.html index baae9d92..27371d9c 100644 --- a/db_sqlx_postgres/dev/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::dev - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/trait.GetConnection.html index e618b31a..af22f4ad 100644 --- a/db_sqlx_postgres/dev/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev::dev - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev::dev - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html index b40e953b..730a8fb9 100644 --- a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_postgres::dev::dev - Rust

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_postgres/dev/dev/trait.Migrate.html b/db_sqlx_postgres/dev/dev/trait.Migrate.html index 5ac33e00..e9f35a16 100644 --- a/db_sqlx_postgres/dev/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev::dev - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev::dev - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/type.BoxDynError.html index cfd792eb..759373e6 100644 --- a/db_sqlx_postgres/dev/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/type.DBResult.html b/db_sqlx_postgres/dev/dev/type.DBResult.html index 65af01d1..380039c0 100644 --- a/db_sqlx_postgres/dev/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_postgres::dev::dev - Rust

Type Definition db_sqlx_postgres::dev::dev::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/enum.DBError.html b/db_sqlx_postgres/dev/enum.DBError.html index 90ebe6cf..158ec677 100644 --- a/db_sqlx_postgres/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/enum.Login.html b/db_sqlx_postgres/dev/enum.Login.html index 99fd1d6c..980f55ed 100644 --- a/db_sqlx_postgres/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_postgres::dev - Rust
pub enum Login<'a> {
+Login in db_sqlx_postgres::dev - Rust
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 copy 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 copy 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<Login<'a>> for Login<'a>

§

fn eq(&self, other: &Login<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Login<'a>> for Login<'a>

source§

fn eq(&self, other: &Login<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Login<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/errors/enum.DBError.html b/db_sqlx_postgres/dev/errors/enum.DBError.html index 29c958c8..8401e9c0 100644 --- a/db_sqlx_postgres/dev/errors/enum.DBError.html +++ b/db_sqlx_postgres/dev/errors/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev::errors - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/errors/index.html b/db_sqlx_postgres/dev/errors/index.html index 16dcfc06..3e454c26 100644 --- a/db_sqlx_postgres/dev/errors/index.html +++ b/db_sqlx_postgres/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::errors - Rust
Expand description

represents all the ways a trait can fail using this crate

+db_sqlx_postgres::dev::errors - Rust
Expand description

represents all the ways a trait can fail using this crate

Enums

  • Error data structure grouping various error subtypes

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/type.BoxDynError.html b/db_sqlx_postgres/dev/errors/type.BoxDynError.html index 67599f86..26a1d140 100644 --- a/db_sqlx_postgres/dev/errors/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/type.DBResult.html b/db_sqlx_postgres/dev/errors/type.DBResult.html index c87644e6..7b9e6cd6 100644 --- a/db_sqlx_postgres/dev/errors/type.DBResult.html +++ b/db_sqlx_postgres/dev/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_postgres::dev::errors - Rust

Type Definition db_sqlx_postgres::dev::errors::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/index.html b/db_sqlx_postgres/dev/ops/index.html index 3ee8b1ce..5f319147 100644 --- a/db_sqlx_postgres/dev/ops/index.html +++ b/db_sqlx_postgres/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::ops - Rust

Module db_sqlx_postgres::dev::ops

Expand description

meta operations like migration and connecting to a database

+db_sqlx_postgres::dev::ops - Rust

Module db_sqlx_postgres::dev::ops

source ·
Expand description

meta operations like migration and connecting to a database

Traits

  • Create database connection
  • Database operations trait(migrations, pool creation and fetching connection from pool)
  • Get database connection
  • database migrations
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/ops/trait.Connect.html index 52da41e8..c74e2110 100644 --- a/db_sqlx_postgres/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/ops/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev::ops - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev::ops - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/ops/trait.DBOps.html b/db_sqlx_postgres/dev/ops/trait.DBOps.html index 3d4348a7..502ed1ac 100644 --- a/db_sqlx_postgres/dev/ops/trait.DBOps.html +++ b/db_sqlx_postgres/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::ops - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev::ops - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.GetConnection.html b/db_sqlx_postgres/dev/ops/trait.GetConnection.html index c5ea1e68..271313b2 100644 --- a/db_sqlx_postgres/dev/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/ops/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev::ops - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev::ops - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/ops/trait.Migrate.html index 21bdd1b5..df7d6830 100644 --- a/db_sqlx_postgres/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/ops/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev::ops - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev::ops - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html b/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html index a47ad657..f10811a0 100644 --- a/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev::prelude::dev - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/enum.Login.html b/db_sqlx_postgres/dev/prelude/dev/enum.Login.html index 20ccaf4b..52267665 100644 --- a/db_sqlx_postgres/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/prelude/dev/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_postgres::dev::prelude::dev - Rust
pub enum Login<'a> {
+Login in db_sqlx_postgres::dev::prelude::dev - Rust
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants§

§

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 copy 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 copy 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<Login<'a>> for Login<'a>

§

fn eq(&self, other: &Login<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Login<'a>> for Login<'a>

source§

fn eq(&self, other: &Login<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Login<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/index.html b/db_sqlx_postgres/dev/prelude/dev/index.html index fb11ac4b..5a62c8e2 100644 --- a/db_sqlx_postgres/dev/prelude/dev/index.html +++ b/db_sqlx_postgres/dev/prelude/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::prelude::dev - Rust
Expand description

useful imports for supporting a new database

+db_sqlx_postgres::dev::prelude::dev - Rust
Expand description

useful imports for supporting a new database

Structs

Enums

  • Error data structure grouping various error subtypes
  • types of credentials used as identifiers during login

Traits

  • Trait to clone MCDatabase
  • Create database connection
  • Database operations trait(migrations, pool creation and fetching connection from pool)
  • Get database connection
  • mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.
  • database migrations

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure

Attribute Macros

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html index 9a8b6800..91f35661 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

source§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.Captcha.html b/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html index cb67e09e..fa55027b 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Captcha {
+Captcha in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html index 0c3f364b..627e1e66 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_postgres::dev::prelude::dev - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html index 6769547c..d82cb0e3 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.NameHash.html b/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html index 21cfc36d..b621ae35 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct NameHash {
+NameHash in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct NameHash {
     pub username: String,
     pub hash: String,
 }
Expand description

type encapsulating username and hashed password of a user

Fields§

§username: String

username

§hash: String

hashed password

-

Trait Implementations§

§

impl Clone for NameHash

§

fn clone(&self) -> NameHash

Returns a copy 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 copy 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<NameHash> for NameHash

§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.Notification.html b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html index 5320ab9b..650726ae 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Notification {
+Notification in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html index e34eaaeb..ba89fc44 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.Register.html b/db_sqlx_postgres/dev/prelude/dev/struct.Register.html index d034ec11..4396a46a 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Register<'a> {
+Register in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§secret: &'a 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 copy 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 copy 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<Register<'a>> for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Register<'a>> for Register<'a>

source§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.Secret.html b/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html index 1ed342d7..f6ca2445 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct Secret {
+Secret in db_sqlx_postgres::dev::prelude::dev - Rust
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 copy 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 copy 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<Secret> for Secret

§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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§

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html index 2e81f3d4..2330d5a7 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::prelude::dev - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html index cc9514e4..6b6bc126 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_postgres::dev::prelude::dev - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html index 70fa1ec2..f3c395e3 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_postgres::dev::prelude::dev - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_postgres::dev::prelude::dev - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html index 93aa316d..f0920d63 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

+

Implementors§

source§

impl<T> CloneSPDatabase for Twhere T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html index 491d86a6..ca21601b 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html b/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html index 914931ed..0abb2f4f 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::prelude::dev - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html index 82f0d3ef..00bd9f82 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev::prelude::dev - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html index d71d4e57..eb66f12a 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+MCDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
 
Show 44 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self @@ -354,68 +354,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html index 5da9e6ea..212cc523 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev::prelude::dev - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html index eae29d69..65cfe483 100644 --- a/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html b/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html index 33ff7dc4..16273a42 100644 --- a/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_postgres::dev::prelude::dev - Rust

Type Definition db_sqlx_postgres::dev::prelude::dev::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/enum.DBError.html b/db_sqlx_postgres/dev/prelude/enum.DBError.html index 7b54b5ff..a159e942 100644 --- a/db_sqlx_postgres/dev/prelude/enum.DBError.html +++ b/db_sqlx_postgres/dev/prelude/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_sqlx_postgres::dev::prelude - Rust

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)>

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 Twhere +

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)>

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/enum.Login.html b/db_sqlx_postgres/dev/prelude/enum.Login.html index 52febe63..ca3b898d 100644 --- a/db_sqlx_postgres/dev/prelude/enum.Login.html +++ b/db_sqlx_postgres/dev/prelude/enum.Login.html @@ -1,20 +1,20 @@ -Login in db_sqlx_postgres::dev::prelude - Rust
pub enum Login<'a> {
+Login in db_sqlx_postgres::dev::prelude - Rust
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 copy 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 copy 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<Login<'a>> for Login<'a>

§

fn eq(&self, other: &Login<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Login<'a>> for Login<'a>

source§

fn eq(&self, other: &Login<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Login<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Login<'a>

§

impl<'a> Send for Login<'a>

§

impl<'a> Sync for Login<'a>

§

impl<'a> Unpin for Login<'a>

§

impl<'a> UnwindSafe for Login<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/index.html b/db_sqlx_postgres/dev/prelude/index.html index 3fd4d812..d4725a49 100644 --- a/db_sqlx_postgres/dev/prelude/index.html +++ b/db_sqlx_postgres/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::prelude - Rust
Expand description

useful imports for users working with a supported database

+db_sqlx_postgres::dev::prelude - Rust
Expand description

useful imports for users working with a supported database

Modules

  • useful imports for supporting a new database

Structs

Enums

  • Error data structure grouping various error subtypes
  • types of credentials used as identifiers during login

Traits

  • Trait to clone MCDatabase
  • Create database connection
  • Database operations trait(migrations, pool creation and fetching connection from pool)
  • Get database connection
  • mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.
  • database migrations

Type Definitions

  • Convenience type alias for grouping driver-specific errors
  • Generic result data structure
\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.AddNotification.html b/db_sqlx_postgres/dev/prelude/struct.AddNotification.html index c947c840..aff29ac7 100644 --- a/db_sqlx_postgres/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/prelude/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_postgres::dev::prelude - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_postgres::dev::prelude - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

source§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.Captcha.html b/db_sqlx_postgres/dev/prelude/struct.Captcha.html index 38c728dd..cdeffd99 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/dev/prelude/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_postgres::dev::prelude - Rust
pub struct Captcha {
+Captcha in db_sqlx_postgres::dev::prelude - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html index a8406c81..e21e9aaa 100644 --- a/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_postgres::dev::prelude - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html index 8c949c8e..0cf697d2 100644 --- a/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.NameHash.html b/db_sqlx_postgres/dev/prelude/struct.NameHash.html index 3814f519..e1079aa8 100644 --- a/db_sqlx_postgres/dev/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/dev/prelude/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_postgres::dev::prelude - Rust
pub struct NameHash {
+NameHash in db_sqlx_postgres::dev::prelude - Rust
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 copy 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 copy 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<NameHash> for NameHash

§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.Notification.html b/db_sqlx_postgres/dev/prelude/struct.Notification.html index ecafc24c..e0310a12 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_postgres::dev::prelude - Rust
pub struct Notification {
+Notification in db_sqlx_postgres::dev::prelude - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html index aec304c2..ef6cde92 100644 --- a/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.Register.html b/db_sqlx_postgres/dev/prelude/struct.Register.html index 8478d1b9..7d820cbb 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Register.html +++ b/db_sqlx_postgres/dev/prelude/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_postgres::dev::prelude - Rust
pub struct Register<'a> {
+Register in db_sqlx_postgres::dev::prelude - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Register<'a>> for Register<'a>

source§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.Secret.html b/db_sqlx_postgres/dev/prelude/struct.Secret.html index 928348f1..9cb386dc 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Secret.html +++ b/db_sqlx_postgres/dev/prelude/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_postgres::dev::prelude - Rust
pub struct Secret {
+Secret in db_sqlx_postgres::dev::prelude - Rust
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 copy 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 copy 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<Secret> for Secret

§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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§

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html index 44ccd717..a17e14cc 100644 --- a/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::prelude - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html index accdd29c..035efba4 100644 --- a/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_postgres::dev::prelude - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html index 4a914d93..9a9abe91 100644 --- a/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_postgres::dev::prelude - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_postgres::dev::prelude - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html index 42e5ce03..fd10ff7c 100644 --- a/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::prelude - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_postgres::dev::prelude - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

+

Implementors§

source§

impl<T> CloneSPDatabase for Twhere T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/prelude/trait.Connect.html index 6cc21027..b6a7f370 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev::prelude - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev::prelude - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/prelude/trait.DBOps.html b/db_sqlx_postgres/dev/prelude/trait.DBOps.html index 22fee1e7..905195ac 100644 --- a/db_sqlx_postgres/dev/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::prelude - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev::prelude - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.GetConnection.html b/db_sqlx_postgres/dev/prelude/trait.GetConnection.html index b85490a7..f1c3292f 100644 --- a/db_sqlx_postgres/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/prelude/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev::prelude - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev::prelude - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html index 4b6388bf..d78cfdde 100644 --- a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_postgres::dev::prelude - Rust

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_postgres/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/trait.Migrate.html index d1064474..5b31335c 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev::prelude - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev::prelude - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/prelude/type.BoxDynError.html b/db_sqlx_postgres/dev/prelude/type.BoxDynError.html index 0f36b539..c44bf32d 100644 --- a/db_sqlx_postgres/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/prelude/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/type.DBResult.html b/db_sqlx_postgres/dev/prelude/type.DBResult.html index 287537e2..9a567161 100644 --- a/db_sqlx_postgres/dev/prelude/type.DBResult.html +++ b/db_sqlx_postgres/dev/prelude/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_postgres::dev::prelude - Rust

Type Definition db_sqlx_postgres::dev::prelude::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/struct.AddNotification.html index b57d2de0..86aa8222 100644 --- a/db_sqlx_postgres/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_sqlx_postgres::dev - Rust
pub struct AddNotification<'a> {
+AddNotification in db_sqlx_postgres::dev - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<AddNotification<'a>> for AddNotification<'a>

§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

source§

fn eq(&self, other: &AddNotification<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for AddNotification<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for AddNotification<'a>

§

impl<'a> Send for AddNotification<'a>

§

impl<'a> Sync for AddNotification<'a>

§

impl<'a> Unpin for AddNotification<'a>

§

impl<'a> UnwindSafe for AddNotification<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.Captcha.html b/db_sqlx_postgres/dev/struct.Captcha.html index 5cc1f0a8..41e66056 100644 --- a/db_sqlx_postgres/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_sqlx_postgres::dev - Rust
pub struct Captcha {
+Captcha in db_sqlx_postgres::dev - Rust
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<Captcha> for Captcha

§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Captcha> for Captcha

source§

fn eq(&self, other: &Captcha) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/struct.CreateCaptcha.html index 0724c1bb..4b31c687 100644 --- a/db_sqlx_postgres/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/struct.CreateCaptcha.html @@ -1,4 +1,4 @@ -CreateCaptcha in db_sqlx_postgres::dev - Rust

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 copy 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 copy 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<CreateCaptcha<'a>> for CreateCaptcha<'a>

§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

source§

fn eq(&self, other: &CreateCaptcha<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for CreateCaptcha<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for CreateCaptcha<'a>

§

impl<'a> Send for CreateCaptcha<'a>

§

impl<'a> Sync for CreateCaptcha<'a>

§

impl<'a> Unpin for CreateCaptcha<'a>

§

impl<'a> UnwindSafe for CreateCaptcha<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html index 24dfba7a..018ba62c 100644 --- a/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html @@ -1,4 +1,4 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev - Rust

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 copy 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 copy 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<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

source§

fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.NameHash.html b/db_sqlx_postgres/dev/struct.NameHash.html index 2d345877..9d5c1f5d 100644 --- a/db_sqlx_postgres/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/struct.NameHash.html @@ -1,19 +1,19 @@ -NameHash in db_sqlx_postgres::dev - Rust
pub struct NameHash {
+NameHash in db_sqlx_postgres::dev - Rust
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 copy 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 copy 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<NameHash> for NameHash

§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<NameHash> for NameHash

source§

fn eq(&self, other: &NameHash) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.Notification.html b/db_sqlx_postgres/dev/struct.Notification.html index 3aa6f61f..8b853371 100644 --- a/db_sqlx_postgres/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_sqlx_postgres::dev - Rust
pub struct Notification {
+Notification in db_sqlx_postgres::dev - Rust
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,16 +10,16 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

§

impl Clone for Notification

§

fn clone(&self) -> Notification

Returns a copy of the value. Read 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 copy 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<Notification> for Notification

§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl From<InnerNotification> for Notification

source§

fn from(n: InnerNotification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Notification> for Notification

source§

fn eq(&self, other: &Notification) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html index f3f25d5f..7f7cb109 100644 --- a/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_sqlx_postgres::dev - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_sqlx_postgres::dev - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,16 +8,16 @@
 
§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 copy 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 copy 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<PerformanceAnalytics> for PerformanceAnalytics

§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

source§

fn eq(&self, other: &PerformanceAnalytics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.Register.html b/db_sqlx_postgres/dev/struct.Register.html index 1dcd63e1..2cc56ece 100644 --- a/db_sqlx_postgres/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_sqlx_postgres::dev - Rust
pub struct Register<'a> {
+Register in db_sqlx_postgres::dev - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub secret: &'a str,
     pub hash: &'a str,
@@ -8,17 +8,17 @@
 
§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 copy 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 copy 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<Register<'a>> for Register<'a>

§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<Register<'a>> for Register<'a>

source§

fn eq(&self, other: &Register<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for Register<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for Register<'a>

§

impl<'a> Send for Register<'a>

§

impl<'a> Sync for Register<'a>

§

impl<'a> Unpin for Register<'a>

§

impl<'a> UnwindSafe for Register<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.Secret.html b/db_sqlx_postgres/dev/struct.Secret.html index 24ae0711..f6b7e847 100644 --- a/db_sqlx_postgres/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/struct.Secret.html @@ -1,17 +1,17 @@ -Secret in db_sqlx_postgres::dev - Rust
pub struct Secret {
+Secret in db_sqlx_postgres::dev - Rust
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 copy 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 copy 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<Secret> for Secret

§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Secret> for Secret

source§

fn eq(&self, other: &Secret) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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§

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html index cb3e5e97..3a6e2669 100644 --- a/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html @@ -1,4 +1,4 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev - Rust

Fields§

§config_fetches: Vec<i64, Global>

times at which the configuration were fetched

§solves: Vec<i64, Global>

times at which the PoW was solved

§confirms: Vec<i64, Global>

times at which the PoW token was verified

-

Trait Implementations§

§

impl Clone for StatsUnixTimestamp

§

fn clone(&self) -> StatsUnixTimestamp

Returns a copy 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 copy 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<StatsUnixTimestamp> for StatsUnixTimestamp

§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

source§

fn eq(&self, other: &StatsUnixTimestamp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/struct.TrafficPattern.html index 0fa43beb..d65dff4d 100644 --- a/db_sqlx_postgres/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/struct.TrafficPattern.html @@ -1,4 +1,4 @@ -TrafficPattern in db_sqlx_postgres::dev - Rust

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 copy 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 copy 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<TrafficPattern> for TrafficPattern

§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TrafficPattern> for TrafficPattern

source§

fn eq(&self, other: &TrafficPattern) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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 Twhere + __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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/struct.UpdateEmail.html index 3bb26de1..9bd48957 100644 --- a/db_sqlx_postgres/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/struct.UpdateEmail.html @@ -1,20 +1,20 @@ -UpdateEmail in db_sqlx_postgres::dev - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in db_sqlx_postgres::dev - Rust
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 copy 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 copy 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<UpdateEmail<'a>> for UpdateEmail<'a>

§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

source§

fn eq(&self, other: &UpdateEmail<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method 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>( +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> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> StructuralPartialEq for UpdateEmail<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for UpdateEmail<'a>

§

impl<'a> Send for UpdateEmail<'a>

§

impl<'a> Sync for UpdateEmail<'a>

§

impl<'a> Unpin for UpdateEmail<'a>

§

impl<'a> UnwindSafe for UpdateEmail<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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_postgres/dev/tests/fn.database_works.html b/db_sqlx_postgres/dev/tests/fn.database_works.html index 0fed650b..30ce234b 100644 --- a/db_sqlx_postgres/dev/tests/fn.database_works.html +++ b/db_sqlx_postgres/dev/tests/fn.database_works.html @@ -1,4 +1,4 @@ -database_works in db_sqlx_postgres::dev::tests - Rust
pub async fn database_works<T, 'a>(
+database_works in db_sqlx_postgres::dev::tests - Rust
pub async fn database_works<T, 'a>(
     db: &T,
     p: &Register<'a>,
     c: &CreateCaptcha<'a>,
diff --git a/db_sqlx_postgres/dev/tests/index.html b/db_sqlx_postgres/dev/tests/index.html
index 49a72463..3548a0bf 100644
--- a/db_sqlx_postgres/dev/tests/index.html
+++ b/db_sqlx_postgres/dev/tests/index.html
@@ -1,2 +1,2 @@
-db_sqlx_postgres::dev::tests - Rust

Module db_sqlx_postgres::dev::tests

Expand description

Test utilities

+db_sqlx_postgres::dev::tests - Rust

Module db_sqlx_postgres::dev::tests

source ·
Expand description

Test utilities

Functions

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/trait.CloneSPDatabase.html index 8db40c86..12677928 100644 --- a/db_sqlx_postgres/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_sqlx_postgres::dev - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

-

Implementors§

§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB

+

Implementors§

source§

impl<T> CloneSPDatabase for Twhere T: MCDatabase + Clone + 'static,

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.Connect.html b/db_sqlx_postgres/dev/trait.Connect.html index 2fcac154..96df7a3e 100644 --- a/db_sqlx_postgres/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_sqlx_postgres::dev - Rust
pub trait Connect {
+Connect in db_sqlx_postgres::dev - Rust
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

fn connect<'async_trait>( +

Required Associated Types§

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, Global>>where Self: 'async_trait,

database specific error-type diff --git a/db_sqlx_postgres/dev/trait.DBOps.html b/db_sqlx_postgres/dev/trait.DBOps.html index 1cdb9f71..c0671194 100644 --- a/db_sqlx_postgres/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev - Rust

pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

+DBOps in db_sqlx_postgres::dev - Rust
pub trait DBOps: GetConnection + Migrate { }
Expand description

Database operations trait(migrations, pool creation and fetching connection from pool)

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/trait.GetConnection.html index cd96d27a..dd6df92e 100644 --- a/db_sqlx_postgres/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_sqlx_postgres::dev - Rust
pub trait GetConnection {
+GetConnection in db_sqlx_postgres::dev - Rust
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, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/trait.MCDatabase.html index 951c881e..c01bb558 100644 --- a/db_sqlx_postgres/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_sqlx_postgres::dev - Rust

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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, Global>>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 @@ -424,21 +424,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, Global>>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, Global>>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 @@ -447,7 +447,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<'_> @@ -456,7 +456,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 @@ -465,14 +465,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, Global>, DBError>> + Send + 'async_trait, Global>>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<'_> @@ -481,7 +481,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, @@ -492,7 +492,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, @@ -503,7 +503,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 @@ -512,7 +512,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 @@ -521,7 +521,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 @@ -530,7 +530,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 @@ -539,14 +539,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, Global>>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, @@ -557,7 +557,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 @@ -566,7 +566,7 @@ trait.

'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get traffic configuration

-

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 @@ -575,21 +575,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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>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 @@ -597,28 +597,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, Global>>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, Global>>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, Global>>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 @@ -627,7 +627,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 @@ -636,7 +636,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 @@ -645,7 +645,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 @@ -654,7 +654,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, @@ -663,41 +663,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, Global>>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, Global>>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, Global>>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, Global>>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, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Get all psuedo IDs

-

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, Global>>where diff --git a/db_sqlx_postgres/dev/trait.Migrate.html b/db_sqlx_postgres/dev/trait.Migrate.html index f5c5c676..394a096b 100644 --- a/db_sqlx_postgres/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_sqlx_postgres::dev - Rust
pub trait Migrate: MCDatabase {
+Migrate in db_sqlx_postgres::dev - Rust
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where 'life0: 'async_trait,
              Self: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, diff --git a/db_sqlx_postgres/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/type.BoxDynError.html index 018aba77..ae6d93b4 100644 --- a/db_sqlx_postgres/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::BoxDynError

pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::BoxDynError

source ·
pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/type.DBResult.html b/db_sqlx_postgres/dev/type.DBResult.html index 27927f0a..718d30c4 100644 --- a/db_sqlx_postgres/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::DBResult

pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

+DBResult in db_sqlx_postgres::dev - Rust

Type Definition db_sqlx_postgres::dev::DBResult

source ·
pub type DBResult<V> = Result<V, DBError>;
Expand description

Generic result data structure

\ No newline at end of file diff --git a/db_sqlx_postgres/struct.Database.html b/db_sqlx_postgres/struct.Database.html index 18d25b9d..bf30b78a 100644 --- a/db_sqlx_postgres/struct.Database.html +++ b/db_sqlx_postgres/struct.Database.html @@ -342,7 +342,7 @@ ) -> 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, Global>>where @@ -356,8 +356,8 @@ run migrations

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

source§

fn clone_db(&self) -> Box<dyn MCDatabase, Global>

clone DB
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere diff --git a/help.html b/help.html index 954521fc..f636b0c6 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 0ec41f83..d2fc55b6 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { "db_sqlx_maria":[["impl From<InnerNotification> for Notification"]], "db_sqlx_postgres":[["impl From<InnerNotification> for Notification"]], -"mcaptcha":[["impl From<ApiWork> for Work"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<CaptchaError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<Notification> for NotificationResp"],["impl From<CredsError> for ServiceError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for Notification"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<Error> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<MailboxError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<RecvError> for ServiceError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"]] +"mcaptcha":[["impl From<ApiWork> for Work"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<CaptchaError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<Notification> for NotificationResp"],["impl From<CredsError> for ServiceError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for Notification"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<Error> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<MailboxError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<RecvError> for ServiceError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html index b5c9bdc8..357405fa 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html @@ -1,4 +1,4 @@ calculate in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::calculate

source ·
pub fn calculate(
-    tp: &TrafficPattern,
+    tp: &TrafficPattern,
     strategy: &DefaultDifficultyStrategy
 ) -> Result<Vec<Level>, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html index 04a781f6..547ce448 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html @@ -11,7 +11,7 @@

§description: String

Captcha description

§publish_benchmarks: bool

publish benchmarks

Trait Implementations§

source§

impl Clone for TrafficPatternRequest

source§

fn clone(&self) -> TrafficPatternRequest

Returns a copy 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 TrafficPatternRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TrafficPatternRequest

source§

fn default() -> TrafficPatternRequest

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for TrafficPatternRequest

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<&TrafficPatternRequest> for TrafficPattern

source§

fn from(t: &TrafficPatternRequest) -> Self

Converts to this type from the input type.
source§

impl Serialize for TrafficPatternRequest

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<&TrafficPatternRequest> for TrafficPattern

source§

fn from(t: &TrafficPatternRequest) -> Self

Converts to this type from the input type.
source§

impl Serialize for TrafficPatternRequest

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html index 37d88c0f..7364ba17 100644 --- a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html +++ b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html @@ -4,8 +4,8 @@ pub message: String, pub received: i64, pub id: i32, -}

Fields§

§name: String§heading: String§message: String§received: i64§id: i32

Implementations§

source§

impl NotificationResp

source

pub fn from_notifications(n: Vec<Notification>) -> Vec<Self>

Trait Implementations§

source§

impl Clone for NotificationResp

source§

fn clone(&self) -> NotificationResp

Returns a copy 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 Default for NotificationResp

source§

fn default() -> NotificationResp

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for NotificationResp

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Notification> for NotificationResp

source§

fn from(n: Notification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<NotificationResp> for NotificationResp

source§

fn eq(&self, other: &NotificationResp) -> bool

This method tests for self and other values to be equal, and is used +}

Fields§

§name: String§heading: String§message: String§received: i64§id: i32

Implementations§

Trait Implementations§

source§

impl Clone for NotificationResp

source§

fn clone(&self) -> NotificationResp

Returns a copy 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 Default for NotificationResp

source§

fn default() -> NotificationResp

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for NotificationResp

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Notification> for NotificationResp

source§

fn from(n: Notification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<NotificationResp> for NotificationResp

source§

fn eq(&self, other: &NotificationResp) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for NotificationResp

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for NotificationResp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/mcaptcha/data/struct.Data.html b/mcaptcha/data/struct.Data.html index cbc9a7af..89732ec5 100644 --- a/mcaptcha/data/struct.Data.html +++ b/mcaptcha/data/struct.Data.html @@ -1,5 +1,5 @@ Data in mcaptcha::data - Rust

Struct mcaptcha::data::Data

source ·
pub struct Data {
-    pub db: Box<dyn MCDatabase>,
+    pub db: Box<dyn MCDatabase>,
     pub creds: Config,
     pub captcha: SystemGroup,
     pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
@@ -7,7 +7,7 @@
     pub stats: Box<dyn Stats>,
     pub survey_secrets: SecretsStore,
 }
Expand description

App data

-

Fields§

§db: Box<dyn MCDatabase>

database ops defined by db crates

+

Fields§

§db: Box<dyn MCDatabase>

database ops defined by db crates

§creds: Config

credential management configuration

§captcha: SystemGroup

mCaptcha system: Redis cache, etc.

§mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

email client

diff --git a/mcaptcha/db/maria/fn.get_data.html b/mcaptcha/db/maria/fn.get_data.html index 0b620bbe..2b78e316 100644 --- a/mcaptcha/db/maria/fn.get_data.html +++ b/mcaptcha/db/maria/fn.get_data.html @@ -1 +1 @@ -get_data in mcaptcha::db::maria - Rust

Function mcaptcha::db::maria::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file +get_data in mcaptcha::db::maria - Rust

Function mcaptcha::db::maria::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file diff --git a/mcaptcha/db/pg/fn.get_data.html b/mcaptcha/db/pg/fn.get_data.html index 9b079418..7b085a4d 100644 --- a/mcaptcha/db/pg/fn.get_data.html +++ b/mcaptcha/db/pg/fn.get_data.html @@ -1 +1 @@ -get_data in mcaptcha::db::pg - Rust

Function mcaptcha::db::pg::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file +get_data in mcaptcha::db::pg - Rust

Function mcaptcha::db::pg::get_data

source ·
pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
\ No newline at end of file diff --git a/mcaptcha/db/type.BoxDB.html b/mcaptcha/db/type.BoxDB.html index 9e7e7f9c..eacddea8 100644 --- a/mcaptcha/db/type.BoxDB.html +++ b/mcaptcha/db/type.BoxDB.html @@ -1 +1 @@ -BoxDB in mcaptcha::db - Rust

Type Definition mcaptcha::db::BoxDB

source ·
pub type BoxDB = Box<dyn MCDatabase>;
\ No newline at end of file +BoxDB in mcaptcha::db - Rust

Type Definition mcaptcha::db::BoxDB

source ·
pub type BoxDB = Box<dyn MCDatabase>;
\ No newline at end of file diff --git a/mcaptcha/errors/enum.PageError.html b/mcaptcha/errors/enum.PageError.html index 1b6b880e..d0de225a 100644 --- a/mcaptcha/errors/enum.PageError.html +++ b/mcaptcha/errors/enum.PageError.html @@ -1,7 +1,7 @@ PageError in mcaptcha::errors - Rust
pub enum PageError {
     InternalServerError,
     ServiceError(ServiceError),
-}

Variants§

§

InternalServerError

§

ServiceError(ServiceError)

Trait Implementations§

source§

impl Debug for PageError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PageError

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PageError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
source§

impl From<DBError> for PageError

source§

fn from(e: DBError) -> Self

Converts to this type from the input type.
source§

impl From<ServiceError> for PageError

source§

fn from(e: ServiceError) -> Self

Converts to this type from the input type.
source§

impl PartialEq<PageError> for PageError

source§

fn eq(&self, other: &PageError) -> bool

This method tests for self and other values to be equal, and is used +}

Variants§

§

InternalServerError

§

ServiceError(ServiceError)

Trait Implementations§

source§

impl Debug for PageError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PageError

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PageError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
source§

impl From<DBError> for PageError

source§

fn from(e: DBError) -> Self

Converts to this type from the input type.
source§

impl From<ServiceError> for PageError

source§

fn from(e: ServiceError) -> Self

Converts to this type from the input type.
source§

impl PartialEq<PageError> for PageError

source§

fn eq(&self, other: &PageError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl ResponseError for PageError

source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more
source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

impl StructuralPartialEq for PageError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/mcaptcha/errors/enum.ServiceError.html b/mcaptcha/errors/enum.ServiceError.html index 53476fde..fc53e4b8 100644 --- a/mcaptcha/errors/enum.ServiceError.html +++ b/mcaptcha/errors/enum.ServiceError.html @@ -32,7 +32,7 @@ profile

§

TokenNotFound

token not found

§

CaptchaError(CaptchaError)

§

DBError(DBErrorWrapper)

§

CaptchaNotFound

captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

-

Trait Implementations§

source§

impl Debug for ServiceError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ServiceError

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ServiceError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
source§

impl From<CaptchaError> for ServiceError

source§

fn from(e: CaptchaError) -> ServiceError

Converts to this type from the input type.
source§

impl From<CredsError> for ServiceError

source§

fn from(e: CredsError) -> ServiceError

Converts to this type from the input type.
source§

impl From<DBError> for ServiceError

source§

fn from(e: DBError) -> ServiceError

Converts to this type from the input type.
source§

impl From<Error> for ServiceError

source§

fn from(e: SmtpError) -> Self

Converts to this type from the input type.
source§

impl From<MailboxError> for ServiceError

source§

fn from(e: MailboxError) -> Self

Converts to this type from the input type.
source§

impl From<ParseError> for ServiceError

source§

fn from(_: ParseError) -> ServiceError

Converts to this type from the input type.
source§

impl From<RecvError> for ServiceError

source§

fn from(e: RecvError) -> Self

Converts to this type from the input type.
source§

impl From<ServiceError> for PageError

source§

fn from(e: ServiceError) -> Self

Converts to this type from the input type.
source§

impl From<ValidationErrors> for ServiceError

source§

fn from(_: ValidationErrors) -> ServiceError

Converts to this type from the input type.
source§

impl PartialEq<ServiceError> for ServiceError

source§

fn eq(&self, other: &ServiceError) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Debug for ServiceError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ServiceError

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ServiceError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
source§

impl From<CaptchaError> for ServiceError

source§

fn from(e: CaptchaError) -> ServiceError

Converts to this type from the input type.
source§

impl From<CredsError> for ServiceError

source§

fn from(e: CredsError) -> ServiceError

Converts to this type from the input type.
source§

impl From<DBError> for ServiceError

source§

fn from(e: DBError) -> ServiceError

Converts to this type from the input type.
source§

impl From<Error> for ServiceError

source§

fn from(e: SmtpError) -> Self

Converts to this type from the input type.
source§

impl From<MailboxError> for ServiceError

source§

fn from(e: MailboxError) -> Self

Converts to this type from the input type.
source§

impl From<ParseError> for ServiceError

source§

fn from(_: ParseError) -> ServiceError

Converts to this type from the input type.
source§

impl From<RecvError> for ServiceError

source§

fn from(e: RecvError) -> Self

Converts to this type from the input type.
source§

impl From<ServiceError> for PageError

source§

fn from(e: ServiceError) -> Self

Converts to this type from the input type.
source§

impl From<ValidationErrors> for ServiceError

source§

fn from(_: ValidationErrors) -> ServiceError

Converts to this type from the input type.
source§

impl PartialEq<ServiceError> for ServiceError

source§

fn eq(&self, other: &ServiceError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl ResponseError for ServiceError

source§

fn error_response(&self) -> HttpResponse

Creates full response for error. Read more
source§

fn status_code(&self) -> StatusCode

Returns appropriate status code for error. Read more
source§

impl StructuralPartialEq for ServiceError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/mcaptcha/errors/struct.DBErrorWrapper.html b/mcaptcha/errors/struct.DBErrorWrapper.html index cf2ac89a..603493dd 100644 --- a/mcaptcha/errors/struct.DBErrorWrapper.html +++ b/mcaptcha/errors/struct.DBErrorWrapper.html @@ -1,4 +1,4 @@ -DBErrorWrapper in mcaptcha::errors - Rust
pub struct DBErrorWrapper(DBError);

Tuple Fields§

§0: DBError

Trait Implementations§

source§

impl Debug for DBErrorWrapper

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DBErrorWrapper

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DBErrorWrapper

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
source§

impl PartialEq<DBErrorWrapper> for DBErrorWrapper

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +DBErrorWrapper in mcaptcha::errors - Rust
pub struct DBErrorWrapper(DBError);

Tuple Fields§

§0: DBError

Trait Implementations§

source§

impl Debug for DBErrorWrapper

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DBErrorWrapper

source§

fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DBErrorWrapper

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
source§

impl PartialEq<DBErrorWrapper> for DBErrorWrapper

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/mcaptcha/pages/panel/notifications/struct.Notification.html b/mcaptcha/pages/panel/notifications/struct.Notification.html index 84bc03bd..c6c5f08c 100644 --- a/mcaptcha/pages/panel/notifications/struct.Notification.html +++ b/mcaptcha/pages/panel/notifications/struct.Notification.html @@ -4,7 +4,7 @@ pub message: String, pub received: OffsetDateTime, pub id: i32, -}

Fields§

§name: String§heading: String§message: String§received: OffsetDateTime§id: i32

Implementations§

Trait Implementations§

source§

impl From<Notification> for Notification

source§

fn from(n: Notification) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§name: String§heading: String§message: String§received: OffsetDateTime§id: i32

Implementations§

Trait Implementations§

source§

impl From<Notification> for Notification

source§

fn from(n: Notification) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html index 30648428..1996416b 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html @@ -5,7 +5,7 @@ levels: Vec<Level>, publish_benchmarks: bool, }

Fields§

§duration: u32§name: String§key: String§levels: Vec<Level>§publish_benchmarks: bool

Implementations§

source§

impl AdvanceEditPage

source

fn new( - config: Captcha, + config: Captcha, levels: Vec<Level>, key: String, publish_benchmarks: bool diff --git a/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html index 6b417f99..22d4e325 100644 --- a/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html @@ -1,6 +1,6 @@ IndexPage in mcaptcha::pages::panel::sitekey::list - Rust
pub struct IndexPage {
-    sitekeys: Vec<Captcha>,
-}

Fields§

§sitekeys: Vec<Captcha>

Implementations§

source§

impl IndexPage

source

fn new(sitekeys: Vec<Captcha>) -> Self

Trait Implementations§

source§

impl Clone for IndexPage

source§

fn clone(&self) -> IndexPage

Returns a copy 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 TemplateOnce for IndexPage

source§

fn render_once(self) -> RenderResult

Render the template and return the rendering result as RenderResult Read more
source§

fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

Render the template and append the result to buf. Read more
source§

impl Sealed for IndexPage

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + sitekeys: Vec<Captcha>, +}

Fields§

§sitekeys: Vec<Captcha>

Implementations§

source§

impl IndexPage

source

fn new(sitekeys: Vec<Captcha>) -> Self

Trait Implementations§

source§

impl Clone for IndexPage

source§

fn clone(&self) -> IndexPage

Returns a copy 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 TemplateOnce for IndexPage

source§

fn render_once(self) -> RenderResult

Render the template and return the rendering result as RenderResult Read more
source§

fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

Render the template and append the result to buf. Read more
source§

impl Sealed for IndexPage

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html index 7c309dc9..07f12981 100644 --- a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html @@ -7,7 +7,7 @@ publish_benchmarks: bool, }

Fields§

§duration: u32§name: String§key: String§levels: Vec<Level>§stats: CaptchaStats§publish_benchmarks: bool

Implementations§

source§

impl IndexPage

source

fn new( stats: CaptchaStats, - config: Captcha, + config: Captcha, levels: Vec<Level>, key: String, publish_benchmarks: bool diff --git a/mcaptcha/pages/panel/struct.IndexPage.html b/mcaptcha/pages/panel/struct.IndexPage.html index 780cab88..6efce2dc 100644 --- a/mcaptcha/pages/panel/struct.IndexPage.html +++ b/mcaptcha/pages/panel/struct.IndexPage.html @@ -1,6 +1,6 @@ IndexPage in mcaptcha::pages::panel - Rust

Struct mcaptcha::pages::panel::IndexPage

source ·
pub struct IndexPage {
-    sitekeys: Vec<Captcha>,
-}

Fields§

§sitekeys: Vec<Captcha>

Implementations§

source§

impl IndexPage

source

fn new(sitekeys: Vec<Captcha>) -> Self

Trait Implementations§

source§

impl Clone for IndexPage

source§

fn clone(&self) -> IndexPage

Returns a copy 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 TemplateOnce for IndexPage

source§

fn render_once(self) -> RenderResult

Render the template and return the rendering result as RenderResult Read more
source§

fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

Render the template and append the result to buf. Read more
source§

impl Sealed for IndexPage

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + sitekeys: Vec<Captcha>, +}

Fields§

§sitekeys: Vec<Captcha>

Implementations§

source§

impl IndexPage

source

fn new(sitekeys: Vec<Captcha>) -> Self

Trait Implementations§

source§

impl Clone for IndexPage

source§

fn clone(&self) -> IndexPage

Returns a copy 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 TemplateOnce for IndexPage

source§

fn render_once(self) -> RenderResult

Render the template and return the rendering result as RenderResult Read more
source§

fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

Render the template and append the result to buf. Read more
source§

impl Sealed for IndexPage

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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/mcaptcha/stats/struct.Dummy.html b/mcaptcha/stats/struct.Dummy.html index 3440addb..528780d0 100644 --- a/mcaptcha/stats/struct.Dummy.html +++ b/mcaptcha/stats/struct.Dummy.html @@ -4,7 +4,7 @@ sufficient, and should not be overridden without very good reason.
Data, __arg2: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -13,7 +13,7 @@ sufficient, and should not be overridden without very good reason.
Data, __arg2: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -22,7 +22,7 @@ sufficient, and should not be overridden without very good reason.
Data, __arg2: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -32,7 +32,7 @@ sufficient, and should not be overridden without very good reason.

Data, __arg2: &'life2 str, __arg3: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, diff --git a/mcaptcha/stats/struct.Real.html b/mcaptcha/stats/struct.Real.html index 37bec852..0262953a 100644 --- a/mcaptcha/stats/struct.Real.html +++ b/mcaptcha/stats/struct.Real.html @@ -4,7 +4,7 @@ sufficient, and should not be overridden without very good reason.
Data, key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -13,7 +13,7 @@ sufficient, and should not be overridden without very good reason.

Data, key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -22,7 +22,7 @@ sufficient, and should not be overridden without very good reason.
Data, key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -32,7 +32,7 @@ sufficient, and should not be overridden without very good reason.
Data, user: &'life2 str, key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, diff --git a/mcaptcha/stats/trait.Stats.html b/mcaptcha/stats/trait.Stats.html index 8ffa4fdf..53ed8fa7 100644 --- a/mcaptcha/stats/trait.Stats.html +++ b/mcaptcha/stats/trait.Stats.html @@ -4,7 +4,7 @@ &'life0 self, d: &'life1 Data, key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -13,7 +13,7 @@ &'life0 self, d: &'life1 Data, key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -22,7 +22,7 @@ &'life0 self, d: &'life1 Data, key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -32,7 +32,7 @@ d: &'life1 Data, user: &'life2 str, key: &'life3 str - ) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -42,7 +42,7 @@ &'life0 self, d: &'life1 Data, key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -51,7 +51,7 @@ &'life0 self, d: &'life1 Data, key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -60,7 +60,7 @@ &'life0 self, d: &'life1 Data, key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -70,7 +70,7 @@ d: &'life1 Data, user: &'life2 str, key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, diff --git a/mcaptcha/struct.Data.html b/mcaptcha/struct.Data.html index 96aebc78..4645c8a7 100644 --- a/mcaptcha/struct.Data.html +++ b/mcaptcha/struct.Data.html @@ -1,5 +1,5 @@ Data in mcaptcha - Rust

Struct mcaptcha::Data

source ·
pub struct Data {
-    pub db: Box<dyn MCDatabase>,
+    pub db: Box<dyn MCDatabase>,
     pub creds: Config,
     pub captcha: SystemGroup,
     pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
@@ -7,7 +7,7 @@
     pub stats: Box<dyn Stats>,
     pub survey_secrets: SecretsStore,
 }
Expand description

App data

-

Fields§

§db: Box<dyn MCDatabase>

database ops defined by db crates

+

Fields§

§db: Box<dyn MCDatabase>

database ops defined by db crates

§creds: Config

credential management configuration

§captcha: SystemGroup

mCaptcha system: Redis cache, etc.

§mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

email client

diff --git a/settings.html b/settings.html index e0d3b2ed..a55c4d68 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file +Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file