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..70e897be 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..8aa026eb 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..5ea646bb 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..1543e603 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 5ed31f65..0d84b32e 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..7798d63e 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..78497000 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..bf6149fe 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..2df00f48 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..6b6c32c4 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 414225db..06004c66 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..e5540d7d 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..9e386078 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..4f5aab84 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..df429c6b 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 130f324b..5a3ce2c8 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..e2f6a1f1 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..98e78d2a 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..065c4d86 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..62bbae06 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..1c6ebd4b 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 89fbaab6..49cc51d2 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..8a6064d5 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..14b3faf6 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..915e0c71 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..4a4de6f2 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 8b0d7225..b56f4526 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..68b07c17 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..0ce4f775 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..45b2789f 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..3ca6005f 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..13f88962 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 5879abb4..d7d5336c 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..fac3cb8f 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..98d07c61 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..d3b549df 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..91b75942 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 980503e6..e9b6d707 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..37a01851 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..5bf44c17 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..77fc05de 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..9b4ca4f8 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..14e792be 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 f8ad9619..2f342ba4 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..9c618338 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..c9023a97 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..a0b8e9ca 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 9c2195cb..1cbaaa71 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..de4acc33 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..2651fe0c 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..b4dac04e 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 2db22a16..6b1eded5 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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 24b1ce9a..b0dc56e8 100644 --- a/db_sqlx_maria/struct.Database.html +++ b/db_sqlx_maria/struct.Database.html @@ -336,7 +336,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 @@ -350,8 +350,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..a8900b39 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..463d1940 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..00baac33 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..301bde5c 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 56e34c1e..592fbca8 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..66550a39 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..22bd063f 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..cbb64a83 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..1ef6aa72 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..be12c17e 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 e3a650e8..c9c5f262 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

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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..745c0f60 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..7badbdee 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..8b28b16a 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..8734265e 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 35cc8719..2d81b5ed 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..bce4e7cd 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..e50bd6b9 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..aa75c08c 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..6b7d0d85 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..a2626300 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 aebe3733..07fd0658 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..05f16713 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..e6a5a0e6 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..8ea0d1ce 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..12abdb01 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 030e9a1c..c5ded52f 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..0096eb85 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..5add6da5 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..cfef802b 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..b209d8e6 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..514333f1 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 af5c8f6f..b124db07 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

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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..7cfed875 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..b09d83d8 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..536924da 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..dfb82d96 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 d9f12115..15edd574 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..2e3b7a0f 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..dfa495e5 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..91d274be 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..8037f318 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..0cc3066e 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 e0a29b51..619ef326 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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..f1a22244 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..9b8498b8 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..b136e581 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..ad3fa61f 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 65ad2473..77ca9b2d 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..2503aaf9 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..5c67593f 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..94a08852 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..f834b4e7 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..ecaae648 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 0d399b1f..761a87b8 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 @@ -418,21 +418,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 @@ -441,7 +441,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<'_> @@ -450,7 +450,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 @@ -459,14 +459,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<'_> @@ -475,7 +475,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, @@ -486,7 +486,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, @@ -497,7 +497,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 @@ -506,7 +506,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 @@ -515,7 +515,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 @@ -524,7 +524,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 @@ -533,14 +533,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, @@ -551,7 +551,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 @@ -560,7 +560,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 @@ -569,21 +569,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 @@ -591,28 +591,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 @@ -621,7 +621,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 @@ -630,7 +630,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 @@ -639,7 +639,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 @@ -648,7 +648,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, @@ -657,35 +657,35 @@ 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

-

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 6bdfa2bc..5edf8d92 100644 --- a/db_sqlx_postgres/struct.Database.html +++ b/db_sqlx_postgres/struct.Database.html @@ -336,7 +336,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 @@ -350,8 +350,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