diff --git a/db_core/dev/index.html b/db_core/dev/index.html index ad901037..6ce4c91d 100644 --- a/db_core/dev/index.html +++ b/db_core/dev/index.html @@ -1,2 +1,2 @@ -db_core::dev - Rust

Module db_core::dev

source ·
Expand description

useful imports for supporting a new database

+db_core::dev - Rust

Module db_core::dev

source ·
Expand description

useful imports for supporting a new database

Re-exports

Attribute Macros

\ No newline at end of file diff --git a/db_core/enum.Login.html b/db_core/enum.Login.html index b2902a49..26f66e3d 100644 --- a/db_core/enum.Login.html +++ b/db_core/enum.Login.html @@ -1,14 +1,14 @@ -Login in db_core - Rust

Enum db_core::Login

source ·
pub enum Login<'a> {
+Login in db_core - Rust

Enum db_core::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§

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

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

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

source§

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

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

impl<'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 +

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

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

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

source§

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

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

impl<'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.
source§

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

source§

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

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

impl<'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 +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::Ok, __S::Error>where + __S: Serializer,

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

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

Auto Trait Implementations§

§

impl<'a> 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/errors/enum.DBError.html b/db_core/errors/enum.DBError.html index 8efff90e..42c9d866 100644 --- a/db_core/errors/enum.DBError.html +++ b/db_core/errors/enum.DBError.html @@ -1,4 +1,4 @@ -DBError in db_core::errors - Rust

Trait Implementations§

source§

impl Debug for DBError

source§

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

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

impl Display for DBError

source§

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

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, demand: &mut Demand<'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

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

impl Display for DBError

source§

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

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, demand: &mut Demand<'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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/errors/index.html b/db_core/errors/index.html index d962ec91..1c1a2160 100644 --- a/db_core/errors/index.html +++ b/db_core/errors/index.html @@ -1,2 +1,2 @@ -db_core::errors - Rust

Module db_core::errors

source ·
Expand description

represents all the ways a trait can fail using this crate

+db_core::errors - Rust

Module db_core::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_core/errors/type.BoxDynError.html b/db_core/errors/type.BoxDynError.html index 2411a803..600f8e18 100644 --- a/db_core/errors/type.BoxDynError.html +++ b/db_core/errors/type.BoxDynError.html @@ -1,2 +1,2 @@ -BoxDynError in db_core::errors - Rust

Type Definition db_core::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn StdError + Send + Sync + 'static>;
Expand description

Convenience type alias for grouping driver-specific errors

+BoxDynError in db_core::errors - Rust

Type Definition db_core::errors::BoxDynError

source ·
pub type BoxDynError = Box<dyn StdError + Send + Sync + 'static>;
Expand description

Convenience type alias for grouping driver-specific errors

\ No newline at end of file diff --git a/db_core/errors/type.DBResult.html b/db_core/errors/type.DBResult.html index 337afc23..ca6bde80 100644 --- a/db_core/errors/type.DBResult.html +++ b/db_core/errors/type.DBResult.html @@ -1,2 +1,2 @@ -DBResult in db_core::errors - Rust

Type Definition db_core::errors::DBResult

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

Generic result data structure

+DBResult in db_core::errors - Rust

Type Definition db_core::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_core/index.html b/db_core/index.html index d217ea79..bc7733a3 100644 --- a/db_core/index.html +++ b/db_core/index.html @@ -1,4 +1,4 @@ -db_core - Rust

Crate db_core

source ·
Expand description

mCaptcha database operations

+db_core - Rust

Crate db_core

source ·
Expand description

mCaptcha database operations

Traits and datastructures used in mCaptcha to interact with database.

To use an unsupported database with mCaptcha, traits present within this crate should be implemented.

diff --git a/db_core/ops/index.html b/db_core/ops/index.html index 329220cf..89a1ab18 100644 --- a/db_core/ops/index.html +++ b/db_core/ops/index.html @@ -1,2 +1,2 @@ -db_core::ops - Rust

Module db_core::ops

source ·
Expand description

meta operations like migration and connecting to a database

+db_core::ops - Rust

Module db_core::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_core/ops/trait.Connect.html b/db_core/ops/trait.Connect.html index 822220c6..85338347 100644 --- a/db_core/ops/trait.Connect.html +++ b/db_core/ops/trait.Connect.html @@ -1,4 +1,4 @@ -Connect in db_core::ops - Rust

Trait db_core::ops::Connect

source ·
pub trait Connect {
+Connect in db_core::ops - Rust

Trait db_core::ops::Connect

source ·
pub trait Connect {
     type Pool: MCDatabase;
 
     // Required method
@@ -7,8 +7,8 @@
     ) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>
        where Self: 'async_trait;
 }
Expand description

Create database connection

-

Required Associated Types§

source

type Pool: MCDatabase

database specific pool-type

-

Required Methods§

source

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 = DBResult<Self::Pool>> + Send + 'async_trait>>where Self: 'async_trait,

database specific error-type diff --git a/db_core/ops/trait.DBOps.html b/db_core/ops/trait.DBOps.html index 557ed1ec..38d8d747 100644 --- a/db_core/ops/trait.DBOps.html +++ b/db_core/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_core::ops - Rust

Trait db_core::ops::DBOps

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

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

+DBOps in db_core::ops - Rust

Trait db_core::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_core/ops/trait.GetConnection.html b/db_core/ops/trait.GetConnection.html index a41577e9..ec69b5d2 100644 --- a/db_core/ops/trait.GetConnection.html +++ b/db_core/ops/trait.GetConnection.html @@ -1,4 +1,4 @@ -GetConnection in db_core::ops - Rust
pub trait GetConnection {
+GetConnection in db_core::ops - Rust
pub trait GetConnection {
     type Conn;
 
     // Required method
@@ -8,8 +8,8 @@
        where Self: 'async_trait,
              'life0: 'async_trait;
 }
Expand description

Get database connection

-

Required Associated Types§

source

type Conn

database connection type

-

Required Methods§

source

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 = DBResult<Self::Conn>> + Send + 'async_trait>>where Self: 'async_trait, diff --git a/db_core/ops/trait.Migrate.html b/db_core/ops/trait.Migrate.html index 9b1599e0..3af29f8b 100644 --- a/db_core/ops/trait.Migrate.html +++ b/db_core/ops/trait.Migrate.html @@ -1,4 +1,4 @@ -Migrate in db_core::ops - Rust

Trait db_core::ops::Migrate

source ·
pub trait Migrate: MCDatabase {
+Migrate in db_core::ops - Rust

Trait db_core::ops::Migrate

source ·
pub trait Migrate: MCDatabase {
     // Required method
     fn migrate<'life0, 'async_trait>(
         &'life0 self
@@ -6,7 +6,7 @@
        where Self: 'async_trait,
              'life0: 'async_trait;
 }
Expand description

database migrations

-

Required Methods§

source

fn migrate<'life0, 'async_trait>( +

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, diff --git a/db_core/prelude/index.html b/db_core/prelude/index.html index b16a3bdc..19938b0a 100644 --- a/db_core/prelude/index.html +++ b/db_core/prelude/index.html @@ -1,2 +1,2 @@ -db_core::prelude - Rust

Module db_core::prelude

source ·
Expand description

useful imports for users working with a supported database

+db_core::prelude - Rust

Module db_core::prelude

source ·
Expand description

useful imports for users working with a supported database

Re-exports

\ No newline at end of file diff --git a/db_core/struct.AddNotification.html b/db_core/struct.AddNotification.html index dfd42d7a..b00329d4 100644 --- a/db_core/struct.AddNotification.html +++ b/db_core/struct.AddNotification.html @@ -1,4 +1,4 @@ -AddNotification in db_core - Rust
pub struct AddNotification<'a> {
+AddNotification in db_core - Rust
pub struct AddNotification<'a> {
     pub to: &'a str,
     pub from: &'a str,
     pub heading: &'a str,
@@ -8,11 +8,11 @@
 
§from: &'a str

notification sender

§heading: &'a str

heading of the notification

§message: &'a str

message of the notification

-

Trait Implementations§

source§

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

source§

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

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

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, 'a> Deserialize<'de> for AddNotification<'a>

source§

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

Deserialize this value from the given Serde deserializer. Read 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 +

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

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, 'a> Deserialize<'de> for AddNotification<'a>

source§

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

Deserialize this value from the given Serde deserializer. Read 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.
source§

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

source§

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

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

impl<'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 +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::Ok, __S::Error>where + __S: Serializer,

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

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

Auto Trait Implementations§

§

impl<'a> 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.Captcha.html b/db_core/struct.Captcha.html index ae60cf24..0282ce20 100644 --- a/db_core/struct.Captcha.html +++ b/db_core/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in db_core - Rust

Struct db_core::Captcha

source ·
pub struct Captcha {
+Captcha in db_core - Rust

Struct db_core::Captcha

source ·
pub struct Captcha {
     pub config_id: i32,
     pub duration: i32,
     pub description: String,
@@ -8,11 +8,11 @@
 
§duration: i32

cool down duration

§description: String

description of the captcha

§key: String

secret key of the captcha

-

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

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<Self, __D::Error>where - __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 +

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

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<Self, __D::Error>where + __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.
source§

impl Serialize for Captcha

source§

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

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

impl StructuralPartialEq for Captcha

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Captcha

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · 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§

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

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, 'a> Deserialize<'de> for CreateCaptcha<'a>

source§

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

Deserialize this value from the given Serde deserializer. Read 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 +

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

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, 'a> Deserialize<'de> for CreateCaptcha<'a>

source§

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

Deserialize this value from the given Serde deserializer. Read 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.
source§

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

source§

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

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

impl<'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 +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::Ok, __S::Error>where + __S: Serializer,

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

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

Auto Trait Implementations§

§

impl<'a> 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

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§

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

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<Self, __D::Error>where - __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 +

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

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<Self, __D::Error>where + __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.
source§

impl Serialize for CreatePerformanceAnalytics

source§

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

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

impl StructuralPartialEq for CreatePerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for CreatePerformanceAnalytics

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.NameHash.html b/db_core/struct.NameHash.html index fd5723ce..19295c9a 100644 --- a/db_core/struct.NameHash.html +++ b/db_core/struct.NameHash.html @@ -1,14 +1,14 @@ -NameHash in db_core - Rust

Struct db_core::NameHash

source ·
pub struct NameHash {
+NameHash in db_core - Rust

Struct db_core::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§

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

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

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

source§

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

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

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

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

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

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

source§

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

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

impl 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.
source§

impl Serialize for NameHash

source§

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

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

impl StructuralPartialEq for NameHash

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for NameHash

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.Notification.html b/db_core/struct.Notification.html index 300565bd..bb022a02 100644 --- a/db_core/struct.Notification.html +++ b/db_core/struct.Notification.html @@ -1,4 +1,4 @@ -Notification in db_core - Rust

Struct db_core::Notification

source ·
pub struct Notification {
+Notification in db_core - Rust

Struct db_core::Notification

source ·
pub struct Notification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,11 +10,11 @@
 
§message: Option<String>

message of the notification

§received: Option<i64>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

source§

impl Clone for Notification

source§

fn clone(&self) -> Notification

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

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<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
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 +

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

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<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
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.
source§

impl Serialize for Notification

source§

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

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

impl StructuralPartialEq for Notification

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Notification

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.PerformanceAnalytics.html b/db_core/struct.PerformanceAnalytics.html index 65556fe3..391663ea 100644 --- a/db_core/struct.PerformanceAnalytics.html +++ b/db_core/struct.PerformanceAnalytics.html @@ -1,4 +1,4 @@ -PerformanceAnalytics in db_core - Rust
pub struct PerformanceAnalytics {
+PerformanceAnalytics in db_core - Rust
pub struct PerformanceAnalytics {
     pub id: usize,
     pub time: u32,
     pub difficulty_factor: u32,
@@ -8,11 +8,11 @@
 
§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§

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

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<Self, __D::Error>where - __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 +

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

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<Self, __D::Error>where + __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.
source§

impl Serialize for PerformanceAnalytics

source§

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

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

impl StructuralPartialEq for PerformanceAnalytics

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for PerformanceAnalytics

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.Register.html b/db_core/struct.Register.html index 92c16a10..3826d7bf 100644 --- a/db_core/struct.Register.html +++ b/db_core/struct.Register.html @@ -1,4 +1,4 @@ -Register in db_core - Rust

Struct db_core::Register

source ·
pub struct Register<'a> {
+Register in db_core - Rust

Struct db_core::Register

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

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

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

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

source§

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

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

impl<'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 +

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

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

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

source§

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

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

impl<'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.
source§

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

source§

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

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

impl<'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 +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::Ok, __S::Error>where + __S: Serializer,

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

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

Auto Trait Implementations§

§

impl<'a> 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.Secret.html b/db_core/struct.Secret.html index f3fd01ad..3862df15 100644 --- a/db_core/struct.Secret.html +++ b/db_core/struct.Secret.html @@ -1,12 +1,12 @@ -Secret in db_core - Rust

Struct db_core::Secret

source ·
pub struct Secret {
+Secret in db_core - Rust

Struct db_core::Secret

source ·
pub struct Secret {
     pub secret: String,
 }
Expand description

datastructure representing a user’s secret

Fields§

§secret: String

user’s secret

-

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

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<Self, __D::Error>where - __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 +

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

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<Self, __D::Error>where + __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.
source§

impl Serialize for Secret

source§

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

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

impl StructuralPartialEq for Secret

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for Secret

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Fields§

§config_fetches: Vec<i64>

times at which the configuration were fetched

§solves: Vec<i64>

times at which the PoW was solved

§confirms: Vec<i64>

times at which the PoW token was verified

-

Trait Implementations§

source§

impl Clone for StatsUnixTimestamp

source§

fn clone(&self) -> StatsUnixTimestamp

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

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<Self, __D::Error>where - __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 +

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

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<Self, __D::Error>where + __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.
source§

impl Serialize for StatsUnixTimestamp

source§

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

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

impl StructuralPartialEq for StatsUnixTimestamp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for StatsUnixTimestamp

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · 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§

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

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<Self, __D::Error>where - __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 +

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

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<Self, __D::Error>where + __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.
source§

impl Serialize for TrafficPattern

source§

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

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

impl StructuralPartialEq for TrafficPattern

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for TrafficPattern

source§

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

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

impl StructuralPartialEq for 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/struct.UpdateEmail.html b/db_core/struct.UpdateEmail.html index 4abe70f7..9345245e 100644 --- a/db_core/struct.UpdateEmail.html +++ b/db_core/struct.UpdateEmail.html @@ -1,14 +1,14 @@ -UpdateEmail in db_core - Rust

Struct db_core::UpdateEmail

source ·
pub struct UpdateEmail<'a> {
+UpdateEmail in db_core - Rust

Struct db_core::UpdateEmail

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

data required to update them email of a user

Fields§

§username: &'a str

username of the user

§new_email: &'a str

new email address of the user

-

Trait Implementations§

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

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

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

source§

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

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

impl<'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 +

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

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

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

source§

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

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

impl<'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.
source§

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

source§

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

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

impl<'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 +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::Ok, __S::Error>where + __S: Serializer,

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

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

Auto Trait Implementations§

§

impl<'a> 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_core/tests/fn.database_works.html b/db_core/tests/fn.database_works.html index e4af1662..2bbaff26 100644 --- a/db_core/tests/fn.database_works.html +++ b/db_core/tests/fn.database_works.html @@ -1,4 +1,4 @@ -database_works in db_core::tests - Rust

Function db_core::tests::database_works

source ·
pub async fn database_works<'a, T: MCDatabase>(
+database_works in db_core::tests - Rust

Function db_core::tests::database_works

source ·
pub async fn database_works<'a, T: MCDatabase>(
     db: &T,
     p: &Register<'a>,
     c: &CreateCaptcha<'a>,
diff --git a/db_core/tests/index.html b/db_core/tests/index.html
index 9100b01e..e78f08ef 100644
--- a/db_core/tests/index.html
+++ b/db_core/tests/index.html
@@ -1,2 +1,2 @@
-db_core::tests - Rust

Module db_core::tests

source ·
Expand description

Test utilities

+db_core::tests - Rust

Module db_core::tests

source ·
Expand description

Test utilities

Functions

\ No newline at end of file diff --git a/db_core/trait.CloneSPDatabase.html b/db_core/trait.CloneSPDatabase.html index d3cc0591..6fb7acc7 100644 --- a/db_core/trait.CloneSPDatabase.html +++ b/db_core/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_core - Rust
pub trait CloneSPDatabase {
+CloneSPDatabase in db_core - Rust
pub trait CloneSPDatabase {
     // Required method
     fn clone_db(&self) -> Box<dyn MCDatabase>;
 }
Expand description

Trait to clone MCDatabase

-

Required Methods§

source

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

clone DB

-

Implementors§

source§

impl<T> CloneSPDatabase for Twhere +

Required Methods§

source

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

clone DB

+

Implementors§

source§

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

\ No newline at end of file diff --git a/db_core/trait.MCDatabase.html b/db_core/trait.MCDatabase.html index 8cdb9a68..bff6e4d5 100644 --- a/db_core/trait.MCDatabase.html +++ b/db_core/trait.MCDatabase.html @@ -1,4 +1,4 @@ -MCDatabase in db_core - Rust

Required Methods§

source

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

ping DB

-
source

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

source

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

register a new user

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

delete a user

-
source

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

check if username exists

-
source

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 = DBResult<Option<String>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get user email

-
source

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

check if email exists

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update a user’s email

-
source

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 = DBResult<NameHash>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s password

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update user’s password

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update username

-
source

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 = DBResult<Secret>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s secret

-
source

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 = DBResult<Secret>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s secret from a captcha key

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update a user’s secret

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

create new captcha

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha config

-
source

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 = DBResult<Vec<Captcha>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get all captchas belonging to user

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update captcha metadata; doesn’t change captcha key

-
source

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.

'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

update captcha key; doesn’t change metadata

-
source

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.

'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Add levels to captcha

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

check if captcha exists

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete all levels of a captcha

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete captcha

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha levels

-
source

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 = DBResult<i32>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get captcha’s cooldown period

-
source

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.

'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Add traffic configuration

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get traffic configuration

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete traffic configuration

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

create new notification

-
source

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 = DBResult<Vec<Notification>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get all unread notifications

-
source

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.

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

mark a notification read

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig fetches

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig solves

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig confirms

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig fetches

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig solves

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig confirms

-
source

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.

'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

record PoW timing

-
source

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

source

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

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

fetch PoW analytics

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Create psuedo ID against campaign ID to publish analytics

-
source

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 = DBResult<String>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get psuedo ID from campaign ID

-
source

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 = DBResult<String>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get campaign ID from psuedo ID

-
source

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Delete all records for campaign

-

Provided Methods§

source

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

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

-

Trait Implementations§

source§

impl Clone for Box<dyn MCDatabase>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file +

Trait Implementations§

source§

impl Clone for Box<dyn MCDatabase>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/dev/ops/trait.Connect.html index a146ce2a..1a1d17c1 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html index 64a06474..d2fca686 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html index b6510797..78d258ca 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/dev/prelude/trait.Connect.html index a3e3c914..a1788123 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html index 879aa44d..82df7e3c 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html index 27b7f8d6..8b9a7d12 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Notification.html b/db_sqlx_maria/dev/dev/struct.Notification.html index 01dc0def..bfdc9779 100644 --- a/db_sqlx_maria/dev/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_maria/dev/dev/trait.Connect.html b/db_sqlx_maria/dev/dev/trait.Connect.html index a144ad0e..7ea94fc0 100644 --- a/db_sqlx_maria/dev/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/trait.MCDatabase.html index 70689527..e829ad43 100644 --- a/db_sqlx_maria/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.Migrate.html b/db_sqlx_maria/dev/dev/trait.Migrate.html index 75fc1351..54ed050c 100644 --- a/db_sqlx_maria/dev/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/index.html b/db_sqlx_maria/dev/index.html index 651b375e..8cfca7db 100644 --- a/db_sqlx_maria/dev/index.html +++ b/db_sqlx_maria/dev/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev - Rust

Module db_sqlx_maria::dev

source ·

Re-exports

Modules

  • useful imports for supporting a new database
  • 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
  • Represents all the ways a method can fail within SQLx.
  • types of credentials used as identifiers during login

Traits

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html index ff572df8..c724606a 100644 --- a/db_sqlx_maria/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/ops/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html index bb126ed8..4d53560f 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html index 8de4c391..cba58fd2 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html index 23dee6c0..f5c3318b 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html index 5db301cb..9f1df59e 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/prelude/struct.Notification.html index aa720ffe..4acbf6df 100644 --- a/db_sqlx_maria/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_maria/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/prelude/trait.Connect.html index 82e23de1..069e1b9f 100644 --- a/db_sqlx_maria/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html index c03e4562..6b089834 100644 --- a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/prelude/trait.Migrate.html index 2084f2ec..c5f28f69 100644 --- a/db_sqlx_maria/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Notification.html b/db_sqlx_maria/dev/struct.Notification.html index f2e801a4..216714b7 100644 --- a/db_sqlx_maria/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_maria/dev/trait.Connect.html b/db_sqlx_maria/dev/trait.Connect.html index 01ee8011..a422fca7 100644 --- a/db_sqlx_maria/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/trait.MCDatabase.html index a7b3bc83..17fc02fa 100644 --- a/db_sqlx_maria/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Migrate.html b/db_sqlx_maria/dev/trait.Migrate.html index 528eb8d5..0e904041 100644 --- a/db_sqlx_maria/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/enum.ConnectionOptions.html b/db_sqlx_maria/enum.ConnectionOptions.html index a0ec97b0..2a786c90 100644 --- a/db_sqlx_maria/enum.ConnectionOptions.html +++ b/db_sqlx_maria/enum.ConnectionOptions.html @@ -1,10 +1,10 @@ -ConnectionOptions in db_sqlx_maria - Rust
pub enum ConnectionOptions {
+ConnectionOptions in db_sqlx_maria - Rust
pub enum ConnectionOptions {
     Fresh(Fresh),
     Existing(Conn),
 }
Expand description

Connect to database

Variants§

§

Fresh(Fresh)

fresh connection

§

Existing(Conn)

existing connection

-

Trait Implementations§

source§

impl Connect for ConnectionOptions

§

type Pool = Database

database specific pool-type
source§

fn connect<'async_trait>( +

Trait Implementations§

source§

impl Connect for ConnectionOptions

§

type Pool = Database

database specific pool-type
source§

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

database specific error-type diff --git a/db_sqlx_maria/errors/fn.map_register_err.html b/db_sqlx_maria/errors/fn.map_register_err.html index af657881..9b2299d5 100644 --- a/db_sqlx_maria/errors/fn.map_register_err.html +++ b/db_sqlx_maria/errors/fn.map_register_err.html @@ -1,2 +1,2 @@ -map_register_err in db_sqlx_maria::errors - Rust
pub fn map_register_err(e: Error) -> DBError
Expand description

map postgres errors to DBError types

+map_register_err in db_sqlx_maria::errors - Rust
pub fn map_register_err(e: Error) -> DBError
Expand description

map postgres errors to DBError types

\ No newline at end of file diff --git a/db_sqlx_maria/errors/fn.map_row_not_found_err.html b/db_sqlx_maria/errors/fn.map_row_not_found_err.html index 2aa2b4db..e07a2be7 100644 --- a/db_sqlx_maria/errors/fn.map_row_not_found_err.html +++ b/db_sqlx_maria/errors/fn.map_row_not_found_err.html @@ -1,2 +1,2 @@ -map_row_not_found_err in db_sqlx_maria::errors - Rust
pub fn map_row_not_found_err(e: Error, row_not_found: DBError) -> DBError
Expand description

map custom row not found error to DB error

+map_row_not_found_err in db_sqlx_maria::errors - Rust
pub fn map_row_not_found_err(e: Error, row_not_found: DBError) -> DBError
Expand description

map custom row not found error to DB error

\ No newline at end of file diff --git a/db_sqlx_maria/errors/index.html b/db_sqlx_maria/errors/index.html index 0e3ae973..9bda1865 100644 --- a/db_sqlx_maria/errors/index.html +++ b/db_sqlx_maria/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::errors - Rust

Module db_sqlx_maria::errors

source ·
Expand description

Error-handling utilities

+db_sqlx_maria::errors - Rust

Module db_sqlx_maria::errors

source ·
Expand description

Error-handling utilities

Functions

\ No newline at end of file diff --git a/db_sqlx_maria/index.html b/db_sqlx_maria/index.html index d83fcc61..da28efc0 100644 --- a/db_sqlx_maria/index.html +++ b/db_sqlx_maria/index.html @@ -1 +1 @@ -db_sqlx_maria - Rust

Crate db_sqlx_maria

source ·

Modules

Structs

Enums

\ No newline at end of file +db_sqlx_maria - Rust

Crate db_sqlx_maria

source ·

Modules

Structs

Enums

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/index.html b/db_sqlx_maria/prelude/index.html index 5b2676f4..7ff5fa7a 100644 --- a/db_sqlx_maria/prelude/index.html +++ b/db_sqlx_maria/prelude/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::prelude - Rust

Module db_sqlx_maria::prelude

source ·

Re-exports

Modules

  • meta operations like migration and connecting to a database
  • Test utilities

Structs

Enums

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

Traits

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/ops/trait.Migrate.html b/db_sqlx_maria/prelude/ops/trait.Migrate.html index dea91a39..14d45743 100644 --- a/db_sqlx_maria/prelude/ops/trait.Migrate.html +++ b/db_sqlx_maria/prelude/ops/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/struct.Notification.html b/db_sqlx_maria/prelude/struct.Notification.html index 4cf0275c..0c8bbde4 100644 --- a/db_sqlx_maria/prelude/struct.Notification.html +++ b/db_sqlx_maria/prelude/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_maria/prelude/trait.Connect.html b/db_sqlx_maria/prelude/trait.Connect.html index 30e544fc..d89e2f56 100644 --- a/db_sqlx_maria/prelude/trait.Connect.html +++ b/db_sqlx_maria/prelude/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.MCDatabase.html b/db_sqlx_maria/prelude/trait.MCDatabase.html index 82a92b29..25306882 100644 --- a/db_sqlx_maria/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/prelude/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/prelude/trait.Migrate.html b/db_sqlx_maria/prelude/trait.Migrate.html index 6771ddaa..ec5788b9 100644 --- a/db_sqlx_maria/prelude/trait.Migrate.html +++ b/db_sqlx_maria/prelude/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_maria/struct.Conn.html b/db_sqlx_maria/struct.Conn.html index b292e222..cbe427eb 100644 --- a/db_sqlx_maria/struct.Conn.html +++ b/db_sqlx_maria/struct.Conn.html @@ -1,4 +1,4 @@ -Conn in db_sqlx_maria - Rust

Struct db_sqlx_maria::Conn

source ·
pub struct Conn(pub MySqlPool);
Expand description

Use an existing database pool

+Conn in db_sqlx_maria - Rust

Struct db_sqlx_maria::Conn

source ·
pub struct Conn(pub MySqlPool);
Expand description

Use an existing database pool

Tuple Fields§

§0: MySqlPool

Auto Trait Implementations§

§

impl !RefUnwindSafe for Conn

§

impl Send for Conn

§

impl Sync for Conn

§

impl Unpin for Conn

§

impl !UnwindSafe for Conn

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/db_sqlx_maria/struct.Database.html b/db_sqlx_maria/struct.Database.html index e991852b..f376b35f 100644 --- a/db_sqlx_maria/struct.Database.html +++ b/db_sqlx_maria/struct.Database.html @@ -1,67 +1,67 @@ -Database in db_sqlx_maria - Rust

Struct db_sqlx_maria::Database

source ·
pub struct Database {
+Database in db_sqlx_maria - Rust

Struct db_sqlx_maria::Database

source ·
pub struct Database {
     pub pool: MySqlPool,
-}

Fields§

§pool: MySqlPool

Trait Implementations§

source§

impl Clone for Database

source§

fn clone(&self) -> Database

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl MCDatabase for Database

source§

fn ping<'life0, 'async_trait>( +}

Fields§

§pool: MySqlPool

Trait Implementations§

source§

impl Clone for Database

source§

fn clone(&self) -> Database

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl MCDatabase for Database

source§

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

ping DB

-
source§

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

source§

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

register a new user

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

delete a user

-
source§

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

check if username exists

-
source§

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 = DBResult<Option<String>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get user email

-
source§

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

check if email exists

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update a user’s email

-
source§

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 = DBResult<NameHash>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s password

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update user’s password

-
source§

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 @@ -70,21 +70,21 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update username

-
source§

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 = DBResult<Secret>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s secret

-
source§

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 = DBResult<Secret>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s secret from a captcha key

-
source§

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 @@ -93,7 +93,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update a user’s secret

-
source§

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<'_> @@ -102,7 +102,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

create new captcha

-
source§

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 @@ -111,14 +111,14 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha config

-
source§

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 = DBResult<Vec<Captcha>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get all captchas belonging to user

-
source§

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<'_> @@ -127,7 +127,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update captcha metadata; doesn’t change captcha key

-
source§

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, @@ -138,7 +138,7 @@ 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

update captcha key; doesn’t change metadata

-
source§

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, @@ -149,7 +149,7 @@ 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Add levels to captcha

-
source§

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 @@ -158,7 +158,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

check if captcha exists

-
source§

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 @@ -167,7 +167,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete all levels of a captcha

-
source§

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 @@ -176,7 +176,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete captcha

-
source§

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 @@ -185,14 +185,14 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha levels

-
source§

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 = DBResult<i32>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get captcha’s cooldown period

-
source§

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, @@ -203,7 +203,7 @@ 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Add traffic configuration

-
source§

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 @@ -212,7 +212,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get traffic configuration

-
source§

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 @@ -221,21 +221,21 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete traffic configuration

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

create new notification

-
source§

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 = DBResult<Vec<Notification>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get all unread notifications

-
source§

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

source§

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

mark a notification read

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig fetches

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig solves

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig confirms

-
source§

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 @@ -273,7 +273,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig fetches

-
source§

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 @@ -282,7 +282,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig solves

-
source§

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 @@ -291,7 +291,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig confirms

-
source§

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 @@ -300,7 +300,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

record PoW timing

-
source§

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

source§

fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, limit: usize, @@ -309,28 +309,28 @@ Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

fetch PoW analytics

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Create psuedo ID against campaign ID to publish analytics

-
source§

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 = DBResult<String>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get psuedo ID from campaign ID

-
source§

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 = DBResult<String>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get campaign ID from psuedo ID

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where @@ -342,7 +342,7 @@ ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, - Self: 'async_trait,

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

impl Migrate for Database

source§

fn migrate<'life0, 'async_trait>( + Self: 'async_trait,

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

impl Migrate for Database

source§

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, diff --git a/db_sqlx_maria/struct.Fresh.html b/db_sqlx_maria/struct.Fresh.html index c253644a..68bfba77 100644 --- a/db_sqlx_maria/struct.Fresh.html +++ b/db_sqlx_maria/struct.Fresh.html @@ -1,4 +1,4 @@ -Fresh in db_sqlx_maria - Rust

Struct db_sqlx_maria::Fresh

source ·
pub struct Fresh {
+Fresh in db_sqlx_maria - Rust

Struct db_sqlx_maria::Fresh

source ·
pub struct Fresh {
     pub pool_options: MySqlPoolOptions,
     pub disable_logging: bool,
     pub url: String,
diff --git a/db_sqlx_maria/struct.InnerNotification.html b/db_sqlx_maria/struct.InnerNotification.html
index d61d0715..bcae1620 100644
--- a/db_sqlx_maria/struct.InnerNotification.html
+++ b/db_sqlx_maria/struct.InnerNotification.html
@@ -1,4 +1,4 @@
-InnerNotification in db_sqlx_maria - Rust
pub struct InnerNotification {
+InnerNotification in db_sqlx_maria - Rust
pub struct InnerNotification {
     pub name: String,
     pub heading: String,
     pub message: String,
@@ -10,9 +10,9 @@
 
§message: String

message of the notification

§received: OffsetDateTime

when notification was received

§id: i32

db assigned ID of the notification

-

Trait Implementations§

source§

impl Clone for InnerNotification

source§

fn clone(&self) -> InnerNotification

Returns a copy of 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 InnerNotification

source§

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

Formats the value using the given formatter. 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<InnerNotification> for InnerNotification

source§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for InnerNotification

source§

fn clone(&self) -> InnerNotification

Returns a copy of 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 InnerNotification

source§

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

Formats the value using the given formatter. 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<InnerNotification> for InnerNotification

source§

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

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

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

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

impl StructuralPartialEq for InnerNotification

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl StructuralPartialEq for InnerNotification

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html index c72be89d..74e24186 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html index d19f45b2..50a5932c 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html index f5be93ac..23f31ff7 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html index 19446f44..dba010dc 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html index c3ae64fc..51d2a5f8 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html index da3ee684..0017bf5c 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Notification.html b/db_sqlx_postgres/dev/dev/struct.Notification.html index c0bedf1a..f97b465d 100644 --- a/db_sqlx_postgres/dev/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_postgres/dev/dev/trait.Connect.html b/db_sqlx_postgres/dev/dev/trait.Connect.html index 13668d50..4044bbe7 100644 --- a/db_sqlx_postgres/dev/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html index e05a1bc2..47b6c981 100644 --- a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.Migrate.html b/db_sqlx_postgres/dev/dev/trait.Migrate.html index 8891f6cb..7bc474f6 100644 --- a/db_sqlx_postgres/dev/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/index.html b/db_sqlx_postgres/dev/index.html index 77bee24f..91015744 100644 --- a/db_sqlx_postgres/dev/index.html +++ b/db_sqlx_postgres/dev/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev - Rust

Module db_sqlx_postgres::dev

source ·

Re-exports

Modules

  • useful imports for supporting a new database
  • 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
  • Represents all the ways a method can fail within SQLx.
  • types of credentials used as identifiers during login

Traits

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/ops/trait.Migrate.html index 0e3d0121..e742e42e 100644 --- a/db_sqlx_postgres/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/ops/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html index 3ba18dc4..6ad8d0e2 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html index 1a4f461d..cab22352 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html index e849ebf1..d317d009 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html index 467c4ad8..d6c554bc 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Notification.html b/db_sqlx_postgres/dev/prelude/struct.Notification.html index 666fbc4b..6d92a89e 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_postgres/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/prelude/trait.Connect.html index 340955c2..e1ffdcb1 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html index 271d03ac..46cf230d 100644 --- a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/trait.Migrate.html index f05e40c2..f30d1c19 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Notification.html b/db_sqlx_postgres/dev/struct.Notification.html index 777a0f39..eed21131 100644 --- a/db_sqlx_postgres/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_postgres/dev/trait.Connect.html b/db_sqlx_postgres/dev/trait.Connect.html index 316a1ba6..18d62c19 100644 --- a/db_sqlx_postgres/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/trait.MCDatabase.html index 89b4cf0b..94329e14 100644 --- a/db_sqlx_postgres/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.Migrate.html b/db_sqlx_postgres/dev/trait.Migrate.html index 43b0a0c7..59a4496c 100644 --- a/db_sqlx_postgres/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/enum.ConnectionOptions.html b/db_sqlx_postgres/enum.ConnectionOptions.html index 3569581c..87c25b40 100644 --- a/db_sqlx_postgres/enum.ConnectionOptions.html +++ b/db_sqlx_postgres/enum.ConnectionOptions.html @@ -1,10 +1,10 @@ -ConnectionOptions in db_sqlx_postgres - Rust
pub enum ConnectionOptions {
+ConnectionOptions in db_sqlx_postgres - Rust
pub enum ConnectionOptions {
     Fresh(Fresh),
     Existing(Conn),
 }
Expand description

Connect to database

Variants§

§

Fresh(Fresh)

fresh connection

§

Existing(Conn)

existing connection

-

Trait Implementations§

source§

impl Connect for ConnectionOptions

§

type Pool = Database

database specific pool-type
source§

fn connect<'async_trait>( +

Trait Implementations§

source§

impl Connect for ConnectionOptions

§

type Pool = Database

database specific pool-type
source§

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

database specific error-type diff --git a/db_sqlx_postgres/errors/fn.map_register_err.html b/db_sqlx_postgres/errors/fn.map_register_err.html index e47ee36a..4e492ae3 100644 --- a/db_sqlx_postgres/errors/fn.map_register_err.html +++ b/db_sqlx_postgres/errors/fn.map_register_err.html @@ -1,2 +1,2 @@ -map_register_err in db_sqlx_postgres::errors - Rust
pub fn map_register_err(e: Error) -> DBError
Expand description

map postgres errors to DBError types

+map_register_err in db_sqlx_postgres::errors - Rust
pub fn map_register_err(e: Error) -> DBError
Expand description

map postgres errors to DBError types

\ No newline at end of file diff --git a/db_sqlx_postgres/errors/fn.map_row_not_found_err.html b/db_sqlx_postgres/errors/fn.map_row_not_found_err.html index 8c646414..e794b95d 100644 --- a/db_sqlx_postgres/errors/fn.map_row_not_found_err.html +++ b/db_sqlx_postgres/errors/fn.map_row_not_found_err.html @@ -1,2 +1,2 @@ -map_row_not_found_err in db_sqlx_postgres::errors - Rust
pub fn map_row_not_found_err(e: Error, row_not_found: DBError) -> DBError
Expand description

map custom row not found error to DB error

+map_row_not_found_err in db_sqlx_postgres::errors - Rust
pub fn map_row_not_found_err(e: Error, row_not_found: DBError) -> DBError
Expand description

map custom row not found error to DB error

\ No newline at end of file diff --git a/db_sqlx_postgres/errors/index.html b/db_sqlx_postgres/errors/index.html index 8e4b5a43..9c7f33d1 100644 --- a/db_sqlx_postgres/errors/index.html +++ b/db_sqlx_postgres/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::errors - Rust
Expand description

Error-handling utilities

+db_sqlx_postgres::errors - Rust
Expand description

Error-handling utilities

Functions

\ No newline at end of file diff --git a/db_sqlx_postgres/index.html b/db_sqlx_postgres/index.html index 499f0e33..e1b55c24 100644 --- a/db_sqlx_postgres/index.html +++ b/db_sqlx_postgres/index.html @@ -1 +1 @@ -db_sqlx_postgres - Rust

Crate db_sqlx_postgres

source ·

Modules

Structs

Enums

\ No newline at end of file +db_sqlx_postgres - Rust

Crate db_sqlx_postgres

source ·

Modules

Structs

Enums

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/index.html b/db_sqlx_postgres/prelude/index.html index f7a1642c..1e88f70b 100644 --- a/db_sqlx_postgres/prelude/index.html +++ b/db_sqlx_postgres/prelude/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::prelude - Rust

Re-exports

Modules

  • meta operations like migration and connecting to a database
  • Test utilities

Structs

Enums

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

Traits

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/ops/trait.Migrate.html b/db_sqlx_postgres/prelude/ops/trait.Migrate.html index 6278c61d..02bb67cb 100644 --- a/db_sqlx_postgres/prelude/ops/trait.Migrate.html +++ b/db_sqlx_postgres/prelude/ops/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/struct.Notification.html b/db_sqlx_postgres/prelude/struct.Notification.html index 1eb477d1..8a27f650 100644 --- a/db_sqlx_postgres/prelude/struct.Notification.html +++ b/db_sqlx_postgres/prelude/struct.Notification.html @@ -13,7 +13,7 @@

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>( __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.
§

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 by ==.
1.0.0 · source§

fn ne(&self, 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>( &self, diff --git a/db_sqlx_postgres/prelude/trait.Connect.html b/db_sqlx_postgres/prelude/trait.Connect.html index a9714583..4c995cef 100644 --- a/db_sqlx_postgres/prelude/trait.Connect.html +++ b/db_sqlx_postgres/prelude/trait.Connect.html @@ -13,4 +13,4 @@ ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where Self: 'async_trait,

database specific error-type create connection pool

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.MCDatabase.html b/db_sqlx_postgres/prelude/trait.MCDatabase.html index fa7f21fe..e7829ec7 100644 --- a/db_sqlx_postgres/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/prelude/trait.MCDatabase.html @@ -692,4 +692,4 @@ trait.

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

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

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/prelude/trait.Migrate.html b/db_sqlx_postgres/prelude/trait.Migrate.html index f9a8fc5f..f9e725f7 100644 --- a/db_sqlx_postgres/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/prelude/trait.Migrate.html @@ -12,4 +12,4 @@ 'life0: 'async_trait, Self: 'async_trait,

database specific error-type run migrations

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/db_sqlx_postgres/struct.Conn.html b/db_sqlx_postgres/struct.Conn.html index fb3760db..356e49ee 100644 --- a/db_sqlx_postgres/struct.Conn.html +++ b/db_sqlx_postgres/struct.Conn.html @@ -1,4 +1,4 @@ -Conn in db_sqlx_postgres - Rust

Struct db_sqlx_postgres::Conn

source ·
pub struct Conn(pub PgPool);
Expand description

Use an existing database pool

+Conn in db_sqlx_postgres - Rust

Struct db_sqlx_postgres::Conn

source ·
pub struct Conn(pub PgPool);
Expand description

Use an existing database pool

Tuple Fields§

§0: PgPool

Auto Trait Implementations§

§

impl !RefUnwindSafe for Conn

§

impl Send for Conn

§

impl Sync for Conn

§

impl Unpin for Conn

§

impl !UnwindSafe for Conn

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/db_sqlx_postgres/struct.Database.html b/db_sqlx_postgres/struct.Database.html index edd216b2..e4e6d336 100644 --- a/db_sqlx_postgres/struct.Database.html +++ b/db_sqlx_postgres/struct.Database.html @@ -1,67 +1,67 @@ -Database in db_sqlx_postgres - Rust
pub struct Database {
+Database in db_sqlx_postgres - Rust
pub struct Database {
     pub pool: PgPool,
-}

Fields§

§pool: PgPool

Trait Implementations§

source§

impl Clone for Database

source§

fn clone(&self) -> Database

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl MCDatabase for Database

source§

fn ping<'life0, 'async_trait>( +}

Fields§

§pool: PgPool

Trait Implementations§

source§

impl Clone for Database

source§

fn clone(&self) -> Database

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl MCDatabase for Database

source§

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

ping DB

-
source§

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

source§

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

register a new user

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

delete a user

-
source§

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

check if username exists

-
source§

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 = DBResult<Option<String>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get user email

-
source§

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 = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

check if email exists

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update a user’s email

-
source§

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 = DBResult<NameHash>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s password

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update user’s password

-
source§

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 @@ -70,21 +70,21 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update username

-
source§

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 = DBResult<Secret>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s secret

-
source§

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 = DBResult<Secret>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get a user’s secret from a captcha key

-
source§

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 @@ -93,7 +93,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update a user’s secret

-
source§

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<'_> @@ -102,7 +102,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

create new captcha

-
source§

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 @@ -111,14 +111,14 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha config

-
source§

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 = DBResult<Vec<Captcha>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get all captchas belonging to user

-
source§

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<'_> @@ -127,7 +127,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update captcha metadata; doesn’t change captcha key

-
source§

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, @@ -138,7 +138,7 @@ 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

update captcha key; doesn’t change metadata

-
source§

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, @@ -149,7 +149,7 @@ 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Add levels to captcha

-
source§

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 @@ -158,7 +158,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

check if captcha exists

-
source§

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 @@ -167,7 +167,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete all levels of a captcha

-
source§

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 @@ -176,7 +176,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete captcha

-
source§

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 @@ -185,14 +185,14 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha levels

-
source§

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 = DBResult<i32>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get captcha’s cooldown period

-
source§

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, @@ -203,7 +203,7 @@ 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Add traffic configuration

-
source§

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 @@ -212,7 +212,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get traffic configuration

-
source§

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 @@ -221,21 +221,21 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete traffic configuration

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

create new notification

-
source§

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 = DBResult<Vec<Notification>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

get all unread notifications

-
source§

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

source§

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

mark a notification read

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig fetches

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig solves

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

record PoWConfig confirms

-
source§

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 @@ -273,7 +273,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig fetches

-
source§

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 @@ -282,7 +282,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig solves

-
source§

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 @@ -291,7 +291,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig confirms

-
source§

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 @@ -300,7 +300,7 @@ 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

record PoW timing

-
source§

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

source§

fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, captcha_id: &'life1 str, limit: usize, @@ -309,28 +309,28 @@ Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

fetch PoW analytics

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Create psuedo ID against campaign ID to publish analytics

-
source§

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 = DBResult<String>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get psuedo ID from campaign ID

-
source§

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 = DBResult<String>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get campaign ID from psuedo ID

-
source§

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 = DBResult<()>> + Send + 'async_trait>>where @@ -342,7 +342,7 @@ ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, - Self: 'async_trait,

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

impl Migrate for Database

source§

fn migrate<'life0, 'async_trait>( + Self: 'async_trait,

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

impl Migrate for Database

source§

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, diff --git a/db_sqlx_postgres/struct.Fresh.html b/db_sqlx_postgres/struct.Fresh.html index ebb9df53..b3702e0f 100644 --- a/db_sqlx_postgres/struct.Fresh.html +++ b/db_sqlx_postgres/struct.Fresh.html @@ -1,4 +1,4 @@ -Fresh in db_sqlx_postgres - Rust

Struct db_sqlx_postgres::Fresh

source ·
pub struct Fresh {
+Fresh in db_sqlx_postgres - Rust

Struct db_sqlx_postgres::Fresh

source ·
pub struct Fresh {
     pub pool_options: PgPoolOptions,
     pub disable_logging: bool,
     pub url: String,
diff --git a/db_sqlx_postgres/struct.InnerNotification.html b/db_sqlx_postgres/struct.InnerNotification.html
index 80834fc1..e0c32ff3 100644
--- a/db_sqlx_postgres/struct.InnerNotification.html
+++ b/db_sqlx_postgres/struct.InnerNotification.html
@@ -1,4 +1,4 @@
-InnerNotification in db_sqlx_postgres - Rust
pub struct InnerNotification {
+InnerNotification in db_sqlx_postgres - Rust
pub struct InnerNotification {
     pub name: Option<String>,
     pub heading: Option<String>,
     pub message: Option<String>,
@@ -10,9 +10,9 @@
 
§message: Option<String>

message of the notification

§received: Option<OffsetDateTime>

when notification was received

§id: Option<i32>

db assigned ID of the notification

-

Trait Implementations§

source§

impl Clone for InnerNotification

source§

fn clone(&self) -> InnerNotification

Returns a copy of 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 InnerNotification

source§

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

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

impl Default for InnerNotification

source§

fn default() -> InnerNotification

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

source§

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

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for InnerNotification

source§

fn clone(&self) -> InnerNotification

Returns a copy of 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 InnerNotification

source§

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

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

impl Default for InnerNotification

source§

fn default() -> InnerNotification

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

source§

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

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

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

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

impl StructuralPartialEq for InnerNotification

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl StructuralPartialEq for InnerNotification

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/index.html b/mcaptcha/api/index.html index 83fe6d2f..be46452f 100644 --- a/mcaptcha/api/index.html +++ b/mcaptcha/api/index.html @@ -1 +1 @@ -mcaptcha::api - Rust

Module mcaptcha::api

source ·

Modules

\ No newline at end of file +mcaptcha::api - Rust

Module mcaptcha::api

source ·

Modules

\ No newline at end of file diff --git a/mcaptcha/api/v1/account/constant.FIELDS.html b/mcaptcha/api/v1/account/constant.FIELDS.html index b0ee486e..11b3df07 100644 --- a/mcaptcha/api/v1/account/constant.FIELDS.html +++ b/mcaptcha/api/v1/account/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::account - Rust

Constant mcaptcha::api::v1::account::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::account - Rust

Constant mcaptcha::api::v1::account::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/fn.delete_account.html b/mcaptcha/api/v1/account/delete/fn.delete_account.html index 564edd8d..3655e120 100644 --- a/mcaptcha/api/v1/account/delete/fn.delete_account.html +++ b/mcaptcha/api/v1/account/delete/fn.delete_account.html @@ -1,4 +1,4 @@ -delete_account in mcaptcha::api::v1::account::delete - Rust
pub async fn delete_account(
+delete_account in mcaptcha::api::v1::account::delete - Rust
pub async fn delete_account(
     id: Identity,
     payload: Json<Password>,
     data: AppData
diff --git a/mcaptcha/api/v1/account/delete/fn.services.html b/mcaptcha/api/v1/account/delete/fn.services.html
index f2eb780d..49414c4a 100644
--- a/mcaptcha/api/v1/account/delete/fn.services.html
+++ b/mcaptcha/api/v1/account/delete/fn.services.html
@@ -1 +1 @@
-services in mcaptcha::api::v1::account::delete - Rust

Function mcaptcha::api::v1::account::delete::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::delete - Rust

Function mcaptcha::api::v1::account::delete::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/index.html b/mcaptcha/api/v1/account/delete/index.html index 2c95fb81..836e59bd 100644 --- a/mcaptcha/api/v1/account/delete/index.html +++ b/mcaptcha/api/v1/account/delete/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::delete - Rust
\ No newline at end of file +mcaptcha::api::v1::account::delete - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html b/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html index fb9d4c44..90c382e5 100644 --- a/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html +++ b/mcaptcha/api/v1/account/delete/runners/fn.delete_user.html @@ -1 +1 @@ -delete_user in mcaptcha::api::v1::account::delete::runners - Rust
pub async fn delete_user(name: &str, data: &AppData) -> Result<(), ServiceError>
\ No newline at end of file +delete_user in mcaptcha::api::v1::account::delete::runners - Rust
pub async fn delete_user(name: &str, data: &AppData) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/runners/index.html b/mcaptcha/api/v1/account/delete/runners/index.html index b99f6e40..543520a3 100644 --- a/mcaptcha/api/v1/account/delete/runners/index.html +++ b/mcaptcha/api/v1/account/delete/runners/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::delete::runners - Rust
\ No newline at end of file +mcaptcha::api::v1::account::delete::runners - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/delete/struct.delete_account.html b/mcaptcha/api/v1/account/delete/struct.delete_account.html index 9f419a3f..1795baf7 100644 --- a/mcaptcha/api/v1/account/delete/struct.delete_account.html +++ b/mcaptcha/api/v1/account/delete/struct.delete_account.html @@ -1,4 +1,4 @@ -delete_account in mcaptcha::api::v1::account::delete - Rust
pub struct delete_account;

Trait Implementations§

source§

impl HttpServiceFactory for delete_account

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +delete_account in mcaptcha::api::v1::account::delete - Rust
pub struct delete_account;

Trait Implementations§

source§

impl HttpServiceFactory for delete_account

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/email/constant.FIELDS.html b/mcaptcha/api/v1/account/email/constant.FIELDS.html index 6c206472..f2bbf18f 100644 --- a/mcaptcha/api/v1/account/email/constant.FIELDS.html +++ b/mcaptcha/api/v1/account/email/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::account::email - Rust

Constant mcaptcha::api::v1::account::email::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::account::email - Rust

Constant mcaptcha::api::v1::account::email::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/enum.__Field.html b/mcaptcha/api/v1/account/email/enum.__Field.html index 2ab87277..dbdfebd2 100644 --- a/mcaptcha/api/v1/account/email/enum.__Field.html +++ b/mcaptcha/api/v1/account/email/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::account::email - Rust
enum __Field {
+__Field in mcaptcha::api::v1::account::email - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/email/fn.email_exists.html b/mcaptcha/api/v1/account/email/fn.email_exists.html index 1db400c6..e856049a 100644 --- a/mcaptcha/api/v1/account/email/fn.email_exists.html +++ b/mcaptcha/api/v1/account/email/fn.email_exists.html @@ -1,4 +1,4 @@ -email_exists in mcaptcha::api::v1::account::email - Rust
pub async fn email_exists(
+email_exists in mcaptcha::api::v1::account::email - Rust
pub async fn email_exists(
     payload: Json<AccountCheckPayload>,
     data: AppData
 ) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/fn.services.html b/mcaptcha/api/v1/account/email/fn.services.html index 3ba2e0b4..bc198349 100644 --- a/mcaptcha/api/v1/account/email/fn.services.html +++ b/mcaptcha/api/v1/account/email/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::email - Rust

Function mcaptcha::api::v1::account::email::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::email - Rust

Function mcaptcha::api::v1::account::email::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/fn.set_email.html b/mcaptcha/api/v1/account/email/fn.set_email.html index fc86d0d8..d2a0bc60 100644 --- a/mcaptcha/api/v1/account/email/fn.set_email.html +++ b/mcaptcha/api/v1/account/email/fn.set_email.html @@ -1,4 +1,4 @@ -set_email in mcaptcha::api::v1::account::email - Rust

Function mcaptcha::api::v1::account::email::set_email

source ·
async fn set_email(
+set_email in mcaptcha::api::v1::account::email - Rust

Function mcaptcha::api::v1::account::email::set_email

source ·
async fn set_email(
     id: Identity,
     payload: Json<Email>,
     data: AppData
diff --git a/mcaptcha/api/v1/account/email/index.html b/mcaptcha/api/v1/account/email/index.html
index ec8e2593..137d8509 100644
--- a/mcaptcha/api/v1/account/email/index.html
+++ b/mcaptcha/api/v1/account/email/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::account::email - Rust
\ No newline at end of file +mcaptcha::api::v1::account::email - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/struct.Email.html b/mcaptcha/api/v1/account/email/struct.Email.html index 78fe7c58..e9deee33 100644 --- a/mcaptcha/api/v1/account/email/struct.Email.html +++ b/mcaptcha/api/v1/account/email/struct.Email.html @@ -1,7 +1,7 @@ -Email in mcaptcha::api::v1::account::email - Rust

Struct mcaptcha::api::v1::account::email::Email

source ·
pub struct Email {
+Email in mcaptcha::api::v1::account::email - Rust

Struct mcaptcha::api::v1::account::email::Email

source ·
pub struct Email {
     pub email: String,
-}

Fields§

§email: String

Trait Implementations§

source§

impl Clone for Email

source§

fn clone(&self) -> Email

Returns a copy of 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 Email

source§

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

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

impl<'de> Deserialize<'de> for Email

source§

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

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

impl Serialize for Email

source§

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

Fields§

§email: String

Trait Implementations§

source§

impl Clone for Email

source§

fn clone(&self) -> Email

Returns a copy of 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 Email

source§

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

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

impl<'de> Deserialize<'de> for Email

source§

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

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

impl Serialize for Email

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Email

§

impl Send for Email

§

impl Sync for Email

§

impl Unpin for Email

§

impl UnwindSafe for Email

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/email/struct.__FieldVisitor.html b/mcaptcha/api/v1/account/email/struct.__FieldVisitor.html index 795a501e..c2747c1e 100644 --- a/mcaptcha/api/v1/account/email/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/account/email/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::account::email - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::account::email - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/email/struct.__Visitor.html b/mcaptcha/api/v1/account/email/struct.__Visitor.html index 662978a7..4fe0b64a 100644 --- a/mcaptcha/api/v1/account/email/struct.__Visitor.html +++ b/mcaptcha/api/v1/account/email/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::account::email - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::account::email - Rust
struct __Visitor<'de> {
     marker: PhantomData<Email>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<Email>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Email

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<Email>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Email

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/email/struct.email_exists.html b/mcaptcha/api/v1/account/email/struct.email_exists.html index 1d66ee42..d07bc028 100644 --- a/mcaptcha/api/v1/account/email/struct.email_exists.html +++ b/mcaptcha/api/v1/account/email/struct.email_exists.html @@ -1,4 +1,4 @@ -email_exists in mcaptcha::api::v1::account::email - Rust
pub struct email_exists;

Trait Implementations§

source§

impl HttpServiceFactory for email_exists

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +email_exists in mcaptcha::api::v1::account::email - Rust
pub struct email_exists;

Trait Implementations§

source§

impl HttpServiceFactory for email_exists

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/email/struct.set_email.html b/mcaptcha/api/v1/account/email/struct.set_email.html index c98cf462..7a4fa300 100644 --- a/mcaptcha/api/v1/account/email/struct.set_email.html +++ b/mcaptcha/api/v1/account/email/struct.set_email.html @@ -1,5 +1,5 @@ -set_email in mcaptcha::api::v1::account::email - Rust
pub struct set_email;
Expand description

update email

-

Trait Implementations§

source§

impl HttpServiceFactory for set_email

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +set_email in mcaptcha::api::v1::account::email - Rust
pub struct set_email;
Expand description

update email

+

Trait Implementations§

source§

impl HttpServiceFactory for set_email

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/enum.__Field.html b/mcaptcha/api/v1/account/enum.__Field.html index 2f1797f8..be47a845 100644 --- a/mcaptcha/api/v1/account/enum.__Field.html +++ b/mcaptcha/api/v1/account/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::account - Rust

Enum mcaptcha::api::v1::account::__Field

source ·
enum __Field {
+__Field in mcaptcha::api::v1::account - Rust

Enum mcaptcha::api::v1::account::__Field

source ·
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/fn.services.html b/mcaptcha/api/v1/account/fn.services.html index 9d14610a..3591fba8 100644 --- a/mcaptcha/api/v1/account/fn.services.html +++ b/mcaptcha/api/v1/account/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account - Rust

Function mcaptcha::api::v1::account::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account - Rust

Function mcaptcha::api::v1::account::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/index.html b/mcaptcha/api/v1/account/index.html index 60a3b6e6..24d65106 100644 --- a/mcaptcha/api/v1/account/index.html +++ b/mcaptcha/api/v1/account/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account - Rust
\ No newline at end of file +mcaptcha::api::v1::account - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/constant.FIELDS.html b/mcaptcha/api/v1/account/password/constant.FIELDS.html index c457c53d..210413e3 100644 --- a/mcaptcha/api/v1/account/password/constant.FIELDS.html +++ b/mcaptcha/api/v1/account/password/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::account::password - Rust

Constant mcaptcha::api::v1::account::password::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::account::password - Rust

Constant mcaptcha::api::v1::account::password::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/enum.__Field.html b/mcaptcha/api/v1/account/password/enum.__Field.html index 46026e3f..283cd097 100644 --- a/mcaptcha/api/v1/account/password/enum.__Field.html +++ b/mcaptcha/api/v1/account/password/enum.__Field.html @@ -1,9 +1,9 @@ -__Field in mcaptcha::api::v1::account::password - Rust
enum __Field {
+__Field in mcaptcha::api::v1::account::password - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/password/fn.services.html b/mcaptcha/api/v1/account/password/fn.services.html index 97d20a49..a9db038b 100644 --- a/mcaptcha/api/v1/account/password/fn.services.html +++ b/mcaptcha/api/v1/account/password/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::password - Rust

Function mcaptcha::api::v1::account::password::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::password - Rust

Function mcaptcha::api::v1::account::password::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/fn.update_password_runner.html b/mcaptcha/api/v1/account/password/fn.update_password_runner.html index d9566ba2..c4abebde 100644 --- a/mcaptcha/api/v1/account/password/fn.update_password_runner.html +++ b/mcaptcha/api/v1/account/password/fn.update_password_runner.html @@ -1,4 +1,4 @@ -update_password_runner in mcaptcha::api::v1::account::password - Rust
async fn update_password_runner(
+update_password_runner in mcaptcha::api::v1::account::password - Rust
async fn update_password_runner(
     user: &str,
     update: UpdatePassword,
     data: &Data
diff --git a/mcaptcha/api/v1/account/password/fn.update_user_password.html b/mcaptcha/api/v1/account/password/fn.update_user_password.html
index a60f70bc..7e807291 100644
--- a/mcaptcha/api/v1/account/password/fn.update_user_password.html
+++ b/mcaptcha/api/v1/account/password/fn.update_user_password.html
@@ -1,4 +1,4 @@
-update_user_password in mcaptcha::api::v1::account::password - Rust
async fn update_user_password(
+update_user_password in mcaptcha::api::v1::account::password - Rust
async fn update_user_password(
     id: Identity,
     data: AppData,
     payload: Json<ChangePasswordReqest>
diff --git a/mcaptcha/api/v1/account/password/index.html b/mcaptcha/api/v1/account/password/index.html
index 6f7b6fdd..20ab1d52 100644
--- a/mcaptcha/api/v1/account/password/index.html
+++ b/mcaptcha/api/v1/account/password/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::account::password - Rust
\ No newline at end of file +mcaptcha::api::v1::account::password - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html b/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html index f7dc5c3e..ff66359b 100644 --- a/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html +++ b/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html @@ -1,9 +1,9 @@ -ChangePasswordReqest in mcaptcha::api::v1::account::password - Rust
pub struct ChangePasswordReqest {
+ChangePasswordReqest in mcaptcha::api::v1::account::password - Rust
pub struct ChangePasswordReqest {
     pub password: String,
     pub new_password: String,
     pub confirm_new_password: String,
-}

Fields§

§password: String§new_password: String§confirm_new_password: String

Trait Implementations§

source§

impl Clone for ChangePasswordReqest

source§

fn clone(&self) -> ChangePasswordReqest

Returns a copy of 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 ChangePasswordReqest

source§

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

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

impl<'de> Deserialize<'de> for ChangePasswordReqest

source§

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

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

impl From<ChangePasswordReqest> for UpdatePassword

source§

fn from(s: ChangePasswordReqest) -> Self

Converts to this type from the input type.
source§

impl Serialize for ChangePasswordReqest

source§

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

Fields§

§password: String§new_password: String§confirm_new_password: String

Trait Implementations§

source§

impl Clone for ChangePasswordReqest

source§

fn clone(&self) -> ChangePasswordReqest

Returns a copy of 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 ChangePasswordReqest

source§

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

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

impl<'de> Deserialize<'de> for ChangePasswordReqest

source§

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

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

impl From<ChangePasswordReqest> for UpdatePassword

source§

fn from(s: ChangePasswordReqest) -> Self

Converts to this type from the input type.
source§

impl Serialize for ChangePasswordReqest

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/password/struct.UpdatePassword.html b/mcaptcha/api/v1/account/password/struct.UpdatePassword.html index 55f82cda..1bba81e6 100644 --- a/mcaptcha/api/v1/account/password/struct.UpdatePassword.html +++ b/mcaptcha/api/v1/account/password/struct.UpdatePassword.html @@ -1,7 +1,7 @@ -UpdatePassword in mcaptcha::api::v1::account::password - Rust
pub struct UpdatePassword {
+UpdatePassword in mcaptcha::api::v1::account::password - Rust
pub struct UpdatePassword {
     pub new_password: String,
     pub confirm_new_password: String,
-}

Fields§

§new_password: String§confirm_new_password: String

Trait Implementations§

source§

impl From<ChangePasswordReqest> for UpdatePassword

source§

fn from(s: ChangePasswordReqest) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§new_password: String§confirm_new_password: String

Trait Implementations§

source§

impl From<ChangePasswordReqest> for UpdatePassword

source§

fn from(s: ChangePasswordReqest) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/password/struct.__FieldVisitor.html b/mcaptcha/api/v1/account/password/struct.__FieldVisitor.html index 36ddf932..4d1ceaf2 100644 --- a/mcaptcha/api/v1/account/password/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/account/password/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::account::password - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::account::password - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/password/struct.__Visitor.html b/mcaptcha/api/v1/account/password/struct.__Visitor.html index a81439e4..e201e688 100644 --- a/mcaptcha/api/v1/account/password/struct.__Visitor.html +++ b/mcaptcha/api/v1/account/password/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::account::password - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::account::password - Rust
struct __Visitor<'de> {
     marker: PhantomData<ChangePasswordReqest>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<ChangePasswordReqest>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = ChangePasswordReqest

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<ChangePasswordReqest>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = ChangePasswordReqest

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/password/struct.update_user_password.html b/mcaptcha/api/v1/account/password/struct.update_user_password.html index 44b02766..a6e7d459 100644 --- a/mcaptcha/api/v1/account/password/struct.update_user_password.html +++ b/mcaptcha/api/v1/account/password/struct.update_user_password.html @@ -1,4 +1,4 @@ -update_user_password in mcaptcha::api::v1::account::password - Rust
pub struct update_user_password;

Trait Implementations§

source§

impl HttpServiceFactory for update_user_password

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +update_user_password in mcaptcha::api::v1::account::password - Rust
pub struct update_user_password;

Trait Implementations§

source§

impl HttpServiceFactory for update_user_password

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/routes/index.html b/mcaptcha/api/v1/account/routes/index.html index d6e8a2a9..53ba8609 100644 --- a/mcaptcha/api/v1/account/routes/index.html +++ b/mcaptcha/api/v1/account/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::account::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/routes/struct.Account.html b/mcaptcha/api/v1/account/routes/struct.Account.html index 9658371c..856c2d64 100644 --- a/mcaptcha/api/v1/account/routes/struct.Account.html +++ b/mcaptcha/api/v1/account/routes/struct.Account.html @@ -1,4 +1,4 @@ -Account in mcaptcha::api::v1::account::routes - Rust

Struct mcaptcha::api::v1::account::routes::Account

source ·
pub struct Account {
+Account in mcaptcha::api::v1::account::routes - Rust

Struct mcaptcha::api::v1::account::routes::Account

source ·
pub struct Account {
     pub delete: &'static str,
     pub email_exists: &'static str,
     pub get_secret: &'static str,
@@ -7,7 +7,7 @@
     pub update_secret: &'static str,
     pub username_exists: &'static str,
     pub update_username: &'static str,
-}

Fields§

§delete: &'static str§email_exists: &'static str§get_secret: &'static str§update_email: &'static str§update_password: &'static str§update_secret: &'static str§username_exists: &'static str§update_username: &'static str

Implementations§

source§

impl Account

source

pub const fn new() -> Account

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§delete: &'static str§email_exists: &'static str§get_secret: &'static str§update_email: &'static str§update_password: &'static str§update_secret: &'static str§username_exists: &'static str§update_username: &'static str

Implementations§

source§

impl Account

source

pub const fn new() -> Account

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/secret/fn.get_secret.html b/mcaptcha/api/v1/account/secret/fn.get_secret.html index 5d7f4adc..c0775a2f 100644 --- a/mcaptcha/api/v1/account/secret/fn.get_secret.html +++ b/mcaptcha/api/v1/account/secret/fn.get_secret.html @@ -1,4 +1,4 @@ -get_secret in mcaptcha::api::v1::account::secret - Rust

Function mcaptcha::api::v1::account::secret::get_secret

source ·
async fn get_secret(
+get_secret in mcaptcha::api::v1::account::secret - Rust

Function mcaptcha::api::v1::account::secret::get_secret

source ·
async fn get_secret(
     id: Identity,
     data: AppData
 ) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/fn.services.html b/mcaptcha/api/v1/account/secret/fn.services.html index fe688822..b88542c0 100644 --- a/mcaptcha/api/v1/account/secret/fn.services.html +++ b/mcaptcha/api/v1/account/secret/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::secret - Rust

Function mcaptcha::api::v1::account::secret::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::secret - Rust

Function mcaptcha::api::v1::account::secret::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/fn.update_user_secret.html b/mcaptcha/api/v1/account/secret/fn.update_user_secret.html index 1bd005c5..ea9613f5 100644 --- a/mcaptcha/api/v1/account/secret/fn.update_user_secret.html +++ b/mcaptcha/api/v1/account/secret/fn.update_user_secret.html @@ -1,4 +1,4 @@ -update_user_secret in mcaptcha::api::v1::account::secret - Rust
async fn update_user_secret(
+update_user_secret in mcaptcha::api::v1::account::secret - Rust
async fn update_user_secret(
     id: Identity,
     data: AppData
 ) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/index.html b/mcaptcha/api/v1/account/secret/index.html index 210c18ab..099fc33f 100644 --- a/mcaptcha/api/v1/account/secret/index.html +++ b/mcaptcha/api/v1/account/secret/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::secret - Rust
\ No newline at end of file +mcaptcha::api::v1::account::secret - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/secret/struct.get_secret.html b/mcaptcha/api/v1/account/secret/struct.get_secret.html index fdfb4630..491bf0f0 100644 --- a/mcaptcha/api/v1/account/secret/struct.get_secret.html +++ b/mcaptcha/api/v1/account/secret/struct.get_secret.html @@ -1,4 +1,4 @@ -get_secret in mcaptcha::api::v1::account::secret - Rust
pub struct get_secret;

Trait Implementations§

source§

impl HttpServiceFactory for get_secret

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +get_secret in mcaptcha::api::v1::account::secret - Rust
pub struct get_secret;

Trait Implementations§

source§

impl HttpServiceFactory for get_secret

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/secret/struct.update_user_secret.html b/mcaptcha/api/v1/account/secret/struct.update_user_secret.html index 86cc01aa..eb447acc 100644 --- a/mcaptcha/api/v1/account/secret/struct.update_user_secret.html +++ b/mcaptcha/api/v1/account/secret/struct.update_user_secret.html @@ -1,4 +1,4 @@ -update_user_secret in mcaptcha::api::v1::account::secret - Rust
pub struct update_user_secret;

Trait Implementations§

source§

impl HttpServiceFactory for update_user_secret

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +update_user_secret in mcaptcha::api::v1::account::secret - Rust
pub struct update_user_secret;

Trait Implementations§

source§

impl HttpServiceFactory for update_user_secret

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/struct.AccountCheckPayload.html b/mcaptcha/api/v1/account/struct.AccountCheckPayload.html index 80174768..4d318b4d 100644 --- a/mcaptcha/api/v1/account/struct.AccountCheckPayload.html +++ b/mcaptcha/api/v1/account/struct.AccountCheckPayload.html @@ -1,7 +1,7 @@ -AccountCheckPayload in mcaptcha::api::v1::account - Rust
pub struct AccountCheckPayload {
+AccountCheckPayload in mcaptcha::api::v1::account - Rust
pub struct AccountCheckPayload {
     pub val: String,
-}

Fields§

§val: String

Trait Implementations§

source§

impl Clone for AccountCheckPayload

source§

fn clone(&self) -> AccountCheckPayload

Returns a copy of 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 AccountCheckPayload

source§

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

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

impl<'de> Deserialize<'de> for AccountCheckPayload

source§

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

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

impl Serialize for AccountCheckPayload

source§

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

Fields§

§val: String

Trait Implementations§

source§

impl Clone for AccountCheckPayload

source§

fn clone(&self) -> AccountCheckPayload

Returns a copy of 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 AccountCheckPayload

source§

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

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

impl<'de> Deserialize<'de> for AccountCheckPayload

source§

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

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

impl Serialize for AccountCheckPayload

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/struct.AccountCheckResp.html b/mcaptcha/api/v1/account/struct.AccountCheckResp.html index d49c96e5..6839294f 100644 --- a/mcaptcha/api/v1/account/struct.AccountCheckResp.html +++ b/mcaptcha/api/v1/account/struct.AccountCheckResp.html @@ -1,7 +1,7 @@ -AccountCheckResp in mcaptcha::api::v1::account - Rust
pub struct AccountCheckResp {
+AccountCheckResp in mcaptcha::api::v1::account - Rust
pub struct AccountCheckResp {
     pub exists: bool,
-}

Fields§

§exists: bool

Trait Implementations§

source§

impl Clone for AccountCheckResp

source§

fn clone(&self) -> AccountCheckResp

Returns a copy of 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 AccountCheckResp

source§

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

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

impl<'de> Deserialize<'de> for AccountCheckResp

source§

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

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

impl Serialize for AccountCheckResp

source§

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

Fields§

§exists: bool

Trait Implementations§

source§

impl Clone for AccountCheckResp

source§

fn clone(&self) -> AccountCheckResp

Returns a copy of 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 AccountCheckResp

source§

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

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

impl<'de> Deserialize<'de> for AccountCheckResp

source§

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

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

impl Serialize for AccountCheckResp

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/struct.__FieldVisitor.html b/mcaptcha/api/v1/account/struct.__FieldVisitor.html index f5f79541..5761e71f 100644 --- a/mcaptcha/api/v1/account/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/account/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::account - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::account - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/struct.__Visitor.html b/mcaptcha/api/v1/account/struct.__Visitor.html index 7efebb7a..a67660db 100644 --- a/mcaptcha/api/v1/account/struct.__Visitor.html +++ b/mcaptcha/api/v1/account/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::account - Rust

Struct mcaptcha::api::v1::account::__Visitor

source ·
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::account - Rust

Struct mcaptcha::api::v1::account::__Visitor

source ·
struct __Visitor<'de> {
     marker: PhantomData<AccountCheckPayload>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<AccountCheckPayload>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = AccountCheckPayload

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<AccountCheckPayload>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = AccountCheckPayload

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/username/constant.FIELDS.html b/mcaptcha/api/v1/account/username/constant.FIELDS.html index 9496f255..b945ffc5 100644 --- a/mcaptcha/api/v1/account/username/constant.FIELDS.html +++ b/mcaptcha/api/v1/account/username/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::account::username - Rust

Constant mcaptcha::api::v1::account::username::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::account::username - Rust

Constant mcaptcha::api::v1::account::username::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/enum.__Field.html b/mcaptcha/api/v1/account/username/enum.__Field.html index a7da6a18..91d777dc 100644 --- a/mcaptcha/api/v1/account/username/enum.__Field.html +++ b/mcaptcha/api/v1/account/username/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::account::username - Rust
enum __Field {
+__Field in mcaptcha::api::v1::account::username - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/username/fn.services.html b/mcaptcha/api/v1/account/username/fn.services.html index 0e838c5a..1d9fccd8 100644 --- a/mcaptcha/api/v1/account/username/fn.services.html +++ b/mcaptcha/api/v1/account/username/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::account::username - Rust

Function mcaptcha::api::v1::account::username::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::account::username - Rust

Function mcaptcha::api::v1::account::username::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/fn.set_username.html b/mcaptcha/api/v1/account/username/fn.set_username.html index 39f8b962..500d240c 100644 --- a/mcaptcha/api/v1/account/username/fn.set_username.html +++ b/mcaptcha/api/v1/account/username/fn.set_username.html @@ -1,4 +1,4 @@ -set_username in mcaptcha::api::v1::account::username - Rust
async fn set_username(
+set_username in mcaptcha::api::v1::account::username - Rust
async fn set_username(
     id: Identity,
     payload: Json<Username>,
     data: AppData
diff --git a/mcaptcha/api/v1/account/username/fn.username_exists.html b/mcaptcha/api/v1/account/username/fn.username_exists.html
index 36f0f8d7..d8325982 100644
--- a/mcaptcha/api/v1/account/username/fn.username_exists.html
+++ b/mcaptcha/api/v1/account/username/fn.username_exists.html
@@ -1,4 +1,4 @@
-username_exists in mcaptcha::api::v1::account::username - Rust
async fn username_exists(
+username_exists in mcaptcha::api::v1::account::username - Rust
async fn username_exists(
     payload: Json<AccountCheckPayload>,
     data: AppData
 ) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/index.html b/mcaptcha/api/v1/account/username/index.html index d97c29e2..c9f0156c 100644 --- a/mcaptcha/api/v1/account/username/index.html +++ b/mcaptcha/api/v1/account/username/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::username - Rust
\ No newline at end of file +mcaptcha::api::v1::account::username - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/runners/fn.username_exists.html b/mcaptcha/api/v1/account/username/runners/fn.username_exists.html index 9ea1f18f..9c2e4533 100644 --- a/mcaptcha/api/v1/account/username/runners/fn.username_exists.html +++ b/mcaptcha/api/v1/account/username/runners/fn.username_exists.html @@ -1,4 +1,4 @@ -username_exists in mcaptcha::api::v1::account::username::runners - Rust
pub async fn username_exists(
+username_exists in mcaptcha::api::v1::account::username::runners - Rust
pub async fn username_exists(
     payload: &AccountCheckPayload,
     data: &AppData
 ) -> Result<AccountCheckResp, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/runners/index.html b/mcaptcha/api/v1/account/username/runners/index.html index 2fd6183b..5326ae5c 100644 --- a/mcaptcha/api/v1/account/username/runners/index.html +++ b/mcaptcha/api/v1/account/username/runners/index.html @@ -1 +1 @@ -mcaptcha::api::v1::account::username::runners - Rust
\ No newline at end of file +mcaptcha::api::v1::account::username::runners - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/struct.Username.html b/mcaptcha/api/v1/account/username/struct.Username.html index a27c7414..fe19e3d6 100644 --- a/mcaptcha/api/v1/account/username/struct.Username.html +++ b/mcaptcha/api/v1/account/username/struct.Username.html @@ -1,7 +1,7 @@ -Username in mcaptcha::api::v1::account::username - Rust
pub struct Username {
+Username in mcaptcha::api::v1::account::username - Rust
pub struct Username {
     pub username: String,
-}

Fields§

§username: String

Trait Implementations§

source§

impl Clone for Username

source§

fn clone(&self) -> Username

Returns a copy of 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 Username

source§

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

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

impl<'de> Deserialize<'de> for Username

source§

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

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

impl Serialize for Username

source§

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

Fields§

§username: String

Trait Implementations§

source§

impl Clone for Username

source§

fn clone(&self) -> Username

Returns a copy of 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 Username

source§

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

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

impl<'de> Deserialize<'de> for Username

source§

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

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

impl Serialize for Username

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/account/username/struct.__FieldVisitor.html b/mcaptcha/api/v1/account/username/struct.__FieldVisitor.html index 35392526..f621acbe 100644 --- a/mcaptcha/api/v1/account/username/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/account/username/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::account::username - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::account::username - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/username/struct.__Visitor.html b/mcaptcha/api/v1/account/username/struct.__Visitor.html index 1fc7e3b8..27229520 100644 --- a/mcaptcha/api/v1/account/username/struct.__Visitor.html +++ b/mcaptcha/api/v1/account/username/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::account::username - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::account::username - Rust
struct __Visitor<'de> {
     marker: PhantomData<Username>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<Username>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Username

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<Username>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Username

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/account/username/struct.set_username.html b/mcaptcha/api/v1/account/username/struct.set_username.html index 03a41c73..7c5a2f32 100644 --- a/mcaptcha/api/v1/account/username/struct.set_username.html +++ b/mcaptcha/api/v1/account/username/struct.set_username.html @@ -1,5 +1,5 @@ -set_username in mcaptcha::api::v1::account::username - Rust
pub struct set_username;
Expand description

update username

-

Trait Implementations§

source§

impl HttpServiceFactory for set_username

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +set_username in mcaptcha::api::v1::account::username - Rust
pub struct set_username;
Expand description

update username

+

Trait Implementations§

source§

impl HttpServiceFactory for set_username

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/account/username/struct.username_exists.html b/mcaptcha/api/v1/account/username/struct.username_exists.html index 4750588c..c0c1dfc3 100644 --- a/mcaptcha/api/v1/account/username/struct.username_exists.html +++ b/mcaptcha/api/v1/account/username/struct.username_exists.html @@ -1,4 +1,4 @@ -username_exists in mcaptcha::api::v1::account::username - Rust
pub struct username_exists;

Trait Implementations§

source§

impl HttpServiceFactory for username_exists

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +username_exists in mcaptcha::api::v1::account::username - Rust
pub struct username_exists;

Trait Implementations§

source§

impl HttpServiceFactory for username_exists

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/auth/fn.login.html b/mcaptcha/api/v1/auth/fn.login.html index 5e1beb4f..028c822c 100644 --- a/mcaptcha/api/v1/auth/fn.login.html +++ b/mcaptcha/api/v1/auth/fn.login.html @@ -1,4 +1,4 @@ -login in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::login

source ·
async fn login(
+login in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::login

source ·
async fn login(
     id: Identity,
     payload: Json<Login>,
     query: Query<RedirectQuery>,
diff --git a/mcaptcha/api/v1/auth/fn.register.html b/mcaptcha/api/v1/auth/fn.register.html
index c134b023..f739967f 100644
--- a/mcaptcha/api/v1/auth/fn.register.html
+++ b/mcaptcha/api/v1/auth/fn.register.html
@@ -1,4 +1,4 @@
-register in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::register

source ·
async fn register(
+register in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::register

source ·
async fn register(
     payload: Json<Register>,
     data: AppData
 ) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/fn.services.html b/mcaptcha/api/v1/auth/fn.services.html index c1923d8c..73064a35 100644 --- a/mcaptcha/api/v1/auth/fn.services.html +++ b/mcaptcha/api/v1/auth/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/fn.signout.html b/mcaptcha/api/v1/auth/fn.signout.html index ad3deb3a..d98ceada 100644 --- a/mcaptcha/api/v1/auth/fn.signout.html +++ b/mcaptcha/api/v1/auth/fn.signout.html @@ -1 +1 @@ -signout in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::signout

source ·
async fn signout(id: Identity) -> impl Responder
\ No newline at end of file +signout in mcaptcha::api::v1::auth - Rust

Function mcaptcha::api::v1::auth::signout

source ·
async fn signout(id: Identity) -> impl Responder
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/index.html b/mcaptcha/api/v1/auth/index.html index 3e712dba..1b267bb4 100644 --- a/mcaptcha/api/v1/auth/index.html +++ b/mcaptcha/api/v1/auth/index.html @@ -1 +1 @@ -mcaptcha::api::v1::auth - Rust
\ No newline at end of file +mcaptcha::api::v1::auth - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/routes/index.html b/mcaptcha/api/v1/auth/routes/index.html index 1a9cc405..b0f1afea 100644 --- a/mcaptcha/api/v1/auth/routes/index.html +++ b/mcaptcha/api/v1/auth/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::auth::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::auth::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/routes/struct.Auth.html b/mcaptcha/api/v1/auth/routes/struct.Auth.html index 94dcf4d0..971ba963 100644 --- a/mcaptcha/api/v1/auth/routes/struct.Auth.html +++ b/mcaptcha/api/v1/auth/routes/struct.Auth.html @@ -1,8 +1,8 @@ -Auth in mcaptcha::api::v1::auth::routes - Rust

Struct mcaptcha::api::v1::auth::routes::Auth

source ·
pub struct Auth {
+Auth in mcaptcha::api::v1::auth::routes - Rust

Struct mcaptcha::api::v1::auth::routes::Auth

source ·
pub struct Auth {
     pub logout: &'static str,
     pub login: &'static str,
     pub register: &'static str,
-}

Fields§

§logout: &'static str§login: &'static str§register: &'static str

Implementations§

source§

impl Auth

source

pub const fn new() -> Auth

Trait Implementations§

source§

impl GetLoginRoute for Auth

Auto Trait Implementations§

§

impl RefUnwindSafe for Auth

§

impl Send for Auth

§

impl Sync for Auth

§

impl Unpin for Auth

§

impl UnwindSafe for Auth

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§logout: &'static str§login: &'static str§register: &'static str

Implementations§

source§

impl Auth

source

pub const fn new() -> Auth

Trait Implementations§

source§

impl GetLoginRoute for Auth

Auto Trait Implementations§

§

impl RefUnwindSafe for Auth

§

impl Send for Auth

§

impl Sync for Auth

§

impl Unpin for Auth

§

impl UnwindSafe for Auth

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/auth/runners/constant.FIELDS.html b/mcaptcha/api/v1/auth/runners/constant.FIELDS.html index 9d311422..0bb1f799 100644 --- a/mcaptcha/api/v1/auth/runners/constant.FIELDS.html +++ b/mcaptcha/api/v1/auth/runners/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::auth::runners - Rust

Constant mcaptcha::api::v1::auth::runners::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::auth::runners - Rust

Constant mcaptcha::api::v1::auth::runners::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/enum.__Field.html b/mcaptcha/api/v1/auth/runners/enum.__Field.html index 1461ca41..500d3a05 100644 --- a/mcaptcha/api/v1/auth/runners/enum.__Field.html +++ b/mcaptcha/api/v1/auth/runners/enum.__Field.html @@ -1,10 +1,10 @@ -__Field in mcaptcha::api::v1::auth::runners - Rust
enum __Field {
+__Field in mcaptcha::api::v1::auth::runners - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __field3,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/auth/runners/fn.login_runner.html b/mcaptcha/api/v1/auth/runners/fn.login_runner.html index c1125198..ac7b37cc 100644 --- a/mcaptcha/api/v1/auth/runners/fn.login_runner.html +++ b/mcaptcha/api/v1/auth/runners/fn.login_runner.html @@ -1,4 +1,4 @@ -login_runner in mcaptcha::api::v1::auth::runners - Rust

Function mcaptcha::api::v1::auth::runners::login_runner

source ·
pub async fn login_runner(
+login_runner in mcaptcha::api::v1::auth::runners - Rust

Function mcaptcha::api::v1::auth::runners::login_runner

source ·
pub async fn login_runner(
     payload: Login,
     data: &AppData
 ) -> Result<String, ServiceError>
Expand description

returns Ok(()) when everything checks out and the user is authenticated. Errors otherwise

diff --git a/mcaptcha/api/v1/auth/runners/fn.register_runner.html b/mcaptcha/api/v1/auth/runners/fn.register_runner.html index 119b385f..60e4e3c4 100644 --- a/mcaptcha/api/v1/auth/runners/fn.register_runner.html +++ b/mcaptcha/api/v1/auth/runners/fn.register_runner.html @@ -1,4 +1,4 @@ -register_runner in mcaptcha::api::v1::auth::runners - Rust
pub async fn register_runner(
+register_runner in mcaptcha::api::v1::auth::runners - Rust
pub async fn register_runner(
     payload: &Register,
     data: &AppData
 ) -> Result<(), ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/index.html b/mcaptcha/api/v1/auth/runners/index.html index be299c9f..10d7c9fb 100644 --- a/mcaptcha/api/v1/auth/runners/index.html +++ b/mcaptcha/api/v1/auth/runners/index.html @@ -1 +1 @@ -mcaptcha::api::v1::auth::runners - Rust

Module mcaptcha::api::v1::auth::runners

source ·

Structs

Enums

Constants

Functions

\ No newline at end of file +mcaptcha::api::v1::auth::runners - Rust

Module mcaptcha::api::v1::auth::runners

source ·

Structs

Enums

Constants

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/struct.Login.html b/mcaptcha/api/v1/auth/runners/struct.Login.html index da6bfac2..f3d567b9 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Login.html +++ b/mcaptcha/api/v1/auth/runners/struct.Login.html @@ -1,8 +1,8 @@ -Login in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Login

source ·
pub struct Login {
+Login in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Login

source ·
pub struct Login {
     pub login: String,
     pub password: String,
-}

Fields§

§login: String§password: String

Trait Implementations§

source§

impl Clone for Login

source§

fn clone(&self) -> Login

Returns a copy of 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 Login

source§

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

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

impl<'de> Deserialize<'de> for Login

source§

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

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

impl Serialize for Login

source§

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

Fields§

§login: String§password: String

Trait Implementations§

source§

impl Clone for Login

source§

fn clone(&self) -> Login

Returns a copy of 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 Login

source§

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

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

impl<'de> Deserialize<'de> for Login

source§

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

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

impl Serialize for Login

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Login

§

impl Send for Login

§

impl Sync for Login

§

impl Unpin for Login

§

impl UnwindSafe for Login

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/auth/runners/struct.Password.html b/mcaptcha/api/v1/auth/runners/struct.Password.html index 585bf07a..0a95a044 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Password.html +++ b/mcaptcha/api/v1/auth/runners/struct.Password.html @@ -1,7 +1,7 @@ -Password in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Password

source ·
pub struct Password {
+Password in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Password

source ·
pub struct Password {
     pub password: String,
-}

Fields§

§password: String

Trait Implementations§

source§

impl Clone for Password

source§

fn clone(&self) -> Password

Returns a copy of 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 Password

source§

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

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

impl<'de> Deserialize<'de> for Password

source§

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

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

impl Serialize for Password

source§

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

Fields§

§password: String

Trait Implementations§

source§

impl Clone for Password

source§

fn clone(&self) -> Password

Returns a copy of 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 Password

source§

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

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

impl<'de> Deserialize<'de> for Password

source§

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

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

impl Serialize for Password

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/auth/runners/struct.Register.html b/mcaptcha/api/v1/auth/runners/struct.Register.html index 8c6bb44a..a309ee16 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Register.html +++ b/mcaptcha/api/v1/auth/runners/struct.Register.html @@ -1,10 +1,10 @@ -Register in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Register

source ·
pub struct Register {
+Register in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::Register

source ·
pub struct Register {
     pub username: String,
     pub password: String,
     pub confirm_password: String,
     pub email: Option<String>,
-}

Fields§

§username: String§password: String§confirm_password: String§email: Option<String>

Trait Implementations§

source§

impl Clone for Register

source§

fn clone(&self) -> Register

Returns a copy of 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 Register

source§

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

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

impl<'de> Deserialize<'de> for Register

source§

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

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

impl Serialize for Register

source§

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

Fields§

§username: String§password: String§confirm_password: String§email: Option<String>

Trait Implementations§

source§

impl Clone for Register

source§

fn clone(&self) -> Register

Returns a copy of 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 Register

source§

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

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

impl<'de> Deserialize<'de> for Register

source§

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

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

impl Serialize for Register

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/auth/runners/struct.__FieldVisitor.html b/mcaptcha/api/v1/auth/runners/struct.__FieldVisitor.html index 2577ee0a..a7b8446b 100644 --- a/mcaptcha/api/v1/auth/runners/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/auth/runners/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::auth::runners - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::auth::runners - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/auth/runners/struct.__Visitor.html b/mcaptcha/api/v1/auth/runners/struct.__Visitor.html index acfdaad3..42417b55 100644 --- a/mcaptcha/api/v1/auth/runners/struct.__Visitor.html +++ b/mcaptcha/api/v1/auth/runners/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::__Visitor

source ·
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::auth::runners - Rust

Struct mcaptcha::api::v1::auth::runners::__Visitor

source ·
struct __Visitor<'de> {
     marker: PhantomData<Register>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<Register>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Register

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<Register>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Register

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/auth/struct.login.html b/mcaptcha/api/v1/auth/struct.login.html index 8ce3c3ad..a17b8d32 100644 --- a/mcaptcha/api/v1/auth/struct.login.html +++ b/mcaptcha/api/v1/auth/struct.login.html @@ -1,4 +1,4 @@ -login in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::login

source ·
pub struct login;

Trait Implementations§

source§

impl HttpServiceFactory for login

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

§

impl RefUnwindSafe for login

§

impl Send for login

§

impl Sync for login

§

impl Unpin for login

§

impl UnwindSafe for login

Blanket Implementations§

source§

impl<T> Any for Twhere +login in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::login

source ·
pub struct login;

Trait Implementations§

source§

impl HttpServiceFactory for login

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

§

impl RefUnwindSafe for login

§

impl Send for login

§

impl Sync for login

§

impl Unpin for login

§

impl UnwindSafe for login

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/auth/struct.register.html b/mcaptcha/api/v1/auth/struct.register.html index ee3f72cc..ecff873f 100644 --- a/mcaptcha/api/v1/auth/struct.register.html +++ b/mcaptcha/api/v1/auth/struct.register.html @@ -1,4 +1,4 @@ -register in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::register

source ·
pub struct register;

Trait Implementations§

source§

impl HttpServiceFactory for register

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +register in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::register

source ·
pub struct register;

Trait Implementations§

source§

impl HttpServiceFactory for register

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/auth/struct.signout.html b/mcaptcha/api/v1/auth/struct.signout.html index 39f64259..06438e0a 100644 --- a/mcaptcha/api/v1/auth/struct.signout.html +++ b/mcaptcha/api/v1/auth/struct.signout.html @@ -1,4 +1,4 @@ -signout in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::signout

source ·
pub struct signout;

Trait Implementations§

source§

impl HttpServiceFactory for signout

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +signout in mcaptcha::api::v1::auth - Rust

Struct mcaptcha::api::v1::auth::signout

source ·
pub struct signout;

Trait Implementations§

source§

impl HttpServiceFactory for signout

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/constant.FIELDS.html b/mcaptcha/api/v1/constant.FIELDS.html index 92a9a7ed..18cd6408 100644 --- a/mcaptcha/api/v1/constant.FIELDS.html +++ b/mcaptcha/api/v1/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1 - Rust

Constant mcaptcha::api::v1::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1 - Rust

Constant mcaptcha::api::v1::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/enum.__Field.html b/mcaptcha/api/v1/enum.__Field.html index ff11c4fc..f20bbb5f 100644 --- a/mcaptcha/api/v1/enum.__Field.html +++ b/mcaptcha/api/v1/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1 - Rust

Enum mcaptcha::api::v1::__Field

source ·
enum __Field {
+__Field in mcaptcha::api::v1 - Rust

Enum mcaptcha::api::v1::__Field

source ·
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/fn.get_middleware.html b/mcaptcha/api/v1/fn.get_middleware.html index f02c80a3..3593369b 100644 --- a/mcaptcha/api/v1/fn.get_middleware.html +++ b/mcaptcha/api/v1/fn.get_middleware.html @@ -1 +1 @@ -get_middleware in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::get_middleware

source ·
pub fn get_middleware() -> Authentication<Routes>
\ No newline at end of file +get_middleware in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::get_middleware

source ·
pub fn get_middleware() -> Authentication<Routes>
\ No newline at end of file diff --git a/mcaptcha/api/v1/fn.services.html b/mcaptcha/api/v1/fn.services.html index b58fd99e..161d7e15 100644 --- a/mcaptcha/api/v1/fn.services.html +++ b/mcaptcha/api/v1/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1 - Rust

Function mcaptcha::api::v1::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/index.html b/mcaptcha/api/v1/index.html index 307da6a9..b39d1939 100644 --- a/mcaptcha/api/v1/index.html +++ b/mcaptcha/api/v1/index.html @@ -1 +1 @@ -mcaptcha::api::v1 - Rust
\ No newline at end of file +mcaptcha::api::v1 - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/constant.FIELDS.html b/mcaptcha/api/v1/mcaptcha/create/constant.FIELDS.html index 261d8933..bb5c9d68 100644 --- a/mcaptcha/api/v1/mcaptcha/create/constant.FIELDS.html +++ b/mcaptcha/api/v1/mcaptcha/create/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::mcaptcha::create - Rust

Constant mcaptcha::api::v1::mcaptcha::create::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::mcaptcha::create - Rust

Constant mcaptcha::api::v1::mcaptcha::create::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/enum.__Field.html b/mcaptcha/api/v1/mcaptcha/create/enum.__Field.html index 41359d4e..000fc866 100644 --- a/mcaptcha/api/v1/mcaptcha/create/enum.__Field.html +++ b/mcaptcha/api/v1/mcaptcha/create/enum.__Field.html @@ -1,10 +1,10 @@ -__Field in mcaptcha::api::v1::mcaptcha::create - Rust
enum __Field {
+__Field in mcaptcha::api::v1::mcaptcha::create - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __field3,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/create/fn.create.html b/mcaptcha/api/v1/mcaptcha/create/fn.create.html index b954c184..cc7864d0 100644 --- a/mcaptcha/api/v1/mcaptcha/create/fn.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/fn.create.html @@ -1,4 +1,4 @@ -create in mcaptcha::api::v1::mcaptcha::create - Rust

Function mcaptcha::api::v1::mcaptcha::create::create

source ·
pub async fn create(
+create in mcaptcha::api::v1::mcaptcha::create - Rust

Function mcaptcha::api::v1::mcaptcha::create::create

source ·
pub async fn create(
     payload: Json<CreateCaptcha>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/create/index.html b/mcaptcha/api/v1/mcaptcha/create/index.html
index 01bcb469..fd5dfb73 100644
--- a/mcaptcha/api/v1/mcaptcha/create/index.html
+++ b/mcaptcha/api/v1/mcaptcha/create/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::create - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::create - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html b/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html index 4f3c7148..2925d265 100644 --- a/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html @@ -1,4 +1,4 @@ -create in mcaptcha::api::v1::mcaptcha::create::runner - Rust

Function mcaptcha::api::v1::mcaptcha::create::runner::create

source ·
pub async fn create(
+create in mcaptcha::api::v1::mcaptcha::create::runner - Rust

Function mcaptcha::api::v1::mcaptcha::create::runner::create

source ·
pub async fn create(
     payload: &CreateCaptcha,
     data: &AppData,
     username: &str
diff --git a/mcaptcha/api/v1/mcaptcha/create/runner/index.html b/mcaptcha/api/v1/mcaptcha/create/runner/index.html
index 6a88ea79..b1e32d79 100644
--- a/mcaptcha/api/v1/mcaptcha/create/runner/index.html
+++ b/mcaptcha/api/v1/mcaptcha/create/runner/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::create::runner - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::create::runner - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html b/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html index 107361bd..cab26249 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html @@ -1,10 +1,10 @@ -CreateCaptcha in mcaptcha::api::v1::mcaptcha::create - Rust
pub struct CreateCaptcha {
+CreateCaptcha in mcaptcha::api::v1::mcaptcha::create - Rust
pub struct CreateCaptcha {
     pub levels: Vec<Level>,
     pub duration: u32,
     pub description: String,
     pub publish_benchmarks: bool,
-}

Fields§

§levels: Vec<Level>§duration: u32§description: String§publish_benchmarks: bool

Trait Implementations§

source§

impl<'de> Deserialize<'de> for CreateCaptcha

source§

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

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

impl Serialize for CreateCaptcha

source§

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

Fields§

§levels: Vec<Level>§duration: u32§description: String§publish_benchmarks: bool

Trait Implementations§

source§

impl<'de> Deserialize<'de> for CreateCaptcha

source§

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

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

impl Serialize for CreateCaptcha

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html b/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html index 018c9537..3a39401e 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html @@ -1,8 +1,8 @@ -MCaptchaDetails in mcaptcha::api::v1::mcaptcha::create - Rust
pub struct MCaptchaDetails {
+MCaptchaDetails in mcaptcha::api::v1::mcaptcha::create - Rust
pub struct MCaptchaDetails {
     pub name: String,
     pub key: String,
-}

Fields§

§name: String§key: String

Trait Implementations§

source§

impl Clone for MCaptchaDetails

source§

fn clone(&self) -> MCaptchaDetails

Returns a copy of 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 MCaptchaDetails

source§

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

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

impl<'de> Deserialize<'de> for MCaptchaDetails

source§

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

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

impl Serialize for MCaptchaDetails

source§

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

Fields§

§name: String§key: String

Trait Implementations§

source§

impl Clone for MCaptchaDetails

source§

fn clone(&self) -> MCaptchaDetails

Returns a copy of 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 MCaptchaDetails

source§

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

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

impl<'de> Deserialize<'de> for MCaptchaDetails

source§

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

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

impl Serialize for MCaptchaDetails

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.__FieldVisitor.html b/mcaptcha/api/v1/mcaptcha/create/struct.__FieldVisitor.html index e170497f..8e8d2705 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::mcaptcha::create - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::mcaptcha::create - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.__Visitor.html b/mcaptcha/api/v1/mcaptcha/create/struct.__Visitor.html index e0aa8034..b39d98f7 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.__Visitor.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::mcaptcha::create - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::mcaptcha::create - Rust
struct __Visitor<'de> {
     marker: PhantomData<CreateCaptcha>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<CreateCaptcha>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = CreateCaptcha

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<CreateCaptcha>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = CreateCaptcha

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.create.html b/mcaptcha/api/v1/mcaptcha/create/struct.create.html index 08b42114..24844bbc 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.create.html @@ -1,4 +1,4 @@ -create in mcaptcha::api::v1::mcaptcha::create - Rust

Struct mcaptcha::api::v1::mcaptcha::create::create

source ·
pub struct create;

Trait Implementations§

source§

impl HttpServiceFactory for create

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +create in mcaptcha::api::v1::mcaptcha::create - Rust

Struct mcaptcha::api::v1::mcaptcha::create::create

source ·
pub struct create;

Trait Implementations§

source§

impl HttpServiceFactory for create

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/delete/constant.FIELDS.html b/mcaptcha/api/v1/mcaptcha/delete/constant.FIELDS.html index 29c944b1..e485709c 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/constant.FIELDS.html +++ b/mcaptcha/api/v1/mcaptcha/delete/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::mcaptcha::delete - Rust

Constant mcaptcha::api::v1::mcaptcha::delete::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::mcaptcha::delete - Rust

Constant mcaptcha::api::v1::mcaptcha::delete::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/enum.__Field.html b/mcaptcha/api/v1/mcaptcha/delete/enum.__Field.html index 7b9559c6..0abd881a 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/enum.__Field.html +++ b/mcaptcha/api/v1/mcaptcha/delete/enum.__Field.html @@ -1,8 +1,8 @@ -__Field in mcaptcha::api::v1::mcaptcha::delete - Rust
enum __Field {
+__Field in mcaptcha::api::v1::mcaptcha::delete - Rust
enum __Field {
     __field0,
     __field1,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/delete/fn.delete.html b/mcaptcha/api/v1/mcaptcha/delete/fn.delete.html index 43b0e14b..bb331f8e 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/fn.delete.html +++ b/mcaptcha/api/v1/mcaptcha/delete/fn.delete.html @@ -1,4 +1,4 @@ -delete in mcaptcha::api::v1::mcaptcha::delete - Rust

Function mcaptcha::api::v1::mcaptcha::delete::delete

source ·
async fn delete(
+delete in mcaptcha::api::v1::mcaptcha::delete - Rust

Function mcaptcha::api::v1::mcaptcha::delete::delete

source ·
async fn delete(
     payload: Json<DeleteCaptcha>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/delete/index.html b/mcaptcha/api/v1/mcaptcha/delete/index.html
index 0756b2ac..b7b1f67b 100644
--- a/mcaptcha/api/v1/mcaptcha/delete/index.html
+++ b/mcaptcha/api/v1/mcaptcha/delete/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::delete - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::delete - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html b/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html index 7cce8222..8e653bdd 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html @@ -1,8 +1,8 @@ -DeleteCaptcha in mcaptcha::api::v1::mcaptcha::delete - Rust
pub struct DeleteCaptcha {
+DeleteCaptcha in mcaptcha::api::v1::mcaptcha::delete - Rust
pub struct DeleteCaptcha {
     pub key: String,
     pub password: String,
-}

Fields§

§key: String§password: String

Trait Implementations§

source§

impl Clone for DeleteCaptcha

source§

fn clone(&self) -> DeleteCaptcha

Returns a copy of 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 DeleteCaptcha

source§

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

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

impl<'de> Deserialize<'de> for DeleteCaptcha

source§

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

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

impl Serialize for DeleteCaptcha

source§

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

Fields§

§key: String§password: String

Trait Implementations§

source§

impl Clone for DeleteCaptcha

source§

fn clone(&self) -> DeleteCaptcha

Returns a copy of 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 DeleteCaptcha

source§

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

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

impl<'de> Deserialize<'de> for DeleteCaptcha

source§

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

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

impl Serialize for DeleteCaptcha

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.__FieldVisitor.html b/mcaptcha/api/v1/mcaptcha/delete/struct.__FieldVisitor.html index 6caa8f88..ae384578 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::mcaptcha::delete - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::mcaptcha::delete - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.__Visitor.html b/mcaptcha/api/v1/mcaptcha/delete/struct.__Visitor.html index b3de7853..1c41bc6b 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.__Visitor.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::mcaptcha::delete - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::mcaptcha::delete - Rust
struct __Visitor<'de> {
     marker: PhantomData<DeleteCaptcha>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<DeleteCaptcha>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = DeleteCaptcha

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<DeleteCaptcha>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = DeleteCaptcha

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html b/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html index 3ffd5f24..34f33f59 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html @@ -1,4 +1,4 @@ -delete in mcaptcha::api::v1::mcaptcha::delete - Rust

Struct mcaptcha::api::v1::mcaptcha::delete::delete

source ·
pub struct delete;

Trait Implementations§

source§

impl HttpServiceFactory for delete

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +delete in mcaptcha::api::v1::mcaptcha::delete - Rust

Struct mcaptcha::api::v1::mcaptcha::delete::delete

source ·
pub struct delete;

Trait Implementations§

source§

impl HttpServiceFactory for delete

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/easy/constant.FIELDS.html b/mcaptcha/api/v1/mcaptcha/easy/constant.FIELDS.html index 159a1b39..5b308f58 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/constant.FIELDS.html +++ b/mcaptcha/api/v1/mcaptcha/easy/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::mcaptcha::easy - Rust

Constant mcaptcha::api::v1::mcaptcha::easy::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::mcaptcha::easy - Rust

Constant mcaptcha::api::v1::mcaptcha::easy::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/enum.__Field.html b/mcaptcha/api/v1/mcaptcha/easy/enum.__Field.html index fe690465..6f294b9f 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/enum.__Field.html +++ b/mcaptcha/api/v1/mcaptcha/easy/enum.__Field.html @@ -1,11 +1,11 @@ -__Field in mcaptcha::api::v1::mcaptcha::easy - Rust
enum __Field {
+__Field in mcaptcha::api::v1::mcaptcha::easy - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __field3,
     __field4,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__field4

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__field4

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html index e1186ec7..f4904ea3 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html @@ -1,4 +1,4 @@ -calculate in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::calculate

source ·
pub fn calculate(
+calculate in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::calculate

source ·
pub fn calculate(
     tp: &TrafficPattern,
     strategy: &DefaultDifficultyStrategy
 ) -> Result<Vec<Level>, ServiceError>
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.create.html b/mcaptcha/api/v1/mcaptcha/easy/fn.create.html index 5720ccbe..432ceada 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.create.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.create.html @@ -1,4 +1,4 @@ -create in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::create

source ·
async fn create(
+create in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::create

source ·
async fn create(
     payload: Json<TrafficPatternRequest>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.services.html b/mcaptcha/api/v1/mcaptcha/easy/fn.services.html
index 1a5795cc..2b1df77b 100644
--- a/mcaptcha/api/v1/mcaptcha/easy/fn.services.html
+++ b/mcaptcha/api/v1/mcaptcha/easy/fn.services.html
@@ -1 +1 @@
-services in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.update.html b/mcaptcha/api/v1/mcaptcha/easy/fn.update.html index e3126e68..c7f5958e 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/fn.update.html +++ b/mcaptcha/api/v1/mcaptcha/easy/fn.update.html @@ -1,4 +1,4 @@ -update in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::update

source ·
async fn update(
+update in mcaptcha::api::v1::mcaptcha::easy - Rust

Function mcaptcha::api::v1::mcaptcha::easy::update

source ·
async fn update(
     payload: Json<UpdateTrafficPattern>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/easy/index.html b/mcaptcha/api/v1/mcaptcha/easy/index.html
index 95aae4a1..8933843a 100644
--- a/mcaptcha/api/v1/mcaptcha/easy/index.html
+++ b/mcaptcha/api/v1/mcaptcha/easy/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::easy - Rust

Module mcaptcha::api::v1::mcaptcha::easy

source ·

Modules

Structs

Enums

Constants

Functions

\ No newline at end of file +mcaptcha::api::v1::mcaptcha::easy - Rust

Module mcaptcha::api::v1::mcaptcha::easy

source ·

Modules

Structs

Enums

Constants

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/routes/index.html b/mcaptcha/api/v1/mcaptcha/easy/routes/index.html index eeda654a..eb7481d9 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/routes/index.html +++ b/mcaptcha/api/v1/mcaptcha/easy/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::easy::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::easy::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html b/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html index ac99b9bd..6e697f99 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html +++ b/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html @@ -1,8 +1,8 @@ -Easy in mcaptcha::api::v1::mcaptcha::easy::routes - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::routes::Easy

source ·
pub struct Easy {
+Easy in mcaptcha::api::v1::mcaptcha::easy::routes - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::routes::Easy

source ·
pub struct Easy {
     pub create: &'static str,
     pub update: &'static str,
 }

Fields§

§create: &'static str

easy is using defaults

-
§update: &'static str

Implementations§

source§

impl Easy

source

pub const fn new() -> Self

Auto Trait Implementations§

§

impl RefUnwindSafe for Easy

§

impl Send for Easy

§

impl Sync for Easy

§

impl Unpin for Easy

§

impl UnwindSafe for Easy

Blanket Implementations§

source§

impl<T> Any for Twhere +

§update: &'static str

Implementations§

source§

impl Easy

source

pub const fn new() -> Self

Auto Trait Implementations§

§

impl RefUnwindSafe for Easy

§

impl Send for Easy

§

impl Sync for Easy

§

impl Unpin for Easy

§

impl UnwindSafe for Easy

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html index 3cc0ff54..c89bb659 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html @@ -1,4 +1,4 @@ -TrafficPatternRequest in mcaptcha::api::v1::mcaptcha::easy - Rust
pub struct TrafficPatternRequest {
+TrafficPatternRequest in mcaptcha::api::v1::mcaptcha::easy - Rust
pub struct TrafficPatternRequest {
     pub avg_traffic: u32,
     pub peak_sustainable_traffic: u32,
     pub broke_my_site_traffic: Option<u32>,
@@ -10,8 +10,8 @@
 
§broke_my_site_traffic: Option<u32>

traffic that bought the user’s website down; optional

§description: String

Captcha description

§publish_benchmarks: bool

publish benchmarks

-

Trait Implementations§

source§

impl Clone for TrafficPatternRequest

source§

fn clone(&self) -> TrafficPatternRequest

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for TrafficPatternRequest

source§

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

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

impl Default for TrafficPatternRequest

source§

fn default() -> TrafficPatternRequest

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

impl<'de> Deserialize<'de> for TrafficPatternRequest

source§

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

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

impl From<&TrafficPatternRequest> for TrafficPattern

source§

fn from(t: &TrafficPatternRequest) -> Self

Converts to this type from the input type.
source§

impl Serialize for TrafficPatternRequest

source§

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

Trait Implementations§

source§

impl Clone for TrafficPatternRequest

source§

fn clone(&self) -> TrafficPatternRequest

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for TrafficPatternRequest

source§

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

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

impl Default for TrafficPatternRequest

source§

fn default() -> TrafficPatternRequest

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

impl<'de> Deserialize<'de> for TrafficPatternRequest

source§

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

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

impl From<&TrafficPatternRequest> for TrafficPattern

source§

fn from(t: &TrafficPatternRequest) -> Self

Converts to this type from the input type.
source§

impl Serialize for TrafficPatternRequest

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html b/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html index 4b8c9901..f8566caf 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html @@ -1,8 +1,8 @@ -UpdateTrafficPattern in mcaptcha::api::v1::mcaptcha::easy - Rust
pub struct UpdateTrafficPattern {
+UpdateTrafficPattern in mcaptcha::api::v1::mcaptcha::easy - Rust
pub struct UpdateTrafficPattern {
     pub pattern: TrafficPatternRequest,
     pub key: String,
-}

Fields§

§pattern: TrafficPatternRequest§key: String

Trait Implementations§

source§

impl Clone for UpdateTrafficPattern

source§

fn clone(&self) -> UpdateTrafficPattern

Returns a copy of 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 UpdateTrafficPattern

source§

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

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

impl<'de> Deserialize<'de> for UpdateTrafficPattern

source§

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

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

impl Serialize for UpdateTrafficPattern

source§

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

Fields§

§pattern: TrafficPatternRequest§key: String

Trait Implementations§

source§

impl Clone for UpdateTrafficPattern

source§

fn clone(&self) -> UpdateTrafficPattern

Returns a copy of 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 UpdateTrafficPattern

source§

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

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

impl<'de> Deserialize<'de> for UpdateTrafficPattern

source§

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

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

impl Serialize for UpdateTrafficPattern

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.__FieldVisitor.html b/mcaptcha/api/v1/mcaptcha/easy/struct.__FieldVisitor.html index 7b0ca972..cebad96d 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::mcaptcha::easy - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::mcaptcha::easy - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.__Visitor.html b/mcaptcha/api/v1/mcaptcha/easy/struct.__Visitor.html index 965d6c8d..cd0f4e7a 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.__Visitor.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::mcaptcha::easy - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::mcaptcha::easy - Rust
struct __Visitor<'de> {
     marker: PhantomData<TrafficPatternRequest>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<TrafficPatternRequest>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = TrafficPatternRequest

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<TrafficPatternRequest>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = TrafficPatternRequest

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.create.html b/mcaptcha/api/v1/mcaptcha/easy/struct.create.html index 668193ec..7f9a3780 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.create.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.create.html @@ -1,4 +1,4 @@ -create in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::create

source ·
pub struct create;

Trait Implementations§

source§

impl HttpServiceFactory for create

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +create in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::create

source ·
pub struct create;

Trait Implementations§

source§

impl HttpServiceFactory for create

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.update.html b/mcaptcha/api/v1/mcaptcha/easy/struct.update.html index 87e2f495..21bb12d9 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.update.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.update.html @@ -1,4 +1,4 @@ -update in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::update

source ·
pub struct update;

Trait Implementations§

source§

impl HttpServiceFactory for update

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +update in mcaptcha::api::v1::mcaptcha::easy - Rust

Struct mcaptcha::api::v1::mcaptcha::easy::update

source ·
pub struct update;

Trait Implementations§

source§

impl HttpServiceFactory for update

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/fn.get_random.html b/mcaptcha/api/v1/mcaptcha/fn.get_random.html index 031d722d..f1dc107f 100644 --- a/mcaptcha/api/v1/mcaptcha/fn.get_random.html +++ b/mcaptcha/api/v1/mcaptcha/fn.get_random.html @@ -1 +1 @@ -get_random in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::get_random

source ·
pub fn get_random(len: usize) -> String
\ No newline at end of file +get_random in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::get_random

source ·
pub fn get_random(len: usize) -> String
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/fn.services.html b/mcaptcha/api/v1/mcaptcha/fn.services.html index 414f5b4d..b2b80f1d 100644 --- a/mcaptcha/api/v1/mcaptcha/fn.services.html +++ b/mcaptcha/api/v1/mcaptcha/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::mcaptcha - Rust

Function mcaptcha::api::v1::mcaptcha::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/constant.FIELDS.html b/mcaptcha/api/v1/mcaptcha/get/constant.FIELDS.html index 8d478089..313da238 100644 --- a/mcaptcha/api/v1/mcaptcha/get/constant.FIELDS.html +++ b/mcaptcha/api/v1/mcaptcha/get/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::mcaptcha::get - Rust

Constant mcaptcha::api::v1::mcaptcha::get::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::mcaptcha::get - Rust

Constant mcaptcha::api::v1::mcaptcha::get::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/enum.__Field.html b/mcaptcha/api/v1/mcaptcha/get/enum.__Field.html index 151b8194..7ded418c 100644 --- a/mcaptcha/api/v1/mcaptcha/get/enum.__Field.html +++ b/mcaptcha/api/v1/mcaptcha/get/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::mcaptcha::get - Rust
enum __Field {
+__Field in mcaptcha::api::v1::mcaptcha::get - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/get/fn.get_captcha.html b/mcaptcha/api/v1/mcaptcha/get/fn.get_captcha.html index 9b02a5e2..4d69585c 100644 --- a/mcaptcha/api/v1/mcaptcha/get/fn.get_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/get/fn.get_captcha.html @@ -1,4 +1,4 @@ -get_captcha in mcaptcha::api::v1::mcaptcha::get - Rust

Function mcaptcha::api::v1::mcaptcha::get::get_captcha

source ·
pub async fn get_captcha(
+get_captcha in mcaptcha::api::v1::mcaptcha::get - Rust

Function mcaptcha::api::v1::mcaptcha::get::get_captcha

source ·
pub async fn get_captcha(
     payload: Json<MCaptchaDetails>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/get/index.html b/mcaptcha/api/v1/mcaptcha/get/index.html
index f66f70e5..c492d8ce 100644
--- a/mcaptcha/api/v1/mcaptcha/get/index.html
+++ b/mcaptcha/api/v1/mcaptcha/get/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::get - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::get - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html b/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html index 1fc7751f..1c516d5a 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html @@ -1,8 +1,8 @@ -I32Levels in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::I32Levels

source ·
pub struct I32Levels {
+I32Levels in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::I32Levels

source ·
pub struct I32Levels {
     pub difficulty_factor: i32,
     pub visitor_threshold: i32,
-}

Fields§

§difficulty_factor: i32§visitor_threshold: i32

Trait Implementations§

source§

impl Clone for I32Levels

source§

fn clone(&self) -> I32Levels

Returns a copy of 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 I32Levels

source§

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

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

impl<'de> Deserialize<'de> for I32Levels

source§

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

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

impl Serialize for I32Levels

source§

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

Fields§

§difficulty_factor: i32§visitor_threshold: i32

Trait Implementations§

source§

impl Clone for I32Levels

source§

fn clone(&self) -> I32Levels

Returns a copy of 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 I32Levels

source§

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

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

impl<'de> Deserialize<'de> for I32Levels

source§

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

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

impl Serialize for I32Levels

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html b/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html index 780c5aa9..e1fe8050 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html @@ -1,7 +1,7 @@ -Levels in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::Levels

source ·
pub struct Levels {
+Levels in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::Levels

source ·
pub struct Levels {
     levels: I32Levels,
-}

Fields§

§levels: I32Levels

Trait Implementations§

source§

impl Clone for Levels

source§

fn clone(&self) -> Levels

Returns a copy of 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 Levels

source§

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

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

impl<'de> Deserialize<'de> for Levels

source§

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

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

impl Serialize for Levels

source§

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

Fields§

§levels: I32Levels

Trait Implementations§

source§

impl Clone for Levels

source§

fn clone(&self) -> Levels

Returns a copy of 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 Levels

source§

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

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

impl<'de> Deserialize<'de> for Levels

source§

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

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

impl Serialize for Levels

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.__FieldVisitor.html b/mcaptcha/api/v1/mcaptcha/get/struct.__FieldVisitor.html index 3087d0a5..3a117d27 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::mcaptcha::get - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::mcaptcha::get - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.__Visitor.html b/mcaptcha/api/v1/mcaptcha/get/struct.__Visitor.html index 8e4087c0..483fcbe9 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.__Visitor.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::__Visitor

source ·
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::mcaptcha::get - Rust

Struct mcaptcha::api::v1::mcaptcha::get::__Visitor

source ·
struct __Visitor<'de> {
     marker: PhantomData<Levels>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<Levels>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Levels

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<Levels>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = Levels

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html b/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html index 146f6de9..5028ddf5 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html @@ -1,4 +1,4 @@ -get_captcha in mcaptcha::api::v1::mcaptcha::get - Rust
pub struct get_captcha;

Trait Implementations§

source§

impl HttpServiceFactory for get_captcha

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +get_captcha in mcaptcha::api::v1::mcaptcha::get - Rust
pub struct get_captcha;

Trait Implementations§

source§

impl HttpServiceFactory for get_captcha

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/index.html b/mcaptcha/api/v1/mcaptcha/index.html index 28a72d93..5635b7a3 100644 --- a/mcaptcha/api/v1/mcaptcha/index.html +++ b/mcaptcha/api/v1/mcaptcha/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/routes/index.html b/mcaptcha/api/v1/mcaptcha/routes/index.html index 0da8a19a..fbca812b 100644 --- a/mcaptcha/api/v1/mcaptcha/routes/index.html +++ b/mcaptcha/api/v1/mcaptcha/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html b/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html index b5c88937..7f1ab463 100644 --- a/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html +++ b/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html @@ -1,4 +1,4 @@ -Captcha in mcaptcha::api::v1::mcaptcha::routes - Rust
pub struct Captcha {
+Captcha in mcaptcha::api::v1::mcaptcha::routes - Rust
pub struct Captcha {
     pub create: &'static str,
     pub update: &'static str,
     pub get: &'static str,
@@ -6,7 +6,7 @@
     pub update_key: &'static str,
     pub easy: Easy,
     pub stats: Stats,
-}

Fields§

§create: &'static str§update: &'static str§get: &'static str§delete: &'static str§update_key: &'static str§easy: Easy§stats: Stats

Implementations§

source§

impl Captcha

source

pub const fn new() -> Self

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§create: &'static str§update: &'static str§get: &'static str§delete: &'static str§update_key: &'static str§easy: Easy§stats: Stats

Implementations§

source§

impl Captcha

source

pub const fn new() -> Self

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/stats/constant.FIELDS.html b/mcaptcha/api/v1/mcaptcha/stats/constant.FIELDS.html index f82d1e31..bd138e88 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/constant.FIELDS.html +++ b/mcaptcha/api/v1/mcaptcha/stats/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::mcaptcha::stats - Rust

Constant mcaptcha::api::v1::mcaptcha::stats::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::mcaptcha::stats - Rust

Constant mcaptcha::api::v1::mcaptcha::stats::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/enum.__Field.html b/mcaptcha/api/v1/mcaptcha/stats/enum.__Field.html index d0445630..720a77dd 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/enum.__Field.html +++ b/mcaptcha/api/v1/mcaptcha/stats/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::mcaptcha::stats - Rust
enum __Field {
+__Field in mcaptcha::api::v1::mcaptcha::stats - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/stats/fn.get.html b/mcaptcha/api/v1/mcaptcha/stats/fn.get.html index b002c1cc..25cd0aaa 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/fn.get.html +++ b/mcaptcha/api/v1/mcaptcha/stats/fn.get.html @@ -1,4 +1,4 @@ -get in mcaptcha::api::v1::mcaptcha::stats - Rust

Function mcaptcha::api::v1::mcaptcha::stats::get

source ·
pub async fn get(
+get in mcaptcha::api::v1::mcaptcha::stats - Rust

Function mcaptcha::api::v1::mcaptcha::stats::get

source ·
pub async fn get(
     payload: Json<StatsPayload>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/stats/index.html b/mcaptcha/api/v1/mcaptcha/stats/index.html
index 3648ae19..4d8eab74 100644
--- a/mcaptcha/api/v1/mcaptcha/stats/index.html
+++ b/mcaptcha/api/v1/mcaptcha/stats/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::stats - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::stats - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/routes/index.html b/mcaptcha/api/v1/mcaptcha/stats/routes/index.html index 4cdce19a..c8ac4a0d 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/routes/index.html +++ b/mcaptcha/api/v1/mcaptcha/stats/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::mcaptcha::stats::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::stats::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html b/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html index b8b3249f..e5910041 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html +++ b/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html @@ -1,6 +1,6 @@ -Stats in mcaptcha::api::v1::mcaptcha::stats::routes - Rust
pub struct Stats {
+Stats in mcaptcha::api::v1::mcaptcha::stats::routes - Rust
pub struct Stats {
     pub get: &'static str,
-}

Fields§

§get: &'static str

Implementations§

source§

impl Stats

source

pub const fn new() -> Self

Auto Trait Implementations§

§

impl RefUnwindSafe for Stats

§

impl Send for Stats

§

impl Sync for Stats

§

impl Unpin for Stats

§

impl UnwindSafe for Stats

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§get: &'static str

Implementations§

source§

impl Stats

source

pub const fn new() -> Self

Auto Trait Implementations§

§

impl RefUnwindSafe for Stats

§

impl Send for Stats

§

impl Sync for Stats

§

impl Unpin for Stats

§

impl UnwindSafe for Stats

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html b/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html index 31e08e5b..34179e28 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html @@ -1,7 +1,7 @@ -StatsPayload in mcaptcha::api::v1::mcaptcha::stats - Rust
pub struct StatsPayload {
+StatsPayload in mcaptcha::api::v1::mcaptcha::stats - Rust
pub struct StatsPayload {
     pub key: String,
-}

Fields§

§key: String

Trait Implementations§

source§

impl Clone for StatsPayload

source§

fn clone(&self) -> StatsPayload

Returns a copy of 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 StatsPayload

source§

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

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

impl<'de> Deserialize<'de> for StatsPayload

source§

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

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

impl Serialize for StatsPayload

source§

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

Fields§

§key: String

Trait Implementations§

source§

impl Clone for StatsPayload

source§

fn clone(&self) -> StatsPayload

Returns a copy of 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 StatsPayload

source§

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

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

impl<'de> Deserialize<'de> for StatsPayload

source§

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

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

impl Serialize for StatsPayload

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.__FieldVisitor.html b/mcaptcha/api/v1/mcaptcha/stats/struct.__FieldVisitor.html index bb197f99..e92587a9 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::mcaptcha::stats - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::mcaptcha::stats - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.__Visitor.html b/mcaptcha/api/v1/mcaptcha/stats/struct.__Visitor.html index 96d2c3b7..444652d2 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.__Visitor.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::mcaptcha::stats - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::mcaptcha::stats - Rust
struct __Visitor<'de> {
     marker: PhantomData<StatsPayload>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<StatsPayload>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = StatsPayload

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<StatsPayload>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = StatsPayload

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.get.html b/mcaptcha/api/v1/mcaptcha/stats/struct.get.html index fd5fbb39..80011232 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.get.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.get.html @@ -1,4 +1,4 @@ -get in mcaptcha::api::v1::mcaptcha::stats - Rust

Struct mcaptcha::api::v1::mcaptcha::stats::get

source ·
pub struct get;

Trait Implementations§

source§

impl HttpServiceFactory for get

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

§

impl RefUnwindSafe for get

§

impl Send for get

§

impl Sync for get

§

impl Unpin for get

§

impl UnwindSafe for get

Blanket Implementations§

source§

impl<T> Any for Twhere +get in mcaptcha::api::v1::mcaptcha::stats - Rust

Struct mcaptcha::api::v1::mcaptcha::stats::get

source ·
pub struct get;

Trait Implementations§

source§

impl HttpServiceFactory for get

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

§

impl RefUnwindSafe for get

§

impl Send for get

§

impl Sync for get

§

impl Unpin for get

§

impl UnwindSafe for get

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/update/constant.FIELDS.html b/mcaptcha/api/v1/mcaptcha/update/constant.FIELDS.html index 1b8b7dbf..00588aeb 100644 --- a/mcaptcha/api/v1/mcaptcha/update/constant.FIELDS.html +++ b/mcaptcha/api/v1/mcaptcha/update/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::mcaptcha::update - Rust

Constant mcaptcha::api::v1::mcaptcha::update::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::mcaptcha::update - Rust

Constant mcaptcha::api::v1::mcaptcha::update::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/enum.__Field.html b/mcaptcha/api/v1/mcaptcha/update/enum.__Field.html index 40fa4893..2eea82fe 100644 --- a/mcaptcha/api/v1/mcaptcha/update/enum.__Field.html +++ b/mcaptcha/api/v1/mcaptcha/update/enum.__Field.html @@ -1,11 +1,11 @@ -__Field in mcaptcha::api::v1::mcaptcha::update - Rust
enum __Field {
+__Field in mcaptcha::api::v1::mcaptcha::update - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __field3,
     __field4,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__field4

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__field4

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/update/fn.update_captcha.html b/mcaptcha/api/v1/mcaptcha/update/fn.update_captcha.html index 58b4c51b..c175694d 100644 --- a/mcaptcha/api/v1/mcaptcha/update/fn.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/fn.update_captcha.html @@ -1,4 +1,4 @@ -update_captcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub async fn update_captcha(
+update_captcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub async fn update_captcha(
     payload: Json<UpdateCaptcha>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/update/fn.update_key.html b/mcaptcha/api/v1/mcaptcha/update/fn.update_key.html
index 0b67d134..f862d1f8 100644
--- a/mcaptcha/api/v1/mcaptcha/update/fn.update_key.html
+++ b/mcaptcha/api/v1/mcaptcha/update/fn.update_key.html
@@ -1,4 +1,4 @@
-update_key in mcaptcha::api::v1::mcaptcha::update - Rust
pub async fn update_key(
+update_key in mcaptcha::api::v1::mcaptcha::update - Rust
pub async fn update_key(
     payload: Json<MCaptchaDetails>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/mcaptcha/update/index.html b/mcaptcha/api/v1/mcaptcha/update/index.html
index 2e55ecc9..e5da8fbe 100644
--- a/mcaptcha/api/v1/mcaptcha/update/index.html
+++ b/mcaptcha/api/v1/mcaptcha/update/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::update - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::update - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html b/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html index ed3f5dae..cb344e4a 100644 --- a/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html @@ -1,4 +1,4 @@ -update_captcha in mcaptcha::api::v1::mcaptcha::update::runner - Rust
pub async fn update_captcha(
+update_captcha in mcaptcha::api::v1::mcaptcha::update::runner - Rust
pub async fn update_captcha(
     payload: &UpdateCaptcha,
     data: &AppData,
     username: &str
diff --git a/mcaptcha/api/v1/mcaptcha/update/runner/index.html b/mcaptcha/api/v1/mcaptcha/update/runner/index.html
index bb4bd267..5e3a19fa 100644
--- a/mcaptcha/api/v1/mcaptcha/update/runner/index.html
+++ b/mcaptcha/api/v1/mcaptcha/update/runner/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::mcaptcha::update::runner - Rust
\ No newline at end of file +mcaptcha::api::v1::mcaptcha::update::runner - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html b/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html index a3e2b179..a1e17b74 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html @@ -1,11 +1,11 @@ -UpdateCaptcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct UpdateCaptcha {
+UpdateCaptcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct UpdateCaptcha {
     pub levels: Vec<Level>,
     pub duration: u32,
     pub description: String,
     pub key: String,
     pub publish_benchmarks: bool,
-}

Fields§

§levels: Vec<Level>§duration: u32§description: String§key: String§publish_benchmarks: bool

Trait Implementations§

source§

impl<'de> Deserialize<'de> for UpdateCaptcha

source§

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

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

impl Serialize for UpdateCaptcha

source§

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

Fields§

§levels: Vec<Level>§duration: u32§description: String§key: String§publish_benchmarks: bool

Trait Implementations§

source§

impl<'de> Deserialize<'de> for UpdateCaptcha

source§

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

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

impl Serialize for UpdateCaptcha

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.__FieldVisitor.html b/mcaptcha/api/v1/mcaptcha/update/struct.__FieldVisitor.html index 1cf0e690..69dea3e1 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::mcaptcha::update - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::mcaptcha::update - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.__Visitor.html b/mcaptcha/api/v1/mcaptcha/update/struct.__Visitor.html index 3762f732..69972213 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.__Visitor.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::mcaptcha::update - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::mcaptcha::update - Rust
struct __Visitor<'de> {
     marker: PhantomData<UpdateCaptcha>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<UpdateCaptcha>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = UpdateCaptcha

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<UpdateCaptcha>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = UpdateCaptcha

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html b/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html index 189b49c7..d850bf0d 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html @@ -1,4 +1,4 @@ -update_captcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_captcha;

Trait Implementations§

source§

impl HttpServiceFactory for update_captcha

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +update_captcha in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_captcha;

Trait Implementations§

source§

impl HttpServiceFactory for update_captcha

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html b/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html index bce5ca3a..49f83975 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html @@ -1,4 +1,4 @@ -update_key in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_key;

Trait Implementations§

source§

impl HttpServiceFactory for update_key

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +update_key in mcaptcha::api::v1::mcaptcha::update - Rust
pub struct update_key;

Trait Implementations§

source§

impl HttpServiceFactory for update_key

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/constant.FIELDS.html b/mcaptcha/api/v1/meta/constant.FIELDS.html index 690ea0fc..24904f1a 100644 --- a/mcaptcha/api/v1/meta/constant.FIELDS.html +++ b/mcaptcha/api/v1/meta/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::meta - Rust

Constant mcaptcha::api::v1::meta::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::meta - Rust

Constant mcaptcha::api::v1::meta::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html b/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html index 956c53e8..8ad7c783 100644 --- a/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html +++ b/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html @@ -1,11 +1,11 @@ -BuildDetailsBuilderError in mcaptcha::api::v1::meta - Rust
#[non_exhaustive]
+BuildDetailsBuilderError in mcaptcha::api::v1::meta - Rust
#[non_exhaustive]
 pub enum BuildDetailsBuilderError {
     UninitializedField(&'static str),
     ValidationError(String),
 }
Expand description

Error type for BuildDetailsBuilder

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

§

ValidationError(String)

Custom validation error

-

Trait Implementations§

source§

impl Debug for BuildDetailsBuilderError

source§

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

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

impl Display for BuildDetailsBuilderError

source§

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

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

impl Error for BuildDetailsBuilderError

1.30.0 · 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, demand: &mut Demand<'a>)

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

impl From<String> for BuildDetailsBuilderError

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UninitializedFieldError> for BuildDetailsBuilderError

source§

fn from(s: UninitializedFieldError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for BuildDetailsBuilderError

source§

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

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

impl Display for BuildDetailsBuilderError

source§

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

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

impl Error for BuildDetailsBuilderError

1.30.0 · 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, demand: &mut Demand<'a>)

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

impl From<String> for BuildDetailsBuilderError

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UninitializedFieldError> for BuildDetailsBuilderError

source§

fn from(s: UninitializedFieldError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/enum.HealthBuilderError.html b/mcaptcha/api/v1/meta/enum.HealthBuilderError.html index aac7f4c3..205927c2 100644 --- a/mcaptcha/api/v1/meta/enum.HealthBuilderError.html +++ b/mcaptcha/api/v1/meta/enum.HealthBuilderError.html @@ -1,11 +1,11 @@ -HealthBuilderError in mcaptcha::api::v1::meta - Rust
#[non_exhaustive]
+HealthBuilderError in mcaptcha::api::v1::meta - Rust
#[non_exhaustive]
 pub enum HealthBuilderError {
     UninitializedField(&'static str),
     ValidationError(String),
 }
Expand description

Error type for HealthBuilder

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

§

ValidationError(String)

Custom validation error

-

Trait Implementations§

source§

impl Debug for HealthBuilderError

source§

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

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

impl Display for HealthBuilderError

source§

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

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

impl Error for HealthBuilderError

1.30.0 · 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, demand: &mut Demand<'a>)

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

impl From<String> for HealthBuilderError

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UninitializedFieldError> for HealthBuilderError

source§

fn from(s: UninitializedFieldError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for HealthBuilderError

source§

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

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

impl Display for HealthBuilderError

source§

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

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

impl Error for HealthBuilderError

1.30.0 · 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, demand: &mut Demand<'a>)

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

impl From<String> for HealthBuilderError

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UninitializedFieldError> for HealthBuilderError

source§

fn from(s: UninitializedFieldError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/enum.__Field.html b/mcaptcha/api/v1/meta/enum.__Field.html index d12deeb0..23f6b9b6 100644 --- a/mcaptcha/api/v1/meta/enum.__Field.html +++ b/mcaptcha/api/v1/meta/enum.__Field.html @@ -1,8 +1,8 @@ -__Field in mcaptcha::api::v1::meta - Rust

Enum mcaptcha::api::v1::meta::__Field

source ·
enum __Field {
+__Field in mcaptcha::api::v1::meta - Rust

Enum mcaptcha::api::v1::meta::__Field

source ·
enum __Field {
     __field0,
     __field1,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/meta/fn.build_details.html b/mcaptcha/api/v1/meta/fn.build_details.html index dd39f9eb..d603f584 100644 --- a/mcaptcha/api/v1/meta/fn.build_details.html +++ b/mcaptcha/api/v1/meta/fn.build_details.html @@ -1,2 +1,2 @@ -build_details in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::build_details

source ·
async fn build_details() -> impl Responder
Expand description

emits build details of the bninary

+build_details in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::build_details

source ·
async fn build_details() -> impl Responder
Expand description

emits build details of the bninary

\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/fn.health.html b/mcaptcha/api/v1/meta/fn.health.html index 86f4e138..a518d62c 100644 --- a/mcaptcha/api/v1/meta/fn.health.html +++ b/mcaptcha/api/v1/meta/fn.health.html @@ -1,2 +1,2 @@ -health in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::health

source ·
async fn health(data: AppData) -> impl Responder
Expand description

checks all components of the system

+health in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::health

source ·
async fn health(data: AppData) -> impl Responder
Expand description

checks all components of the system

\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/fn.services.html b/mcaptcha/api/v1/meta/fn.services.html index eca3f8cb..90f521ae 100644 --- a/mcaptcha/api/v1/meta/fn.services.html +++ b/mcaptcha/api/v1/meta/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::meta - Rust

Function mcaptcha::api::v1::meta::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/index.html b/mcaptcha/api/v1/meta/index.html index 94ab7cf2..8744e964 100644 --- a/mcaptcha/api/v1/meta/index.html +++ b/mcaptcha/api/v1/meta/index.html @@ -1 +1 @@ -mcaptcha::api::v1::meta - Rust

Module mcaptcha::api::v1::meta

source ·

Modules

Structs

Enums

Constants

Functions

\ No newline at end of file +mcaptcha::api::v1::meta - Rust

Module mcaptcha::api::v1::meta

source ·

Modules

Structs

Enums

Constants

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/routes/index.html b/mcaptcha/api/v1/meta/routes/index.html index dd8e583c..0bb59956 100644 --- a/mcaptcha/api/v1/meta/routes/index.html +++ b/mcaptcha/api/v1/meta/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::meta::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::meta::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/meta/routes/struct.Meta.html b/mcaptcha/api/v1/meta/routes/struct.Meta.html index 9074b403..7d442257 100644 --- a/mcaptcha/api/v1/meta/routes/struct.Meta.html +++ b/mcaptcha/api/v1/meta/routes/struct.Meta.html @@ -1,7 +1,7 @@ -Meta in mcaptcha::api::v1::meta::routes - Rust

Struct mcaptcha::api::v1::meta::routes::Meta

source ·
pub struct Meta {
+Meta in mcaptcha::api::v1::meta::routes - Rust

Struct mcaptcha::api::v1::meta::routes::Meta

source ·
pub struct Meta {
     pub build_details: &'static str,
     pub health: &'static str,
-}

Fields§

§build_details: &'static str§health: &'static str

Implementations§

source§

impl Meta

source

pub const fn new() -> Self

Auto Trait Implementations§

§

impl RefUnwindSafe for Meta

§

impl Send for Meta

§

impl Sync for Meta

§

impl Unpin for Meta

§

impl UnwindSafe for Meta

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§build_details: &'static str§health: &'static str

Implementations§

source§

impl Meta

source

pub const fn new() -> Self

Auto Trait Implementations§

§

impl RefUnwindSafe for Meta

§

impl Send for Meta

§

impl Sync for Meta

§

impl Unpin for Meta

§

impl UnwindSafe for Meta

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/struct.BuildDetails.html b/mcaptcha/api/v1/meta/struct.BuildDetails.html index 6cb0ff0a..9d97187a 100644 --- a/mcaptcha/api/v1/meta/struct.BuildDetails.html +++ b/mcaptcha/api/v1/meta/struct.BuildDetails.html @@ -1,8 +1,8 @@ -BuildDetails in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::BuildDetails

source ·
pub struct BuildDetails {
+BuildDetails in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::BuildDetails

source ·
pub struct BuildDetails {
     pub version: &'static str,
     pub git_commit_hash: &'static str,
-}

Fields§

§version: &'static str§git_commit_hash: &'static str

Trait Implementations§

source§

impl Clone for BuildDetails

source§

fn clone(&self) -> BuildDetails

Returns a copy of 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 BuildDetails

source§

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

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

impl Deserialize<'static> for BuildDetails

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'static>,

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

impl Serialize for BuildDetails

source§

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

Fields§

§version: &'static str§git_commit_hash: &'static str

Trait Implementations§

source§

impl Clone for BuildDetails

source§

fn clone(&self) -> BuildDetails

Returns a copy of 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 BuildDetails

source§

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

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

impl Deserialize<'static> for BuildDetails

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'static>,

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

impl Serialize for BuildDetails

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html b/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html index e725f85b..9d347260 100644 --- a/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html +++ b/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html @@ -1,12 +1,12 @@ -BuildDetailsBuilder in mcaptcha::api::v1::meta - Rust
pub struct BuildDetailsBuilder {
+BuildDetailsBuilder in mcaptcha::api::v1::meta - Rust
pub struct BuildDetailsBuilder {
     version: Option<&'static str>,
     git_commit_hash: Option<&'static str>,
 }
Expand description

Builder for BuildDetails.

-

Fields§

§version: Option<&'static str>§git_commit_hash: Option<&'static str>

Implementations§

source§

impl BuildDetailsBuilder

source

pub fn version(&mut self, value: &'static str) -> &mut Self

source

pub fn git_commit_hash(&mut self, value: &'static str) -> &mut Self

source

pub fn build(&self) -> Result<BuildDetails, BuildDetailsBuilderError>

Builds a new BuildDetails.

+

Fields§

§version: Option<&'static str>§git_commit_hash: Option<&'static str>

Implementations§

source§

impl BuildDetailsBuilder

source

pub fn version(&mut self, value: &'static str) -> &mut Self

source

pub fn git_commit_hash(&mut self, value: &'static str) -> &mut Self

source

pub fn build(&self) -> Result<BuildDetails, BuildDetailsBuilderError>

Builds a new BuildDetails.

Errors

If a required field has not been initialized.

-
source

fn create_empty() -> Self

Create an empty builder, with all fields set to None or PhantomData.

-

Trait Implementations§

source§

impl Clone for BuildDetailsBuilder

source§

fn clone(&self) -> BuildDetailsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Default for BuildDetailsBuilder

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

fn create_empty() -> Self

Create an empty builder, with all fields set to None or PhantomData.

+

Trait Implementations§

source§

impl Clone for BuildDetailsBuilder

source§

fn clone(&self) -> BuildDetailsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Default for BuildDetailsBuilder

source§

fn default() -> Self

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/struct.Health.html b/mcaptcha/api/v1/meta/struct.Health.html index 420d58f4..35b19c49 100644 --- a/mcaptcha/api/v1/meta/struct.Health.html +++ b/mcaptcha/api/v1/meta/struct.Health.html @@ -1,9 +1,9 @@ -Health in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::Health

source ·
pub struct Health {
+Health in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::Health

source ·
pub struct Health {
     db: bool,
     redis: Option<bool>,
 }
Expand description

Health check return datatype

-

Fields§

§db: bool§redis: Option<bool>

Implementations§

Trait Implementations§

source§

impl Clone for Health

source§

fn clone(&self) -> Health

Returns a copy of 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 Health

source§

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

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

impl<'de> Deserialize<'de> for Health

source§

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

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

impl Serialize for Health

source§

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

Fields§

§db: bool§redis: Option<bool>

Implementations§

Trait Implementations§

source§

impl Clone for Health

source§

fn clone(&self) -> Health

Returns a copy of 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 Health

source§

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

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

impl<'de> Deserialize<'de> for Health

source§

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

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

impl Serialize for Health

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/meta/struct.HealthBuilder.html b/mcaptcha/api/v1/meta/struct.HealthBuilder.html index d34a6542..ba48943a 100644 --- a/mcaptcha/api/v1/meta/struct.HealthBuilder.html +++ b/mcaptcha/api/v1/meta/struct.HealthBuilder.html @@ -1,12 +1,12 @@ -HealthBuilder in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::HealthBuilder

source ·
pub struct HealthBuilder {
+HealthBuilder in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::HealthBuilder

source ·
pub struct HealthBuilder {
     db: Option<bool>,
     redis: Option<Option<bool>>,
 }
Expand description

Builder for Health.

-

Fields§

§db: Option<bool>§redis: Option<Option<bool>>

Implementations§

source§

impl HealthBuilder

source

pub fn db(&mut self, value: bool) -> &mut Self

source

pub fn redis(&mut self, value: Option<bool>) -> &mut Self

source

pub fn build(&self) -> Result<Health, HealthBuilderError>

Builds a new Health.

+

Fields§

§db: Option<bool>§redis: Option<Option<bool>>

Implementations§

source§

impl HealthBuilder

source

pub fn db(&mut self, value: bool) -> &mut Self

source

pub fn redis(&mut self, value: Option<bool>) -> &mut Self

source

pub fn build(&self) -> Result<Health, HealthBuilderError>

Builds a new Health.

Errors

If a required field has not been initialized.

-
source

fn create_empty() -> Self

Create an empty builder, with all fields set to None or PhantomData.

-

Trait Implementations§

source§

impl Clone for HealthBuilder

source§

fn clone(&self) -> HealthBuilder

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Default for HealthBuilder

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

fn create_empty() -> Self

Create an empty builder, with all fields set to None or PhantomData.

+

Trait Implementations§

source§

impl Clone for HealthBuilder

source§

fn clone(&self) -> HealthBuilder

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Default for HealthBuilder

source§

fn default() -> Self

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/struct.__FieldVisitor.html b/mcaptcha/api/v1/meta/struct.__FieldVisitor.html index 4a72c838..f46618b6 100644 --- a/mcaptcha/api/v1/meta/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/meta/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::meta - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::meta - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/meta/struct.__Visitor.html b/mcaptcha/api/v1/meta/struct.__Visitor.html index 5e796384..c806c06d 100644 --- a/mcaptcha/api/v1/meta/struct.__Visitor.html +++ b/mcaptcha/api/v1/meta/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::__Visitor

source ·
struct __Visitor {
+__Visitor in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::__Visitor

source ·
struct __Visitor {
     marker: PhantomData<BuildDetails>,
     lifetime: PhantomData<&'static ()>,
-}

Fields§

§marker: PhantomData<BuildDetails>§lifetime: PhantomData<&'static ()>

Trait Implementations§

source§

impl Visitor<'static> for __Visitor

§

type Value = BuildDetails

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'static>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<BuildDetails>§lifetime: PhantomData<&'static ()>

Trait Implementations§

source§

impl Visitor<'static> for __Visitor

§

type Value = BuildDetails

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'static>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'static>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/meta/struct.build_details.html b/mcaptcha/api/v1/meta/struct.build_details.html index de4e27a4..2969e858 100644 --- a/mcaptcha/api/v1/meta/struct.build_details.html +++ b/mcaptcha/api/v1/meta/struct.build_details.html @@ -1,5 +1,5 @@ -build_details in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::build_details

source ·
pub struct build_details;
Expand description

emits build details of the bninary

-

Trait Implementations§

source§

impl HttpServiceFactory for build_details

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +build_details in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::build_details

source ·
pub struct build_details;
Expand description

emits build details of the bninary

+

Trait Implementations§

source§

impl HttpServiceFactory for build_details

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/meta/struct.health.html b/mcaptcha/api/v1/meta/struct.health.html index e54def84..26c23349 100644 --- a/mcaptcha/api/v1/meta/struct.health.html +++ b/mcaptcha/api/v1/meta/struct.health.html @@ -1,5 +1,5 @@ -health in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::health

source ·
pub struct health;
Expand description

checks all components of the system

-

Trait Implementations§

source§

impl HttpServiceFactory for health

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +health in mcaptcha::api::v1::meta - Rust

Struct mcaptcha::api::v1::meta::health

source ·
pub struct health;
Expand description

checks all components of the system

+

Trait Implementations§

source§

impl HttpServiceFactory for health

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/notifications/add/constant.FIELDS.html b/mcaptcha/api/v1/notifications/add/constant.FIELDS.html index 545bebe0..0c5acf76 100644 --- a/mcaptcha/api/v1/notifications/add/constant.FIELDS.html +++ b/mcaptcha/api/v1/notifications/add/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::notifications::add - Rust

Constant mcaptcha::api::v1::notifications::add::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::notifications::add - Rust

Constant mcaptcha::api::v1::notifications::add::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/enum.__Field.html b/mcaptcha/api/v1/notifications/add/enum.__Field.html index 32b51fb6..971556c1 100644 --- a/mcaptcha/api/v1/notifications/add/enum.__Field.html +++ b/mcaptcha/api/v1/notifications/add/enum.__Field.html @@ -1,9 +1,9 @@ -__Field in mcaptcha::api::v1::notifications::add - Rust
enum __Field {
+__Field in mcaptcha::api::v1::notifications::add - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/notifications/add/fn.add_notification.html b/mcaptcha/api/v1/notifications/add/fn.add_notification.html index 2f39d073..0ca29c65 100644 --- a/mcaptcha/api/v1/notifications/add/fn.add_notification.html +++ b/mcaptcha/api/v1/notifications/add/fn.add_notification.html @@ -1,4 +1,4 @@ -add_notification in mcaptcha::api::v1::notifications::add - Rust
pub async fn add_notification(
+add_notification in mcaptcha::api::v1::notifications::add - Rust
pub async fn add_notification(
     payload: Json<AddNotificationRequest>,
     data: AppData,
     id: Identity
diff --git a/mcaptcha/api/v1/notifications/add/index.html b/mcaptcha/api/v1/notifications/add/index.html
index cf763ddd..50f64af3 100644
--- a/mcaptcha/api/v1/notifications/add/index.html
+++ b/mcaptcha/api/v1/notifications/add/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::notifications::add - Rust

Module mcaptcha::api::v1::notifications::add

source ·

Structs

Enums

Constants

Functions

\ No newline at end of file +mcaptcha::api::v1::notifications::add - Rust

Module mcaptcha::api::v1::notifications::add

source ·

Structs

Enums

Constants

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html b/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html index f76e9012..88e602d5 100644 --- a/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html +++ b/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html @@ -1,12 +1,12 @@ -AddNotificationRequest in mcaptcha::api::v1::notifications::add - Rust
pub struct AddNotificationRequest {
+AddNotificationRequest in mcaptcha::api::v1::notifications::add - Rust
pub struct AddNotificationRequest {
     pub to: String,
     pub heading: String,
     pub message: String,
-}

Fields§

§to: String§heading: String§message: String

Trait Implementations§

source§

impl Clone for AddNotificationRequest

source§

fn clone(&self) -> AddNotificationRequest

Returns a copy of 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 AddNotificationRequest

source§

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

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

impl Default for AddNotificationRequest

source§

fn default() -> AddNotificationRequest

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

impl<'de> Deserialize<'de> for AddNotificationRequest

source§

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

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

impl PartialEq<AddNotificationRequest> for AddNotificationRequest

source§

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

This method tests for self and other values to be equal, and is used +}

Fields§

§to: String§heading: String§message: String

Trait Implementations§

source§

impl Clone for AddNotificationRequest

source§

fn clone(&self) -> AddNotificationRequest

Returns a copy of 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 AddNotificationRequest

source§

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

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

impl Default for AddNotificationRequest

source§

fn default() -> AddNotificationRequest

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

impl<'de> Deserialize<'de> for AddNotificationRequest

source§

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

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

impl PartialEq<AddNotificationRequest> for AddNotificationRequest

source§

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

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

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

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

impl Serialize for AddNotificationRequest

source§

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

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

impl StructuralPartialEq for AddNotificationRequest

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for AddNotificationRequest

source§

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

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

impl StructuralPartialEq for AddNotificationRequest

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/notifications/add/struct.__FieldVisitor.html b/mcaptcha/api/v1/notifications/add/struct.__FieldVisitor.html index 7cb66019..0e9dec08 100644 --- a/mcaptcha/api/v1/notifications/add/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/notifications/add/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::notifications::add - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::notifications::add - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/notifications/add/struct.__Visitor.html b/mcaptcha/api/v1/notifications/add/struct.__Visitor.html index e6de3727..5b3c01f2 100644 --- a/mcaptcha/api/v1/notifications/add/struct.__Visitor.html +++ b/mcaptcha/api/v1/notifications/add/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::notifications::add - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::notifications::add - Rust
struct __Visitor<'de> {
     marker: PhantomData<AddNotificationRequest>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<AddNotificationRequest>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = AddNotificationRequest

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<AddNotificationRequest>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = AddNotificationRequest

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/notifications/add/struct.add_notification.html b/mcaptcha/api/v1/notifications/add/struct.add_notification.html index f812bf51..50bb3072 100644 --- a/mcaptcha/api/v1/notifications/add/struct.add_notification.html +++ b/mcaptcha/api/v1/notifications/add/struct.add_notification.html @@ -1,5 +1,5 @@ -add_notification in mcaptcha::api::v1::notifications::add - Rust
pub struct add_notification;
Expand description

route handler that adds a notification message

-

Trait Implementations§

source§

impl HttpServiceFactory for add_notification

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +add_notification in mcaptcha::api::v1::notifications::add - Rust
pub struct add_notification;
Expand description

route handler that adds a notification message

+

Trait Implementations§

source§

impl HttpServiceFactory for add_notification

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/notifications/fn.services.html b/mcaptcha/api/v1/notifications/fn.services.html index 76261e72..a73fc6bc 100644 --- a/mcaptcha/api/v1/notifications/fn.services.html +++ b/mcaptcha/api/v1/notifications/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::notifications - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::notifications - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/constant.FIELDS.html b/mcaptcha/api/v1/notifications/get/constant.FIELDS.html index 4b33aafe..d173f688 100644 --- a/mcaptcha/api/v1/notifications/get/constant.FIELDS.html +++ b/mcaptcha/api/v1/notifications/get/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::notifications::get - Rust

Constant mcaptcha::api::v1::notifications::get::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::notifications::get - Rust

Constant mcaptcha::api::v1::notifications::get::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/enum.__Field.html b/mcaptcha/api/v1/notifications/get/enum.__Field.html index 5dcef0f1..9e367142 100644 --- a/mcaptcha/api/v1/notifications/get/enum.__Field.html +++ b/mcaptcha/api/v1/notifications/get/enum.__Field.html @@ -1,11 +1,11 @@ -__Field in mcaptcha::api::v1::notifications::get - Rust
enum __Field {
+__Field in mcaptcha::api::v1::notifications::get - Rust
enum __Field {
     __field0,
     __field1,
     __field2,
     __field3,
     __field4,
     __ignore,
-}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__field4

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__field1

§

__field2

§

__field3

§

__field4

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/notifications/get/fn.get_notification.html b/mcaptcha/api/v1/notifications/get/fn.get_notification.html index b081b7ef..0aff9c36 100644 --- a/mcaptcha/api/v1/notifications/get/fn.get_notification.html +++ b/mcaptcha/api/v1/notifications/get/fn.get_notification.html @@ -1,4 +1,4 @@ -get_notification in mcaptcha::api::v1::notifications::get - Rust
pub async fn get_notification(
+get_notification in mcaptcha::api::v1::notifications::get - Rust
pub async fn get_notification(
     data: AppData,
     id: Identity
 ) -> Result<impl Responder, ServiceError>
Expand description

route handler that gets all unread notifications

diff --git a/mcaptcha/api/v1/notifications/get/index.html b/mcaptcha/api/v1/notifications/get/index.html index f1d80acf..ace36d18 100644 --- a/mcaptcha/api/v1/notifications/get/index.html +++ b/mcaptcha/api/v1/notifications/get/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications::get - Rust

Module mcaptcha::api::v1::notifications::get

source ·

Structs

Enums

Constants

Functions

\ No newline at end of file +mcaptcha::api::v1::notifications::get - Rust

Module mcaptcha::api::v1::notifications::get

source ·

Structs

Enums

Constants

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html index 5036d5b1..e30dba11 100644 --- a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html +++ b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html @@ -1,14 +1,14 @@ -NotificationResp in mcaptcha::api::v1::notifications::get - Rust
pub struct NotificationResp {
+NotificationResp in mcaptcha::api::v1::notifications::get - Rust
pub struct NotificationResp {
     pub name: String,
     pub heading: String,
     pub message: String,
     pub received: i64,
     pub id: i32,
-}

Fields§

§name: String§heading: String§message: String§received: i64§id: i32

Implementations§

Trait Implementations§

source§

impl Clone for NotificationResp

source§

fn clone(&self) -> NotificationResp

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Default for NotificationResp

source§

fn default() -> NotificationResp

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

impl<'de> Deserialize<'de> for NotificationResp

source§

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

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

impl From<Notification> for NotificationResp

source§

fn from(n: Notification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<NotificationResp> for NotificationResp

source§

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

This method tests for self and other values to be equal, and is used +}

Fields§

§name: String§heading: String§message: String§received: i64§id: i32

Implementations§

Trait Implementations§

source§

impl Clone for NotificationResp

source§

fn clone(&self) -> NotificationResp

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Default for NotificationResp

source§

fn default() -> NotificationResp

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

impl<'de> Deserialize<'de> for NotificationResp

source§

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

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

impl From<Notification> for NotificationResp

source§

fn from(n: Notification) -> Self

Converts to this type from the input type.
source§

impl PartialEq<NotificationResp> for NotificationResp

source§

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

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

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

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

impl Serialize for NotificationResp

source§

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

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

impl StructuralPartialEq for NotificationResp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl Serialize for NotificationResp

source§

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

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

impl StructuralPartialEq for NotificationResp

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/notifications/get/struct.__FieldVisitor.html b/mcaptcha/api/v1/notifications/get/struct.__FieldVisitor.html index e62f3cb6..173a0a6a 100644 --- a/mcaptcha/api/v1/notifications/get/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/notifications/get/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::notifications::get - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::notifications::get - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/notifications/get/struct.__Visitor.html b/mcaptcha/api/v1/notifications/get/struct.__Visitor.html index 485c3ad4..c2e2abde 100644 --- a/mcaptcha/api/v1/notifications/get/struct.__Visitor.html +++ b/mcaptcha/api/v1/notifications/get/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::notifications::get - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::notifications::get - Rust
struct __Visitor<'de> {
     marker: PhantomData<NotificationResp>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<NotificationResp>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = NotificationResp

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<NotificationResp>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = NotificationResp

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/notifications/get/struct.get_notification.html b/mcaptcha/api/v1/notifications/get/struct.get_notification.html index c9cdf95d..a001564c 100644 --- a/mcaptcha/api/v1/notifications/get/struct.get_notification.html +++ b/mcaptcha/api/v1/notifications/get/struct.get_notification.html @@ -1,5 +1,5 @@ -get_notification in mcaptcha::api::v1::notifications::get - Rust
pub struct get_notification;
Expand description

route handler that gets all unread notifications

-

Trait Implementations§

source§

impl HttpServiceFactory for get_notification

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +get_notification in mcaptcha::api::v1::notifications::get - Rust
pub struct get_notification;
Expand description

route handler that gets all unread notifications

+

Trait Implementations§

source§

impl HttpServiceFactory for get_notification

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/notifications/index.html b/mcaptcha/api/v1/notifications/index.html index 9cea1168..c1e56d89 100644 --- a/mcaptcha/api/v1/notifications/index.html +++ b/mcaptcha/api/v1/notifications/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications - Rust
\ No newline at end of file +mcaptcha::api::v1::notifications - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/mark_read/constant.FIELDS.html b/mcaptcha/api/v1/notifications/mark_read/constant.FIELDS.html index 148525a7..6c698256 100644 --- a/mcaptcha/api/v1/notifications/mark_read/constant.FIELDS.html +++ b/mcaptcha/api/v1/notifications/mark_read/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::notifications::mark_read - Rust
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::notifications::mark_read - Rust
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/mark_read/enum.__Field.html b/mcaptcha/api/v1/notifications/mark_read/enum.__Field.html index 84dba8c0..b3c33409 100644 --- a/mcaptcha/api/v1/notifications/mark_read/enum.__Field.html +++ b/mcaptcha/api/v1/notifications/mark_read/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::notifications::mark_read - Rust
enum __Field {
+__Field in mcaptcha::api::v1::notifications::mark_read - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/notifications/mark_read/fn.mark_read.html b/mcaptcha/api/v1/notifications/mark_read/fn.mark_read.html index 04f9f1b1..c11b77e4 100644 --- a/mcaptcha/api/v1/notifications/mark_read/fn.mark_read.html +++ b/mcaptcha/api/v1/notifications/mark_read/fn.mark_read.html @@ -1,4 +1,4 @@ -mark_read in mcaptcha::api::v1::notifications::mark_read - Rust
pub async fn mark_read(
+mark_read in mcaptcha::api::v1::notifications::mark_read - Rust
pub async fn mark_read(
     data: AppData,
     payload: Json<MarkReadReq>,
     id: Identity
diff --git a/mcaptcha/api/v1/notifications/mark_read/index.html b/mcaptcha/api/v1/notifications/mark_read/index.html
index c9a0156a..a1bdc6ea 100644
--- a/mcaptcha/api/v1/notifications/mark_read/index.html
+++ b/mcaptcha/api/v1/notifications/mark_read/index.html
@@ -1 +1 @@
-mcaptcha::api::v1::notifications::mark_read - Rust

Structs

Enums

Constants

Functions

  • route handler that marks a notification read
\ No newline at end of file +mcaptcha::api::v1::notifications::mark_read - Rust

Structs

Enums

Constants

Functions

  • route handler that marks a notification read
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html b/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html index 98bd856d..e4715625 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html @@ -1,7 +1,7 @@ -MarkReadReq in mcaptcha::api::v1::notifications::mark_read - Rust
pub struct MarkReadReq {
+MarkReadReq in mcaptcha::api::v1::notifications::mark_read - Rust
pub struct MarkReadReq {
     pub id: i32,
-}

Fields§

§id: i32

Trait Implementations§

source§

impl<'de> Deserialize<'de> for MarkReadReq

source§

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

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

impl Serialize for MarkReadReq

source§

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

Fields§

§id: i32

Trait Implementations§

source§

impl<'de> Deserialize<'de> for MarkReadReq

source§

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

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

impl Serialize for MarkReadReq

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/notifications/mark_read/struct.__FieldVisitor.html b/mcaptcha/api/v1/notifications/mark_read/struct.__FieldVisitor.html index 62200108..72e72e84 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::notifications::mark_read - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::notifications::mark_read - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/notifications/mark_read/struct.__Visitor.html b/mcaptcha/api/v1/notifications/mark_read/struct.__Visitor.html index fafe6c42..579b4686 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.__Visitor.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::notifications::mark_read - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::notifications::mark_read - Rust
struct __Visitor<'de> {
     marker: PhantomData<MarkReadReq>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<MarkReadReq>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = MarkReadReq

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<MarkReadReq>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = MarkReadReq

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html b/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html index f4b34a84..3c369bcc 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html @@ -1,5 +1,5 @@ -mark_read in mcaptcha::api::v1::notifications::mark_read - Rust
pub struct mark_read;
Expand description

route handler that marks a notification read

-

Trait Implementations§

source§

impl HttpServiceFactory for mark_read

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +mark_read in mcaptcha::api::v1::notifications::mark_read - Rust
pub struct mark_read;
Expand description

route handler that marks a notification read

+

Trait Implementations§

source§

impl HttpServiceFactory for mark_read

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/notifications/routes/index.html b/mcaptcha/api/v1/notifications/routes/index.html index 5793bde3..dc80d5cc 100644 --- a/mcaptcha/api/v1/notifications/routes/index.html +++ b/mcaptcha/api/v1/notifications/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::notifications::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::notifications::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/routes/struct.Notifications.html b/mcaptcha/api/v1/notifications/routes/struct.Notifications.html index d4e64058..d8428014 100644 --- a/mcaptcha/api/v1/notifications/routes/struct.Notifications.html +++ b/mcaptcha/api/v1/notifications/routes/struct.Notifications.html @@ -1,8 +1,8 @@ -Notifications in mcaptcha::api::v1::notifications::routes - Rust
pub struct Notifications {
+Notifications in mcaptcha::api::v1::notifications::routes - Rust
pub struct Notifications {
     pub add: &'static str,
     pub mark_read: &'static str,
     pub get: &'static str,
-}

Fields§

§add: &'static str§mark_read: &'static str§get: &'static str

Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§add: &'static str§mark_read: &'static str§get: &'static str

Implementations§

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/pow/fn.services.html b/mcaptcha/api/v1/pow/fn.services.html index d2acc0ed..765ee9e0 100644 --- a/mcaptcha/api/v1/pow/fn.services.html +++ b/mcaptcha/api/v1/pow/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::pow - Rust

Function mcaptcha::api::v1::pow::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in mcaptcha::api::v1::pow - Rust

Function mcaptcha::api::v1::pow::services

source ·
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/constant.FIELDS.html b/mcaptcha/api/v1/pow/get_config/constant.FIELDS.html index 1bedcbdd..74dca9da 100644 --- a/mcaptcha/api/v1/pow/get_config/constant.FIELDS.html +++ b/mcaptcha/api/v1/pow/get_config/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::pow::get_config - Rust

Constant mcaptcha::api::v1::pow::get_config::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::pow::get_config - Rust

Constant mcaptcha::api::v1::pow::get_config::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/enum.__Field.html b/mcaptcha/api/v1/pow/get_config/enum.__Field.html index 14f7ba94..a6181d51 100644 --- a/mcaptcha/api/v1/pow/get_config/enum.__Field.html +++ b/mcaptcha/api/v1/pow/get_config/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::pow::get_config - Rust
enum __Field {
+__Field in mcaptcha::api::v1::pow::get_config - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/pow/get_config/fn.get_config.html b/mcaptcha/api/v1/pow/get_config/fn.get_config.html index 9a08ca7a..61412c89 100644 --- a/mcaptcha/api/v1/pow/get_config/fn.get_config.html +++ b/mcaptcha/api/v1/pow/get_config/fn.get_config.html @@ -1,4 +1,4 @@ -get_config in mcaptcha::api::v1::pow::get_config - Rust

Function mcaptcha::api::v1::pow::get_config::get_config

source ·
pub async fn get_config(
+get_config in mcaptcha::api::v1::pow::get_config - Rust

Function mcaptcha::api::v1::pow::get_config::get_config

source ·
pub async fn get_config(
     payload: Json<GetConfigPayload>,
     data: AppData
 ) -> Result<impl Responder, ServiceError>
Expand description

get PoW configuration for an mcaptcha key

diff --git a/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html b/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html index ca8884da..6043852d 100644 --- a/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html +++ b/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html @@ -1,4 +1,4 @@ -init_mcaptcha in mcaptcha::api::v1::pow::get_config - Rust
pub async fn init_mcaptcha(
+init_mcaptcha in mcaptcha::api::v1::pow::get_config - Rust
pub async fn init_mcaptcha(
     data: &AppData,
     key: &str
 ) -> Result<(), ServiceError>
Expand description

Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.

diff --git a/mcaptcha/api/v1/pow/get_config/index.html b/mcaptcha/api/v1/pow/get_config/index.html index 345d3e02..7cb6e12b 100644 --- a/mcaptcha/api/v1/pow/get_config/index.html +++ b/mcaptcha/api/v1/pow/get_config/index.html @@ -1 +1 @@ -mcaptcha::api::v1::pow::get_config - Rust

Module mcaptcha::api::v1::pow::get_config

source ·

Structs

Enums

Constants

Functions

  • get PoW configuration for an mcaptcha key
  • Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.
\ No newline at end of file +mcaptcha::api::v1::pow::get_config - Rust

Module mcaptcha::api::v1::pow::get_config

source ·

Structs

Enums

Constants

Functions

  • get PoW configuration for an mcaptcha key
  • Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html b/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html index 9ebc707a..d3a8a39a 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html +++ b/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html @@ -1,7 +1,7 @@ -GetConfigPayload in mcaptcha::api::v1::pow::get_config - Rust
pub struct GetConfigPayload {
+GetConfigPayload in mcaptcha::api::v1::pow::get_config - Rust
pub struct GetConfigPayload {
     pub key: String,
-}

Fields§

§key: String

Trait Implementations§

source§

impl Clone for GetConfigPayload

source§

fn clone(&self) -> GetConfigPayload

Returns a copy of 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 GetConfigPayload

source§

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

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

impl<'de> Deserialize<'de> for GetConfigPayload

source§

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

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

impl Serialize for GetConfigPayload

source§

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

Fields§

§key: String

Trait Implementations§

source§

impl Clone for GetConfigPayload

source§

fn clone(&self) -> GetConfigPayload

Returns a copy of 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 GetConfigPayload

source§

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

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

impl<'de> Deserialize<'de> for GetConfigPayload

source§

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

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

impl Serialize for GetConfigPayload

source§

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

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/pow/get_config/struct.__FieldVisitor.html b/mcaptcha/api/v1/pow/get_config/struct.__FieldVisitor.html index 95c22991..269d7168 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.__FieldVisitor.html +++ b/mcaptcha/api/v1/pow/get_config/struct.__FieldVisitor.html @@ -1,7 +1,7 @@ -__FieldVisitor in mcaptcha::api::v1::pow::get_config - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where - __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where +__FieldVisitor in mcaptcha::api::v1::pow::get_config - Rust
struct __FieldVisitor;

Trait Implementations§

source§

impl<'de> Visitor<'de> for __FieldVisitor

§

type Value = __Field

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_u64<__E>(self, __value: u64) -> Result<Self::Value, __E>where + __E: Error,

The input contains a u64. Read more
source§

fn visit_str<__E>(self, __value: &str) -> Result<Self::Value, __E>where __E: Error,

The input contains a string. The lifetime of the string is ephemeral and -it may be destroyed after this method returns. Read more
source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where +it may be destroyed after this method returns. Read more

source§

fn visit_bytes<__E>(self, __value: &[u8]) -> Result<Self::Value, __E>where __E: Error,

The input contains a byte array. The lifetime of the byte array is ephemeral and it may be destroyed after this method returns. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/pow/get_config/struct.__Visitor.html b/mcaptcha/api/v1/pow/get_config/struct.__Visitor.html index c4bbbb80..86a3a2c9 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.__Visitor.html +++ b/mcaptcha/api/v1/pow/get_config/struct.__Visitor.html @@ -1,8 +1,8 @@ -__Visitor in mcaptcha::api::v1::pow::get_config - Rust
struct __Visitor<'de> {
+__Visitor in mcaptcha::api::v1::pow::get_config - Rust
struct __Visitor<'de> {
     marker: PhantomData<GetConfigPayload>,
     lifetime: PhantomData<&'de ()>,
-}

Fields§

§marker: PhantomData<GetConfigPayload>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = GetConfigPayload

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where - __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where +}

Fields§

§marker: PhantomData<GetConfigPayload>§lifetime: PhantomData<&'de ()>

Trait Implementations§

source§

impl<'de> Visitor<'de> for __Visitor<'de>

§

type Value = GetConfigPayload

The value produced by this visitor.
source§

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

Format a message stating what data this Visitor expects to receive. Read more
source§

fn visit_seq<__A>(self, __seq: __A) -> Result<Self::Value, __A::Error>where + __A: SeqAccess<'de>,

The input contains a sequence of elements. Read more
source§

fn visit_map<__A>(self, __map: __A) -> Result<Self::Value, __A::Error>where __A: MapAccess<'de>,

The input contains a key-value map. Read more
source§

fn visit_bool<E>(self, v: bool) -> Result<Self::Value, E>where E: Error,

The input contains a boolean. Read more
source§

fn visit_i8<E>(self, v: i8) -> Result<Self::Value, E>where E: Error,

The input contains an i8. Read more
source§

fn visit_i16<E>(self, v: i16) -> Result<Self::Value, E>where diff --git a/mcaptcha/api/v1/pow/get_config/struct.get_config.html b/mcaptcha/api/v1/pow/get_config/struct.get_config.html index a50b4b8e..cf7ac380 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.get_config.html +++ b/mcaptcha/api/v1/pow/get_config/struct.get_config.html @@ -1,5 +1,5 @@ -get_config in mcaptcha::api::v1::pow::get_config - Rust
pub struct get_config;
Expand description

get PoW configuration for an mcaptcha key

-

Trait Implementations§

source§

impl HttpServiceFactory for get_config

source§

fn register(self, __config: &mut AppService)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +get_config in mcaptcha::api::v1::pow::get_config - Rust
pub struct get_config;
Expand description

get PoW configuration for an mcaptcha key

+

Trait Implementations§

source§

impl HttpServiceFactory for get_config

source§

fn register(self, __config: &mut AppService)

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/mcaptcha/api/v1/pow/index.html b/mcaptcha/api/v1/pow/index.html index 6e7641a6..8e40e2a8 100644 --- a/mcaptcha/api/v1/pow/index.html +++ b/mcaptcha/api/v1/pow/index.html @@ -1 +1 @@ -mcaptcha::api::v1::pow - Rust

Module mcaptcha::api::v1::pow

source ·

Re-exports

Modules

Functions

\ No newline at end of file +mcaptcha::api::v1::pow - Rust

Module mcaptcha::api::v1::pow

source ·

Re-exports

Modules

Functions

\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/routes/index.html b/mcaptcha/api/v1/pow/routes/index.html index 539eb44f..20e71787 100644 --- a/mcaptcha/api/v1/pow/routes/index.html +++ b/mcaptcha/api/v1/pow/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::pow::routes - Rust
\ No newline at end of file +mcaptcha::api::v1::pow::routes - Rust
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/routes/macro.rm_scope.html b/mcaptcha/api/v1/pow/routes/macro.rm_scope.html index 5dafcd82..7f6d677b 100644 --- a/mcaptcha/api/v1/pow/routes/macro.rm_scope.html +++ b/mcaptcha/api/v1/pow/routes/macro.rm_scope.html @@ -1,3 +1,3 @@ -rm_scope in mcaptcha::api::v1::pow::routes - Rust

Macro mcaptcha::api::v1::pow::routes::rm_scope

source ·
macro_rules! rm_scope {
+rm_scope in mcaptcha::api::v1::pow::routes - Rust

Macro mcaptcha::api::v1::pow::routes::rm_scope

source ·
macro_rules! rm_scope {
     ($name:ident) => { ... };
 }
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/routes/struct.PoW.html b/mcaptcha/api/v1/pow/routes/struct.PoW.html index 359852ec..daa5efe3 100644 --- a/mcaptcha/api/v1/pow/routes/struct.PoW.html +++ b/mcaptcha/api/v1/pow/routes/struct.PoW.html @@ -1,11 +1,11 @@ -PoW in mcaptcha::api::v1::pow::routes - Rust

Struct mcaptcha::api::v1::pow::routes::PoW

source ·
pub struct PoW {
+PoW in mcaptcha::api::v1::pow::routes - Rust

Struct mcaptcha::api::v1::pow::routes::PoW

source ·
pub struct PoW {
     pub get_config: &'static str,
     pub verify_pow: &'static str,
     pub validate_captcha_token: &'static str,
     pub scope: &'static str,
-}

Fields§

§get_config: &'static str§verify_pow: &'static str§validate_captcha_token: &'static str§scope: &'static str

Implementations§

source§

impl PoW

source

pub const fn new() -> Self

source

pub fn get_config(&self) -> &str

remove scope for $name route

-
source

pub fn verify_pow(&self) -> &str

remove scope for $name route

-
source

pub fn validate_captcha_token(&self) -> &str

remove scope for $name route

+}

Fields§

§get_config: &'static str§verify_pow: &'static str§validate_captcha_token: &'static str§scope: &'static str

Implementations§

source§

impl PoW

source

pub const fn new() -> Self

source

pub fn get_config(&self) -> &str

remove scope for $name route

+
source

pub fn verify_pow(&self) -> &str

remove scope for $name route

+
source

pub fn validate_captcha_token(&self) -> &str

remove scope for $name route

Auto Trait Implementations§

§

impl RefUnwindSafe for PoW

§

impl Send for PoW

§

impl Sync for PoW

§

impl Unpin for PoW

§

impl UnwindSafe for PoW

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/pow/verify_pow/constant.FIELDS.html b/mcaptcha/api/v1/pow/verify_pow/constant.FIELDS.html index 8d5f46ed..29010b96 100644 --- a/mcaptcha/api/v1/pow/verify_pow/constant.FIELDS.html +++ b/mcaptcha/api/v1/pow/verify_pow/constant.FIELDS.html @@ -1 +1 @@ -FIELDS in mcaptcha::api::v1::pow::verify_pow - Rust

Constant mcaptcha::api::v1::pow::verify_pow::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file +FIELDS in mcaptcha::api::v1::pow::verify_pow - Rust

Constant mcaptcha::api::v1::pow::verify_pow::FIELDS

source ·
const FIELDS: &'static [&'static str];
\ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/enum.__Field.html b/mcaptcha/api/v1/pow/verify_pow/enum.__Field.html index 930d608b..e90fe590 100644 --- a/mcaptcha/api/v1/pow/verify_pow/enum.__Field.html +++ b/mcaptcha/api/v1/pow/verify_pow/enum.__Field.html @@ -1,7 +1,7 @@ -__Field in mcaptcha::api::v1::pow::verify_pow - Rust
enum __Field {
+__Field in mcaptcha::api::v1::pow::verify_pow - Rust
enum __Field {
     __field0,
     __ignore,
-}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

__field0

§

__ignore

Trait Implementations§

source§

impl<'de> Deserialize<'de> for __Field

source§

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

Deserialize this value from the given Serde deserializer. 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/mcaptcha/api/v1/pow/verify_pow/fn.verify_pow.html b/mcaptcha/api/v1/pow/verify_pow/fn.verify_pow.html index 069147e1..a15a0a4c 100644 --- a/mcaptcha/api/v1/pow/verify_pow/fn.verify_pow.html +++ b/mcaptcha/api/v1/pow/verify_pow/fn.verify_pow.html @@ -1,4 +1,4 @@ -verify_pow in mcaptcha::api::v1::pow::verify_pow - Rust

Function mcaptcha::api::v1::pow::verify_pow::verify_pow

source ·
pub async fn verify_pow(
+verify_pow in mcaptcha::api::v1::pow::verify_pow - Rust

Function mcaptcha::api::v1::pow::verify_pow::verify_pow

source ·
pub async fn verify_pow(
     req: HttpRequest,
     payload: Json<ApiWork>,
     data: AppData
diff --git a/mcaptcha/api/v1/pow/verify_pow/index.html b/mcaptcha/api/v1/pow/verify_pow/index.html
index 6d622c64..35f352eb 100644
--- a/mcaptcha/api/v1/pow/verify_pow/index.html
+++ b/mcaptcha/api/v1/pow/verify_pow/index.html
@@ -1,4 +1,4 @@
-mcaptcha::api::v1::pow::verify_pow - Rust

Module mcaptcha::api::v1::pow::verify_pow

source ·
Expand description

PoW Verification module

+mcaptcha::api::v1::pow::verify_pow - Rust

Module mcaptcha::api::v1::pow::verify_pow

source ·
Expand description

PoW Verification module

Structs

Enums

Constants

Functions