diff --git a/db_core/all.html b/db_core/all.html index df280f13..8b4db296 100644 --- a/db_core/all.html +++ b/db_core/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Definitions

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Aliases

Constants

\ No newline at end of file diff --git a/db_core/dev/attr.async_trait.html b/db_core/dev/attr.async_trait.html index f51eae2e..16f172ac 100644 --- a/db_core/dev/attr.async_trait.html +++ b/db_core/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_core::dev - Rust

Attribute Macro db_core::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_core::dev - Rust

Attribute Macro db_core::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_core/dev/index.html b/db_core/dev/index.html index 1258f15f..dac6b743 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 2fd950f9..e330fb34 100644 --- a/db_core/enum.Login.html +++ b/db_core/enum.Login.html @@ -1,29 +1,29 @@ -Login in db_core - Rust

Enum db_core::Login

source ·
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+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 -by ==.
1.0.0 · source§

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/errors/enum.DBError.html b/db_core/errors/enum.DBError.html index 5711359a..b1b48a90 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, request: &mut Request<'a>)

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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, request: &mut Request<'a>)

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_core/errors/index.html b/db_core/errors/index.html index 3f7c54d6..4472ba44 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

-

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

  • 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 e9fd3e86..7df6584e 100644 --- a/db_core/errors/type.BoxDynError.html +++ b/db_core/errors/type.BoxDynError.html @@ -1,2 +1,4 @@ -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 +BoxDynError in db_core::errors - Rust

Type Alias db_core::errors::BoxDynError

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

Convenience type alias for grouping driver-specific errors

+

Aliased Type§

struct BoxDynError(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.
\ No newline at end of file diff --git a/db_core/errors/type.DBResult.html b/db_core/errors/type.DBResult.html index 4952eaaf..b0d220e6 100644 --- a/db_core/errors/type.DBResult.html +++ b/db_core/errors/type.DBResult.html @@ -1,2 +1,7 @@ -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 +DBResult in db_core::errors - Rust

Type Alias db_core::errors::DBResult

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

Generic result data structure

+

Aliased Type§

enum DBResult<V> {
+    Ok(V),
+    Err(DBError),
+}

Variants§

§1.0.0

Ok(V)

Contains the success value

+
§1.0.0

Err(DBError)

Contains the error value

+
\ No newline at end of file diff --git a/db_core/index.html b/db_core/index.html index 650f49b2..bd5da981 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 f4947540..1c21fedd 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 fa640f98..c8c8f24f 100644 --- a/db_core/ops/trait.Connect.html +++ b/db_core/ops/trait.Connect.html @@ -1,16 +1,16 @@ -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
     fn connect<'async_trait>(
         self
-    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>
+    ) -> 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>( self -) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>where Self: 'async_trait,

database specific error-type create connection pool

Implementors§

\ No newline at end of file diff --git a/db_core/ops/trait.DBOps.html b/db_core/ops/trait.DBOps.html index 04fd0382..19e9abd9 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 2e33f554..86ea08e5 100644 --- a/db_core/ops/trait.GetConnection.html +++ b/db_core/ops/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_core::ops - Rust
pub trait GetConnection {
+GetConnection in db_core::ops - Rust
pub trait GetConnection {
     type Conn;
 
     // Required method
     fn get_conn<'life0, 'async_trait>(
         &'life0 self
-    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>
        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>( &'life0 self -) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<Self::Conn>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

database specific error-type get connection from connection pool

diff --git a/db_core/ops/trait.Migrate.html b/db_core/ops/trait.Migrate.html index 72ace789..3517a9c1 100644 --- a/db_core/ops/trait.Migrate.html +++ b/db_core/ops/trait.Migrate.html @@ -1,14 +1,14 @@ -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
-    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
+    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
        where Self: 'async_trait,
              'life0: 'async_trait;
 }
Expand description

database migrations

Required Methods§

source

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

database specific error-type run migrations

diff --git a/db_core/prelude/index.html b/db_core/prelude/index.html index e8ee491f..c81853ed 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 dfe6db1e..2a68b284 100644 --- a/db_core/struct.AddNotification.html +++ b/db_core/struct.AddNotification.html @@ -1,33 +1,33 @@ -AddNotification in db_core - Rust
pub struct AddNotification<'a> {
-    pub to: &'a str,
-    pub from: &'a str,
-    pub heading: &'a str,
-    pub message: &'a str,
+AddNotification in db_core - Rust
pub struct AddNotification<'a> {
+    pub to: &'a str,
+    pub from: &'a str,
+    pub heading: &'a str,
+    pub message: &'a str,
 }
Expand description

Data required to add notification

-

Fields§

§to: &'a str

who is the notification addressed to?

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§to: &'a str

who is the notification addressed to?

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.Captcha.html b/db_core/struct.Captcha.html index 83d85d44..26e91b1e 100644 --- a/db_core/struct.Captcha.html +++ b/db_core/struct.Captcha.html @@ -1,33 +1,33 @@ -Captcha in db_core - Rust

Struct db_core::Captcha

source ·
pub struct Captcha {
-    pub config_id: i32,
-    pub duration: i32,
-    pub description: String,
-    pub key: String,
+Captcha in db_core - Rust

Struct db_core::Captcha

source ·
pub struct Captcha {
+    pub config_id: i32,
+    pub duration: i32,
+    pub description: String,
+    pub key: String,
 }
Expand description

Data representing a captcha

-

Fields§

§config_id: i32

Database assigned ID

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§config_id: i32

Database assigned ID

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.CreateCaptcha.html b/db_core/struct.CreateCaptcha.html index be87d929..1aaaaec9 100644 --- a/db_core/struct.CreateCaptcha.html +++ b/db_core/struct.CreateCaptcha.html @@ -1,31 +1,31 @@ -CreateCaptcha in db_core - Rust

Struct db_core::CreateCaptcha

source ·
pub struct CreateCaptcha<'a> {
-    pub duration: i32,
-    pub description: &'a str,
-    pub key: &'a str,
+CreateCaptcha in db_core - Rust

Struct db_core::CreateCaptcha

source ·
pub struct CreateCaptcha<'a> {
+    pub duration: i32,
+    pub description: &'a str,
+    pub key: &'a str,
 }
Expand description

data required to create new captcha

-

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.CreatePerformanceAnalytics.html b/db_core/struct.CreatePerformanceAnalytics.html index f5436d65..54247d8d 100644 --- a/db_core/struct.CreatePerformanceAnalytics.html +++ b/db_core/struct.CreatePerformanceAnalytics.html @@ -1,31 +1,31 @@ -CreatePerformanceAnalytics in db_core - Rust
pub struct CreatePerformanceAnalytics {
-    pub time: u32,
-    pub difficulty_factor: u32,
-    pub worker_type: String,
+CreatePerformanceAnalytics in db_core - Rust
pub struct CreatePerformanceAnalytics {
+    pub time: u32,
+    pub difficulty_factor: u32,
+    pub worker_type: String,
 }
Expand description

Log Proof-of-Work CAPTCHA performance analytics

-

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.Level.html b/db_core/struct.Level.html index fd9cecbf..288e57f8 100644 --- a/db_core/struct.Level.html +++ b/db_core/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_core - Rust

Struct db_core::Level

pub struct Level {
-    pub visitor_threshold: u32,
-    pub difficulty_factor: u32,
+Level in db_core - Rust

Struct db_core::Level

pub struct Level {
+    pub visitor_threshold: u32,
+    pub difficulty_factor: u32,
 }
Expand description

Level struct that describes threshold-difficulty factor mapping

-

Fields§

§visitor_threshold: u32§difficulty_factor: u32

Trait Implementations§

§

impl Clone for Level

§

fn clone(&self) -> Level

Returns a copy 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 Level

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Level

§

fn deserialize<__D>( +

Fields§

§visitor_threshold: u32§difficulty_factor: u32

Trait Implementations§

§

impl Clone for Level

§

fn clone(&self) -> Level

Returns a copy 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 Level

§

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

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Level

§

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

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

impl PartialEq<Level> for Level

§

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

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

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

This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§

impl PartialEq<Level> for Level

§

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

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

fn ne(&self, 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 Level

§

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

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

impl Copy for Level

§

impl StructuralPartialEq for Level

Auto Trait Implementations§

§

impl RefUnwindSafe for Level

§

impl Send for Level

§

impl Sync for Level

§

impl Unpin for Level

§

impl UnwindSafe for Level

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
Serialize this value into the given Serde serializer. Read more
§

impl Copy for Level

§

impl StructuralPartialEq for Level

Auto Trait Implementations§

§

impl RefUnwindSafe for Level

§

impl Send for Level

§

impl Sync for Level

§

impl Unpin for Level

§

impl UnwindSafe for Level

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.NameHash.html b/db_core/struct.NameHash.html index c52d7c97..086388f7 100644 --- a/db_core/struct.NameHash.html +++ b/db_core/struct.NameHash.html @@ -1,29 +1,29 @@ -NameHash in db_core - Rust

Struct db_core::NameHash

source ·
pub struct NameHash {
-    pub username: String,
-    pub hash: String,
+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 -by ==.
1.0.0 · source§

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.Notification.html b/db_core/struct.Notification.html index 7e33d3f5..a1af02ef 100644 --- a/db_core/struct.Notification.html +++ b/db_core/struct.Notification.html @@ -1,35 +1,35 @@ -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>,
-    pub received: Option<i64>,
-    pub id: Option<i32>,
+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>,
+    pub received: Option<i64>,
+    pub id: Option<i32>,
 }
Expand description

Represents notification

-

Fields§

§name: Option<String>

receiver name of the notification

-
§heading: Option<String>

heading of the notification

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§name: Option<String>

receiver name of the notification

+
§heading: Option<String>

heading of the notification

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.PerformanceAnalytics.html b/db_core/struct.PerformanceAnalytics.html index 630aed2c..9b8d6838 100644 --- a/db_core/struct.PerformanceAnalytics.html +++ b/db_core/struct.PerformanceAnalytics.html @@ -1,33 +1,33 @@ -PerformanceAnalytics in db_core - Rust
pub struct PerformanceAnalytics {
-    pub id: usize,
-    pub time: u32,
-    pub difficulty_factor: u32,
-    pub worker_type: String,
+PerformanceAnalytics in db_core - Rust
pub struct PerformanceAnalytics {
+    pub id: usize,
+    pub time: u32,
+    pub difficulty_factor: u32,
+    pub worker_type: String,
 }
Expand description

Proof-of-Work CAPTCHA performance analytics

-

Fields§

§id: usize

log ID

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§id: usize

log ID

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.Register.html b/db_core/struct.Register.html index 153c3b38..3025a489 100644 --- a/db_core/struct.Register.html +++ b/db_core/struct.Register.html @@ -1,33 +1,33 @@ -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,
-    pub email: Option<&'a str>,
+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,
+    pub email: Option<&'a str>,
 }
Expand description

Data required to register a new user

-

Fields§

§username: &'a str

username of new user

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§username: &'a str

username of new user

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.Secret.html b/db_core/struct.Secret.html index 3ccf0dfd..8f6a418f 100644 --- a/db_core/struct.Secret.html +++ b/db_core/struct.Secret.html @@ -1,27 +1,27 @@ -Secret in db_core - Rust

Struct db_core::Secret

source ·
pub struct Secret {
-    pub secret: String,
+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 -by ==.
1.0.0 · source§

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.StatsUnixTimestamp.html b/db_core/struct.StatsUnixTimestamp.html index 0fcb0186..d6902057 100644 --- a/db_core/struct.StatsUnixTimestamp.html +++ b/db_core/struct.StatsUnixTimestamp.html @@ -1,31 +1,31 @@ -StatsUnixTimestamp in db_core - Rust
pub struct StatsUnixTimestamp {
-    pub config_fetches: Vec<i64>,
-    pub solves: Vec<i64>,
-    pub confirms: Vec<i64>,
+StatsUnixTimestamp in db_core - Rust
pub struct StatsUnixTimestamp {
+    pub config_fetches: Vec<i64>,
+    pub solves: Vec<i64>,
+    pub confirms: Vec<i64>,
 }
Expand description

Captcha statistics with time recorded in UNIX epoch formats

-

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.TrafficPattern.html b/db_core/struct.TrafficPattern.html index 2e4acf94..3633a23f 100644 --- a/db_core/struct.TrafficPattern.html +++ b/db_core/struct.TrafficPattern.html @@ -1,31 +1,31 @@ -TrafficPattern in db_core - Rust

Struct db_core::TrafficPattern

source ·
pub struct TrafficPattern {
-    pub avg_traffic: u32,
-    pub peak_sustainable_traffic: u32,
-    pub broke_my_site_traffic: Option<u32>,
+TrafficPattern in db_core - Rust

Struct db_core::TrafficPattern

source ·
pub struct TrafficPattern {
+    pub avg_traffic: u32,
+    pub peak_sustainable_traffic: u32,
+    pub broke_my_site_traffic: Option<u32>,
 }
Expand description

User’s traffic pattern; used in generating a captcha configuration

-

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

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/struct.UpdateEmail.html b/db_core/struct.UpdateEmail.html index e9fc4e08..fa655552 100644 --- a/db_core/struct.UpdateEmail.html +++ b/db_core/struct.UpdateEmail.html @@ -1,29 +1,29 @@ -UpdateEmail in db_core - Rust

Struct db_core::UpdateEmail

source ·
pub struct UpdateEmail<'a> {
-    pub username: &'a str,
-    pub new_email: &'a str,
+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 -by ==.
1.0.0 · source§

fn ne(&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 - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

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

fn ne(&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 + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_core/tests/constant.LEVELS.html b/db_core/tests/constant.LEVELS.html index 20aeb9b3..475053c2 100644 --- a/db_core/tests/constant.LEVELS.html +++ b/db_core/tests/constant.LEVELS.html @@ -1,2 +1,2 @@ -LEVELS in db_core::tests - Rust

Constant db_core::tests::LEVELS

source ·
pub const LEVELS: [Level; 3];
Expand description

levels for complex captcha config

+LEVELS in db_core::tests - Rust

Constant db_core::tests::LEVELS

source ·
pub const LEVELS: [Level; 3];
Expand description

levels for complex captcha config

\ No newline at end of file diff --git a/db_core/tests/constant.TRAFFIC_PATTERN.html b/db_core/tests/constant.TRAFFIC_PATTERN.html index f6dbe346..1976d68d 100644 --- a/db_core/tests/constant.TRAFFIC_PATTERN.html +++ b/db_core/tests/constant.TRAFFIC_PATTERN.html @@ -1,2 +1,2 @@ -TRAFFIC_PATTERN in db_core::tests - Rust

Constant db_core::tests::TRAFFIC_PATTERN

source ·
pub const TRAFFIC_PATTERN: TrafficPattern;
Expand description

easy traffic pattern

+TRAFFIC_PATTERN in db_core::tests - Rust

Constant db_core::tests::TRAFFIC_PATTERN

source ·
pub const TRAFFIC_PATTERN: TrafficPattern;
Expand description

easy traffic pattern

\ No newline at end of file diff --git a/db_core/tests/fn.database_works.html b/db_core/tests/fn.database_works.html index 6b5a1921..99c4ebdc 100644 --- a/db_core/tests/fn.database_works.html +++ b/db_core/tests/fn.database_works.html @@ -1,5 +1,5 @@ -database_works in db_core::tests - Rust

Function db_core::tests::database_works

source ·
pub async fn database_works<'a, T: MCDatabase>(
-    db: &T,
+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>,
     l: &[Level],
diff --git a/db_core/tests/index.html b/db_core/tests/index.html
index 4294d3e0..b2a3d738 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

Constants

Functions

\ No newline at end of file diff --git a/db_core/trait.CloneSPDatabase.html b/db_core/trait.CloneSPDatabase.html index 79c478e6..29e63f6f 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>;
+    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

+

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 + 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 73cd3446..8a894a85 100644 --- a/db_core/trait.MCDatabase.html +++ b/db_core/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_core - Rust

Trait db_core::MCDatabase

source ·
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
+MCDatabase in db_core - Rust

Trait db_core::MCDatabase

source ·
pub trait MCDatabase: Send + Sync + CloneSPDatabase {
 
Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; 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>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Captcha>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -140,10 +140,10 @@ 'life3: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -151,53 +151,53 @@ 'life3: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<i32>> + Send + 'async_trait>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<i32>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -205,18 +205,18 @@ 'life3: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -224,161 +224,161 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; 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>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<Notification>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; 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>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; 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>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; 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>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; 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>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>> + page: usize + ) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; // Provided method 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>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait { ... } @@ -386,137 +386,137 @@ trait.

Required Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where +) -> 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>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

register a new user

source

fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>>where + 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>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + 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>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update a user’s email

source

fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>>where +) -> 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>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

update user’s password

source

fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update username

source

fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update a user’s secret

source

fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

create new captcha

source

fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha config

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 + 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>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

update captcha metadata; doesn’t change captcha key

source

fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -524,10 +524,10 @@ trait.

'life3: 'async_trait,

update captcha key; doesn’t change metadata

source

fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -535,53 +535,53 @@ trait.

'life3: 'async_trait,

Add levels to captcha

source

fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

check if captcha exists

source

fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_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>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Delete captcha

source

fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get captcha levels

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 + 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>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -589,18 +589,18 @@ trait.

'life3: 'async_trait,

Add traffic configuration

source

fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get traffic configuration

source

fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -608,161 +608,161 @@ trait.

source

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

create new notification

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 + 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>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

mark a notification read

source

fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig fetches

source

fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig solves

source

fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

fetch PoWConfig confirms

source

fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

record PoW timing

source

fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>>where 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>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where + 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>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where + 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>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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

source

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

Get all psuedo IDs

source

fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Track maximum nonce received against captcha levels

source

fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get maximum nonce tracked so far for captcha levels

source

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

Get number of analytics entries that are under a certain duration

source

fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

Provided Methods§

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 + 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/all.html b/db_sqlx_maria/all.html index f388854f..fc08bee9 100644 --- a/db_sqlx_maria/all.html +++ b/db_sqlx_maria/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Definitions

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Attribute Macros

Functions

Type Aliases

Constants

\ No newline at end of file diff --git a/db_sqlx_maria/dev/attr.async_trait.html b/db_sqlx_maria/dev/attr.async_trait.html index 0c8b2d5e..5642bd86 100644 --- a/db_sqlx_maria/dev/attr.async_trait.html +++ b/db_sqlx_maria/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_maria::dev - Rust

Attribute Macro db_sqlx_maria::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_maria::dev - Rust

Attribute Macro db_sqlx_maria::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/attr.async_trait.html b/db_sqlx_maria/dev/dev/attr.async_trait.html index 94d33c01..29d14c3b 100644 --- a/db_sqlx_maria/dev/dev/attr.async_trait.html +++ b/db_sqlx_maria/dev/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_maria::dev::dev - Rust

Attribute Macro db_sqlx_maria::dev::dev::async_trait

#[async_trait]
\ No newline at end of file +async_trait in db_sqlx_maria::dev::dev - Rust

Attribute Macro db_sqlx_maria::dev::dev::async_trait

#[async_trait]
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/enum.DBError.html b/db_sqlx_maria/dev/dev/enum.DBError.html index 18e6c5c6..208d1912 100644 --- a/db_sqlx_maria/dev/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev::dev - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send, Global>),
+DBError in db_sqlx_maria::dev::dev - Rust
pub enum DBError {
+    DBError(Box<dyn Error + Sync + Send, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,21 +18,21 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

source§

impl Debug for DBError

source§

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

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

impl Display for DBError

source§

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

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

impl Error for DBError

source§

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

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

fn description(&self) -> &str

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

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

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

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

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

§

impl Debug for DBError

§

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

Formats the value using the given formatter. Read more
§

impl Display for DBError

§

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

Formats the value using the given formatter. Read more
§

impl Error for DBError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/enum.Login.html b/db_sqlx_maria/dev/dev/enum.Login.html index e89ff613..86644df9 100644 --- a/db_sqlx_maria/dev/dev/enum.Login.html +++ b/db_sqlx_maria/dev/dev/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_maria::dev::dev - Rust

Enum db_sqlx_maria::dev::dev::Login

source ·
pub enum Login<'a> {
-    Username(&'a str),
-    Email(&'a str),
+Login in db_sqlx_maria::dev::dev - Rust

Enum db_sqlx_maria::dev::dev::Login

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<(), Error>

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

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

Variants§

§

Username(&'a str)

username as login

+
§

Email(&'a str)

email as login

+

Trait Implementations§

§

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

§

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

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

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

Performs copy-assignment from source. Read more
§

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

§

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

Formats the value using the given formatter. Read more
§

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

§

fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

§

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

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

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

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

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

§

fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
Serialize this value into the given Serde serializer. Read more
§

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

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/dev/errors/enum.DBError.html index 30ca3626..894ed134 100644 --- a/db_sqlx_maria/dev/dev/errors/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev::dev::errors - Rust
pub enum DBError {
-    DBError(Box<dyn Error + Sync + Send, Global>),
+DBError in db_sqlx_maria::dev::dev::errors - Rust
pub enum DBError {
+    DBError(Box<dyn Error + Sync + Send, Global>),
     UsernameTaken,
     EmailTaken,
     SecretTaken,
@@ -9,7 +9,7 @@
     TrafficPatternNotFound,
     NotificationNotFound,
 }
Expand description

Error data structure grouping various error subtypes

-

Variants§

§

DBError(Box<dyn Error + Sync + Send, Global>)

errors that are specific to a database implementation

+

Variants§

§

DBError(Box<dyn Error + Sync + Send, Global>)

errors that are specific to a database implementation

§

UsernameTaken

Username is taken

§

EmailTaken

Email is taken

§

SecretTaken

Secret is taken

@@ -18,21 +18,21 @@
§

CaptchaNotFound

Captcha not found

§

TrafficPatternNotFound

Traffic pattern not found

§

NotificationNotFound

Notification not found

-

Trait Implementations§

source§

impl Debug for DBError

source§

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

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

impl Display for DBError

source§

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

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

impl Error for DBError

source§

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

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

fn description(&self) -> &str

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

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

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

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

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

§

impl Debug for DBError

§

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

Formats the value using the given formatter. Read more
§

impl Display for DBError

§

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

Formats the value using the given formatter. Read more
§

impl Error for DBError

§

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

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

fn description(&self) -> &str

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

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

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

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

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

+

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/errors/index.html b/db_sqlx_maria/dev/dev/errors/index.html index 3bacc21e..71f0e352 100644 --- a/db_sqlx_maria/dev/dev/errors/index.html +++ b/db_sqlx_maria/dev/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::dev::errors - Rust

Module db_sqlx_maria::dev::dev::errors

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 +db_sqlx_maria::dev::dev::errors - Rust

Module db_sqlx_maria::dev::dev::errors

Expand description

represents all the ways a trait can fail using this crate

+

Enums

  • Error data structure grouping various error subtypes

Type Aliases

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

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

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

Convenience type alias for grouping driver-specific errors

-
\ No newline at end of file +BoxDynError in db_sqlx_maria::dev::dev::errors - Rust

Type Alias db_sqlx_maria::dev::dev::errors::BoxDynError

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

Convenience type alias for grouping driver-specific errors

+

Aliased Type§

struct BoxDynError(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

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

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

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

Generic result data structure

-
\ No newline at end of file +DBResult in db_sqlx_maria::dev::dev::errors - Rust

Type Alias db_sqlx_maria::dev::dev::errors::DBResult

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

Generic result data structure

+

Aliased Type§

enum DBResult<V> {
+    Ok(V),
+    Err(DBError),
+}

Variants§

§1.0.0

Ok(V)

Contains the success value

+
§1.0.0

Err(DBError)

Contains the error value

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

Module db_sqlx_maria::dev::dev

source ·
Expand description

useful imports for supporting a new database

+db_sqlx_maria::dev::dev - Rust

Module db_sqlx_maria::dev::dev

Expand description

useful imports for supporting a new database

Modules

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

Structs

Enums

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

Traits

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

Type Definitions

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

Attribute Macros

\ No newline at end of file +trait.
  • database migrations
  • Type Aliases

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

    Attribute Macros

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

    Module db_sqlx_maria::dev::dev::ops

    source ·
    Expand description

    meta operations like migration and connecting to a database

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

    Module db_sqlx_maria::dev::dev::ops

    Expand description

    meta operations like migration and connecting to a database

    Traits

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

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html index e71b51f5..4a967b5c 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::dev::ops - Rust

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

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

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

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

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

    pub trait DBOps: GetConnection + Migrate { }
    Expand description

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

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html index 05ce9c57..3e67b16e 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/ops/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev::dev::ops - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev::dev::ops - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html index ffc5511b..62e949ca 100644 --- a/db_sqlx_maria/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/ops/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev::dev::ops - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev::dev::ops - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

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

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html index fb455e0c..fbd206ad 100644 --- a/db_sqlx_maria/dev/dev/prelude/enum.DBError.html +++ b/db_sqlx_maria/dev/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev::dev::prelude - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_maria::dev::dev::prelude - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

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

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

    impl Display for DBError

    source§

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

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

    impl Error for DBError

    source§

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

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

    fn description(&self) -> &str

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

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

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

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

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

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

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

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

    fn description(&self) -> &str

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

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

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

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

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

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/dev/prelude/enum.Login.html index b97bb009..b911111a 100644 --- a/db_sqlx_maria/dev/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/dev/prelude/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_maria::dev::dev::prelude - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_maria::dev::dev::prelude - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

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

    source§

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

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

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

    Performs copy-assignment from source. Read more
    source§

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

    source§

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

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

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

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/index.html b/db_sqlx_maria/dev/dev/prelude/index.html index fde19a49..4660a1e6 100644 --- a/db_sqlx_maria/dev/dev/prelude/index.html +++ b/db_sqlx_maria/dev/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::dev::prelude - Rust

    Module db_sqlx_maria::dev::dev::prelude

    source ·
    Expand description

    useful imports for users working with a supported database

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

    Module db_sqlx_maria::dev::dev::prelude

    Expand description

    useful imports for users working with a supported database

    Structs

    Enums

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

    Traits

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

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html index 4cb436c1..27f86f91 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

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

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

    source§

    fn default() -> AddNotification<'a>

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

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

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn default() -> AddNotification<'a>

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html index a1fd04dd..ce19bfd9 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

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

    impl Default for Captcha

    source§

    fn default() -> Captcha

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

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

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<Captcha> for Captcha

    §

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

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

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

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

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html index 624ab901..a222121a 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

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

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

    source§

    fn default() -> CreateCaptcha<'a>

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

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

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn default() -> CreateCaptcha<'a>

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html index cb8d8be7..0e691d81 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

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

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

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

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

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

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

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

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

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

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

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

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

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Level.html b/db_sqlx_maria/dev/dev/prelude/struct.Level.html index 62688aeb..771567f8 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Level.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

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

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

    impl PartialEq<Level> for Level

    §

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

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

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

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

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

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

    fn ne(&self, 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 Level

    §

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

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

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html b/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html index a7d82344..8ff8f6a1 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

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

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

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

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

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

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<NameHash> for NameHash

    §

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

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

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

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

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 413c1bef..ac470fc2 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

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

    impl Default for Notification

    source§

    fn default() -> Notification

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

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

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

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html index fbc06d79..36d2e1f1 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

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

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

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

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

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

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

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

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

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

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

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

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

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Register.html b/db_sqlx_maria/dev/dev/prelude/struct.Register.html index 5570b892..213fb463 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Register.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

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

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

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html index 86420d8c..6cb6095d 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

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

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

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

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

    impl Default for Secret

    source§

    fn default() -> Secret

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

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

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<Secret> for Secret

    §

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

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

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

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

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html index 02fb1b7d..e545f5d9 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

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

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

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

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

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

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

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

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

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

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

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

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

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html index 804a176f..1a216bc1 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

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

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

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

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

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

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

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

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

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

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html b/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html index e48bc280..31345c11 100644 --- a/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/dev/prelude/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_maria::dev::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

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

    source§

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

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

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

    Performs copy-assignment from source. Read more
    source§

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

    source§

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

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

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

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

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

    Trait to clone MCDatabase

    -

    Required Methods§

    source

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

    clone DB

    -

    Implementors§

    source§

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

    \ No newline at end of file +

    Required Methods§

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

    clone DB

    +

    Implementors§

    §

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

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

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html b/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html index f229c61b..39d2ae4c 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

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

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

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

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html b/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html index 39af987a..08cb75d2 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html index 778c28a6..248ea5eb 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

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

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

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

    ping DB

    -
    source

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

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

    register a new user

    -
    source

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

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

    delete a user

    -
    source

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

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

    check if username exists

    -
    source

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

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

    get user email

    -
    source

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

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

    check if email exists

    -
    source

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

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

    update a user’s email

    -
    source

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

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

    get a user’s password

    -
    source

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

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

    update user’s password

    -
    source

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

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

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

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

    get a user’s secret

    -
    source

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

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

    get a user’s secret from a captcha key

    -
    source

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

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

    update a user’s secret

    -
    source

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

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

    create new captcha

    -
    source

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

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

    Get captcha config

    -
    source

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

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

    Get all captchas belonging to user

    -
    source

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

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

    update captcha metadata; doesn’t change captcha key

    -
    source

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

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

    update captcha key; doesn’t change metadata

    -
    source

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

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

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

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

    check if captcha exists

    -
    source

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

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

    Delete all levels of a captcha

    -
    source

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

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

    Delete captcha

    -
    source

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

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

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

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

    Get captcha’s cooldown period

    -
    source

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

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

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

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

    Get traffic configuration

    -
    source

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

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

    Delete traffic configuration

    -
    source

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

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

    create new notification

    -
    source

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

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

    get all unread notifications

    -
    source

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

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

    mark a notification read

    -
    source

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

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

    record PoWConfig fetches

    -
    source

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

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

    record PoWConfig solves

    -
    source

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

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

    record PoWConfig confirms

    -
    source

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

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

    fetch PoWConfig fetches

    -
    source

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

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

    fetch PoWConfig solves

    -
    source

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

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

    fetch PoWConfig confirms

    -
    source

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

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

    record PoW timing

    -
    source

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

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

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

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

    Create psuedo ID against campaign ID to publish analytics

    -
    source

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

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

    Get psuedo ID from campaign ID

    -
    source

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

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

    Get campaign ID from psuedo ID

    -
    source

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

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

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

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

    Get all psuedo IDs

    -
    source

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

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

    Track maximum nonce received against captcha levels

    -
    source

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

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

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

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

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

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

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

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

    Provided Methods§

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

    diff --git a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html index 17340ebb..a391d25d 100644 --- a/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/prelude/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

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

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html b/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html index 63568d4c..5db91aea 100644 --- a/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/prelude/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_maria::dev::dev::prelude - Rust

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

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

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_maria::dev::dev::prelude - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

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

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

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

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_maria::dev::dev::prelude - Rust

    Type Alias db_sqlx_maria::dev::dev::prelude::DBResult

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

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.AddNotification.html b/db_sqlx_maria/dev/dev/struct.AddNotification.html index 36152719..a5752189 100644 --- a/db_sqlx_maria/dev/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/dev/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_maria::dev::dev - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_maria::dev::dev - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

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

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

    source§

    fn default() -> AddNotification<'a>

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

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

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn default() -> AddNotification<'a>

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Captcha.html b/db_sqlx_maria/dev/dev/struct.Captcha.html index 96c4de46..edee2567 100644 --- a/db_sqlx_maria/dev/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/dev/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Captcha

    source ·
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Captcha

    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

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

    impl Default for Captcha

    source§

    fn default() -> Captcha

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

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

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<Captcha> for Captcha

    §

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

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

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

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

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html index 9edd3ec1..ae8033ef 100644 --- a/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/dev/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_maria::dev::dev - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_maria::dev::dev - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

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

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

    source§

    fn default() -> CreateCaptcha<'a>

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

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

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

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

    §

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

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

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

    Performs copy-assignment from source. Read more
    §

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

    §

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

    Formats the value using the given formatter. Read more
    §

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

    §

    fn default() -> CreateCaptcha<'a>

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

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

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

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

    §

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

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

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

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

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

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

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

    Auto Trait Implementations§

    §

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

    §

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

    §

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

    §

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

    §

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

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

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

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html index 47372af1..65895d6f 100644 --- a/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::dev - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_maria::dev::dev - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

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

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

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

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

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

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

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

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

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

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

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

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

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

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

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Level.html b/db_sqlx_maria/dev/dev/struct.Level.html index d9f2cf1d..94fc19f8 100644 --- a/db_sqlx_maria/dev/dev/struct.Level.html +++ b/db_sqlx_maria/dev/dev/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Level

    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Level

    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.NameHash.html b/db_sqlx_maria/dev/dev/struct.NameHash.html index d9895fa2..62092e23 100644 --- a/db_sqlx_maria/dev/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/dev/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::NameHash

    source ·
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::NameHash

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 1ce9c75a..46ef8daa 100644 --- a/db_sqlx_maria/dev/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/dev/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_maria::dev::dev - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_maria::dev::dev - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html index 3180df10..7d43de2d 100644 --- a/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/dev/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_maria::dev::dev - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_maria::dev::dev - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Register.html b/db_sqlx_maria/dev/dev/struct.Register.html index 1e6f1e72..4401b6d7 100644 --- a/db_sqlx_maria/dev/dev/struct.Register.html +++ b/db_sqlx_maria/dev/dev/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Register

    source ·
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Register

    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.Secret.html b/db_sqlx_maria/dev/dev/struct.Secret.html index 15ef7e30..c16f4d56 100644 --- a/db_sqlx_maria/dev/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/dev/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Secret

    source ·
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_maria::dev::dev - Rust

    Struct db_sqlx_maria::dev::dev::Secret

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html index 02e6f22b..d11f853e 100644 --- a/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/dev/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::dev - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_maria::dev::dev - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/dev/struct.TrafficPattern.html index e3730f02..cfb0b659 100644 --- a/db_sqlx_maria/dev/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/dev/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_maria::dev::dev - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_maria::dev::dev - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/dev/struct.UpdateEmail.html index f494786f..66715a78 100644 --- a/db_sqlx_maria/dev/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/dev/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_maria::dev::dev - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_maria::dev::dev - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/tests/constant.LEVELS.html b/db_sqlx_maria/dev/dev/tests/constant.LEVELS.html index d5562086..8e2a63c7 100644 --- a/db_sqlx_maria/dev/dev/tests/constant.LEVELS.html +++ b/db_sqlx_maria/dev/dev/tests/constant.LEVELS.html @@ -1,2 +1,2 @@ -LEVELS in db_sqlx_maria::dev::dev::tests - Rust

    Constant db_sqlx_maria::dev::dev::tests::LEVELS

    source ·
    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    +LEVELS in db_sqlx_maria::dev::dev::tests - Rust

    Constant db_sqlx_maria::dev::dev::tests::LEVELS

    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/tests/constant.TRAFFIC_PATTERN.html b/db_sqlx_maria/dev/dev/tests/constant.TRAFFIC_PATTERN.html index 19516862..d62ed715 100644 --- a/db_sqlx_maria/dev/dev/tests/constant.TRAFFIC_PATTERN.html +++ b/db_sqlx_maria/dev/dev/tests/constant.TRAFFIC_PATTERN.html @@ -1,2 +1,2 @@ -TRAFFIC_PATTERN in db_sqlx_maria::dev::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    +TRAFFIC_PATTERN in db_sqlx_maria::dev::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/tests/fn.database_works.html b/db_sqlx_maria/dev/dev/tests/fn.database_works.html index 65cc800c..72d30a8a 100644 --- a/db_sqlx_maria/dev/dev/tests/fn.database_works.html +++ b/db_sqlx_maria/dev/dev/tests/fn.database_works.html @@ -1,10 +1,10 @@ -database_works in db_sqlx_maria::dev::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    -    db: &T,
    +database_works in db_sqlx_maria::dev::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    +    db: &T,
         p: &Register<'a>,
         c: &CreateCaptcha<'a>,
         l: &[Level],
         tp: &TrafficPattern,
         an: &AddNotification<'a>
    -) -> impl Future<Output = ()>where
    +)where
         T: MCDatabase,
    Expand description

    test all database functions

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/tests/index.html b/db_sqlx_maria/dev/dev/tests/index.html index 6becd95a..d2c48a94 100644 --- a/db_sqlx_maria/dev/dev/tests/index.html +++ b/db_sqlx_maria/dev/dev/tests/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::dev::tests - Rust

    Module db_sqlx_maria::dev::dev::tests

    source ·
    Expand description

    Test utilities

    +db_sqlx_maria::dev::dev::tests - Rust

    Module db_sqlx_maria::dev::dev::tests

    Expand description

    Test utilities

    Constants

    Functions

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html index 9dd7697c..2953a58c 100644 --- a/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::dev - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_maria::dev::dev - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.Connect.html b/db_sqlx_maria/dev/dev/trait.Connect.html index a91c7d6e..dbbe5665 100644 --- a/db_sqlx_maria/dev/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/dev/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_maria::dev::dev - Rust
    pub trait Connect {
    +Connect in db_sqlx_maria::dev::dev - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/dev/trait.DBOps.html b/db_sqlx_maria/dev/dev/trait.DBOps.html index 4363b38d..b2d0c319 100644 --- a/db_sqlx_maria/dev/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::dev - Rust

    Trait db_sqlx_maria::dev::dev::DBOps

    source ·
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_maria::dev::dev - Rust

    Trait db_sqlx_maria::dev::dev::DBOps

    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/trait.GetConnection.html b/db_sqlx_maria/dev/dev/trait.GetConnection.html index 5877fa41..deda5edf 100644 --- a/db_sqlx_maria/dev/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/dev/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev::dev - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev::dev - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/dev/trait.MCDatabase.html index f43580fd..0e39952f 100644 --- a/db_sqlx_maria/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/dev/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_maria::dev::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_maria::dev::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_maria/dev/dev/trait.Migrate.html b/db_sqlx_maria/dev/dev/trait.Migrate.html index c53509ab..7c8b1db8 100644 --- a/db_sqlx_maria/dev/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/dev/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev::dev - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev::dev - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/dev/type.BoxDynError.html b/db_sqlx_maria/dev/dev/type.BoxDynError.html index b4ed8418..e2daa8b3 100644 --- a/db_sqlx_maria/dev/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/dev/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_maria::dev::dev - Rust

    Type Definition db_sqlx_maria::dev::dev::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_maria::dev::dev - Rust

    Type Alias db_sqlx_maria::dev::dev::BoxDynError

    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/dev/type.DBResult.html b/db_sqlx_maria/dev/dev/type.DBResult.html index 62dcb39a..2bfad9ea 100644 --- a/db_sqlx_maria/dev/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/dev/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_maria::dev::dev - Rust

    Type Definition db_sqlx_maria::dev::dev::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_maria::dev::dev - Rust

    Type Alias db_sqlx_maria::dev::dev::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/enum.DBError.html b/db_sqlx_maria/dev/enum.DBError.html index bccc9d21..b94d29ff 100644 --- a/db_sqlx_maria/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_maria::dev - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/enum.Error.html b/db_sqlx_maria/dev/enum.Error.html index 7a5f8743..ccff97ef 100644 --- a/db_sqlx_maria/dev/enum.Error.html +++ b/db_sqlx_maria/dev/enum.Error.html @@ -1,63 +1,63 @@ -Error in db_sqlx_maria::dev - Rust

    Enum db_sqlx_maria::dev::Error

    pub enum Error {
    -
    Show 16 variants Configuration(Box<dyn Error + Sync + Send, Global>), - Database(Box<dyn DatabaseError, Global>), - Io(Error), - Tls(Box<dyn Error + Sync + Send, Global>), - Protocol(String), +Error in db_sqlx_maria::dev - Rust

    Enum db_sqlx_maria::dev::Error

    pub enum Error {
    +
    Show 16 variants Configuration(Box<dyn Error + Sync + Send, Global>), + Database(Box<dyn DatabaseError, Global>), + Io(Error), + Tls(Box<dyn Error + Sync + Send, Global>), + Protocol(String), RowNotFound, TypeNotFound { - type_name: String, + type_name: String, }, ColumnIndexOutOfBounds { - index: usize, - len: usize, + index: usize, + len: usize, }, - ColumnNotFound(String), + ColumnNotFound(String), ColumnDecode { - index: String, - source: Box<dyn Error + Sync + Send, Global>, + index: String, + source: Box<dyn Error + Sync + Send, Global>, }, - Decode(Box<dyn Error + Sync + Send, Global>), - AnyDriverError(Box<dyn Error + Sync + Send, Global>), + Decode(Box<dyn Error + Sync + Send, Global>), + AnyDriverError(Box<dyn Error + Sync + Send, Global>), PoolTimedOut, PoolClosed, WorkerCrashed, - Migrate(Box<MigrateError, Global>), + Migrate(Box<MigrateError, Global>),
    }
    Expand description

    Represents all the ways a method can fail within SQLx.

    -

    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.
    §

    Configuration(Box<dyn Error + Sync + Send, Global>)

    Error occurred while parsing a connection string.

    -
    §

    Database(Box<dyn DatabaseError, Global>)

    Error returned from the database.

    -
    §

    Io(Error)

    Error communicating with the database backend.

    -
    §

    Tls(Box<dyn Error + Sync + Send, Global>)

    Error occurred while attempting to establish a TLS connection.

    -
    §

    Protocol(String)

    Unexpected or invalid data encountered while communicating with the database.

    +

    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.
    §

    Configuration(Box<dyn Error + Sync + Send, Global>)

    Error occurred while parsing a connection string.

    +
    §

    Database(Box<dyn DatabaseError, Global>)

    Error returned from the database.

    +
    §

    Io(Error)

    Error communicating with the database backend.

    +
    §

    Tls(Box<dyn Error + Sync + Send, Global>)

    Error occurred while attempting to establish a TLS connection.

    +
    §

    Protocol(String)

    Unexpected or invalid data encountered while communicating with the database.

    This should indicate there is a programming error in a SQLx driver or there is something corrupted with the connection to the database itself.

    §

    RowNotFound

    No rows returned by a query that expected to return at least one row.

    -
    §

    TypeNotFound

    Fields

    §type_name: String

    Type in query doesn’t exist. Likely due to typo or missing user type.

    -
    §

    ColumnIndexOutOfBounds

    Fields

    §index: usize
    §len: usize

    Column index was out of bounds.

    -
    §

    ColumnNotFound(String)

    No column found for the given name.

    -
    §

    ColumnDecode

    Fields

    §index: String
    §source: Box<dyn Error + Sync + Send, Global>

    Error occurred while decoding a value from a specific column.

    -
    §

    Decode(Box<dyn Error + Sync + Send, Global>)

    Error occurred while decoding a value.

    -
    §

    AnyDriverError(Box<dyn Error + Sync + Send, Global>)

    Error occurred within the Any driver mapping to/from the native driver.

    +
    §

    TypeNotFound

    Fields

    §type_name: String

    Type in query doesn’t exist. Likely due to typo or missing user type.

    +
    §

    ColumnIndexOutOfBounds

    Fields

    §index: usize
    §len: usize

    Column index was out of bounds.

    +
    §

    ColumnNotFound(String)

    No column found for the given name.

    +
    §

    ColumnDecode

    Fields

    §index: String
    §source: Box<dyn Error + Sync + Send, Global>

    Error occurred while decoding a value from a specific column.

    +
    §

    Decode(Box<dyn Error + Sync + Send, Global>)

    Error occurred while decoding a value.

    +
    §

    AnyDriverError(Box<dyn Error + Sync + Send, Global>)

    Error occurred within the Any driver mapping to/from the native driver.

    §

    PoolTimedOut

    A Pool::acquire timed out due to connections not becoming available or because another task encountered too many errors while trying to open a new connection.

    §

    PoolClosed

    Pool::close was called while we were waiting in Pool::acquire.

    §

    WorkerCrashed

    A background worker has crashed.

    -
    §

    Migrate(Box<MigrateError, Global>)

    Implementations§

    §

    impl Error

    pub fn into_database_error(self) -> Option<Box<dyn DatabaseError, Global>>

    pub fn as_database_error(&self) -> Option<&(dyn DatabaseError + 'static)>

    Trait Implementations§

    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    §

    impl<E> From<E> for Errorwhere - E: DatabaseError,

    §

    fn from(error: E) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for Error

    §

    fn from(source: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<MigrateError> for Error

    §

    fn from(error: MigrateError) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    Migrate(Box<MigrateError, Global>)

    Implementations§

    §

    impl Error

    pub fn into_database_error(self) -> Option<Box<dyn DatabaseError, Global>>

    pub fn as_database_error(&self) -> Option<&(dyn DatabaseError + 'static)>

    Trait Implementations§

    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    §

    impl<E> From<E> for Errorwhere + E: DatabaseError,

    §

    fn from(error: E) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for Error

    §

    fn from(source: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<MigrateError> for Error

    §

    fn from(error: MigrateError) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/enum.Login.html b/db_sqlx_maria/dev/enum.Login.html index 9f5b32ed..a8c1aa70 100644 --- a/db_sqlx_maria/dev/enum.Login.html +++ b/db_sqlx_maria/dev/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_maria::dev - Rust

    Enum db_sqlx_maria::dev::Login

    source ·
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_maria::dev - Rust

    Enum db_sqlx_maria::dev::Login

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/enum.DBError.html b/db_sqlx_maria/dev/errors/enum.DBError.html index 42307a44..507938d1 100644 --- a/db_sqlx_maria/dev/errors/enum.DBError.html +++ b/db_sqlx_maria/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev::errors - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_maria::dev::errors - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/index.html b/db_sqlx_maria/dev/errors/index.html index 06f85085..a4d08f52 100644 --- a/db_sqlx_maria/dev/errors/index.html +++ b/db_sqlx_maria/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::errors - Rust

    Module db_sqlx_maria::dev::errors

    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 +db_sqlx_maria::dev::errors - Rust

    Module db_sqlx_maria::dev::errors

    Expand description

    represents all the ways a trait can fail using this crate

    +

    Enums

    • Error data structure grouping various error subtypes

    Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/type.BoxDynError.html b/db_sqlx_maria/dev/errors/type.BoxDynError.html index de5774d0..d054bab1 100644 --- a/db_sqlx_maria/dev/errors/type.BoxDynError.html +++ b/db_sqlx_maria/dev/errors/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_maria::dev::errors - Rust

    Type Definition db_sqlx_maria::dev::errors::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_maria::dev::errors - Rust

    Type Alias db_sqlx_maria::dev::errors::BoxDynError

    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/errors/type.DBResult.html b/db_sqlx_maria/dev/errors/type.DBResult.html index 1189b8d4..02b4735b 100644 --- a/db_sqlx_maria/dev/errors/type.DBResult.html +++ b/db_sqlx_maria/dev/errors/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_maria::dev::errors - Rust

    Type Definition db_sqlx_maria::dev::errors::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_maria::dev::errors - Rust

    Type Alias db_sqlx_maria::dev::errors::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/index.html b/db_sqlx_maria/dev/index.html index d961904c..e5ca4baa 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

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file +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

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this +trait.
    • database migrations

    Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/index.html b/db_sqlx_maria/dev/ops/index.html index a58fdeca..ea8f58aa 100644 --- a/db_sqlx_maria/dev/ops/index.html +++ b/db_sqlx_maria/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::ops - Rust

    Module db_sqlx_maria::dev::ops

    source ·
    Expand description

    meta operations like migration and connecting to a database

    +db_sqlx_maria::dev::ops - Rust

    Module db_sqlx_maria::dev::ops

    Expand description

    meta operations like migration and connecting to a database

    Traits

    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • database migrations
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.Connect.html b/db_sqlx_maria/dev/ops/trait.Connect.html index 64c13722..b5adfb8b 100644 --- a/db_sqlx_maria/dev/ops/trait.Connect.html +++ b/db_sqlx_maria/dev/ops/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_maria::dev::ops - Rust
    pub trait Connect {
    +Connect in db_sqlx_maria::dev::ops - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/ops/trait.DBOps.html b/db_sqlx_maria/dev/ops/trait.DBOps.html index c35e081c..32723e6b 100644 --- a/db_sqlx_maria/dev/ops/trait.DBOps.html +++ b/db_sqlx_maria/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::ops - Rust

    Trait db_sqlx_maria::dev::ops::DBOps

    source ·
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_maria::dev::ops - Rust

    Trait db_sqlx_maria::dev::ops::DBOps

    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/ops/trait.GetConnection.html b/db_sqlx_maria/dev/ops/trait.GetConnection.html index 93e3bbda..3258f49e 100644 --- a/db_sqlx_maria/dev/ops/trait.GetConnection.html +++ b/db_sqlx_maria/dev/ops/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev::ops - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev::ops - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/ops/trait.Migrate.html b/db_sqlx_maria/dev/ops/trait.Migrate.html index ef33bcc5..05300d93 100644 --- a/db_sqlx_maria/dev/ops/trait.Migrate.html +++ b/db_sqlx_maria/dev/ops/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev::ops - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev::ops - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html b/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html index e045e7ad..f1bd48fd 100644 --- a/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html +++ b/db_sqlx_maria/dev/prelude/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_maria::dev::prelude::dev - Rust

    Attribute Macro db_sqlx_maria::dev::prelude::dev::async_trait

    #[async_trait]
    \ No newline at end of file +async_trait in db_sqlx_maria::dev::prelude::dev - Rust

    Attribute Macro db_sqlx_maria::dev::prelude::dev::async_trait

    #[async_trait]
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html index 8357b79c..fa4d0264 100644 --- a/db_sqlx_maria/dev/prelude/dev/enum.DBError.html +++ b/db_sqlx_maria/dev/prelude/dev/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev::prelude::dev - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_maria::dev::prelude::dev - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/enum.Login.html b/db_sqlx_maria/dev/prelude/dev/enum.Login.html index ce9b3584..a5a276a9 100644 --- a/db_sqlx_maria/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/dev/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_maria::dev::prelude::dev - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_maria::dev::prelude::dev - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/index.html b/db_sqlx_maria/dev/prelude/dev/index.html index 8f99a513..30f06ace 100644 --- a/db_sqlx_maria/dev/prelude/dev/index.html +++ b/db_sqlx_maria/dev/prelude/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::prelude::dev - Rust

    Module db_sqlx_maria::dev::prelude::dev

    source ·
    Expand description

    useful imports for supporting a new database

    +db_sqlx_maria::dev::prelude::dev - Rust

    Module db_sqlx_maria::dev::prelude::dev

    Expand description

    useful imports for supporting a new database

    Structs

    Enums

    • Error data structure grouping various error subtypes
    • types of credentials used as identifiers during login

    Traits

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html index 5229ad72..4f9b8073 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html index 5ecdfa77..9c2747d7 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html index 300e456a..fedf4361 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html index 516efff6..9d5ae04c 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Level.html b/db_sqlx_maria/dev/prelude/dev/struct.Level.html index ae82459d..ad61a62b 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Level.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html index e6323050..e01e8ed1 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html index a32df801..e5ed4522 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html index 4926b40d..b6d1a999 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Register.html b/db_sqlx_maria/dev/prelude/dev/struct.Register.html index 0dfbb015..ed6f8d27 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Register.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html index 56d5d7d3..539b47e9 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html index 675ebe33..0a1f5543 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html index 46273f2e..bae6b49c 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html index e41d044c..fd05c9e2 100644 --- a/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/dev/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_maria::dev::prelude::dev - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html index 9b5b69de..29dfb2a4 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html index c250b35c..aba4b144 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait Connect {
    +Connect in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html index c703a382..c49b9011 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html index c42b7c3d..d19b99b5 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html index d70366f6..a0f6658e 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html index 1beb24fb..db932b82 100644 --- a/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/dev/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev::prelude::dev - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html b/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html index ac98e604..942c40a5 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/prelude/dev/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_maria::dev::prelude::dev - Rust

    Type Definition db_sqlx_maria::dev::prelude::dev::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_maria::dev::prelude::dev - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html index 1c205381..2c41d884 100644 --- a/db_sqlx_maria/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/dev/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_maria::dev::prelude::dev - Rust

    Type Definition db_sqlx_maria::dev::prelude::dev::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_maria::dev::prelude::dev - Rust

    Type Alias db_sqlx_maria::dev::prelude::dev::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/enum.DBError.html b/db_sqlx_maria/dev/prelude/enum.DBError.html index 5fe66d54..bfa95f60 100644 --- a/db_sqlx_maria/dev/prelude/enum.DBError.html +++ b/db_sqlx_maria/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_maria::dev::prelude - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_maria::dev::prelude - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/enum.Login.html b/db_sqlx_maria/dev/prelude/enum.Login.html index f48460b0..a4998cde 100644 --- a/db_sqlx_maria/dev/prelude/enum.Login.html +++ b/db_sqlx_maria/dev/prelude/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_maria::dev::prelude - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_maria::dev::prelude - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/index.html b/db_sqlx_maria/dev/prelude/index.html index f7f9d14b..e54b3b13 100644 --- a/db_sqlx_maria/dev/prelude/index.html +++ b/db_sqlx_maria/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_maria::dev::prelude - Rust

    Module db_sqlx_maria::dev::prelude

    source ·
    Expand description

    useful imports for users working with a supported database

    +db_sqlx_maria::dev::prelude - Rust

    Module db_sqlx_maria::dev::prelude

    Expand description

    useful imports for users working with a supported database

    Modules

    • useful imports for supporting a new database

    Structs

    Enums

    • Error data structure grouping various error subtypes
    • types of credentials used as identifiers during login

    Traits

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.AddNotification.html b/db_sqlx_maria/dev/prelude/struct.AddNotification.html index 6ccd5391..8f65b815 100644 --- a/db_sqlx_maria/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_maria/dev/prelude/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_maria::dev::prelude - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_maria::dev::prelude - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Captcha.html b/db_sqlx_maria/dev/prelude/struct.Captcha.html index 1c060a72..f5126199 100644 --- a/db_sqlx_maria/dev/prelude/struct.Captcha.html +++ b/db_sqlx_maria/dev/prelude/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_maria::dev::prelude - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_maria::dev::prelude - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html index 1c87a5be..5c0eb7d2 100644 --- a/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/prelude/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_maria::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_maria::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html index 564e6019..84a0ecf9 100644 --- a/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Level.html b/db_sqlx_maria/dev/prelude/struct.Level.html index 23f00e70..e28bd4ce 100644 --- a/db_sqlx_maria/dev/prelude/struct.Level.html +++ b/db_sqlx_maria/dev/prelude/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_maria::dev::prelude - Rust
    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_maria::dev::prelude - Rust
    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.NameHash.html b/db_sqlx_maria/dev/prelude/struct.NameHash.html index 85f77f3e..038f04a7 100644 --- a/db_sqlx_maria/dev/prelude/struct.NameHash.html +++ b/db_sqlx_maria/dev/prelude/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_maria::dev::prelude - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_maria::dev::prelude - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Notification.html b/db_sqlx_maria/dev/prelude/struct.Notification.html index cf2ee0ec..63dac5c6 100644 --- a/db_sqlx_maria/dev/prelude/struct.Notification.html +++ b/db_sqlx_maria/dev/prelude/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_maria::dev::prelude - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_maria::dev::prelude - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html index 4226d307..ab539536 100644 --- a/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/prelude/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_maria::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Register.html b/db_sqlx_maria/dev/prelude/struct.Register.html index 2b859bc4..11b3721b 100644 --- a/db_sqlx_maria/dev/prelude/struct.Register.html +++ b/db_sqlx_maria/dev/prelude/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_maria::dev::prelude - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_maria::dev::prelude - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.Secret.html b/db_sqlx_maria/dev/prelude/struct.Secret.html index 39e1860a..352a0836 100644 --- a/db_sqlx_maria/dev/prelude/struct.Secret.html +++ b/db_sqlx_maria/dev/prelude/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_maria::dev::prelude - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_maria::dev::prelude - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html index 3da73c2b..28afc9c6 100644 --- a/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_maria::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_maria::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html index adfe66d8..5a9cd6db 100644 --- a/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/prelude/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_maria::dev::prelude - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_maria::dev::prelude - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html index b31c960a..c4f51eb7 100644 --- a/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/prelude/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_maria::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_maria::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html index 464741ce..53075ac6 100644 --- a/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev::prelude - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_maria::dev::prelude - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.Connect.html b/db_sqlx_maria/dev/prelude/trait.Connect.html index be5c5b0f..e83c80a8 100644 --- a/db_sqlx_maria/dev/prelude/trait.Connect.html +++ b/db_sqlx_maria/dev/prelude/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_maria::dev::prelude - Rust
    pub trait Connect {
    +Connect in db_sqlx_maria::dev::prelude - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/prelude/trait.DBOps.html b/db_sqlx_maria/dev/prelude/trait.DBOps.html index 477fb8b6..5b38a588 100644 --- a/db_sqlx_maria/dev/prelude/trait.DBOps.html +++ b/db_sqlx_maria/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_maria::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/trait.GetConnection.html b/db_sqlx_maria/dev/prelude/trait.GetConnection.html index 441445fc..2086d9f3 100644 --- a/db_sqlx_maria/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_maria/dev/prelude/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev::prelude - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev::prelude - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html index 9d0bc92e..a7e5c56d 100644 --- a/db_sqlx_maria/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/prelude/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_maria::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_maria::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_maria/dev/prelude/trait.Migrate.html b/db_sqlx_maria/dev/prelude/trait.Migrate.html index 985fd850..60f4b46d 100644 --- a/db_sqlx_maria/dev/prelude/trait.Migrate.html +++ b/db_sqlx_maria/dev/prelude/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/prelude/type.BoxDynError.html b/db_sqlx_maria/dev/prelude/type.BoxDynError.html index e6997dbc..daf772e1 100644 --- a/db_sqlx_maria/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_maria/dev/prelude/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_maria::dev::prelude - Rust

    Type Definition db_sqlx_maria::dev::prelude::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_maria::dev::prelude - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/prelude/type.DBResult.html b/db_sqlx_maria/dev/prelude/type.DBResult.html index f799f3b7..ee74bd60 100644 --- a/db_sqlx_maria/dev/prelude/type.DBResult.html +++ b/db_sqlx_maria/dev/prelude/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_maria::dev::prelude - Rust

    Type Definition db_sqlx_maria::dev::prelude::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_maria::dev::prelude - Rust

    Type Alias db_sqlx_maria::dev::prelude::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.AddNotification.html b/db_sqlx_maria/dev/struct.AddNotification.html index 9e3c63b5..8208542f 100644 --- a/db_sqlx_maria/dev/struct.AddNotification.html +++ b/db_sqlx_maria/dev/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_maria::dev - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_maria::dev - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Captcha.html b/db_sqlx_maria/dev/struct.Captcha.html index d2674bce..3c2e38f0 100644 --- a/db_sqlx_maria/dev/struct.Captcha.html +++ b/db_sqlx_maria/dev/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Captcha

    source ·
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Captcha

    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.CreateCaptcha.html b/db_sqlx_maria/dev/struct.CreateCaptcha.html index c10b48eb..9bc2d195 100644 --- a/db_sqlx_maria/dev/struct.CreateCaptcha.html +++ b/db_sqlx_maria/dev/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_maria::dev - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_maria::dev - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html index 0065d906..2990f964 100644 --- a/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_maria/dev/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_maria::dev - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_maria::dev - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Level.html b/db_sqlx_maria/dev/struct.Level.html index 188c8d78..6a93eda9 100644 --- a/db_sqlx_maria/dev/struct.Level.html +++ b/db_sqlx_maria/dev/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Level

    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Level

    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.NameHash.html b/db_sqlx_maria/dev/struct.NameHash.html index 9096f83c..b8b9055e 100644 --- a/db_sqlx_maria/dev/struct.NameHash.html +++ b/db_sqlx_maria/dev/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::NameHash

    source ·
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::NameHash

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 40e9df71..088222eb 100644 --- a/db_sqlx_maria/dev/struct.Notification.html +++ b/db_sqlx_maria/dev/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_maria::dev - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_maria::dev - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.PerformanceAnalytics.html b/db_sqlx_maria/dev/struct.PerformanceAnalytics.html index 05da7daf..d6ba0b99 100644 --- a/db_sqlx_maria/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_maria/dev/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_maria::dev - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_maria::dev - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Register.html b/db_sqlx_maria/dev/struct.Register.html index 8e91d423..151efd10 100644 --- a/db_sqlx_maria/dev/struct.Register.html +++ b/db_sqlx_maria/dev/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Register

    source ·
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Register

    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.Secret.html b/db_sqlx_maria/dev/struct.Secret.html index fcd77f43..e10ec79c 100644 --- a/db_sqlx_maria/dev/struct.Secret.html +++ b/db_sqlx_maria/dev/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Secret

    source ·
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_maria::dev - Rust

    Struct db_sqlx_maria::dev::Secret

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html b/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html index 97fb3bf7..4c071286 100644 --- a/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_maria/dev/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_maria::dev - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_maria::dev - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.TrafficPattern.html b/db_sqlx_maria/dev/struct.TrafficPattern.html index 6141a43d..e58539d2 100644 --- a/db_sqlx_maria/dev/struct.TrafficPattern.html +++ b/db_sqlx_maria/dev/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_maria::dev - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_maria::dev - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/struct.UpdateEmail.html b/db_sqlx_maria/dev/struct.UpdateEmail.html index e476b7a6..c45499f3 100644 --- a/db_sqlx_maria/dev/struct.UpdateEmail.html +++ b/db_sqlx_maria/dev/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_maria::dev - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_maria::dev - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/constant.LEVELS.html b/db_sqlx_maria/dev/tests/constant.LEVELS.html index b94a7e9e..6d02e1f0 100644 --- a/db_sqlx_maria/dev/tests/constant.LEVELS.html +++ b/db_sqlx_maria/dev/tests/constant.LEVELS.html @@ -1,2 +1,2 @@ -LEVELS in db_sqlx_maria::dev::tests - Rust

    Constant db_sqlx_maria::dev::tests::LEVELS

    source ·
    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    +LEVELS in db_sqlx_maria::dev::tests - Rust

    Constant db_sqlx_maria::dev::tests::LEVELS

    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html b/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html index eed546fc..e6bdacf2 100644 --- a/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html +++ b/db_sqlx_maria/dev/tests/constant.TRAFFIC_PATTERN.html @@ -1,2 +1,2 @@ -TRAFFIC_PATTERN in db_sqlx_maria::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    +TRAFFIC_PATTERN in db_sqlx_maria::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/fn.database_works.html b/db_sqlx_maria/dev/tests/fn.database_works.html index b14b597b..127f7fa8 100644 --- a/db_sqlx_maria/dev/tests/fn.database_works.html +++ b/db_sqlx_maria/dev/tests/fn.database_works.html @@ -1,10 +1,10 @@ -database_works in db_sqlx_maria::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    -    db: &T,
    +database_works in db_sqlx_maria::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    +    db: &T,
         p: &Register<'a>,
         c: &CreateCaptcha<'a>,
         l: &[Level],
         tp: &TrafficPattern,
         an: &AddNotification<'a>
    -) -> impl Future<Output = ()>where
    +)where
         T: MCDatabase,
    Expand description

    test all database functions

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/tests/index.html b/db_sqlx_maria/dev/tests/index.html index c5e96b3d..2f1232a9 100644 --- a/db_sqlx_maria/dev/tests/index.html +++ b/db_sqlx_maria/dev/tests/index.html @@ -1,2 +1,2 @@ -db_sqlx_maria::dev::tests - Rust

    Module db_sqlx_maria::dev::tests

    source ·
    Expand description

    Test utilities

    +db_sqlx_maria::dev::tests - Rust

    Module db_sqlx_maria::dev::tests

    Expand description

    Test utilities

    Constants

    Functions

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.CloneSPDatabase.html b/db_sqlx_maria/dev/trait.CloneSPDatabase.html index ef7ec9eb..597f970a 100644 --- a/db_sqlx_maria/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_maria/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_maria::dev - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_maria::dev - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.Connect.html b/db_sqlx_maria/dev/trait.Connect.html index e51a9fa3..f92f087f 100644 --- a/db_sqlx_maria/dev/trait.Connect.html +++ b/db_sqlx_maria/dev/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_maria::dev - Rust
    pub trait Connect {
    +Connect in db_sqlx_maria::dev - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_maria/dev/trait.DBOps.html b/db_sqlx_maria/dev/trait.DBOps.html index 3ae7de7f..263992e8 100644 --- a/db_sqlx_maria/dev/trait.DBOps.html +++ b/db_sqlx_maria/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_maria::dev - Rust

    Trait db_sqlx_maria::dev::DBOps

    source ·
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_maria::dev - Rust

    Trait db_sqlx_maria::dev::DBOps

    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_maria/dev/trait.GetConnection.html b/db_sqlx_maria/dev/trait.GetConnection.html index db674f5d..873585e4 100644 --- a/db_sqlx_maria/dev/trait.GetConnection.html +++ b/db_sqlx_maria/dev/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_maria::dev - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_maria::dev - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_maria/dev/trait.MCDatabase.html b/db_sqlx_maria/dev/trait.MCDatabase.html index ad768988..ff7e1329 100644 --- a/db_sqlx_maria/dev/trait.MCDatabase.html +++ b/db_sqlx_maria/dev/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_maria::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_maria::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_maria/dev/trait.Migrate.html b/db_sqlx_maria/dev/trait.Migrate.html index 700a4d8b..f776df1c 100644 --- a/db_sqlx_maria/dev/trait.Migrate.html +++ b/db_sqlx_maria/dev/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_maria::dev - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_maria::dev - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_maria/dev/type.BoxDynError.html b/db_sqlx_maria/dev/type.BoxDynError.html index b8923232..69e2ac88 100644 --- a/db_sqlx_maria/dev/type.BoxDynError.html +++ b/db_sqlx_maria/dev/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_maria::dev - Rust

    Type Definition db_sqlx_maria::dev::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_maria::dev - Rust

    Type Alias db_sqlx_maria::dev::BoxDynError

    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_maria/dev/type.DBResult.html b/db_sqlx_maria/dev/type.DBResult.html index d21fdd11..9655ca37 100644 --- a/db_sqlx_maria/dev/type.DBResult.html +++ b/db_sqlx_maria/dev/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_maria::dev - Rust

    Type Definition db_sqlx_maria::dev::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_maria::dev - Rust

    Type Alias db_sqlx_maria::dev::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_maria/enum.ConnectionOptions.html b/db_sqlx_maria/enum.ConnectionOptions.html index 77521637..6580413b 100644 --- a/db_sqlx_maria/enum.ConnectionOptions.html +++ b/db_sqlx_maria/enum.ConnectionOptions.html @@ -1,4 +1,4 @@ -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

    @@ -6,22 +6,22 @@
    §

    Existing(Conn)

    existing connection

    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 +) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>where Self: 'async_trait,

    database specific error-type -create connection pool

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +create connection pool

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/errors/fn.map_register_err.html b/db_sqlx_maria/errors/fn.map_register_err.html index a30c00c4..05699471 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 8499b3ed..ca3532ea 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 26258505..5d6ca0db 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 93741e6c..ac39c9fe 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 361a9bca..185caa72 100644 --- a/db_sqlx_maria/prelude/index.html +++ b/db_sqlx_maria/prelude/index.html @@ -1 +1 @@ -db_sqlx_maria::prelude - Rust

    Module db_sqlx_maria::prelude

    source ·

    Re-exports

    \ No newline at end of file +db_sqlx_maria::prelude - Rust

    Module db_sqlx_maria::prelude

    source ·

    Re-exports

    \ No newline at end of file diff --git a/db_sqlx_maria/struct.Conn.html b/db_sqlx_maria/struct.Conn.html index c350f35e..1885eb04 100644 --- a/db_sqlx_maria/struct.Conn.html +++ b/db_sqlx_maria/struct.Conn.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/struct.Database.html b/db_sqlx_maria/struct.Database.html index 0d8032a7..e16a7cb0 100644 --- a/db_sqlx_maria/struct.Database.html +++ b/db_sqlx_maria/struct.Database.html @@ -1,138 +1,138 @@ -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 +) -> 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>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    register a new user

    source§

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>>where + 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>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + 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>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    update a user’s email

    source§

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>>where +) -> 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>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    update user’s password

    source§

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    update username

    source§

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    update a user’s secret

    source§

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    create new captcha

    source§

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Get captcha config

    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 + 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>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    source§

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -140,10 +140,10 @@ 'life3: 'async_trait,

    update captcha key; doesn’t change metadata

    source§

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -151,53 +151,53 @@ 'life3: 'async_trait,

    Add levels to captcha

    source§

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    check if captcha exists

    source§

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_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>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Delete captcha

    source§

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Get captcha levels

    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 + 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>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -205,18 +205,18 @@ 'life3: 'async_trait,

    Add traffic configuration

    source§

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Get traffic configuration

    source§

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -224,182 +224,182 @@

    source§

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    create new notification

    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 + 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>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    mark a notification read

    source§

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    fetch PoWConfig fetches

    source§

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    fetch PoWConfig solves

    source§

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    fetch PoWConfig confirms

    source§

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    record PoW timing

    source§

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>>where 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>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where + 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>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where + 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_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where + page: usize +) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get all psuedo IDs

    source§

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    Track maximum nonce received against captcha levels

    source§

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    source§

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get number of analytics entries that are under a certain duration

    source§

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limited and sorted in ascending order

    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 + 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
    source§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( + 'life1: 'async_trait,

    Delete all records for campaign
    §

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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>( &'life0 self -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    database specific error-type -run migrations

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    source§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +run migrations

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    §

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/struct.Fresh.html b/db_sqlx_maria/struct.Fresh.html index a1329e34..f9086e47 100644 --- a/db_sqlx_maria/struct.Fresh.html +++ b/db_sqlx_maria/struct.Fresh.html @@ -1,21 +1,21 @@ -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,
    -}

    Fields§

    §pool_options: MySqlPoolOptions§disable_logging: bool§url: String

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Fresh

    §

    impl Send for Fresh

    §

    impl Sync for Fresh

    §

    impl Unpin for Fresh

    §

    impl !UnwindSafe for Fresh

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub disable_logging: bool, + pub url: String, +}

    Fields§

    §pool_options: MySqlPoolOptions§disable_logging: bool§url: String

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Fresh

    §

    impl Send for Fresh

    §

    impl Sync for Fresh

    §

    impl Unpin for Fresh

    §

    impl !UnwindSafe for Fresh

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_maria/struct.InnerNotification.html b/db_sqlx_maria/struct.InnerNotification.html index 430d88de..b95eb76f 100644 --- a/db_sqlx_maria/struct.InnerNotification.html +++ b/db_sqlx_maria/struct.InnerNotification.html @@ -1,32 +1,32 @@ -InnerNotification in db_sqlx_maria - Rust
    pub struct InnerNotification {
    -    pub name: String,
    -    pub heading: String,
    -    pub message: String,
    +InnerNotification in db_sqlx_maria - Rust
    pub struct InnerNotification {
    +    pub name: String,
    +    pub heading: String,
    +    pub message: String,
         pub received: OffsetDateTime,
    -    pub id: i32,
    +    pub id: i32,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: String

    receiver name of the notification

    -
    §heading: String

    heading of the notification

    -
    §message: String

    message of the notification

    +

    Fields§

    §name: String

    receiver name of the notification

    +
    §heading: String

    heading of the notification

    +
    §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 -by ==.
    1.0.0 · source§

    fn ne(&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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §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 +by ==.
    1.0.0 · source§

    fn ne(&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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/all.html b/db_sqlx_postgres/all.html index 3d157829..1407bfca 100644 --- a/db_sqlx_postgres/all.html +++ b/db_sqlx_postgres/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Attribute Macros

    Functions

    Type Definitions

    Constants

    \ No newline at end of file +List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Attribute Macros

    Functions

    Type Aliases

    Constants

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/attr.async_trait.html b/db_sqlx_postgres/dev/attr.async_trait.html index 2c77cef9..8792726e 100644 --- a/db_sqlx_postgres/dev/attr.async_trait.html +++ b/db_sqlx_postgres/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_postgres::dev - Rust

    Attribute Macro db_sqlx_postgres::dev::async_trait

    #[async_trait]
    \ No newline at end of file +async_trait in db_sqlx_postgres::dev - Rust

    Attribute Macro db_sqlx_postgres::dev::async_trait

    #[async_trait]
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/attr.async_trait.html b/db_sqlx_postgres/dev/dev/attr.async_trait.html index 89fe5de3..2371622f 100644 --- a/db_sqlx_postgres/dev/dev/attr.async_trait.html +++ b/db_sqlx_postgres/dev/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_postgres::dev::dev - Rust

    Attribute Macro db_sqlx_postgres::dev::dev::async_trait

    #[async_trait]
    \ No newline at end of file +async_trait in db_sqlx_postgres::dev::dev - Rust

    Attribute Macro db_sqlx_postgres::dev::dev::async_trait

    #[async_trait]
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/enum.DBError.html b/db_sqlx_postgres/dev/dev/enum.DBError.html index e3b13374..6128bc2a 100644 --- a/db_sqlx_postgres/dev/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev::dev - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev::dev - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/enum.Login.html b/db_sqlx_postgres/dev/dev/enum.Login.html index d293c2c4..482c351e 100644 --- a/db_sqlx_postgres/dev/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/dev/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_postgres::dev::dev - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_postgres::dev::dev - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/enum.DBError.html b/db_sqlx_postgres/dev/dev/errors/enum.DBError.html index eba38d56..1afd07f3 100644 --- a/db_sqlx_postgres/dev/dev/errors/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev::dev::errors - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev::dev::errors - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/index.html b/db_sqlx_postgres/dev/dev/errors/index.html index 983112fd..d48ff767 100644 --- a/db_sqlx_postgres/dev/dev/errors/index.html +++ b/db_sqlx_postgres/dev/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::dev::errors - Rust
    Expand description

    represents all the ways a trait can fail using this crate

    -

    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 +db_sqlx_postgres::dev::dev::errors - Rust
    Expand description

    represents all the ways a trait can fail using this crate

    +

    Enums

    • Error data structure grouping various error subtypes

    Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html index 29fe260e..62bceced 100644 --- a/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/errors/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev::dev::errors - Rust

    Type Definition db_sqlx_postgres::dev::dev::errors::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::dev::errors - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/errors/type.DBResult.html b/db_sqlx_postgres/dev/dev/errors/type.DBResult.html index 3cdc01fe..a804ec9d 100644 --- a/db_sqlx_postgres/dev/dev/errors/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/errors/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev::dev::errors - Rust

    Type Definition db_sqlx_postgres::dev::dev::errors::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev::dev::errors - Rust

    Type Alias db_sqlx_postgres::dev::dev::errors::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/index.html b/db_sqlx_postgres/dev/dev/index.html index 48861b0b..6b48ea89 100644 --- a/db_sqlx_postgres/dev/dev/index.html +++ b/db_sqlx_postgres/dev/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::dev - Rust

    Module db_sqlx_postgres::dev::dev

    source ·
    Expand description

    useful imports for supporting a new database

    +db_sqlx_postgres::dev::dev - Rust

    Module db_sqlx_postgres::dev::dev

    Expand description

    useful imports for supporting a new database

    Modules

    • represents all the ways a trait can fail using this crate
    • meta operations like migration and connecting to a database
    • useful imports for users working with a supported database
    • Test utilities

    Structs

    Enums

    • Error data structure grouping various error subtypes
    • types of credentials used as identifiers during login

    Traits

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/index.html b/db_sqlx_postgres/dev/dev/ops/index.html index 0efc0578..78542782 100644 --- a/db_sqlx_postgres/dev/dev/ops/index.html +++ b/db_sqlx_postgres/dev/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::dev::ops - Rust

    Module db_sqlx_postgres::dev::dev::ops

    source ·
    Expand description

    meta operations like migration and connecting to a database

    +db_sqlx_postgres::dev::dev::ops - Rust

    Module db_sqlx_postgres::dev::dev::ops

    Expand description

    meta operations like migration and connecting to a database

    Traits

    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • database migrations
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html index 8fa71274..3421c44f 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html b/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html index 348fe8aa..eb8e7a20 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html index 99b09158..82177f1a 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html index 7fbeccc3..94d85a52 100644 --- a/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/ops/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev::dev::ops - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html b/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html index 0c455340..707f0e4c 100644 --- a/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html +++ b/db_sqlx_postgres/dev/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev::dev::prelude - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev::dev::prelude - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/enum.Login.html b/db_sqlx_postgres/dev/dev/prelude/enum.Login.html index d6fa0d39..2179af49 100644 --- a/db_sqlx_postgres/dev/dev/prelude/enum.Login.html +++ b/db_sqlx_postgres/dev/dev/prelude/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_postgres::dev::dev::prelude - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_postgres::dev::dev::prelude - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/index.html b/db_sqlx_postgres/dev/dev/prelude/index.html index f6d7ae34..7e31fb98 100644 --- a/db_sqlx_postgres/dev/dev/prelude/index.html +++ b/db_sqlx_postgres/dev/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::dev::prelude - Rust
    Expand description

    useful imports for users working with a supported database

    +db_sqlx_postgres::dev::dev::prelude - Rust
    Expand description

    useful imports for users working with a supported database

    Structs

    Enums

    • Error data structure grouping various error subtypes
    • types of credentials used as identifiers during login

    Traits

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html b/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html index 455251e5..46367b39 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html b/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html index bc456564..b5f42421 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html index c4471a27..2d7fb3d1 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html index f4e9351d..1d236ca5 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Level.html b/db_sqlx_postgres/dev/dev/prelude/struct.Level.html index fc2f631a..55d1cd7a 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Level.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html b/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html index eb63a39f..e7d17f5b 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 30a349e5..aaac6f18 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html index 080deffc..850a9971 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Register.html b/db_sqlx_postgres/dev/dev/prelude/struct.Register.html index 541e3e83..dbc7325e 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Register.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html b/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html index ecac5e71..d3e845f3 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html index 175d53b5..044f647e 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html index 845b8bd7..50d82d1a 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html index 9dc41ebd..969ed6da 100644 --- a/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/dev/prelude/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_postgres::dev::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html index 970dde35..ccca992a 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html index ba46c4af..1ed9091e 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html b/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html index d706ca86..4431db39 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html index d15fa556..4c2dc60e 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html index 3c66e8b1..11d92b8c 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html index 93f3ebce..d2a7270f 100644 --- a/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/prelude/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html index d3f36069..1eff9ebf 100644 --- a/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/prelude/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev::dev::prelude - Rust

    Type Definition db_sqlx_postgres::dev::dev::prelude::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::dev::prelude - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html b/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html index 48aa2086..623b1a39 100644 --- a/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/prelude/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev::dev::prelude - Rust

    Type Definition db_sqlx_postgres::dev::dev::prelude::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev::dev::prelude - Rust
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/dev/struct.AddNotification.html index 7377da3d..dad5c813 100644 --- a/db_sqlx_postgres/dev/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/dev/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_postgres::dev::dev - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_postgres::dev::dev - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Captcha.html b/db_sqlx_postgres/dev/dev/struct.Captcha.html index 5be45fe5..787c452e 100644 --- a/db_sqlx_postgres/dev/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/dev/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_postgres::dev::dev - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_postgres::dev::dev - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html index c7668399..280fb65c 100644 --- a/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/dev/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_postgres::dev::dev - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_postgres::dev::dev - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html index 8f6c0c37..b094a218 100644 --- a/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Level.html b/db_sqlx_postgres/dev/dev/struct.Level.html index df452db6..61e5c3fa 100644 --- a/db_sqlx_postgres/dev/dev/struct.Level.html +++ b/db_sqlx_postgres/dev/dev/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_postgres::dev::dev - Rust

    Struct db_sqlx_postgres::dev::dev::Level

    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_postgres::dev::dev - Rust

    Struct db_sqlx_postgres::dev::dev::Level

    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.NameHash.html b/db_sqlx_postgres/dev/dev/struct.NameHash.html index 89109dc9..f3d35929 100644 --- a/db_sqlx_postgres/dev/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/dev/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_postgres::dev::dev - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_postgres::dev::dev - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 e6afe5db..9bdfb9fb 100644 --- a/db_sqlx_postgres/dev/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/dev/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_postgres::dev::dev - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_postgres::dev::dev - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html index 9e997a4b..58fca2a4 100644 --- a/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/dev/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_postgres::dev::dev - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Register.html b/db_sqlx_postgres/dev/dev/struct.Register.html index f7d414c6..ccbc3d90 100644 --- a/db_sqlx_postgres/dev/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/dev/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_postgres::dev::dev - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_postgres::dev::dev - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.Secret.html b/db_sqlx_postgres/dev/dev/struct.Secret.html index 604d7535..b79da1a5 100644 --- a/db_sqlx_postgres/dev/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/dev/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_postgres::dev::dev - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_postgres::dev::dev - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html index efe5fc70..bce2e286 100644 --- a/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/dev/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::dev - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_postgres::dev::dev - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html index ec6bbdb2..50c99dfb 100644 --- a/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/dev/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_postgres::dev::dev - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_postgres::dev::dev - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html index 9dc37d44..1d9aa6e0 100644 --- a/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/dev/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_postgres::dev::dev - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_postgres::dev::dev - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/tests/constant.LEVELS.html b/db_sqlx_postgres/dev/dev/tests/constant.LEVELS.html index 80c5b9f8..b00193fd 100644 --- a/db_sqlx_postgres/dev/dev/tests/constant.LEVELS.html +++ b/db_sqlx_postgres/dev/dev/tests/constant.LEVELS.html @@ -1,2 +1,2 @@ -LEVELS in db_sqlx_postgres::dev::dev::tests - Rust

    Constant db_sqlx_postgres::dev::dev::tests::LEVELS

    source ·
    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    +LEVELS in db_sqlx_postgres::dev::dev::tests - Rust

    Constant db_sqlx_postgres::dev::dev::tests::LEVELS

    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/tests/constant.TRAFFIC_PATTERN.html b/db_sqlx_postgres/dev/dev/tests/constant.TRAFFIC_PATTERN.html index a5be2e89..8cad1b01 100644 --- a/db_sqlx_postgres/dev/dev/tests/constant.TRAFFIC_PATTERN.html +++ b/db_sqlx_postgres/dev/dev/tests/constant.TRAFFIC_PATTERN.html @@ -1,2 +1,2 @@ -TRAFFIC_PATTERN in db_sqlx_postgres::dev::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    +TRAFFIC_PATTERN in db_sqlx_postgres::dev::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/tests/fn.database_works.html b/db_sqlx_postgres/dev/dev/tests/fn.database_works.html index 3a682a4c..db66ec79 100644 --- a/db_sqlx_postgres/dev/dev/tests/fn.database_works.html +++ b/db_sqlx_postgres/dev/dev/tests/fn.database_works.html @@ -1,10 +1,10 @@ -database_works in db_sqlx_postgres::dev::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    -    db: &T,
    +database_works in db_sqlx_postgres::dev::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    +    db: &T,
         p: &Register<'a>,
         c: &CreateCaptcha<'a>,
         l: &[Level],
         tp: &TrafficPattern,
         an: &AddNotification<'a>
    -) -> impl Future<Output = ()>where
    +)where
         T: MCDatabase,
    Expand description

    test all database functions

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/tests/index.html b/db_sqlx_postgres/dev/dev/tests/index.html index 82db7896..c2154d90 100644 --- a/db_sqlx_postgres/dev/dev/tests/index.html +++ b/db_sqlx_postgres/dev/dev/tests/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::dev::tests - Rust

    Module db_sqlx_postgres::dev::dev::tests

    source ·
    Expand description

    Test utilities

    +db_sqlx_postgres::dev::dev::tests - Rust

    Module db_sqlx_postgres::dev::dev::tests

    Expand description

    Test utilities

    Constants

    Functions

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html index 722911d6..8934b29e 100644 --- a/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::dev - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_postgres::dev::dev - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.Connect.html b/db_sqlx_postgres/dev/dev/trait.Connect.html index b0a33b22..01e53c0d 100644 --- a/db_sqlx_postgres/dev/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/dev/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev::dev - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev::dev - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/dev/trait.DBOps.html b/db_sqlx_postgres/dev/dev/trait.DBOps.html index 27371d9c..703a30f5 100644 --- a/db_sqlx_postgres/dev/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/dev/trait.GetConnection.html index af22f4ad..6b5c7397 100644 --- a/db_sqlx_postgres/dev/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/dev/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev::dev - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev::dev - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html index 26ddd3f8..8a4daa91 100644 --- a/db_sqlx_postgres/dev/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/dev/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_postgres::dev::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_postgres::dev::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_postgres/dev/dev/trait.Migrate.html b/db_sqlx_postgres/dev/dev/trait.Migrate.html index e9f35a16..066d06c8 100644 --- a/db_sqlx_postgres/dev/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/dev/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev::dev - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev::dev - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/dev/type.BoxDynError.html index 759373e6..538df5c7 100644 --- a/db_sqlx_postgres/dev/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/dev/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev::dev - Rust

    Type Definition db_sqlx_postgres::dev::dev::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::dev - Rust

    Type Alias db_sqlx_postgres::dev::dev::BoxDynError

    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/dev/type.DBResult.html b/db_sqlx_postgres/dev/dev/type.DBResult.html index 380039c0..4ed6c1cb 100644 --- a/db_sqlx_postgres/dev/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/dev/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev::dev - Rust

    Type Definition db_sqlx_postgres::dev::dev::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev::dev - Rust

    Type Alias db_sqlx_postgres::dev::dev::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/enum.DBError.html b/db_sqlx_postgres/dev/enum.DBError.html index 158ec677..c4bffe74 100644 --- a/db_sqlx_postgres/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/enum.Error.html b/db_sqlx_postgres/dev/enum.Error.html index b40275ab..832159af 100644 --- a/db_sqlx_postgres/dev/enum.Error.html +++ b/db_sqlx_postgres/dev/enum.Error.html @@ -1,63 +1,63 @@ -Error in db_sqlx_postgres::dev - Rust
    pub enum Error {
    -
    Show 16 variants Configuration(Box<dyn Error + Sync + Send, Global>), - Database(Box<dyn DatabaseError, Global>), - Io(Error), - Tls(Box<dyn Error + Sync + Send, Global>), - Protocol(String), +Error in db_sqlx_postgres::dev - Rust
    pub enum Error {
    +
    Show 16 variants Configuration(Box<dyn Error + Sync + Send, Global>), + Database(Box<dyn DatabaseError, Global>), + Io(Error), + Tls(Box<dyn Error + Sync + Send, Global>), + Protocol(String), RowNotFound, TypeNotFound { - type_name: String, + type_name: String, }, ColumnIndexOutOfBounds { - index: usize, - len: usize, + index: usize, + len: usize, }, - ColumnNotFound(String), + ColumnNotFound(String), ColumnDecode { - index: String, - source: Box<dyn Error + Sync + Send, Global>, + index: String, + source: Box<dyn Error + Sync + Send, Global>, }, - Decode(Box<dyn Error + Sync + Send, Global>), - AnyDriverError(Box<dyn Error + Sync + Send, Global>), + Decode(Box<dyn Error + Sync + Send, Global>), + AnyDriverError(Box<dyn Error + Sync + Send, Global>), PoolTimedOut, PoolClosed, WorkerCrashed, - Migrate(Box<MigrateError, Global>), + Migrate(Box<MigrateError, Global>),
    }
    Expand description

    Represents all the ways a method can fail within SQLx.

    -

    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.
    §

    Configuration(Box<dyn Error + Sync + Send, Global>)

    Error occurred while parsing a connection string.

    -
    §

    Database(Box<dyn DatabaseError, Global>)

    Error returned from the database.

    -
    §

    Io(Error)

    Error communicating with the database backend.

    -
    §

    Tls(Box<dyn Error + Sync + Send, Global>)

    Error occurred while attempting to establish a TLS connection.

    -
    §

    Protocol(String)

    Unexpected or invalid data encountered while communicating with the database.

    +

    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.
    §

    Configuration(Box<dyn Error + Sync + Send, Global>)

    Error occurred while parsing a connection string.

    +
    §

    Database(Box<dyn DatabaseError, Global>)

    Error returned from the database.

    +
    §

    Io(Error)

    Error communicating with the database backend.

    +
    §

    Tls(Box<dyn Error + Sync + Send, Global>)

    Error occurred while attempting to establish a TLS connection.

    +
    §

    Protocol(String)

    Unexpected or invalid data encountered while communicating with the database.

    This should indicate there is a programming error in a SQLx driver or there is something corrupted with the connection to the database itself.

    §

    RowNotFound

    No rows returned by a query that expected to return at least one row.

    -
    §

    TypeNotFound

    Fields

    §type_name: String

    Type in query doesn’t exist. Likely due to typo or missing user type.

    -
    §

    ColumnIndexOutOfBounds

    Fields

    §index: usize
    §len: usize

    Column index was out of bounds.

    -
    §

    ColumnNotFound(String)

    No column found for the given name.

    -
    §

    ColumnDecode

    Fields

    §index: String
    §source: Box<dyn Error + Sync + Send, Global>

    Error occurred while decoding a value from a specific column.

    -
    §

    Decode(Box<dyn Error + Sync + Send, Global>)

    Error occurred while decoding a value.

    -
    §

    AnyDriverError(Box<dyn Error + Sync + Send, Global>)

    Error occurred within the Any driver mapping to/from the native driver.

    +
    §

    TypeNotFound

    Fields

    §type_name: String

    Type in query doesn’t exist. Likely due to typo or missing user type.

    +
    §

    ColumnIndexOutOfBounds

    Fields

    §index: usize
    §len: usize

    Column index was out of bounds.

    +
    §

    ColumnNotFound(String)

    No column found for the given name.

    +
    §

    ColumnDecode

    Fields

    §index: String
    §source: Box<dyn Error + Sync + Send, Global>

    Error occurred while decoding a value from a specific column.

    +
    §

    Decode(Box<dyn Error + Sync + Send, Global>)

    Error occurred while decoding a value.

    +
    §

    AnyDriverError(Box<dyn Error + Sync + Send, Global>)

    Error occurred within the Any driver mapping to/from the native driver.

    §

    PoolTimedOut

    A Pool::acquire timed out due to connections not becoming available or because another task encountered too many errors while trying to open a new connection.

    §

    PoolClosed

    Pool::close was called while we were waiting in Pool::acquire.

    §

    WorkerCrashed

    A background worker has crashed.

    -
    §

    Migrate(Box<MigrateError, Global>)

    Implementations§

    §

    impl Error

    pub fn into_database_error(self) -> Option<Box<dyn DatabaseError, Global>>

    pub fn as_database_error(&self) -> Option<&(dyn DatabaseError + 'static)>

    Trait Implementations§

    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    §

    impl<E> From<E> for Errorwhere - E: DatabaseError,

    §

    fn from(error: E) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for Error

    §

    fn from(source: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<MigrateError> for Error

    §

    fn from(error: MigrateError) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    Migrate(Box<MigrateError, Global>)

    Implementations§

    §

    impl Error

    pub fn into_database_error(self) -> Option<Box<dyn DatabaseError, Global>>

    pub fn as_database_error(&self) -> Option<&(dyn DatabaseError + 'static)>

    Trait Implementations§

    §

    impl Debug for Error

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for Error

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for Error

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    §

    impl<E> From<E> for Errorwhere + E: DatabaseError,

    §

    fn from(error: E) -> Error

    Converts to this type from the input type.
    §

    impl From<Error> for Error

    §

    fn from(source: Error) -> Error

    Converts to this type from the input type.
    §

    impl From<MigrateError> for Error

    §

    fn from(error: MigrateError) -> Error

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/enum.Login.html b/db_sqlx_postgres/dev/enum.Login.html index 980f55ed..d2d388a5 100644 --- a/db_sqlx_postgres/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_postgres::dev - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_postgres::dev - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/enum.DBError.html b/db_sqlx_postgres/dev/errors/enum.DBError.html index 8401e9c0..60c8ecb5 100644 --- a/db_sqlx_postgres/dev/errors/enum.DBError.html +++ b/db_sqlx_postgres/dev/errors/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev::errors - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev::errors - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/index.html b/db_sqlx_postgres/dev/errors/index.html index 3e454c26..7df6fc3f 100644 --- a/db_sqlx_postgres/dev/errors/index.html +++ b/db_sqlx_postgres/dev/errors/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::errors - Rust
    Expand description

    represents all the ways a trait can fail using this crate

    -

    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 +db_sqlx_postgres::dev::errors - Rust
    Expand description

    represents all the ways a trait can fail using this crate

    +

    Enums

    • Error data structure grouping various error subtypes

    Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/type.BoxDynError.html b/db_sqlx_postgres/dev/errors/type.BoxDynError.html index 26a1d140..d65acb83 100644 --- a/db_sqlx_postgres/dev/errors/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/errors/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev::errors - Rust

    Type Definition db_sqlx_postgres::dev::errors::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::errors - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/errors/type.DBResult.html b/db_sqlx_postgres/dev/errors/type.DBResult.html index 7b9e6cd6..7175a9bc 100644 --- a/db_sqlx_postgres/dev/errors/type.DBResult.html +++ b/db_sqlx_postgres/dev/errors/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev::errors - Rust

    Type Definition db_sqlx_postgres::dev::errors::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev::errors - Rust

    Type Alias db_sqlx_postgres::dev::errors::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/index.html b/db_sqlx_postgres/dev/index.html index 2a4c93f5..d750157a 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

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file +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

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this +trait.
    • database migrations

    Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/index.html b/db_sqlx_postgres/dev/ops/index.html index 5f319147..c75a663c 100644 --- a/db_sqlx_postgres/dev/ops/index.html +++ b/db_sqlx_postgres/dev/ops/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::ops - Rust

    Module db_sqlx_postgres::dev::ops

    source ·
    Expand description

    meta operations like migration and connecting to a database

    +db_sqlx_postgres::dev::ops - Rust

    Module db_sqlx_postgres::dev::ops

    Expand description

    meta operations like migration and connecting to a database

    Traits

    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • database migrations
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.Connect.html b/db_sqlx_postgres/dev/ops/trait.Connect.html index c74e2110..96929fd3 100644 --- a/db_sqlx_postgres/dev/ops/trait.Connect.html +++ b/db_sqlx_postgres/dev/ops/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev::ops - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev::ops - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/ops/trait.DBOps.html b/db_sqlx_postgres/dev/ops/trait.DBOps.html index 502ed1ac..3290e4e4 100644 --- a/db_sqlx_postgres/dev/ops/trait.DBOps.html +++ b/db_sqlx_postgres/dev/ops/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::ops - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev::ops - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/ops/trait.GetConnection.html b/db_sqlx_postgres/dev/ops/trait.GetConnection.html index 271313b2..de0d1e75 100644 --- a/db_sqlx_postgres/dev/ops/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/ops/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev::ops - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev::ops - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/ops/trait.Migrate.html b/db_sqlx_postgres/dev/ops/trait.Migrate.html index df7d6830..c8f0309a 100644 --- a/db_sqlx_postgres/dev/ops/trait.Migrate.html +++ b/db_sqlx_postgres/dev/ops/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev::ops - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev::ops - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html b/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html index 1792993b..5e597595 100644 --- a/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html +++ b/db_sqlx_postgres/dev/prelude/dev/attr.async_trait.html @@ -1 +1 @@ -async_trait in db_sqlx_postgres::dev::prelude::dev - Rust

    Attribute Macro db_sqlx_postgres::dev::prelude::dev::async_trait

    #[async_trait]
    \ No newline at end of file +async_trait in db_sqlx_postgres::dev::prelude::dev - Rust

    Attribute Macro db_sqlx_postgres::dev::prelude::dev::async_trait

    #[async_trait]
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html b/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html index f10811a0..c6d920ad 100644 --- a/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html +++ b/db_sqlx_postgres/dev/prelude/dev/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev::prelude::dev - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev::prelude::dev - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/enum.Login.html b/db_sqlx_postgres/dev/prelude/dev/enum.Login.html index 52267665..8b9ec0c0 100644 --- a/db_sqlx_postgres/dev/prelude/dev/enum.Login.html +++ b/db_sqlx_postgres/dev/prelude/dev/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_postgres::dev::prelude::dev - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_postgres::dev::prelude::dev - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/index.html b/db_sqlx_postgres/dev/prelude/dev/index.html index 5a62c8e2..e585f9f2 100644 --- a/db_sqlx_postgres/dev/prelude/dev/index.html +++ b/db_sqlx_postgres/dev/prelude/dev/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::prelude::dev - Rust
    Expand description

    useful imports for supporting a new database

    +db_sqlx_postgres::dev::prelude::dev - Rust
    Expand description

    useful imports for supporting a new database

    Structs

    Enums

    • Error data structure grouping various error subtypes
    • types of credentials used as identifiers during login

    Traits

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure

    Attribute Macros

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html index 6e6d8e33..ebadaf72 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html b/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html index bfe6d48b..ff4181f1 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html index 2ebb837f..8abf7d40 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html index a71a8d08..cf535dfc 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Level.html b/db_sqlx_postgres/dev/prelude/dev/struct.Level.html index 195e6296..3f391665 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Level.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html b/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html index b621ae35..77c132dd 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 5eb1c8dd..fb03e489 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html index 1c839d53..f05f0242 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Register.html b/db_sqlx_postgres/dev/prelude/dev/struct.Register.html index 4396a46a..7066768a 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html b/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html index dee76e88..fd4f5fea 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html index 4df3e5a6..417f7fdf 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html index e0a83ea4..5908c0a3 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html index f3c395e3..4354e183 100644 --- a/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/prelude/dev/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_postgres::dev::prelude::dev - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html index 1b56fe16..cc4b7e2a 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html index ca21601b..675ad7a5 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html b/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html index 0abb2f4f..1923e8fe 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html index 00bd9f82..cda68a0e 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html index c91d6fa6..e217fbd7 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html index 212cc523..c22163df 100644 --- a/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/dev/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev::prelude::dev - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html index 65cfe483..210d032e 100644 --- a/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/prelude/dev/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev::prelude::dev - Rust

    Type Definition db_sqlx_postgres::dev::prelude::dev::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::prelude::dev - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html b/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html index 16273a42..10d02e51 100644 --- a/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/prelude/dev/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev::prelude::dev - Rust

    Type Definition db_sqlx_postgres::dev::prelude::dev::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev::prelude::dev - Rust
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/enum.DBError.html b/db_sqlx_postgres/dev/prelude/enum.DBError.html index a159e942..5e079a5e 100644 --- a/db_sqlx_postgres/dev/prelude/enum.DBError.html +++ b/db_sqlx_postgres/dev/prelude/enum.DBError.html @@ -1,5 +1,5 @@ -DBError in db_sqlx_postgres::dev::prelude - Rust
    pub enum DBError {
    -    DBError(Box<dyn Error + Sync + Send, Global>),
    +DBError in db_sqlx_postgres::dev::prelude - Rust
    pub enum DBError {
    +    DBError(Box<dyn Error + Sync + Send, Global>),
         UsernameTaken,
         EmailTaken,
         SecretTaken,
    @@ -9,7 +9,7 @@
         TrafficPatternNotFound,
         NotificationNotFound,
     }
    Expand description

    Error data structure grouping various error subtypes

    -

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    +

    Variants§

    §

    DBError(Box<dyn Error + Sync + Send, Global>)

    errors that are specific to a database implementation

    §

    UsernameTaken

    Username is taken

    §

    EmailTaken

    Email is taken

    §

    SecretTaken

    Secret is taken

    @@ -18,21 +18,21 @@
    §

    CaptchaNotFound

    Captcha not found

    §

    TrafficPatternNotFound

    Traffic pattern not found

    §

    NotificationNotFound

    Notification not found

    -

    Trait Implementations§

    source§

    impl Debug for DBError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    §

    impl Debug for DBError

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Display for DBError

    §

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Error for DBError

    §

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/enum.Login.html b/db_sqlx_postgres/dev/prelude/enum.Login.html index ca3b898d..a0f40dbf 100644 --- a/db_sqlx_postgres/dev/prelude/enum.Login.html +++ b/db_sqlx_postgres/dev/prelude/enum.Login.html @@ -1,35 +1,35 @@ -Login in db_sqlx_postgres::dev::prelude - Rust
    pub enum Login<'a> {
    -    Username(&'a str),
    -    Email(&'a str),
    +Login in db_sqlx_postgres::dev::prelude - Rust
    pub enum Login<'a> {
    +    Username(&'a str),
    +    Email(&'a str),
     }
    Expand description

    types of credentials used as identifiers during login

    -

    Variants§

    §

    Username(&'a str)

    username as login

    -
    §

    Email(&'a str)

    email as login

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Login<'a>

    source§

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Login<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Login<'a>where - 'de: 'a,

    Variants§

    §

    Username(&'a str)

    username as login

    +
    §

    Email(&'a str)

    email as login

    +

    Trait Implementations§

    §

    impl<'a> Clone for Login<'a>

    §

    fn clone(&self) -> Login<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Login<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Login<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Login<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Login<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Login<'a>> for Login<'a>

    §

    fn eq(&self, other: &Login<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Login<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Login<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Login<'a>

    §

    impl<'a> Send for Login<'a>

    §

    impl<'a> Sync for Login<'a>

    §

    impl<'a> Unpin for Login<'a>

    §

    impl<'a> UnwindSafe for Login<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/index.html b/db_sqlx_postgres/dev/prelude/index.html index d4725a49..45fe98e6 100644 --- a/db_sqlx_postgres/dev/prelude/index.html +++ b/db_sqlx_postgres/dev/prelude/index.html @@ -1,3 +1,3 @@ -db_sqlx_postgres::dev::prelude - Rust
    Expand description

    useful imports for users working with a supported database

    +db_sqlx_postgres::dev::prelude - Rust
    Expand description

    useful imports for users working with a supported database

    Modules

    • useful imports for supporting a new database

    Structs

    Enums

    • Error data structure grouping various error subtypes
    • types of credentials used as identifiers during login

    Traits

    • Trait to clone MCDatabase
    • Create database connection
    • Database operations trait(migrations, pool creation and fetching connection from pool)
    • Get database connection
    • mCaptcha’s database requirements. To implement support for $Database, kindly implement this -trait.
    • database migrations

    Type Definitions

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file +trait.
  • database migrations
  • Type Aliases

    • Convenience type alias for grouping driver-specific errors
    • Generic result data structure
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.AddNotification.html b/db_sqlx_postgres/dev/prelude/struct.AddNotification.html index 1bc7a755..3b39bc38 100644 --- a/db_sqlx_postgres/dev/prelude/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/prelude/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_postgres::dev::prelude - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_postgres::dev::prelude - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Captcha.html b/db_sqlx_postgres/dev/prelude/struct.Captcha.html index f4fccc75..afe294a6 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Captcha.html +++ b/db_sqlx_postgres/dev/prelude/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_postgres::dev::prelude - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_postgres::dev::prelude - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html index 2338a184..4e15badf 100644 --- a/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/prelude/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_postgres::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_postgres::dev::prelude - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html index b7d95f09..da1e34b9 100644 --- a/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Level.html b/db_sqlx_postgres/dev/prelude/struct.Level.html index 558c4e19..18cf66d5 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Level.html +++ b/db_sqlx_postgres/dev/prelude/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_postgres::dev::prelude - Rust
    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_postgres::dev::prelude - Rust
    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.NameHash.html b/db_sqlx_postgres/dev/prelude/struct.NameHash.html index e1079aa8..0c5da768 100644 --- a/db_sqlx_postgres/dev/prelude/struct.NameHash.html +++ b/db_sqlx_postgres/dev/prelude/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_postgres::dev::prelude - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_postgres::dev::prelude - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 8cf484bf..d3430c83 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Notification.html +++ b/db_sqlx_postgres/dev/prelude/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_postgres::dev::prelude - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_postgres::dev::prelude - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html index 9a992a8c..233732e1 100644 --- a/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/prelude/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_postgres::dev::prelude - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Register.html b/db_sqlx_postgres/dev/prelude/struct.Register.html index 7d820cbb..915a8370 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Register.html +++ b/db_sqlx_postgres/dev/prelude/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_postgres::dev::prelude - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_postgres::dev::prelude - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.Secret.html b/db_sqlx_postgres/dev/prelude/struct.Secret.html index 44413647..e2ce8f78 100644 --- a/db_sqlx_postgres/dev/prelude/struct.Secret.html +++ b/db_sqlx_postgres/dev/prelude/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_postgres::dev::prelude - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_postgres::dev::prelude - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html index 863d0588..f1f38c55 100644 --- a/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/prelude/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_postgres::dev::prelude - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html b/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html index f57744c4..233d41ca 100644 --- a/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/prelude/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_postgres::dev::prelude - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_postgres::dev::prelude - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html b/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html index 9a9abe91..fe563855 100644 --- a/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/prelude/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_postgres::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_postgres::dev::prelude - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html index 6994f415..566cdca4 100644 --- a/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev::prelude - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_postgres::dev::prelude - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.Connect.html b/db_sqlx_postgres/dev/prelude/trait.Connect.html index b6a7f370..dda5e95c 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Connect.html +++ b/db_sqlx_postgres/dev/prelude/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev::prelude - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev::prelude - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/prelude/trait.DBOps.html b/db_sqlx_postgres/dev/prelude/trait.DBOps.html index 905195ac..ea05f4a9 100644 --- a/db_sqlx_postgres/dev/prelude/trait.DBOps.html +++ b/db_sqlx_postgres/dev/prelude/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev::prelude - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/trait.GetConnection.html b/db_sqlx_postgres/dev/prelude/trait.GetConnection.html index f1c3292f..0cd48b61 100644 --- a/db_sqlx_postgres/dev/prelude/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/prelude/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev::prelude - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev::prelude - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html index 8396a377..3379f989 100644 --- a/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/prelude/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_postgres::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_postgres::dev::prelude - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_postgres/dev/prelude/trait.Migrate.html b/db_sqlx_postgres/dev/prelude/trait.Migrate.html index 5b31335c..03a62b5e 100644 --- a/db_sqlx_postgres/dev/prelude/trait.Migrate.html +++ b/db_sqlx_postgres/dev/prelude/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev::prelude - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/prelude/type.BoxDynError.html b/db_sqlx_postgres/dev/prelude/type.BoxDynError.html index c44bf32d..21ef6180 100644 --- a/db_sqlx_postgres/dev/prelude/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/prelude/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev::prelude - Rust

    Type Definition db_sqlx_postgres::dev::prelude::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev::prelude - Rust
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/prelude/type.DBResult.html b/db_sqlx_postgres/dev/prelude/type.DBResult.html index 9a567161..6eb91ede 100644 --- a/db_sqlx_postgres/dev/prelude/type.DBResult.html +++ b/db_sqlx_postgres/dev/prelude/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev::prelude - Rust

    Type Definition db_sqlx_postgres::dev::prelude::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev::prelude - Rust
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.AddNotification.html b/db_sqlx_postgres/dev/struct.AddNotification.html index afffaf08..9be9d084 100644 --- a/db_sqlx_postgres/dev/struct.AddNotification.html +++ b/db_sqlx_postgres/dev/struct.AddNotification.html @@ -1,39 +1,39 @@ -AddNotification in db_sqlx_postgres::dev - Rust
    pub struct AddNotification<'a> {
    -    pub to: &'a str,
    -    pub from: &'a str,
    -    pub heading: &'a str,
    -    pub message: &'a str,
    +AddNotification in db_sqlx_postgres::dev - Rust
    pub struct AddNotification<'a> {
    +    pub to: &'a str,
    +    pub from: &'a str,
    +    pub heading: &'a str,
    +    pub message: &'a str,
     }
    Expand description

    Data required to add notification

    -

    Fields§

    §to: &'a str

    who is the notification addressed to?

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for AddNotification<'a>

    source§

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where - 'de: 'a,

    Fields§

    §to: &'a str

    who is the notification addressed to?

    +
    §from: &'a str

    notification sender

    +
    §heading: &'a str

    heading of the notification

    +
    §message: &'a str

    message of the notification

    +

    Trait Implementations§

    §

    impl<'a> Clone for AddNotification<'a>

    §

    fn clone(&self) -> AddNotification<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for AddNotification<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for AddNotification<'a>

    §

    fn default() -> AddNotification<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for AddNotification<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<AddNotification<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>

    §

    fn eq(&self, other: &AddNotification<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for AddNotification<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for AddNotification<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AddNotification<'a>

    §

    impl<'a> Send for AddNotification<'a>

    §

    impl<'a> Sync for AddNotification<'a>

    §

    impl<'a> Unpin for AddNotification<'a>

    §

    impl<'a> UnwindSafe for AddNotification<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Captcha.html b/db_sqlx_postgres/dev/struct.Captcha.html index bc421cd4..55e25bdb 100644 --- a/db_sqlx_postgres/dev/struct.Captcha.html +++ b/db_sqlx_postgres/dev/struct.Captcha.html @@ -1,38 +1,38 @@ -Captcha in db_sqlx_postgres::dev - Rust
    pub struct Captcha {
    -    pub config_id: i32,
    -    pub duration: i32,
    -    pub description: String,
    -    pub key: String,
    +Captcha in db_sqlx_postgres::dev - Rust
    pub struct Captcha {
    +    pub config_id: i32,
    +    pub duration: i32,
    +    pub description: String,
    +    pub key: String,
     }
    Expand description

    Data representing a captcha

    -

    Fields§

    §config_id: i32

    Database assigned ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Captcha

    source§

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Captcha

    Fields§

    §config_id: i32

    Database assigned ID

    +
    §duration: i32

    cool down duration

    +
    §description: String

    description of the captcha

    +
    §key: String

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl Clone for Captcha

    §

    fn clone(&self) -> Captcha

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Captcha

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Captcha

    §

    fn default() -> Captcha

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Captcha

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Captcha, <__D as Deserializer<'de>>::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>( +) -> Result<Captcha, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Captcha> for Captcha

    §

    fn eq(&self, other: &Captcha) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Captcha

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.CreateCaptcha.html b/db_sqlx_postgres/dev/struct.CreateCaptcha.html index 374a1d4f..ea57eaf6 100644 --- a/db_sqlx_postgres/dev/struct.CreateCaptcha.html +++ b/db_sqlx_postgres/dev/struct.CreateCaptcha.html @@ -1,37 +1,37 @@ -CreateCaptcha in db_sqlx_postgres::dev - Rust
    pub struct CreateCaptcha<'a> {
    -    pub duration: i32,
    -    pub description: &'a str,
    -    pub key: &'a str,
    +CreateCaptcha in db_sqlx_postgres::dev - Rust
    pub struct CreateCaptcha<'a> {
    +    pub duration: i32,
    +    pub description: &'a str,
    +    pub key: &'a str,
     }
    Expand description

    data required to create new captcha

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for CreateCaptcha<'a>

    source§

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where - 'de: 'a,

    Fields§

    §duration: i32

    cool down duration

    +
    §description: &'a str

    description of the captcha

    +
    §key: &'a str

    secret key of the captcha

    +

    Trait Implementations§

    §

    impl<'a> Clone for CreateCaptcha<'a>

    §

    fn clone(&self) -> CreateCaptcha<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for CreateCaptcha<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a> Default for CreateCaptcha<'a>

    §

    fn default() -> CreateCaptcha<'a>

    Returns the “default value” for a type. Read more
    §

    impl<'de, 'a> Deserialize<'de> for CreateCaptcha<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<CreateCaptcha<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>

    §

    fn eq(&self, other: &CreateCaptcha<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for CreateCaptcha<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for CreateCaptcha<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for CreateCaptcha<'a>

    §

    impl<'a> Send for CreateCaptcha<'a>

    §

    impl<'a> Sync for CreateCaptcha<'a>

    §

    impl<'a> Unpin for CreateCaptcha<'a>

    §

    impl<'a> UnwindSafe for CreateCaptcha<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html b/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html index 2f92eb05..2738718f 100644 --- a/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/struct.CreatePerformanceAnalytics.html @@ -1,36 +1,36 @@ -CreatePerformanceAnalytics in db_sqlx_postgres::dev - Rust
    pub struct CreatePerformanceAnalytics {
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +CreatePerformanceAnalytics in db_sqlx_postgres::dev - Rust
    pub struct CreatePerformanceAnalytics {
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Log Proof-of-Work CAPTCHA performance analytics

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for CreatePerformanceAnalytics

    source§

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    Fields§

    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for CreatePerformanceAnalytics

    §

    fn clone(&self) -> CreatePerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for CreatePerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for CreatePerformanceAnalytics

    §

    fn default() -> CreatePerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for CreatePerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<CreatePerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics

    §

    fn eq(&self, other: &CreatePerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for CreatePerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for CreatePerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Level.html b/db_sqlx_postgres/dev/struct.Level.html index 3facdb1d..3882c807 100644 --- a/db_sqlx_postgres/dev/struct.Level.html +++ b/db_sqlx_postgres/dev/struct.Level.html @@ -1,32 +1,32 @@ -Level in db_sqlx_postgres::dev - Rust

    Struct db_sqlx_postgres::dev::Level

    pub struct Level {
    -    pub visitor_threshold: u32,
    -    pub difficulty_factor: u32,
    +Level in db_sqlx_postgres::dev - Rust

    Struct db_sqlx_postgres::dev::Level

    pub struct Level {
    +    pub visitor_threshold: u32,
    +    pub difficulty_factor: u32,
     }
    Expand description

    Level struct that describes threshold-difficulty factor mapping

    -

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( +

    Fields§

    §visitor_threshold: u32§difficulty_factor: u32

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy 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 Level

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for Level

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Level, <__D as Deserializer<'de>>::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +) -> Result<Level, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Level> for Level

    §

    fn eq(&self, other: &Level) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, 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 Level

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Copy for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.NameHash.html b/db_sqlx_postgres/dev/struct.NameHash.html index 9d5c1f5d..b13246c0 100644 --- a/db_sqlx_postgres/dev/struct.NameHash.html +++ b/db_sqlx_postgres/dev/struct.NameHash.html @@ -1,34 +1,34 @@ -NameHash in db_sqlx_postgres::dev - Rust
    pub struct NameHash {
    -    pub username: String,
    -    pub hash: String,
    +NameHash in db_sqlx_postgres::dev - Rust
    pub struct NameHash {
    +    pub username: String,
    +    pub hash: String,
     }
    Expand description

    type encapsulating username and hashed password of a user

    -

    Fields§

    §username: String

    username

    -
    §hash: String

    hashed password

    -

    Trait Implementations§

    source§

    impl Clone for NameHash

    source§

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NameHash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for NameHash

    Fields§

    §username: String

    username

    +
    §hash: String

    hashed password

    +

    Trait Implementations§

    §

    impl Clone for NameHash

    §

    fn clone(&self) -> NameHash

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NameHash

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de> Deserialize<'de> for NameHash

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<NameHash, <__D as Deserializer<'de>>::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>( +) -> Result<NameHash, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<NameHash> for NameHash

    §

    fn eq(&self, other: &NameHash) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for NameHash

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for NameHash

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 5e07a0db..d8d1927f 100644 --- a/db_sqlx_postgres/dev/struct.Notification.html +++ b/db_sqlx_postgres/dev/struct.Notification.html @@ -1,40 +1,40 @@ -Notification in db_sqlx_postgres::dev - Rust
    pub struct Notification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<i64>,
    -    pub id: Option<i32>,
    +Notification in db_sqlx_postgres::dev - Rust
    pub struct Notification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<i64>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Notification

    source§

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Notification

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §message: Option<String>

    message of the notification

    +
    §received: Option<i64>

    when notification was received

    +
    §id: Option<i32>

    db assigned ID of the notification

    +

    Trait Implementations§

    §

    impl Clone for Notification

    §

    fn clone(&self) -> Notification

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Notification

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Notification

    §

    fn default() -> Notification

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Notification

    §

    fn deserialize<__D>( __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.
    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>( +) -> 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 +by ==.
    1.0.0 · source§

    fn ne(&self, 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, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Notification

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html b/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html index 1cf97268..d27aecc4 100644 --- a/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html +++ b/db_sqlx_postgres/dev/struct.PerformanceAnalytics.html @@ -1,38 +1,38 @@ -PerformanceAnalytics in db_sqlx_postgres::dev - Rust
    pub struct PerformanceAnalytics {
    -    pub id: usize,
    -    pub time: u32,
    -    pub difficulty_factor: u32,
    -    pub worker_type: String,
    +PerformanceAnalytics in db_sqlx_postgres::dev - Rust
    pub struct PerformanceAnalytics {
    +    pub id: usize,
    +    pub time: u32,
    +    pub difficulty_factor: u32,
    +    pub worker_type: String,
     }
    Expand description

    Proof-of-Work CAPTCHA performance analytics

    -

    Fields§

    §id: usize

    log ID

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for PerformanceAnalytics

    source§

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    Fields§

    §id: usize

    log ID

    +
    §time: u32

    time taken to generate proof

    +
    §difficulty_factor: u32

    difficulty factor for which the proof was generated

    +
    §worker_type: String

    worker/client type: wasm, javascript, python, etc.

    +

    Trait Implementations§

    §

    impl Clone for PerformanceAnalytics

    §

    fn clone(&self) -> PerformanceAnalytics

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PerformanceAnalytics

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for PerformanceAnalytics

    §

    fn default() -> PerformanceAnalytics

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for PerformanceAnalytics

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::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>( +) -> Result<PerformanceAnalytics, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics

    §

    fn eq(&self, other: &PerformanceAnalytics) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for PerformanceAnalytics

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for PerformanceAnalytics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Register.html b/db_sqlx_postgres/dev/struct.Register.html index 2cc56ece..c0917116 100644 --- a/db_sqlx_postgres/dev/struct.Register.html +++ b/db_sqlx_postgres/dev/struct.Register.html @@ -1,39 +1,39 @@ -Register in db_sqlx_postgres::dev - Rust
    pub struct Register<'a> {
    -    pub username: &'a str,
    -    pub secret: &'a str,
    -    pub hash: &'a str,
    -    pub email: Option<&'a str>,
    +Register in db_sqlx_postgres::dev - Rust
    pub struct Register<'a> {
    +    pub username: &'a str,
    +    pub secret: &'a str,
    +    pub hash: &'a str,
    +    pub email: Option<&'a str>,
     }
    Expand description

    Data required to register a new user

    -

    Fields§

    §username: &'a str

    username of new user

    -
    §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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for Register<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of new user

    +
    §secret: &'a str

    secret of new user

    +
    §hash: &'a str

    hashed password of new use

    +
    §email: Option<&'a str>

    Optionally, email of new use

    +

    Trait Implementations§

    §

    impl<'a> Clone for Register<'a>

    §

    fn clone(&self) -> Register<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for Register<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for Register<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Register<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<Register<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<Register<'a>> for Register<'a>

    §

    fn eq(&self, other: &Register<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for Register<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for Register<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Register<'a>

    §

    impl<'a> Send for Register<'a>

    §

    impl<'a> Sync for Register<'a>

    §

    impl<'a> Unpin for Register<'a>

    §

    impl<'a> UnwindSafe for Register<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.Secret.html b/db_sqlx_postgres/dev/struct.Secret.html index 24819a5c..34ff951a 100644 --- a/db_sqlx_postgres/dev/struct.Secret.html +++ b/db_sqlx_postgres/dev/struct.Secret.html @@ -1,32 +1,32 @@ -Secret in db_sqlx_postgres::dev - Rust
    pub struct Secret {
    -    pub secret: String,
    +Secret in db_sqlx_postgres::dev - Rust
    pub struct Secret {
    +    pub secret: String,
     }
    Expand description

    datastructure representing a user’s secret

    -

    Fields§

    §secret: String

    user’s secret

    -

    Trait Implementations§

    source§

    impl Clone for Secret

    source§

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for Secret

    source§

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Secret

    Fields§

    §secret: String

    user’s secret

    +

    Trait Implementations§

    §

    impl Clone for Secret

    §

    fn clone(&self) -> Secret

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secret

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Secret

    §

    fn default() -> Secret

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for Secret

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<Secret, <__D as Deserializer<'de>>::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>( +) -> Result<Secret, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<Secret> for Secret

    §

    fn eq(&self, other: &Secret) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for Secret

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for Secret

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html b/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html index 34eefa4f..ec906d35 100644 --- a/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html +++ b/db_sqlx_postgres/dev/struct.StatsUnixTimestamp.html @@ -1,36 +1,36 @@ -StatsUnixTimestamp in db_sqlx_postgres::dev - Rust
    pub struct StatsUnixTimestamp {
    -    pub config_fetches: Vec<i64, Global>,
    -    pub solves: Vec<i64, Global>,
    -    pub confirms: Vec<i64, Global>,
    +StatsUnixTimestamp in db_sqlx_postgres::dev - Rust
    pub struct StatsUnixTimestamp {
    +    pub config_fetches: Vec<i64, Global>,
    +    pub solves: Vec<i64, Global>,
    +    pub confirms: Vec<i64, Global>,
     }
    Expand description

    Captcha statistics with time recorded in UNIX epoch formats

    -

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    -
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    -
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    -

    Trait Implementations§

    source§

    impl Clone for StatsUnixTimestamp

    source§

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StatsUnixTimestamp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for StatsUnixTimestamp

    source§

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    Fields§

    §config_fetches: Vec<i64, Global>

    times at which the configuration were fetched

    +
    §solves: Vec<i64, Global>

    times at which the PoW was solved

    +
    §confirms: Vec<i64, Global>

    times at which the PoW token was verified

    +

    Trait Implementations§

    §

    impl Clone for StatsUnixTimestamp

    §

    fn clone(&self) -> StatsUnixTimestamp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for StatsUnixTimestamp

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for StatsUnixTimestamp

    §

    fn default() -> StatsUnixTimestamp

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for StatsUnixTimestamp

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::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>( +) -> Result<StatsUnixTimestamp, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp

    §

    fn eq(&self, other: &StatsUnixTimestamp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for StatsUnixTimestamp

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for StatsUnixTimestamp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.TrafficPattern.html b/db_sqlx_postgres/dev/struct.TrafficPattern.html index 1dfa5c54..217a683c 100644 --- a/db_sqlx_postgres/dev/struct.TrafficPattern.html +++ b/db_sqlx_postgres/dev/struct.TrafficPattern.html @@ -1,36 +1,36 @@ -TrafficPattern in db_sqlx_postgres::dev - Rust
    pub struct TrafficPattern {
    -    pub avg_traffic: u32,
    -    pub peak_sustainable_traffic: u32,
    -    pub broke_my_site_traffic: Option<u32>,
    +TrafficPattern in db_sqlx_postgres::dev - Rust
    pub struct TrafficPattern {
    +    pub avg_traffic: u32,
    +    pub peak_sustainable_traffic: u32,
    +    pub broke_my_site_traffic: Option<u32>,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for TrafficPattern

    source§

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TrafficPattern

    Fields§

    §avg_traffic: u32

    average traffic of user’s website

    +
    §peak_sustainable_traffic: u32

    the peak traffic that the user’s website can handle

    +
    §broke_my_site_traffic: Option<u32>

    traffic that bought the user’s website down; optional

    +

    Trait Implementations§

    §

    impl Clone for TrafficPattern

    §

    fn clone(&self) -> TrafficPattern

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for TrafficPattern

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for TrafficPattern

    §

    fn default() -> TrafficPattern

    Returns the “default value” for a type. Read more
    §

    impl<'de> Deserialize<'de> for TrafficPattern

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<TrafficPattern, <__D as Deserializer<'de>>::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>( +) -> Result<TrafficPattern, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl PartialEq<TrafficPattern> for TrafficPattern

    §

    fn eq(&self, other: &TrafficPattern) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl Serialize for TrafficPattern

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl StructuralPartialEq for TrafficPattern

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/struct.UpdateEmail.html b/db_sqlx_postgres/dev/struct.UpdateEmail.html index 9bd48957..4df0a10a 100644 --- a/db_sqlx_postgres/dev/struct.UpdateEmail.html +++ b/db_sqlx_postgres/dev/struct.UpdateEmail.html @@ -1,35 +1,35 @@ -UpdateEmail in db_sqlx_postgres::dev - Rust
    pub struct UpdateEmail<'a> {
    -    pub username: &'a str,
    -    pub new_email: &'a str,
    +UpdateEmail in db_sqlx_postgres::dev - Rust
    pub struct UpdateEmail<'a> {
    +    pub username: &'a str,
    +    pub new_email: &'a str,
     }
    Expand description

    data required to update them email of a user

    -

    Fields§

    §username: &'a str

    username of the user

    -
    §new_email: &'a str

    new email address of the user

    -

    Trait Implementations§

    source§

    impl<'a> Clone for UpdateEmail<'a>

    source§

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for UpdateEmail<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where - 'de: 'a,

    Fields§

    §username: &'a str

    username of the user

    +
    §new_email: &'a str

    new email address of the user

    +

    Trait Implementations§

    §

    impl<'a> Clone for UpdateEmail<'a>

    §

    fn clone(&self) -> UpdateEmail<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a> Debug for UpdateEmail<'a>

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'de, 'a> Deserialize<'de> for UpdateEmail<'a>where + 'de: 'a,

    §

    fn deserialize<__D>( __deserializer: __D -) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::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>( +) -> Result<UpdateEmail<'a>, <__D as Deserializer<'de>>::Error>where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>

    §

    fn eq(&self, other: &UpdateEmail<'a>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    §

    impl<'a> Serialize for UpdateEmail<'a>

    §

    fn serialize<__S>( &self, __serializer: __S -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl<'a> StructuralPartialEq for UpdateEmail<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for UpdateEmail<'a>

    §

    impl<'a> Send for UpdateEmail<'a>

    §

    impl<'a> Sync for UpdateEmail<'a>

    §

    impl<'a> Unpin for UpdateEmail<'a>

    §

    impl<'a> UnwindSafe for UpdateEmail<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/tests/constant.LEVELS.html b/db_sqlx_postgres/dev/tests/constant.LEVELS.html index 823c5fea..7f861ef6 100644 --- a/db_sqlx_postgres/dev/tests/constant.LEVELS.html +++ b/db_sqlx_postgres/dev/tests/constant.LEVELS.html @@ -1,2 +1,2 @@ -LEVELS in db_sqlx_postgres::dev::tests - Rust

    Constant db_sqlx_postgres::dev::tests::LEVELS

    source ·
    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    +LEVELS in db_sqlx_postgres::dev::tests - Rust

    Constant db_sqlx_postgres::dev::tests::LEVELS

    pub const LEVELS: [Level; 3];
    Expand description

    levels for complex captcha config

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/tests/constant.TRAFFIC_PATTERN.html b/db_sqlx_postgres/dev/tests/constant.TRAFFIC_PATTERN.html index 86b9bf30..88935240 100644 --- a/db_sqlx_postgres/dev/tests/constant.TRAFFIC_PATTERN.html +++ b/db_sqlx_postgres/dev/tests/constant.TRAFFIC_PATTERN.html @@ -1,2 +1,2 @@ -TRAFFIC_PATTERN in db_sqlx_postgres::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    +TRAFFIC_PATTERN in db_sqlx_postgres::dev::tests - Rust
    pub const TRAFFIC_PATTERN: TrafficPattern;
    Expand description

    easy traffic pattern

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/tests/fn.database_works.html b/db_sqlx_postgres/dev/tests/fn.database_works.html index 9fd8b6ac..1cedb76f 100644 --- a/db_sqlx_postgres/dev/tests/fn.database_works.html +++ b/db_sqlx_postgres/dev/tests/fn.database_works.html @@ -1,10 +1,10 @@ -database_works in db_sqlx_postgres::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    -    db: &T,
    +database_works in db_sqlx_postgres::dev::tests - Rust
    pub async fn database_works<T, 'a>(
    +    db: &T,
         p: &Register<'a>,
         c: &CreateCaptcha<'a>,
         l: &[Level],
         tp: &TrafficPattern,
         an: &AddNotification<'a>
    -) -> impl Future<Output = ()>where
    +)where
         T: MCDatabase,
    Expand description

    test all database functions

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/tests/index.html b/db_sqlx_postgres/dev/tests/index.html index 00470db7..8aa25d76 100644 --- a/db_sqlx_postgres/dev/tests/index.html +++ b/db_sqlx_postgres/dev/tests/index.html @@ -1,2 +1,2 @@ -db_sqlx_postgres::dev::tests - Rust

    Module db_sqlx_postgres::dev::tests

    source ·
    Expand description

    Test utilities

    +db_sqlx_postgres::dev::tests - Rust

    Module db_sqlx_postgres::dev::tests

    Expand description

    Test utilities

    Constants

    Functions

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.CloneSPDatabase.html b/db_sqlx_postgres/dev/trait.CloneSPDatabase.html index bca9b1f9..ce8f5503 100644 --- a/db_sqlx_postgres/dev/trait.CloneSPDatabase.html +++ b/db_sqlx_postgres/dev/trait.CloneSPDatabase.html @@ -1,7 +1,7 @@ -CloneSPDatabase in db_sqlx_postgres::dev - Rust
    pub trait CloneSPDatabase {
    +CloneSPDatabase in db_sqlx_postgres::dev - Rust
    pub trait CloneSPDatabase {
         // Required method
    -    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
    +    fn clone_db(&self) -> Box<dyn MCDatabase, Global>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    -

    Implementors§

    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    \ No newline at end of file +

    Required Methods§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB

    +

    Implementors§

    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.Connect.html b/db_sqlx_postgres/dev/trait.Connect.html index 96df7a3e..6fe3804c 100644 --- a/db_sqlx_postgres/dev/trait.Connect.html +++ b/db_sqlx_postgres/dev/trait.Connect.html @@ -1,16 +1,16 @@ -Connect in db_sqlx_postgres::dev - Rust
    pub trait Connect {
    +Connect in db_sqlx_postgres::dev - Rust
    pub trait Connect {
         type Pool: MCDatabase;
     
         // Required method
         fn connect<'async_trait>(
             self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>
            where Self: 'async_trait;
     }
    Expand description

    Create database connection

    -

    Required Associated Types§

    source

    type Pool: MCDatabase

    database specific pool-type

    -

    Required Methods§

    source

    fn connect<'async_trait>( +

    Required Associated Types§

    type Pool: MCDatabase

    database specific pool-type

    +

    Required Methods§

    fn connect<'async_trait>( self -) -> Pin<Box<dyn Future<Output = Result<Self::Pool, DBError>> + Send + 'async_trait, Global>>where +) -> 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 diff --git a/db_sqlx_postgres/dev/trait.DBOps.html b/db_sqlx_postgres/dev/trait.DBOps.html index c0671194..2bb3395e 100644 --- a/db_sqlx_postgres/dev/trait.DBOps.html +++ b/db_sqlx_postgres/dev/trait.DBOps.html @@ -1,2 +1,2 @@ -DBOps in db_sqlx_postgres::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    +DBOps in db_sqlx_postgres::dev - Rust
    pub trait DBOps: GetConnection + Migrate { }
    Expand description

    Database operations trait(migrations, pool creation and fetching connection from pool)

    Implementors§

    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/trait.GetConnection.html b/db_sqlx_postgres/dev/trait.GetConnection.html index dd6df92e..3e955098 100644 --- a/db_sqlx_postgres/dev/trait.GetConnection.html +++ b/db_sqlx_postgres/dev/trait.GetConnection.html @@ -1,17 +1,17 @@ -GetConnection in db_sqlx_postgres::dev - Rust
    pub trait GetConnection {
    +GetConnection in db_sqlx_postgres::dev - Rust
    pub trait GetConnection {
         type Conn;
     
         // Required method
         fn get_conn<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: '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§

    type Conn

    database connection type

    +

    Required Methods§

    fn get_conn<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<Self::Conn, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type get connection from connection pool

    diff --git a/db_sqlx_postgres/dev/trait.MCDatabase.html b/db_sqlx_postgres/dev/trait.MCDatabase.html index a26fc187..d148862c 100644 --- a/db_sqlx_postgres/dev/trait.MCDatabase.html +++ b/db_sqlx_postgres/dev/trait.MCDatabase.html @@ -1,138 +1,138 @@ -MCDatabase in db_sqlx_postgres::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
    +MCDatabase in db_sqlx_postgres::dev - Rust
    pub trait MCDatabase: Send + Sync + CloneSPDatabase {
     
    Show 48 methods // Required methods fn ping<'life0, 'async_trait>( &'life0 self - ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + email: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> - ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + current: &'life1 str, + new: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + secret: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -140,10 +140,10 @@ Self: 'async_trait; fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -151,53 +151,53 @@ Self: 'async_trait; fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> + username: Option<&'life1 str>, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -205,18 +205,18 @@ Self: 'async_trait; fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + captcha_key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, @@ -224,544 +224,544 @@ fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> + username: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + username: &'life1 str, + id: i32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + key: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str - ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> + user: &'life1 str, + key: &'life2 str + ) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait; fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str, + limit: usize, + offset: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + captcha_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> + psuedo_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize - ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> + page: usize + ) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 - ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 + ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 - ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> + captcha_key: &'life1 str, + difficulty_factor: u32 + ) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 - ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> + duration: u32 + ) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 - ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> + duration: u32, + location: u32 + ) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided method fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str - ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> + campaign_id: &'life1 str + ) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
    }
    Expand description

    mCaptcha’s database requirements. To implement support for $Database, kindly implement this trait.

    -

    Required Methods§

    source

    fn ping<'life0, 'async_trait>( +

    Required Methods§

    fn ping<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    ping DB

    -
    source

    fn register<'life0, 'life1, 'async_trait>( +

    fn register<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    register a new user

    -
    source

    fn delete_user<'life0, 'life1, 'async_trait>( +

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    delete a user

    -
    source

    fn username_exists<'life0, 'life1, 'async_trait>( +

    fn username_exists<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if username exists

    -
    source

    fn get_email<'life0, 'life1, 'async_trait>( +

    fn get_email<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Option<String>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get user email

    -
    source

    fn email_exists<'life0, 'life1, 'async_trait>( +

    fn email_exists<'life0, 'life1, 'async_trait>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + email: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    check if email exists

    -
    source

    fn update_email<'life0, 'life1, 'async_trait>( +

    fn update_email<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update a user’s email

    -
    source

    fn get_password<'life0, 'life1, 'async_trait>( +

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<NameHash, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s password

    -
    source

    fn update_password<'life0, 'life1, 'async_trait>( +

    fn update_password<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    update user’s password

    -
    source

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update username

    -
    source

    fn get_secret<'life0, 'life1, 'async_trait>( +

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret

    -
    source

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( +

    fn get_secret_from_captcha<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Secret, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get a user’s secret from a captcha key

    -
    source

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_secret<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update a user’s secret

    -
    source

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    create new captcha

    -
    source

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Captcha, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha config

    -
    source

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( +

    fn get_all_user_captchas<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Captcha, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get all captchas belonging to user

    -
    source

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( +

    fn update_captcha_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    -
    source

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    update captcha key; doesn’t change metadata

    -
    source

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add levels to captcha

    -
    source

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( +

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    check if captcha exists

    -
    source

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete all levels of a captcha

    -
    source

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete captcha

    -
    source

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Level, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get captcha levels

    -
    source

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( +

    fn get_captcha_cooldown<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<i32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get captcha’s cooldown period

    -
    source

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( +

    fn add_traffic_pattern<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

    Add traffic configuration

    -
    source

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<TrafficPattern, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Get traffic configuration

    -
    source

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( +

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    Delete traffic configuration

    -
    source

    fn create_notification<'life0, 'life1, 'async_trait>( +

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    create new notification

    -
    source

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( +

    fn get_all_unread_notifications<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<Vec<Notification, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    get all unread notifications

    -
    source

    fn mark_notification_read<'life0, 'life1, 'async_trait>( +

    fn mark_notification_read<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    mark a notification read

    -
    source

    fn record_fetch<'life0, 'life1, 'async_trait>( +

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig fetches

    -
    source

    fn record_solve<'life0, 'life1, 'async_trait>( +

    fn record_solve<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig solves

    -
    source

    fn record_confirm<'life0, 'life1, 'async_trait>( +

    fn record_confirm<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + key: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    record PoWConfig confirms

    -
    source

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_config_fetched<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig fetches

    -
    source

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig solves

    -
    source

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( +

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = Result<Vec<i64, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    fetch PoWConfig confirms

    -
    source

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( +

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

    record PoW timing

    -
    source

    fn analytics_fetch<'life0, 'life1, 'async_trait>( +

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<PerformanceAnalytics, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    fetch PoW analytics

    -
    source

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( +

    fn analytics_create_psuedo_id_if_not_exists<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Create psuedo ID against campaign ID to publish analytics

    -
    source

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_psuedo_id_from_capmaign_id<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + captcha_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get psuedo ID from campaign ID

    -
    source

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( +

    fn analytics_get_capmaign_id_from_psuedo_id<'life0, 'life1, 'async_trait>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where + psuedo_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<String, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get campaign ID from psuedo ID

    -
    source

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( +

    fn analytics_delete_all_records_for_campaign<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Delete all records for campaign

    -
    source

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( +

    fn analytics_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where + page: usize +) -> Pin<Box<dyn Future<Output = Result<Vec<String, Global>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get all psuedo IDs

    -
    source

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Track maximum nonce received against captcha levels

    -
    source

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( +

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = Result<u32, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    -
    source

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( +

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = Result<usize, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get number of analytics entries that are under a certain duration

    -
    source

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( +

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    -

    Provided Methods§

    source

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( +

    Provided Methods§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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

    diff --git a/db_sqlx_postgres/dev/trait.Migrate.html b/db_sqlx_postgres/dev/trait.Migrate.html index 394a096b..8c9e5c8d 100644 --- a/db_sqlx_postgres/dev/trait.Migrate.html +++ b/db_sqlx_postgres/dev/trait.Migrate.html @@ -1,14 +1,14 @@ -Migrate in db_sqlx_postgres::dev - Rust
    pub trait Migrate: MCDatabase {
    +Migrate in db_sqlx_postgres::dev - Rust
    pub trait Migrate: MCDatabase {
         // Required method
         fn migrate<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>
            where 'life0: 'async_trait,
                  Self: 'async_trait;
     }
    Expand description

    database migrations

    -

    Required Methods§

    source

    fn migrate<'life0, 'async_trait>( +

    Required Methods§

    fn migrate<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where +) -> Pin<Box<dyn Future<Output = Result<(), DBError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

    database specific error-type run migrations

    diff --git a/db_sqlx_postgres/dev/type.BoxDynError.html b/db_sqlx_postgres/dev/type.BoxDynError.html index ae6d93b4..f7da8adb 100644 --- a/db_sqlx_postgres/dev/type.BoxDynError.html +++ b/db_sqlx_postgres/dev/type.BoxDynError.html @@ -1,2 +1,4 @@ -BoxDynError in db_sqlx_postgres::dev - Rust

    Type Definition db_sqlx_postgres::dev::BoxDynError

    source ·
    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    -
    \ No newline at end of file +BoxDynError in db_sqlx_postgres::dev - Rust

    Type Alias db_sqlx_postgres::dev::BoxDynError

    pub type BoxDynError = Box<dyn Error + Sync + Send, Global>;
    Expand description

    Convenience type alias for grouping driver-specific errors

    +

    Aliased Type§

    struct BoxDynError(/* private fields */);

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/db_sqlx_postgres/dev/type.DBResult.html b/db_sqlx_postgres/dev/type.DBResult.html index 718d30c4..51fc302c 100644 --- a/db_sqlx_postgres/dev/type.DBResult.html +++ b/db_sqlx_postgres/dev/type.DBResult.html @@ -1,2 +1,7 @@ -DBResult in db_sqlx_postgres::dev - Rust

    Type Definition db_sqlx_postgres::dev::DBResult

    source ·
    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    -
    \ No newline at end of file +DBResult in db_sqlx_postgres::dev - Rust

    Type Alias db_sqlx_postgres::dev::DBResult

    pub type DBResult<V> = Result<V, DBError>;
    Expand description

    Generic result data structure

    +

    Aliased Type§

    enum DBResult<V> {
    +    Ok(V),
    +    Err(DBError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(DBError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/db_sqlx_postgres/enum.ConnectionOptions.html b/db_sqlx_postgres/enum.ConnectionOptions.html index 94755121..bd736462 100644 --- a/db_sqlx_postgres/enum.ConnectionOptions.html +++ b/db_sqlx_postgres/enum.ConnectionOptions.html @@ -1,4 +1,4 @@ -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

    @@ -6,22 +6,22 @@
    §

    Existing(Conn)

    existing connection

    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 +) -> Pin<Box<dyn Future<Output = DBResult<Self::Pool>> + Send + 'async_trait>>where Self: 'async_trait,

    database specific error-type -create connection pool

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +create connection pool

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/errors/fn.map_register_err.html b/db_sqlx_postgres/errors/fn.map_register_err.html index 7b2b5aa0..6da487ac 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 c6f5be51..1d8b5023 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 df84f816..731fd147 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 ed2bd7cd..de151a43 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 2921eb17..af062903 100644 --- a/db_sqlx_postgres/prelude/index.html +++ b/db_sqlx_postgres/prelude/index.html @@ -1 +1 @@ -db_sqlx_postgres::prelude - Rust

    Re-exports

    \ No newline at end of file +db_sqlx_postgres::prelude - Rust

    Re-exports

    \ No newline at end of file diff --git a/db_sqlx_postgres/struct.Conn.html b/db_sqlx_postgres/struct.Conn.html index 8083f9aa..5097ef40 100644 --- a/db_sqlx_postgres/struct.Conn.html +++ b/db_sqlx_postgres/struct.Conn.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/struct.Database.html b/db_sqlx_postgres/struct.Database.html index a94c31fc..76cab487 100644 --- a/db_sqlx_postgres/struct.Database.html +++ b/db_sqlx_postgres/struct.Database.html @@ -1,138 +1,138 @@ -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 +) -> 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>( &'life0 self, p: &'life1 Register<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    register a new user

    source§

    fn delete_user<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Option<String>>> + Send + 'async_trait>>where + 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>( &'life0 self, - email: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + 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>( &'life0 self, p: &'life1 UpdateEmail<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    update a user’s email

    source§

    fn get_password<'life0, 'life1, 'async_trait>( &'life0 self, l: &'life1 Login<'_> -) -> Pin<Box<dyn Future<Output = DBResult<NameHash>> + Send + 'async_trait>>where +) -> 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>( &'life0 self, p: &'life1 NameHash -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    update user’s password

    source§

    fn update_username<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - current: &'life1 str, - new: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + current: &'life1 str, + new: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    update username

    source§

    fn get_secret<'life0, 'life1, 'async_trait>( &'life0 self, - username: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<Secret>> + Send + 'async_trait>>where + 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>( &'life0 self, - username: &'life1 str, - secret: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + secret: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    update a user’s secret

    source§

    fn create_captcha<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    create new captcha

    source§

    fn get_captcha_config<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>where + username: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Captcha>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Get captcha config

    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 + 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>( &'life0 self, - username: &'life1 str, + username: &'life1 str, p: &'life2 CreateCaptcha<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    update captcha metadata; doesn’t change captcha key

    source§

    fn update_captcha_key<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - old_key: &'life2 str, - new_key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + old_key: &'life2 str, + new_key: &'life3 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -140,10 +140,10 @@ 'life3: 'async_trait,

    update captcha key; doesn’t change metadata

    source§

    fn add_captcha_levels<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, levels: &'life3 [Level] -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -151,53 +151,53 @@ 'life3: 'async_trait,

    Add levels to captcha

    source§

    fn captcha_exists<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    check if captcha exists

    source§

    fn delete_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_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>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Delete captcha

    source§

    fn get_captcha_levels<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: Option<&'life1 str>, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>where + username: Option<&'life1 str>, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<Level>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Get captcha levels

    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 + 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>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str, + username: &'life1 str, + captcha_key: &'life2 str, pattern: &'life3 TrafficPattern -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -205,18 +205,18 @@ 'life3: 'async_trait,

    Add traffic configuration

    source§

    fn get_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<TrafficPattern>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    Get traffic configuration

    source§

    fn delete_traffic_pattern<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - username: &'life1 str, - captcha_key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + captcha_key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -224,182 +224,182 @@

    source§

    fn create_notification<'life0, 'life1, 'async_trait>( &'life0 self, p: &'life1 AddNotification<'_> -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    create new notification

    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 + 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>( &'life0 self, - username: &'life1 str, - id: i32 -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + username: &'life1 str, + id: i32 +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    mark a notification read

    source§

    fn record_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - key: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    fetch PoWConfig fetches

    source§

    fn fetch_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    fetch PoWConfig solves

    source§

    fn fetch_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - user: &'life1 str, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where + user: &'life1 str, + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<Vec<i64>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    fetch PoWConfig confirms

    source§

    fn analysis_save<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, + captcha_id: &'life1 str, d: &'life2 CreatePerformanceAnalytics -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

    record PoW timing

    source§

    fn analytics_fetch<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_id: &'life1 str, - limit: usize, - offset: usize -) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>>where + captcha_id: &'life1 str, + limit: usize, + offset: usize +) -> Pin<Box<dyn Future<Output = DBResult<Vec<PerformanceAnalytics>>> + Send + 'async_trait>>where 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>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + 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>( &'life0 self, - captcha_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where + 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>( &'life0 self, - psuedo_id: &'life1 str -) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where + 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_get_all_psuedo_ids<'life0, 'async_trait>( &'life0 self, - page: usize -) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where + page: usize +) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get all psuedo IDs

    source§

    fn update_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32, - latest_nonce: u32 -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + captcha_key: &'life1 str, + difficulty_factor: u32, + latest_nonce: u32 +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    Track maximum nonce received against captcha levels

    source§

    fn get_max_nonce_for_level<'life0, 'life1, 'async_trait>( &'life0 self, - captcha_key: &'life1 str, - difficulty_factor: u32 -) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where + captcha_key: &'life1 str, + difficulty_factor: u32 +) -> Pin<Box<dyn Future<Output = DBResult<u32>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

    Get maximum nonce tracked so far for captcha levels

    source§

    fn stats_get_num_logs_under_time<'life0, 'async_trait>( &'life0 self, - duration: u32 -) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>>where + duration: u32 +) -> Pin<Box<dyn Future<Output = DBResult<usize>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get number of analytics entries that are under a certain duration

    source§

    fn stats_get_entry_at_location_for_time_limit_asc<'life0, 'async_trait>( &'life0 self, - duration: u32, - location: u32 -) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where + duration: u32, + location: u32 +) -> Pin<Box<dyn Future<Output = DBResult<Option<usize>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the entry at a location in the list of analytics entires under a certain time limit and sorted in ascending order

    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 + 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
    source§

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( + 'life1: 'async_trait,

    Delete all records for campaign
    §

    fn analytics_captcha_is_published<'life0, 'life1, 'async_trait>( &'life0 self, - campaign_id: &'life1 str -) -> Pin<Box<dyn Future<Output = Result<bool, DBError>> + Send + 'async_trait, Global>>where + campaign_id: &'life1 str +) -> 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>( &'life0 self -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    database specific error-type -run migrations

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneSPDatabase for Twhere - T: MCDatabase + Clone + 'static,

    source§

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +run migrations

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CloneSPDatabase for Twhere + T: MCDatabase + Clone + 'static,

    §

    fn clone_db(&self) -> Box<dyn MCDatabase, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/struct.Fresh.html b/db_sqlx_postgres/struct.Fresh.html index f893aa50..dd97da19 100644 --- a/db_sqlx_postgres/struct.Fresh.html +++ b/db_sqlx_postgres/struct.Fresh.html @@ -1,21 +1,21 @@ -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,
    -}

    Fields§

    §pool_options: PgPoolOptions§disable_logging: bool§url: String

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Fresh

    §

    impl Send for Fresh

    §

    impl Sync for Fresh

    §

    impl Unpin for Fresh

    §

    impl !UnwindSafe for Fresh

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub disable_logging: bool, + pub url: String, +}

    Fields§

    §pool_options: PgPoolOptions§disable_logging: bool§url: String

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Fresh

    §

    impl Send for Fresh

    §

    impl Sync for Fresh

    §

    impl Unpin for Fresh

    §

    impl !UnwindSafe for Fresh

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/db_sqlx_postgres/struct.InnerNotification.html b/db_sqlx_postgres/struct.InnerNotification.html index 98b2f045..52558746 100644 --- a/db_sqlx_postgres/struct.InnerNotification.html +++ b/db_sqlx_postgres/struct.InnerNotification.html @@ -1,32 +1,32 @@ -InnerNotification in db_sqlx_postgres - Rust
    pub struct InnerNotification {
    -    pub name: Option<String>,
    -    pub heading: Option<String>,
    -    pub message: Option<String>,
    -    pub received: Option<OffsetDateTime>,
    -    pub id: Option<i32>,
    +InnerNotification in db_sqlx_postgres - Rust
    pub struct InnerNotification {
    +    pub name: Option<String>,
    +    pub heading: Option<String>,
    +    pub message: Option<String>,
    +    pub received: Option<OffsetDateTime>,
    +    pub id: Option<i32>,
     }
    Expand description

    Represents notification

    -

    Fields§

    §name: Option<String>

    receiver name of the notification

    -
    §heading: Option<String>

    heading of the notification

    -
    §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 -by ==.
    1.0.0 · source§

    fn ne(&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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §name: Option<String>

    receiver name of the notification

    +
    §heading: Option<String>

    heading of the notification

    +
    §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 +by ==.
    1.0.0 · source§

    fn ne(&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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/help.html b/help.html index f636b0c6..9430cb30 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

    Rustdoc help

    Back
    \ No newline at end of file +Rustdoc help

    Rustdoc help

    Back
    \ No newline at end of file diff --git a/implementors/actix_auth_middleware/trait.GetLoginRoute.js b/implementors/actix_auth_middleware/trait.GetLoginRoute.js index 67f0784a..53a7d74e 100644 --- a/implementors/actix_auth_middleware/trait.GetLoginRoute.js +++ b/implementors/actix_auth_middleware/trait.GetLoginRoute.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl GetLoginRoute for Auth"],["impl GetLoginRoute for Routes"],["impl GetLoginRoute for Auth"],["impl GetLoginRoute for Routes"]] +"mcaptcha":[["impl GetLoginRoute for Auth"],["impl GetLoginRoute for Routes"],["impl GetLoginRoute for Routes"],["impl GetLoginRoute for Auth"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/actix_web/error/response_error/trait.ResponseError.js b/implementors/actix_web/error/response_error/trait.ResponseError.js index 2b0e3eb0..9a6c228e 100644 --- a/implementors/actix_web/error/response_error/trait.ResponseError.js +++ b/implementors/actix_web/error/response_error/trait.ResponseError.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl ResponseError for PageError"],["impl ResponseError for ServiceError"]] +"mcaptcha":[["impl ResponseError for ServiceError"],["impl ResponseError for PageError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/actix_web/service/trait.HttpServiceFactory.js b/implementors/actix_web/service/trait.HttpServiceFactory.js index 0caae4be..e589997c 100644 --- a/implementors/actix_web/service/trait.HttpServiceFactory.js +++ b/implementors/actix_web/service/trait.HttpServiceFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl HttpServiceFactory for signout"],["impl HttpServiceFactory for get"],["impl HttpServiceFactory for panel"],["impl HttpServiceFactory for update_user_secret"],["impl HttpServiceFactory for update"],["impl HttpServiceFactory for username_exists"],["impl HttpServiceFactory for create"],["impl HttpServiceFactory for sitemap"],["impl HttpServiceFactory for get_secret"],["impl HttpServiceFactory for index"],["impl HttpServiceFactory for advance"],["impl HttpServiceFactory for static_files"],["impl HttpServiceFactory for settings"],["impl HttpServiceFactory for advance"],["impl HttpServiceFactory for delete_sitekey"],["impl HttpServiceFactory for spec"],["impl HttpServiceFactory for update_key"],["impl HttpServiceFactory for verify_pow"],["impl HttpServiceFactory for notifications"],["impl HttpServiceFactory for update_captcha"],["impl HttpServiceFactory for dist"],["impl HttpServiceFactory for update_user_password"],["impl HttpServiceFactory for join"],["impl HttpServiceFactory for validate_captcha_token"],["impl HttpServiceFactory for view_sitekey"],["impl HttpServiceFactory for easy"],["impl HttpServiceFactory for error"],["impl HttpServiceFactory for list_sitekeys"],["impl HttpServiceFactory for mark_read"],["impl HttpServiceFactory for favicons"],["impl HttpServiceFactory for add_notification"],["impl HttpServiceFactory for build_details"],["impl HttpServiceFactory for get_notification"],["impl HttpServiceFactory for delete_account"],["impl HttpServiceFactory for delete_account"],["impl HttpServiceFactory for create"],["impl HttpServiceFactory for health"],["impl HttpServiceFactory for secret"],["impl HttpServiceFactory for update_secret"],["impl HttpServiceFactory for easy"],["impl HttpServiceFactory for get_config"],["impl HttpServiceFactory for show_widget"],["impl HttpServiceFactory for login"],["impl HttpServiceFactory for get_captcha"],["impl HttpServiceFactory for email_exists"],["impl HttpServiceFactory for download"],["impl HttpServiceFactory for percentile_benches"],["impl HttpServiceFactory for login"],["impl HttpServiceFactory for set_email"],["impl HttpServiceFactory for delete"],["impl HttpServiceFactory for set_username"],["impl HttpServiceFactory for register"]] +"mcaptcha":[["impl HttpServiceFactory for advance"],["impl HttpServiceFactory for login"],["impl HttpServiceFactory for static_files"],["impl HttpServiceFactory for get"],["impl HttpServiceFactory for update_key"],["impl HttpServiceFactory for create"],["impl HttpServiceFactory for error"],["impl HttpServiceFactory for set_username"],["impl HttpServiceFactory for update_captcha"],["impl HttpServiceFactory for build_details"],["impl HttpServiceFactory for delete_sitekey"],["impl HttpServiceFactory for list_sitekeys"],["impl HttpServiceFactory for show_widget"],["impl HttpServiceFactory for get_captcha"],["impl HttpServiceFactory for advance"],["impl HttpServiceFactory for add_notification"],["impl HttpServiceFactory for index"],["impl HttpServiceFactory for panel"],["impl HttpServiceFactory for validate_captcha_token"],["impl HttpServiceFactory for update_user_secret"],["impl HttpServiceFactory for email_exists"],["impl HttpServiceFactory for username_exists"],["impl HttpServiceFactory for set_email"],["impl HttpServiceFactory for update_user_password"],["impl HttpServiceFactory for delete_account"],["impl HttpServiceFactory for get_secret"],["impl HttpServiceFactory for get_notification"],["impl HttpServiceFactory for delete"],["impl HttpServiceFactory for health"],["impl HttpServiceFactory for spec"],["impl HttpServiceFactory for view_sitekey"],["impl HttpServiceFactory for delete_account"],["impl HttpServiceFactory for verify_pow"],["impl HttpServiceFactory for easy"],["impl HttpServiceFactory for download"],["impl HttpServiceFactory for dist"],["impl HttpServiceFactory for settings"],["impl HttpServiceFactory for get_config"],["impl HttpServiceFactory for easy"],["impl HttpServiceFactory for favicons"],["impl HttpServiceFactory for percentile_benches"],["impl HttpServiceFactory for sitemap"],["impl HttpServiceFactory for mark_read"],["impl HttpServiceFactory for update_secret"],["impl HttpServiceFactory for create"],["impl HttpServiceFactory for login"],["impl HttpServiceFactory for secret"],["impl HttpServiceFactory for join"],["impl HttpServiceFactory for notifications"],["impl HttpServiceFactory for register"],["impl HttpServiceFactory for signout"],["impl HttpServiceFactory for update"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index c1cdfdc1..b03c85b2 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Clone for StatsUnixTimestamp"],["impl Clone for NameHash"],["impl<'a> Clone for AddNotification<'a>"],["impl Clone for Captcha"],["impl Clone for Notification"],["impl Clone for Box<dyn MCDatabase>"],["impl<'a> Clone for Register<'a>"],["impl Clone for PerformanceAnalytics"],["impl Clone for TrafficPattern"],["impl Clone for CreatePerformanceAnalytics"],["impl Clone for Secret"],["impl<'a> Clone for CreateCaptcha<'a>"],["impl<'a> Clone for UpdateEmail<'a>"],["impl<'a> Clone for Login<'a>"]], -"db_sqlx_maria":[["impl Clone for Database"],["impl Clone for InnerNotification"]], -"db_sqlx_postgres":[["impl Clone for InnerNotification"],["impl Clone for Database"]], -"mcaptcha":[["impl Clone for CaptchaValidateResp"],["impl Clone for IndexPage"],["impl Clone for Password"],["impl Clone for IndexPage"],["impl Clone for Date"],["impl Clone for Survey"],["impl Clone for NotificationResp"],["impl Clone for Register"],["impl Clone for AccountCheckPayload"],["impl Clone for BuildDetails"],["impl Clone for IndexPage"],["impl<'a> Clone for EasyEditPage<'a>"],["impl Clone for IndexPage"],["impl Clone for DeleteCaptcha"],["impl Clone for DBType"],["impl Clone for I32Levels"],["impl Clone for Smtp"],["impl Clone for Stats"],["impl Clone for HealthBuilder"],["impl Clone for BuildDetailsBuilder"],["impl Clone for DefaultDifficultyStrategy"],["impl Clone for ApiWork"],["impl Clone for Real"],["impl Clone for Dummy"],["impl Clone for Database"],["impl Clone for Page"],["impl Clone for StatsPayload"],["impl Clone for Settings"],["impl Clone for SecretsStore"],["impl Clone for Server"],["impl Clone for BuildDetailsBuilder"],["impl Clone for UpdateTrafficPattern"],["impl Clone for MCaptchaDetails"],["impl<'a> Clone for IndexPage<'a>"],["impl Clone for Survey"],["impl Clone for Login"],["impl Clone for AdvanceEditPage"],["impl Clone for Username"],["impl Clone for Captcha"],["impl Clone for CaptchaStats"],["impl Clone for PercentileReqBuilder"],["impl Clone for BuildDetails"],["impl Clone for Email"],["impl Clone for ApiPoWConfig"],["impl<'a> Clone for ErrorPage<'a>"],["impl Clone for AddNotificationRequest"],["impl Clone for Health"],["impl Clone for Redis"],["impl Clone for ValidationToken"],["impl Clone for VerifyCaptchaResultPayload"],["impl<'a, K, V> Clone for SudoPage<'a, K, V>where\n K: Display + Render + Clone,\n V: Display + Render + Clone,"],["impl Clone for IndexPage"],["impl<'a> Clone for AdvanceIndexPage<'a>"],["impl Clone for PercentileReq"],["impl Clone for PercentileRespBuilder"],["impl Clone for AccountCheckResp"],["impl Clone for ChangePasswordReqest"],["impl Clone for IndexPage"],["impl Clone for IndexPage"],["impl<'a> Clone for EasyIndexPage<'a>"],["impl Clone for GetConfigPayload"],["impl<'a> Clone for IndexPage<'a>"],["impl Clone for PercentileResp"],["impl Clone for Levels"],["impl Clone for TrafficPatternRequest"]] +"db_core":[["impl Clone for NameHash"],["impl Clone for StatsUnixTimestamp"],["impl Clone for Box<dyn MCDatabase>"],["impl Clone for CreatePerformanceAnalytics"],["impl<'a> Clone for Login<'a>"],["impl<'a> Clone for CreateCaptcha<'a>"],["impl Clone for Captcha"],["impl<'a> Clone for UpdateEmail<'a>"],["impl Clone for PerformanceAnalytics"],["impl Clone for Secret"],["impl Clone for TrafficPattern"],["impl Clone for Notification"],["impl<'a> Clone for AddNotification<'a>"],["impl<'a> Clone for Register<'a>"]], +"db_sqlx_maria":[["impl Clone for Database"],["impl Clone for InnerNotification"]], +"db_sqlx_postgres":[["impl Clone for InnerNotification"],["impl Clone for Database"]], +"mcaptcha":[["impl Clone for IndexPage"],["impl Clone for AccountCheckResp"],["impl Clone for DBType"],["impl Clone for Email"],["impl Clone for IndexPage"],["impl Clone for PercentileReq"],["impl Clone for Stats"],["impl Clone for CaptchaValidateResp"],["impl<'a> Clone for EasyEditPage<'a>"],["impl Clone for AdvanceEditPage"],["impl Clone for BuildDetailsBuilder"],["impl Clone for BuildDetails"],["impl Clone for VerifyCaptchaResultPayload"],["impl Clone for SecretsStore"],["impl Clone for IndexPage"],["impl Clone for UpdateTrafficPattern"],["impl Clone for AccountCheckPayload"],["impl Clone for ValidationToken"],["impl<'a, K, V> Clone for SudoPage<'a, K, V>where\n K: Display + Render + Clone,\n V: Display + Render + Clone,"],["impl<'a> Clone for EasyIndexPage<'a>"],["impl<'a> Clone for AdvanceIndexPage<'a>"],["impl Clone for Survey"],["impl Clone for DeleteCaptcha"],["impl Clone for Username"],["impl Clone for NotificationResp"],["impl Clone for GetConfigPayload"],["impl Clone for IndexPage"],["impl Clone for DefaultDifficultyStrategy"],["impl Clone for IndexPage"],["impl Clone for Date"],["impl Clone for Levels"],["impl Clone for PercentileReqBuilder"],["impl Clone for Page"],["impl Clone for Captcha"],["impl Clone for ApiWork"],["impl Clone for Settings"],["impl Clone for Health"],["impl Clone for BuildDetailsBuilder"],["impl Clone for PercentileRespBuilder"],["impl Clone for Dummy"],["impl Clone for CaptchaStats"],["impl<'a> Clone for ErrorPage<'a>"],["impl Clone for Server"],["impl Clone for Redis"],["impl Clone for HealthBuilder"],["impl Clone for TrafficPatternRequest"],["impl Clone for IndexPage"],["impl Clone for BuildDetails"],["impl<'a> Clone for IndexPage<'a>"],["impl Clone for I32Levels"],["impl Clone for Smtp"],["impl Clone for MCaptchaDetails"],["impl Clone for Real"],["impl Clone for ChangePasswordReqest"],["impl Clone for AddNotificationRequest"],["impl Clone for Database"],["impl Clone for Register"],["impl Clone for ApiPoWConfig"],["impl Clone for IndexPage"],["impl Clone for Login"],["impl<'a> Clone for IndexPage<'a>"],["impl Clone for Survey"],["impl Clone for StatsPayload"],["impl Clone for PercentileResp"],["impl Clone for Password"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js index 3f9f5718..820056e0 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl Eq for DefaultDifficultyStrategy"],["impl Eq for Server"],["impl Eq for Captcha"],["impl Eq for Smtp"],["impl Eq for DBType"],["impl Eq for Stats"],["impl Eq for Redis"],["impl Eq for Page"],["impl Eq for Survey"],["impl Eq for Database"],["impl Eq for Settings"]] +"mcaptcha":[["impl Eq for Page"],["impl Eq for Settings"],["impl Eq for Redis"],["impl Eq for Server"],["impl Eq for Captcha"],["impl Eq for Survey"],["impl Eq for Stats"],["impl Eq for DefaultDifficultyStrategy"],["impl Eq for Database"],["impl Eq for DBType"],["impl Eq for Smtp"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index 6b25c3e3..1f08dcbf 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl PartialEq<NameHash> for NameHash"],["impl PartialEq<Notification> for Notification"],["impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>"],["impl<'a> PartialEq<Register<'a>> for Register<'a>"],["impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics"],["impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics"],["impl PartialEq<Secret> for Secret"],["impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>"],["impl PartialEq<TrafficPattern> for TrafficPattern"],["impl PartialEq<Captcha> for Captcha"],["impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>"],["impl<'a> PartialEq<Login<'a>> for Login<'a>"],["impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp"]], -"db_sqlx_maria":[["impl PartialEq<InnerNotification> for InnerNotification"]], -"db_sqlx_postgres":[["impl PartialEq<InnerNotification> for InnerNotification"]], -"mcaptcha":[["impl PartialEq<Real> for Real"],["impl PartialEq<DefaultDifficultyStrategy> for DefaultDifficultyStrategy"],["impl PartialEq<DBErrorWrapper> for DBErrorWrapper"],["impl PartialEq<ServiceError> for ServiceError"],["impl PartialEq<SmtpErrorWrapper> for SmtpErrorWrapper"],["impl PartialEq<Settings> for Settings"],["impl PartialEq<Dummy> for Dummy"],["impl PartialEq<PageError> for PageError"],["impl PartialEq<Survey> for Survey"],["impl PartialEq<CaptchaStats> for CaptchaStats"],["impl PartialEq<Redis> for Redis"],["impl PartialEq<Stats> for Stats"],["impl PartialEq<Server> for Server"],["impl PartialEq<AddNotificationRequest> for AddNotificationRequest"],["impl PartialEq<Captcha> for Captcha"],["impl PartialEq<Database> for Database"],["impl PartialEq<Page> for Page"],["impl PartialEq<NotificationResp> for NotificationResp"],["impl PartialEq<DBType> for DBType"],["impl PartialEq<Smtp> for Smtp"]] +"db_core":[["impl PartialEq<CreatePerformanceAnalytics> for CreatePerformanceAnalytics"],["impl<'a> PartialEq<Register<'a>> for Register<'a>"],["impl PartialEq<TrafficPattern> for TrafficPattern"],["impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>"],["impl<'a> PartialEq<CreateCaptcha<'a>> for CreateCaptcha<'a>"],["impl<'a> PartialEq<Login<'a>> for Login<'a>"],["impl<'a> PartialEq<AddNotification<'a>> for AddNotification<'a>"],["impl PartialEq<Captcha> for Captcha"],["impl PartialEq<Secret> for Secret"],["impl PartialEq<Notification> for Notification"],["impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics"],["impl PartialEq<StatsUnixTimestamp> for StatsUnixTimestamp"],["impl PartialEq<NameHash> for NameHash"]], +"db_sqlx_maria":[["impl PartialEq<InnerNotification> for InnerNotification"]], +"db_sqlx_postgres":[["impl PartialEq<InnerNotification> for InnerNotification"]], +"mcaptcha":[["impl PartialEq<Server> for Server"],["impl PartialEq<DBErrorWrapper> for DBErrorWrapper"],["impl PartialEq<Captcha> for Captcha"],["impl PartialEq<ServiceError> for ServiceError"],["impl PartialEq<NotificationResp> for NotificationResp"],["impl PartialEq<Database> for Database"],["impl PartialEq<Settings> for Settings"],["impl PartialEq<PageError> for PageError"],["impl PartialEq<Stats> for Stats"],["impl PartialEq<DBType> for DBType"],["impl PartialEq<Page> for Page"],["impl PartialEq<Survey> for Survey"],["impl PartialEq<Real> for Real"],["impl PartialEq<AddNotificationRequest> for AddNotificationRequest"],["impl PartialEq<Smtp> for Smtp"],["impl PartialEq<Dummy> for Dummy"],["impl PartialEq<SmtpErrorWrapper> for SmtpErrorWrapper"],["impl PartialEq<CaptchaStats> for CaptchaStats"],["impl PartialEq<Redis> for Redis"],["impl PartialEq<DefaultDifficultyStrategy> for DefaultDifficultyStrategy"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 6cd0c2a5..4bb74b91 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"db_sqlx_maria":[["impl From<InnerNotification> for Notification"]], -"db_sqlx_postgres":[["impl From<InnerNotification> for Notification"]], -"mcaptcha":[["impl From<UninitializedFieldError> for PercentileReqBuilderError"],["impl From<ApiWork> for Work"],["impl From<String> for PercentileReqBuilderError"],["impl From<String> for PercentileRespBuilderError"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<CaptchaError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"],["impl From<Notification> for NotificationResp"],["impl From<CredsError> for ServiceError"],["impl From<UninitializedFieldError> for PercentileRespBuilderError"],["impl From<ServiceError> for PageError"],["impl From<DBError> for PageError"],["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<String> for HealthBuilderError"],["impl From<Notification> for Notification"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<Error> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<MailboxError> for ServiceError"],["impl From<DBError> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<RecvError> for ServiceError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"]] +"db_sqlx_maria":[["impl From<InnerNotification> for Notification"]], +"db_sqlx_postgres":[["impl From<InnerNotification> for Notification"]], +"mcaptcha":[["impl From<DBError> for PageError"],["impl From<String> for HealthBuilderError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"],["impl From<DBError> for ServiceError"],["impl From<String> for PercentileRespBuilderError"],["impl From<CredsError> for ServiceError"],["impl From<ValidationErrors> for ServiceError"],["impl From<UninitializedFieldError> for PercentileRespBuilderError"],["impl From<CaptchaError> for ServiceError"],["impl From<Notification> for Notification"],["impl From<String> for PercentileReqBuilderError"],["impl From<UninitializedFieldError> for BuildDetailsBuilderError"],["impl From<UninitializedFieldError> for PercentileReqBuilderError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<ParseError> for ServiceError"],["impl From<ChangePasswordReqest> for UpdatePassword"],["impl From<Notification> for NotificationResp"],["impl From<MailboxError> for ServiceError"],["impl From<String> for BuildDetailsBuilderError"],["impl From<&TrafficPatternRequest> for TrafficPattern"],["impl From<VerifyCaptchaResultPayload> for VerifyCaptchaResult"],["impl From<UninitializedFieldError> for HealthBuilderError"],["impl From<ApiWork> for Work"],["impl From<ServiceError> for PageError"],["impl From<Error> for ServiceError"],["impl From<RecvError> for ServiceError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index d91900ee..0ace6435 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"db_core":[["impl Default for PerformanceAnalytics"],["impl<'a> Default for AddNotification<'a>"],["impl Default for StatsUnixTimestamp"],["impl Default for Captcha"],["impl Default for Secret"],["impl Default for CreatePerformanceAnalytics"],["impl Default for TrafficPattern"],["impl Default for Notification"],["impl<'a> Default for CreateCaptcha<'a>"]], -"db_sqlx_postgres":[["impl Default for InnerNotification"]], -"mcaptcha":[["impl Default for IndexPage"],["impl Default for AddNotificationRequest"],["impl Default for HealthBuilder"],["impl Default for Real"],["impl Default for IndexPage"],["impl<'a> Default for AdvanceIndexPage<'a>"],["impl Default for BuildDetailsBuilder"],["impl Default for Dummy"],["impl Default for SecretsStore"],["impl<'a> Default for EasyIndexPage<'a>"],["impl Default for CaptchaStats"],["impl Default for IndexPage"],["impl Default for NotificationResp"],["impl Default for PercentileRespBuilder"],["impl Default for TrafficPatternRequest"],["impl Default for BuildDetailsBuilder"],["impl Default for PercentileReqBuilder"]] +"db_core":[["impl Default for Secret"],["impl Default for PerformanceAnalytics"],["impl<'a> Default for AddNotification<'a>"],["impl Default for Notification"],["impl Default for CreatePerformanceAnalytics"],["impl Default for StatsUnixTimestamp"],["impl Default for TrafficPattern"],["impl<'a> Default for CreateCaptcha<'a>"],["impl Default for Captcha"]], +"db_sqlx_postgres":[["impl Default for InnerNotification"]], +"mcaptcha":[["impl Default for PercentileRespBuilder"],["impl Default for NotificationResp"],["impl Default for HealthBuilder"],["impl Default for SecretsStore"],["impl<'a> Default for AdvanceIndexPage<'a>"],["impl Default for BuildDetailsBuilder"],["impl Default for AddNotificationRequest"],["impl Default for IndexPage"],["impl Default for BuildDetailsBuilder"],["impl Default for Real"],["impl Default for PercentileReqBuilder"],["impl Default for TrafficPatternRequest"],["impl Default for IndexPage"],["impl<'a> Default for EasyIndexPage<'a>"],["impl Default for Dummy"],["impl Default for CaptchaStats"],["impl Default for IndexPage"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/error/trait.Error.js b/implementors/core/error/trait.Error.js index cefaae2a..6473eb2a 100644 --- a/implementors/core/error/trait.Error.js +++ b/implementors/core/error/trait.Error.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"db_core":[["impl Error for DBError"]], -"mcaptcha":[["impl Error for PercentileRespBuilderError"],["impl Error for ServiceError"],["impl Error for HealthBuilderError"],["impl Error for PageError"],["impl Error for BuildDetailsBuilderError"],["impl Error for PercentileReqBuilderError"],["impl Error for DBErrorWrapper"],["impl Error for SmtpErrorWrapper"],["impl Error for BuildDetailsBuilderError"]] +"db_core":[["impl Error for DBError"]], +"mcaptcha":[["impl Error for PageError"],["impl Error for ServiceError"],["impl Error for PercentileRespBuilderError"],["impl Error for BuildDetailsBuilderError"],["impl Error for DBErrorWrapper"],["impl Error for SmtpErrorWrapper"],["impl Error for BuildDetailsBuilderError"],["impl Error for PercentileReqBuilderError"],["impl Error for HealthBuilderError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index a246b411..2284afa0 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Debug for Secret"],["impl Debug for Captcha"],["impl Debug for TrafficPattern"],["impl Debug for Notification"],["impl<'a> Debug for Register<'a>"],["impl<'a> Debug for AddNotification<'a>"],["impl Debug for PerformanceAnalytics"],["impl<'a> Debug for CreateCaptcha<'a>"],["impl Debug for NameHash"],["impl Debug for CreatePerformanceAnalytics"],["impl Debug for DBError"],["impl<'a> Debug for UpdateEmail<'a>"],["impl Debug for StatsUnixTimestamp"],["impl<'a> Debug for Login<'a>"]], -"db_sqlx_maria":[["impl Debug for InnerNotification"]], -"db_sqlx_postgres":[["impl Debug for InnerNotification"]], -"mcaptcha":[["impl Debug for AccountCheckPayload"],["impl Debug for Captcha"],["impl Debug for Smtp"],["impl Debug for Page"],["impl Debug for UpdateTrafficPattern"],["impl Debug for VerifyCaptchaResultPayload"],["impl Debug for DeleteCaptcha"],["impl Debug for CaptchaStats"],["impl Debug for SecretsStore"],["impl Debug for TrafficPatternRequest"],["impl Debug for ServiceError"],["impl Debug for DBErrorWrapper"],["impl Debug for Health"],["impl Debug for BuildDetailsBuilderError"],["impl Debug for CaptchaValidateResp"],["impl Debug for StatsPayload"],["impl Debug for BuildDetails"],["impl Debug for BuildDetails"],["impl Debug for Email"],["impl Debug for ValidationToken"],["impl Debug for Settings"],["impl Debug for MCaptchaDetails"],["impl Debug for Password"],["impl Debug for GetConfigPayload"],["impl Debug for Login"],["impl Debug for HealthBuilderError"],["impl Debug for Stats"],["impl Debug for I32Levels"],["impl Debug for ApiWork"],["impl Debug for DBType"],["impl Debug for PercentileRespBuilderError"],["impl Debug for Date"],["impl Debug for PercentileReq"],["impl Debug for SmtpErrorWrapper"],["impl Debug for ApiPoWConfig"],["impl Debug for PercentileResp"],["impl Debug for Username"],["impl Debug for AccountCheckResp"],["impl Debug for Redis"],["impl Debug for Database"],["impl Debug for AddNotificationRequest"],["impl Debug for Register"],["impl Debug for PercentileReqBuilderError"],["impl Debug for ChangePasswordReqest"],["impl Debug for Real"],["impl Debug for BuildDetailsBuilderError"],["impl Debug for DefaultDifficultyStrategy"],["impl Debug for Server"],["impl Debug for Dummy"],["impl Debug for Survey"],["impl Debug for PageError"],["impl Debug for Levels"]] +"db_core":[["impl<'a> Debug for CreateCaptcha<'a>"],["impl Debug for DBError"],["impl Debug for CreatePerformanceAnalytics"],["impl<'a> Debug for AddNotification<'a>"],["impl<'a> Debug for UpdateEmail<'a>"],["impl Debug for TrafficPattern"],["impl<'a> Debug for Register<'a>"],["impl Debug for Notification"],["impl<'a> Debug for Login<'a>"],["impl Debug for Secret"],["impl Debug for Captcha"],["impl Debug for NameHash"],["impl Debug for PerformanceAnalytics"],["impl Debug for StatsUnixTimestamp"]], +"db_sqlx_maria":[["impl Debug for InnerNotification"]], +"db_sqlx_postgres":[["impl Debug for InnerNotification"]], +"mcaptcha":[["impl Debug for DBErrorWrapper"],["impl Debug for Redis"],["impl Debug for AccountCheckResp"],["impl Debug for PercentileResp"],["impl Debug for Username"],["impl Debug for ValidationToken"],["impl Debug for MCaptchaDetails"],["impl Debug for CaptchaStats"],["impl Debug for AccountCheckPayload"],["impl Debug for Captcha"],["impl Debug for TrafficPatternRequest"],["impl Debug for SmtpErrorWrapper"],["impl Debug for Stats"],["impl Debug for BuildDetailsBuilderError"],["impl Debug for PercentileRespBuilderError"],["impl Debug for Server"],["impl Debug for DeleteCaptcha"],["impl Debug for PercentileReqBuilderError"],["impl Debug for Health"],["impl Debug for Survey"],["impl Debug for GetConfigPayload"],["impl Debug for PercentileReq"],["impl Debug for Database"],["impl Debug for Dummy"],["impl Debug for CaptchaValidateResp"],["impl Debug for Smtp"],["impl Debug for UpdateTrafficPattern"],["impl Debug for BuildDetailsBuilderError"],["impl Debug for Settings"],["impl Debug for Date"],["impl Debug for PageError"],["impl Debug for Levels"],["impl Debug for Email"],["impl Debug for BuildDetails"],["impl Debug for AddNotificationRequest"],["impl Debug for HealthBuilderError"],["impl Debug for Password"],["impl Debug for StatsPayload"],["impl Debug for SecretsStore"],["impl Debug for Page"],["impl Debug for BuildDetails"],["impl Debug for Register"],["impl Debug for ServiceError"],["impl Debug for Real"],["impl Debug for DBType"],["impl Debug for ApiWork"],["impl Debug for VerifyCaptchaResultPayload"],["impl Debug for ApiPoWConfig"],["impl Debug for ChangePasswordReqest"],["impl Debug for I32Levels"],["impl Debug for DefaultDifficultyStrategy"],["impl Debug for Login"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index bb3c305d..8a7f2486 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"db_core":[["impl Display for DBError"]], -"mcaptcha":[["impl Display for DBType"],["impl Display for PercentileRespBuilderError"],["impl Display for BuildDetailsBuilderError"],["impl Display for PercentileReqBuilderError"],["impl Display for PageError"],["impl Display for ServiceError"],["impl Display for SmtpErrorWrapper"],["impl Display for DBErrorWrapper"],["impl Display for HealthBuilderError"],["impl Display for BuildDetailsBuilderError"]] +"db_core":[["impl Display for DBError"]], +"mcaptcha":[["impl Display for DBErrorWrapper"],["impl Display for PercentileRespBuilderError"],["impl Display for HealthBuilderError"],["impl Display for SmtpErrorWrapper"],["impl Display for PercentileReqBuilderError"],["impl Display for DBType"],["impl Display for BuildDetailsBuilderError"],["impl Display for BuildDetailsBuilderError"],["impl Display for ServiceError"],["impl Display for PageError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Freeze.js b/implementors/core/marker/trait.Freeze.js index a6a7612a..947780af 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -2,5 +2,5 @@ "db_core":[["impl Freeze for DBError",1,["db_core::errors::DBError"]],["impl<'a> Freeze for Register<'a>",1,["db_core::Register"]],["impl<'a> Freeze for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Freeze for Login<'a>",1,["db_core::Login"]],["impl Freeze for NameHash",1,["db_core::NameHash"]],["impl Freeze for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Freeze for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Freeze for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Freeze for Notification",1,["db_core::Notification"]],["impl<'a> Freeze for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Freeze for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Freeze for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Freeze for Captcha",1,["db_core::Captcha"]],["impl Freeze for Secret",1,["db_core::Secret"]]], "db_sqlx_maria":[["impl Freeze for Database",1,["db_sqlx_maria::Database"]],["impl Freeze for Conn",1,["db_sqlx_maria::Conn"]],["impl Freeze for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Freeze for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Freeze for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], "db_sqlx_postgres":[["impl Freeze for Database",1,["db_sqlx_postgres::Database"]],["impl Freeze for Conn",1,["db_sqlx_postgres::Conn"]],["impl Freeze for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Freeze for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Freeze for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Freeze for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Freeze for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Freeze for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Freeze for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Freeze for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Freeze for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Freeze for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Freeze for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Freeze for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Freeze for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Freeze for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Freeze for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Freeze for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Freeze for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Freeze for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Freeze for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Freeze for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Freeze for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Freeze for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Freeze for register",1,["mcaptcha::api::v1::auth::register"]],["impl Freeze for login",1,["mcaptcha::api::v1::auth::login"]],["impl Freeze for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Freeze for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Freeze for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Freeze for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Freeze for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Freeze for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Freeze for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Freeze for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Freeze for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Freeze for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Freeze for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Freeze for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Freeze for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Freeze for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Freeze for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Freeze for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Freeze for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Freeze for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Freeze for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Freeze for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Freeze for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Freeze for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Freeze for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Freeze for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Freeze for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Freeze for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Freeze for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Freeze for health",1,["mcaptcha::api::v1::meta::health"]],["impl Freeze for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Freeze for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Freeze for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Freeze for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Freeze for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Freeze for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Freeze for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Freeze for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Freeze for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Freeze for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Freeze for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Freeze for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Freeze for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Freeze for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Freeze for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Freeze for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Freeze for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Freeze for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Freeze for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Freeze for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Freeze for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Freeze for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Freeze for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Freeze for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Freeze for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Freeze for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Freeze for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Freeze for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Freeze for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Freeze for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Freeze for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Freeze for download",1,["mcaptcha::api::v1::survey::download"]],["impl Freeze for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Freeze for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Freeze for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Freeze for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Freeze for Data",1,["mcaptcha::data::Data"]],["impl Freeze for Date",1,["mcaptcha::date::Date"]],["impl Freeze for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Freeze for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Freeze for Asset",1,["mcaptcha::docs::Asset"]],["impl Freeze for dist",1,["mcaptcha::docs::dist"]],["impl Freeze for spec",1,["mcaptcha::docs::spec"]],["impl Freeze for index",1,["mcaptcha::docs::index"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Freeze for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Freeze for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Freeze for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Freeze for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Freeze for PageError",1,["mcaptcha::errors::PageError"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Freeze for login",1,["mcaptcha::pages::auth::login::login"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Freeze for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Freeze for SudoPage<'a, K, V>",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Freeze for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Freeze for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Freeze for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Freeze for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Freeze for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Freeze for error",1,["mcaptcha::pages::errors::error"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Freeze for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Freeze for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Freeze for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Freeze for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Freeze for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Freeze for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Freeze for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Freeze for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Freeze for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Freeze for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Freeze for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Freeze for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Freeze for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Freeze for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Freeze for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Freeze for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Freeze for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Freeze for panel",1,["mcaptcha::pages::panel::panel"]],["impl Freeze for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Freeze for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Freeze for Server",1,["mcaptcha::settings::Server"]],["impl Freeze for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Freeze for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Freeze for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Freeze for DBType",1,["mcaptcha::settings::DBType"]],["impl Freeze for Database",1,["mcaptcha::settings::Database"]],["impl Freeze for Redis",1,["mcaptcha::settings::Redis"]],["impl Freeze for Survey",1,["mcaptcha::settings::Survey"]],["impl Freeze for Settings",1,["mcaptcha::settings::Settings"]],["impl Freeze for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Freeze for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Freeze for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Freeze for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Freeze for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Freeze for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Freeze for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Freeze for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Freeze for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Freeze for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Freeze for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Freeze for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Freeze for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Freeze for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Freeze for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Freeze for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Freeze for Real",1,["mcaptcha::stats::Real"]],["impl Freeze for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Freeze for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Freeze for Survey",1,["mcaptcha::survey::Survey"]],["impl Freeze for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Freeze for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Freeze for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Freeze for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Freeze for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Freeze for FILES",1,["mcaptcha::FILES"]],["impl Freeze for JS",1,["mcaptcha::JS"]],["impl Freeze for CSS",1,["mcaptcha::CSS"]],["impl Freeze for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Freeze for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Freeze for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Freeze for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"mcaptcha":[["impl Freeze for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Freeze for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Freeze for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Freeze for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Freeze for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Freeze for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Freeze for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Freeze for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Freeze for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Freeze for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Freeze for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Freeze for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Freeze for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Freeze for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Freeze for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Freeze for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Freeze for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Freeze for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Freeze for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Freeze for register",1,["mcaptcha::api::v1::auth::register"]],["impl Freeze for login",1,["mcaptcha::api::v1::auth::login"]],["impl Freeze for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Freeze for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Freeze for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Freeze for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Freeze for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Freeze for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Freeze for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Freeze for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Freeze for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Freeze for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Freeze for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Freeze for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Freeze for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Freeze for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Freeze for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Freeze for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Freeze for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Freeze for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Freeze for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Freeze for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Freeze for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Freeze for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Freeze for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Freeze for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Freeze for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Freeze for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Freeze for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Freeze for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Freeze for health",1,["mcaptcha::api::v1::meta::health"]],["impl Freeze for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Freeze for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Freeze for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Freeze for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Freeze for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Freeze for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Freeze for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Freeze for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Freeze for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Freeze for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Freeze for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Freeze for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Freeze for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Freeze for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Freeze for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Freeze for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Freeze for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Freeze for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Freeze for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Freeze for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Freeze for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Freeze for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Freeze for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Freeze for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Freeze for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Freeze for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Freeze for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Freeze for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Freeze for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Freeze for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Freeze for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Freeze for download",1,["mcaptcha::api::v1::survey::download"]],["impl Freeze for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Freeze for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Freeze for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Freeze for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Freeze for Data",1,["mcaptcha::data::Data"]],["impl Freeze for Date",1,["mcaptcha::date::Date"]],["impl Freeze for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Freeze for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Freeze for Asset",1,["mcaptcha::docs::Asset"]],["impl Freeze for dist",1,["mcaptcha::docs::dist"]],["impl Freeze for spec",1,["mcaptcha::docs::spec"]],["impl Freeze for index",1,["mcaptcha::docs::index"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Freeze for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Freeze for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Freeze for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Freeze for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Freeze for PageError",1,["mcaptcha::errors::PageError"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Freeze for login",1,["mcaptcha::pages::auth::login::login"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Freeze for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Freeze for SudoPage<'a, K, V>",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Freeze for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Freeze for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Freeze for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Freeze for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Freeze for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Freeze for error",1,["mcaptcha::pages::errors::error"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Freeze for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Freeze for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Freeze for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Freeze for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Freeze for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Freeze for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Freeze for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Freeze for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Freeze for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Freeze for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Freeze for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Freeze for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Freeze for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Freeze for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Freeze for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Freeze for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Freeze for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Freeze for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Freeze for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Freeze for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Freeze for panel",1,["mcaptcha::pages::panel::panel"]],["impl Freeze for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Freeze for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Freeze for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Freeze for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Freeze for Server",1,["mcaptcha::settings::Server"]],["impl Freeze for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Freeze for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Freeze for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Freeze for DBType",1,["mcaptcha::settings::DBType"]],["impl Freeze for Database",1,["mcaptcha::settings::Database"]],["impl Freeze for Redis",1,["mcaptcha::settings::Redis"]],["impl Freeze for Survey",1,["mcaptcha::settings::Survey"]],["impl Freeze for Settings",1,["mcaptcha::settings::Settings"]],["impl Freeze for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Freeze for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Freeze for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Freeze for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Freeze for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Freeze for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Freeze for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Freeze for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Freeze for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Freeze for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Freeze for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Freeze for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Freeze for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Freeze for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Freeze for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Freeze for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Freeze for Real",1,["mcaptcha::stats::Real"]],["impl Freeze for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Freeze for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Freeze for Survey",1,["mcaptcha::survey::Survey"]],["impl Freeze for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Freeze for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Freeze for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Freeze for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Freeze for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Freeze for FILES",1,["mcaptcha::FILES"]],["impl Freeze for JS",1,["mcaptcha::JS"]],["impl Freeze for CSS",1,["mcaptcha::CSS"]],["impl Freeze for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Freeze for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Freeze for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Freeze for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Send.js b/implementors/core/marker/trait.Send.js index dc6be0f2..f027aae3 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Send for DBError",1,["db_core::errors::DBError"]],["impl<'a> Send for Register<'a>",1,["db_core::Register"]],["impl<'a> Send for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Send for Login<'a>",1,["db_core::Login"]],["impl Send for NameHash",1,["db_core::NameHash"]],["impl Send for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Send for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Send for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Send for Notification",1,["db_core::Notification"]],["impl<'a> Send for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Send for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Send for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Send for Captcha",1,["db_core::Captcha"]],["impl Send for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl Send for Database",1,["db_sqlx_maria::Database"]],["impl Send for Conn",1,["db_sqlx_maria::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl Send for Database",1,["db_sqlx_postgres::Database"]],["impl Send for Conn",1,["db_sqlx_postgres::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Send for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Send for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Send for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Send for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Send for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Send for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Send for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Send for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Send for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Send for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Send for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Send for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Send for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Send for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Send for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Send for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Send for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Send for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Send for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Send for register",1,["mcaptcha::api::v1::auth::register"]],["impl Send for login",1,["mcaptcha::api::v1::auth::login"]],["impl Send for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Send for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Send for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Send for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Send for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Send for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Send for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Send for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Send for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Send for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Send for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Send for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Send for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Send for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Send for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Send for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Send for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Send for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Send for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Send for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Send for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Send for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Send for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Send for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Send for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Send for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Send for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Send for health",1,["mcaptcha::api::v1::meta::health"]],["impl Send for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Send for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Send for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Send for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Send for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Send for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Send for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Send for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Send for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Send for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Send for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Send for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Send for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Send for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Send for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Send for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Send for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Send for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Send for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Send for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Send for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Send for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Send for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Send for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Send for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Send for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Send for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Send for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Send for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Send for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Send for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Send for download",1,["mcaptcha::api::v1::survey::download"]],["impl Send for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Send for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Send for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Send for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Send for Data",1,["mcaptcha::data::Data"]],["impl Send for Date",1,["mcaptcha::date::Date"]],["impl Send for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Send for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Send for Asset",1,["mcaptcha::docs::Asset"]],["impl Send for dist",1,["mcaptcha::docs::dist"]],["impl Send for spec",1,["mcaptcha::docs::spec"]],["impl Send for index",1,["mcaptcha::docs::index"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Send for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Send for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Send for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Send for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Send for PageError",1,["mcaptcha::errors::PageError"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Send for login",1,["mcaptcha::pages::auth::login::login"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Send for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Send for SudoPage<'a, K, V>where\n K: Send,\n V: Send,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Send for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Send for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Send for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Send for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Send for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Send for error",1,["mcaptcha::pages::errors::error"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Send for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Send for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Send for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Send for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Send for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Send for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Send for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Send for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Send for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Send for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Send for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Send for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Send for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Send for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Send for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Send for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Send for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Send for panel",1,["mcaptcha::pages::panel::panel"]],["impl Send for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Send for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Send for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Send for Server",1,["mcaptcha::settings::Server"]],["impl Send for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Send for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Send for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Send for DBType",1,["mcaptcha::settings::DBType"]],["impl Send for Database",1,["mcaptcha::settings::Database"]],["impl Send for Redis",1,["mcaptcha::settings::Redis"]],["impl Send for Survey",1,["mcaptcha::settings::Survey"]],["impl Send for Settings",1,["mcaptcha::settings::Settings"]],["impl Send for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Send for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Send for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Send for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Send for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Send for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Send for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Send for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Send for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Send for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Send for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Send for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Send for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Send for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Send for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Send for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Send for Real",1,["mcaptcha::stats::Real"]],["impl Send for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Send for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Send for Survey",1,["mcaptcha::survey::Survey"]],["impl Send for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Send for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Send for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Send for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Send for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Send for FILES",1,["mcaptcha::FILES"]],["impl Send for JS",1,["mcaptcha::JS"]],["impl Send for CSS",1,["mcaptcha::CSS"]],["impl Send for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Send for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Send for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Send for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl Send for DBError",1,["db_core::errors::DBError"]],["impl<'a> Send for Register<'a>",1,["db_core::Register"]],["impl<'a> Send for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Send for Login<'a>",1,["db_core::Login"]],["impl Send for NameHash",1,["db_core::NameHash"]],["impl Send for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Send for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Send for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Send for Notification",1,["db_core::Notification"]],["impl<'a> Send for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Send for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Send for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Send for Captcha",1,["db_core::Captcha"]],["impl Send for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl Send for Database",1,["db_sqlx_maria::Database"]],["impl Send for Conn",1,["db_sqlx_maria::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl Send for Database",1,["db_sqlx_postgres::Database"]],["impl Send for Conn",1,["db_sqlx_postgres::Conn"]],["impl Send for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Send for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Send for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl Send for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Send for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Send for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Send for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Send for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Send for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Send for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Send for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Send for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Send for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Send for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Send for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Send for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Send for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Send for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Send for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Send for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Send for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Send for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Send for register",1,["mcaptcha::api::v1::auth::register"]],["impl Send for login",1,["mcaptcha::api::v1::auth::login"]],["impl Send for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Send for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Send for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Send for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Send for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Send for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Send for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Send for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Send for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Send for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Send for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Send for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Send for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Send for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Send for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Send for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Send for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Send for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Send for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Send for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Send for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Send for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Send for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Send for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Send for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Send for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Send for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Send for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Send for health",1,["mcaptcha::api::v1::meta::health"]],["impl Send for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Send for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Send for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Send for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Send for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Send for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Send for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Send for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Send for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Send for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Send for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Send for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Send for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Send for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Send for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Send for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Send for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Send for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Send for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Send for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Send for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Send for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Send for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Send for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Send for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Send for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Send for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Send for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Send for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Send for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Send for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Send for download",1,["mcaptcha::api::v1::survey::download"]],["impl Send for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Send for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Send for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Send for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Send for Data",1,["mcaptcha::data::Data"]],["impl Send for Date",1,["mcaptcha::date::Date"]],["impl Send for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Send for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Send for Asset",1,["mcaptcha::docs::Asset"]],["impl Send for dist",1,["mcaptcha::docs::dist"]],["impl Send for spec",1,["mcaptcha::docs::spec"]],["impl Send for index",1,["mcaptcha::docs::index"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Send for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Send for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Send for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Send for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Send for PageError",1,["mcaptcha::errors::PageError"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Send for login",1,["mcaptcha::pages::auth::login::login"]],["impl Send for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Send for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Send for SudoPage<'a, K, V>where\n K: Send,\n V: Send,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Send for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Send for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Send for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Send for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Send for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Send for error",1,["mcaptcha::pages::errors::error"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Send for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Send for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Send for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Send for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Send for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Send for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Send for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Send for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Send for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Send for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Send for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Send for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Send for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Send for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Send for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Send for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Send for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Send for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Send for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Send for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Send for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Send for panel",1,["mcaptcha::pages::panel::panel"]],["impl Send for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Send for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Send for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Send for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Send for Server",1,["mcaptcha::settings::Server"]],["impl Send for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Send for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Send for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Send for DBType",1,["mcaptcha::settings::DBType"]],["impl Send for Database",1,["mcaptcha::settings::Database"]],["impl Send for Redis",1,["mcaptcha::settings::Redis"]],["impl Send for Survey",1,["mcaptcha::settings::Survey"]],["impl Send for Settings",1,["mcaptcha::settings::Settings"]],["impl Send for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Send for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Send for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Send for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Send for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Send for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Send for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Send for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Send for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Send for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Send for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Send for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Send for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Send for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Send for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Send for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Send for Real",1,["mcaptcha::stats::Real"]],["impl Send for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Send for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Send for Survey",1,["mcaptcha::survey::Survey"]],["impl Send for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Send for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Send for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Send for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Send for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Send for FILES",1,["mcaptcha::FILES"]],["impl Send for JS",1,["mcaptcha::JS"]],["impl Send for CSS",1,["mcaptcha::CSS"]],["impl Send for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Send for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Send for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Send for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index 1d297012..6485986c 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl StructuralEq for Survey"],["impl StructuralEq for DefaultDifficultyStrategy"],["impl StructuralEq for Smtp"],["impl StructuralEq for Settings"],["impl StructuralEq for Captcha"],["impl StructuralEq for Page"],["impl StructuralEq for Database"],["impl StructuralEq for Stats"],["impl StructuralEq for DBType"],["impl StructuralEq for Redis"],["impl StructuralEq for Server"]] +"mcaptcha":[["impl StructuralEq for Server"],["impl StructuralEq for Captcha"],["impl StructuralEq for Settings"],["impl StructuralEq for Page"],["impl StructuralEq for Database"],["impl StructuralEq for Survey"],["impl StructuralEq for DBType"],["impl StructuralEq for Stats"],["impl StructuralEq for Redis"],["impl StructuralEq for Smtp"],["impl StructuralEq for DefaultDifficultyStrategy"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js index 307f246e..d5733ff6 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl StructuralPartialEq for CreatePerformanceAnalytics"],["impl<'a> StructuralPartialEq for CreateCaptcha<'a>"],["impl<'a> StructuralPartialEq for Login<'a>"],["impl<'a> StructuralPartialEq for Register<'a>"],["impl StructuralPartialEq for Secret"],["impl StructuralPartialEq for Captcha"],["impl StructuralPartialEq for TrafficPattern"],["impl StructuralPartialEq for Notification"],["impl StructuralPartialEq for StatsUnixTimestamp"],["impl StructuralPartialEq for PerformanceAnalytics"],["impl<'a> StructuralPartialEq for AddNotification<'a>"],["impl StructuralPartialEq for NameHash"],["impl<'a> StructuralPartialEq for UpdateEmail<'a>"]], -"db_sqlx_maria":[["impl StructuralPartialEq for InnerNotification"]], -"db_sqlx_postgres":[["impl StructuralPartialEq for InnerNotification"]], -"mcaptcha":[["impl StructuralPartialEq for ServiceError"],["impl StructuralPartialEq for DefaultDifficultyStrategy"],["impl StructuralPartialEq for Redis"],["impl StructuralPartialEq for PageError"],["impl StructuralPartialEq for Server"],["impl StructuralPartialEq for Database"],["impl StructuralPartialEq for AddNotificationRequest"],["impl StructuralPartialEq for Survey"],["impl StructuralPartialEq for NotificationResp"],["impl StructuralPartialEq for Smtp"],["impl StructuralPartialEq for Settings"],["impl StructuralPartialEq for Dummy"],["impl StructuralPartialEq for Captcha"],["impl StructuralPartialEq for CaptchaStats"],["impl StructuralPartialEq for Real"],["impl StructuralPartialEq for DBType"],["impl StructuralPartialEq for Page"],["impl StructuralPartialEq for Stats"]] +"db_core":[["impl StructuralPartialEq for TrafficPattern"],["impl StructuralPartialEq for CreatePerformanceAnalytics"],["impl StructuralPartialEq for NameHash"],["impl<'a> StructuralPartialEq for UpdateEmail<'a>"],["impl StructuralPartialEq for Secret"],["impl StructuralPartialEq for Captcha"],["impl<'a> StructuralPartialEq for Register<'a>"],["impl StructuralPartialEq for PerformanceAnalytics"],["impl StructuralPartialEq for Notification"],["impl<'a> StructuralPartialEq for CreateCaptcha<'a>"],["impl StructuralPartialEq for StatsUnixTimestamp"],["impl<'a> StructuralPartialEq for Login<'a>"],["impl<'a> StructuralPartialEq for AddNotification<'a>"]], +"db_sqlx_maria":[["impl StructuralPartialEq for InnerNotification"]], +"db_sqlx_postgres":[["impl StructuralPartialEq for InnerNotification"]], +"mcaptcha":[["impl StructuralPartialEq for Redis"],["impl StructuralPartialEq for AddNotificationRequest"],["impl StructuralPartialEq for Database"],["impl StructuralPartialEq for Page"],["impl StructuralPartialEq for CaptchaStats"],["impl StructuralPartialEq for Dummy"],["impl StructuralPartialEq for Server"],["impl StructuralPartialEq for DefaultDifficultyStrategy"],["impl StructuralPartialEq for Stats"],["impl StructuralPartialEq for DBType"],["impl StructuralPartialEq for NotificationResp"],["impl StructuralPartialEq for Survey"],["impl StructuralPartialEq for Settings"],["impl StructuralPartialEq for Smtp"],["impl StructuralPartialEq for Real"],["impl StructuralPartialEq for Captcha"],["impl StructuralPartialEq for PageError"],["impl StructuralPartialEq for ServiceError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Sync.js b/implementors/core/marker/trait.Sync.js index 4405458a..c5186836 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Sync for DBError",1,["db_core::errors::DBError"]],["impl<'a> Sync for Register<'a>",1,["db_core::Register"]],["impl<'a> Sync for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Sync for Login<'a>",1,["db_core::Login"]],["impl Sync for NameHash",1,["db_core::NameHash"]],["impl Sync for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Sync for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Sync for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Sync for Notification",1,["db_core::Notification"]],["impl<'a> Sync for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Sync for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Sync for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Sync for Captcha",1,["db_core::Captcha"]],["impl Sync for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl Sync for Database",1,["db_sqlx_maria::Database"]],["impl Sync for Conn",1,["db_sqlx_maria::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl Sync for Database",1,["db_sqlx_postgres::Database"]],["impl Sync for Conn",1,["db_sqlx_postgres::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Sync for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Sync for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Sync for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Sync for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Sync for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Sync for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Sync for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Sync for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Sync for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Sync for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Sync for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Sync for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Sync for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Sync for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Sync for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Sync for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Sync for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Sync for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Sync for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Sync for register",1,["mcaptcha::api::v1::auth::register"]],["impl Sync for login",1,["mcaptcha::api::v1::auth::login"]],["impl Sync for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Sync for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Sync for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Sync for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Sync for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Sync for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Sync for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Sync for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Sync for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Sync for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Sync for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Sync for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Sync for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Sync for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Sync for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Sync for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Sync for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Sync for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Sync for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Sync for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Sync for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Sync for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Sync for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Sync for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Sync for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Sync for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Sync for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Sync for health",1,["mcaptcha::api::v1::meta::health"]],["impl Sync for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Sync for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Sync for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Sync for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Sync for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Sync for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Sync for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Sync for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Sync for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Sync for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Sync for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Sync for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Sync for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Sync for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Sync for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Sync for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Sync for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Sync for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Sync for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Sync for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Sync for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Sync for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Sync for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Sync for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Sync for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Sync for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Sync for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Sync for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Sync for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Sync for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Sync for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Sync for download",1,["mcaptcha::api::v1::survey::download"]],["impl Sync for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Sync for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Sync for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Sync for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Sync for Data",1,["mcaptcha::data::Data"]],["impl Sync for Date",1,["mcaptcha::date::Date"]],["impl Sync for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Sync for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Sync for Asset",1,["mcaptcha::docs::Asset"]],["impl Sync for dist",1,["mcaptcha::docs::dist"]],["impl Sync for spec",1,["mcaptcha::docs::spec"]],["impl Sync for index",1,["mcaptcha::docs::index"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Sync for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Sync for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Sync for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Sync for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Sync for PageError",1,["mcaptcha::errors::PageError"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Sync for login",1,["mcaptcha::pages::auth::login::login"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Sync for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Sync for SudoPage<'a, K, V>where\n K: Sync,\n V: Sync,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Sync for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Sync for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Sync for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Sync for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Sync for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Sync for error",1,["mcaptcha::pages::errors::error"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Sync for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Sync for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Sync for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Sync for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Sync for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Sync for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Sync for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Sync for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Sync for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Sync for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Sync for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Sync for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Sync for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Sync for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Sync for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Sync for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Sync for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Sync for panel",1,["mcaptcha::pages::panel::panel"]],["impl Sync for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Sync for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Sync for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Sync for Server",1,["mcaptcha::settings::Server"]],["impl Sync for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Sync for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Sync for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Sync for DBType",1,["mcaptcha::settings::DBType"]],["impl Sync for Database",1,["mcaptcha::settings::Database"]],["impl Sync for Redis",1,["mcaptcha::settings::Redis"]],["impl Sync for Survey",1,["mcaptcha::settings::Survey"]],["impl Sync for Settings",1,["mcaptcha::settings::Settings"]],["impl Sync for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Sync for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Sync for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Sync for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Sync for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Sync for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Sync for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Sync for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Sync for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Sync for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Sync for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Sync for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Sync for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Sync for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Sync for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Sync for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Sync for Real",1,["mcaptcha::stats::Real"]],["impl Sync for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Sync for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Sync for Survey",1,["mcaptcha::survey::Survey"]],["impl Sync for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Sync for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Sync for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Sync for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Sync for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Sync for FILES",1,["mcaptcha::FILES"]],["impl Sync for JS",1,["mcaptcha::JS"]],["impl Sync for CSS",1,["mcaptcha::CSS"]],["impl Sync for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Sync for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Sync for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Sync for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl Sync for DBError",1,["db_core::errors::DBError"]],["impl<'a> Sync for Register<'a>",1,["db_core::Register"]],["impl<'a> Sync for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Sync for Login<'a>",1,["db_core::Login"]],["impl Sync for NameHash",1,["db_core::NameHash"]],["impl Sync for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Sync for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Sync for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Sync for Notification",1,["db_core::Notification"]],["impl<'a> Sync for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Sync for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Sync for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Sync for Captcha",1,["db_core::Captcha"]],["impl Sync for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl Sync for Database",1,["db_sqlx_maria::Database"]],["impl Sync for Conn",1,["db_sqlx_maria::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl Sync for Database",1,["db_sqlx_postgres::Database"]],["impl Sync for Conn",1,["db_sqlx_postgres::Conn"]],["impl Sync for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Sync for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Sync for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl Sync for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Sync for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Sync for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Sync for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Sync for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Sync for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Sync for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Sync for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Sync for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Sync for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Sync for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Sync for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Sync for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Sync for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Sync for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Sync for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Sync for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Sync for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Sync for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Sync for register",1,["mcaptcha::api::v1::auth::register"]],["impl Sync for login",1,["mcaptcha::api::v1::auth::login"]],["impl Sync for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Sync for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Sync for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Sync for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Sync for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Sync for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Sync for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Sync for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Sync for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Sync for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Sync for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Sync for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Sync for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Sync for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Sync for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Sync for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Sync for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Sync for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Sync for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Sync for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Sync for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Sync for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Sync for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Sync for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Sync for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Sync for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Sync for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Sync for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Sync for health",1,["mcaptcha::api::v1::meta::health"]],["impl Sync for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Sync for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Sync for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Sync for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Sync for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Sync for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Sync for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Sync for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Sync for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Sync for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Sync for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Sync for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Sync for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Sync for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Sync for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Sync for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Sync for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Sync for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Sync for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Sync for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Sync for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Sync for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Sync for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Sync for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Sync for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Sync for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Sync for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Sync for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Sync for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Sync for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Sync for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Sync for download",1,["mcaptcha::api::v1::survey::download"]],["impl Sync for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Sync for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Sync for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Sync for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Sync for Data",1,["mcaptcha::data::Data"]],["impl Sync for Date",1,["mcaptcha::date::Date"]],["impl Sync for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Sync for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Sync for Asset",1,["mcaptcha::docs::Asset"]],["impl Sync for dist",1,["mcaptcha::docs::dist"]],["impl Sync for spec",1,["mcaptcha::docs::spec"]],["impl Sync for index",1,["mcaptcha::docs::index"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Sync for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Sync for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Sync for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Sync for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Sync for PageError",1,["mcaptcha::errors::PageError"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Sync for login",1,["mcaptcha::pages::auth::login::login"]],["impl Sync for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Sync for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Sync for SudoPage<'a, K, V>where\n K: Sync,\n V: Sync,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Sync for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Sync for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Sync for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Sync for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Sync for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Sync for error",1,["mcaptcha::pages::errors::error"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Sync for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Sync for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Sync for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Sync for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Sync for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Sync for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Sync for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Sync for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Sync for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Sync for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Sync for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Sync for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Sync for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Sync for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Sync for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Sync for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Sync for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Sync for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Sync for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Sync for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Sync for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Sync for panel",1,["mcaptcha::pages::panel::panel"]],["impl Sync for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Sync for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Sync for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Sync for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Sync for Server",1,["mcaptcha::settings::Server"]],["impl Sync for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Sync for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Sync for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Sync for DBType",1,["mcaptcha::settings::DBType"]],["impl Sync for Database",1,["mcaptcha::settings::Database"]],["impl Sync for Redis",1,["mcaptcha::settings::Redis"]],["impl Sync for Survey",1,["mcaptcha::settings::Survey"]],["impl Sync for Settings",1,["mcaptcha::settings::Settings"]],["impl Sync for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Sync for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Sync for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Sync for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Sync for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Sync for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Sync for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Sync for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Sync for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Sync for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Sync for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Sync for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Sync for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Sync for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Sync for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Sync for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Sync for Real",1,["mcaptcha::stats::Real"]],["impl Sync for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Sync for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Sync for Survey",1,["mcaptcha::survey::Survey"]],["impl Sync for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Sync for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Sync for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Sync for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Sync for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Sync for FILES",1,["mcaptcha::FILES"]],["impl Sync for JS",1,["mcaptcha::JS"]],["impl Sync for CSS",1,["mcaptcha::CSS"]],["impl Sync for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Sync for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Sync for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Sync for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Unpin.js b/implementors/core/marker/trait.Unpin.js index 9d650ac2..79c10001 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl Unpin for DBError",1,["db_core::errors::DBError"]],["impl<'a> Unpin for Register<'a>",1,["db_core::Register"]],["impl<'a> Unpin for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Unpin for Login<'a>",1,["db_core::Login"]],["impl Unpin for NameHash",1,["db_core::NameHash"]],["impl Unpin for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Unpin for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Unpin for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Unpin for Notification",1,["db_core::Notification"]],["impl<'a> Unpin for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Unpin for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Unpin for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Unpin for Captcha",1,["db_core::Captcha"]],["impl Unpin for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl Unpin for Database",1,["db_sqlx_maria::Database"]],["impl Unpin for Conn",1,["db_sqlx_maria::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl Unpin for Database",1,["db_sqlx_postgres::Database"]],["impl Unpin for Conn",1,["db_sqlx_postgres::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl Unpin for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Unpin for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Unpin for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Unpin for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Unpin for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Unpin for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Unpin for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Unpin for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Unpin for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Unpin for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Unpin for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Unpin for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Unpin for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Unpin for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Unpin for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Unpin for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Unpin for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Unpin for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Unpin for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Unpin for register",1,["mcaptcha::api::v1::auth::register"]],["impl Unpin for login",1,["mcaptcha::api::v1::auth::login"]],["impl Unpin for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Unpin for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Unpin for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Unpin for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Unpin for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Unpin for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Unpin for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Unpin for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Unpin for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Unpin for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Unpin for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Unpin for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Unpin for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Unpin for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Unpin for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Unpin for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Unpin for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Unpin for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Unpin for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Unpin for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Unpin for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Unpin for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Unpin for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Unpin for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Unpin for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Unpin for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Unpin for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Unpin for health",1,["mcaptcha::api::v1::meta::health"]],["impl Unpin for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Unpin for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Unpin for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Unpin for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Unpin for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Unpin for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Unpin for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Unpin for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Unpin for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Unpin for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Unpin for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Unpin for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Unpin for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Unpin for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Unpin for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Unpin for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Unpin for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Unpin for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Unpin for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Unpin for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Unpin for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Unpin for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Unpin for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Unpin for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Unpin for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Unpin for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Unpin for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Unpin for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Unpin for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Unpin for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Unpin for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Unpin for download",1,["mcaptcha::api::v1::survey::download"]],["impl Unpin for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Unpin for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Unpin for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Unpin for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Unpin for Data",1,["mcaptcha::data::Data"]],["impl Unpin for Date",1,["mcaptcha::date::Date"]],["impl Unpin for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Unpin for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Unpin for Asset",1,["mcaptcha::docs::Asset"]],["impl Unpin for dist",1,["mcaptcha::docs::dist"]],["impl Unpin for spec",1,["mcaptcha::docs::spec"]],["impl Unpin for index",1,["mcaptcha::docs::index"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Unpin for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Unpin for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Unpin for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Unpin for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Unpin for PageError",1,["mcaptcha::errors::PageError"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Unpin for login",1,["mcaptcha::pages::auth::login::login"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Unpin for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Unpin for SudoPage<'a, K, V>where\n K: Unpin,\n V: Unpin,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Unpin for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Unpin for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Unpin for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Unpin for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Unpin for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Unpin for error",1,["mcaptcha::pages::errors::error"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Unpin for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Unpin for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Unpin for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Unpin for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Unpin for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Unpin for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Unpin for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Unpin for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Unpin for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Unpin for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Unpin for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Unpin for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Unpin for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Unpin for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Unpin for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Unpin for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Unpin for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Unpin for panel",1,["mcaptcha::pages::panel::panel"]],["impl Unpin for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Unpin for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Unpin for Server",1,["mcaptcha::settings::Server"]],["impl Unpin for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Unpin for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Unpin for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Unpin for DBType",1,["mcaptcha::settings::DBType"]],["impl Unpin for Database",1,["mcaptcha::settings::Database"]],["impl Unpin for Redis",1,["mcaptcha::settings::Redis"]],["impl Unpin for Survey",1,["mcaptcha::settings::Survey"]],["impl Unpin for Settings",1,["mcaptcha::settings::Settings"]],["impl Unpin for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Unpin for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Unpin for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Unpin for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Unpin for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Unpin for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Unpin for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Unpin for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Unpin for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Unpin for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Unpin for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Unpin for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Unpin for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Unpin for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Unpin for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Unpin for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Unpin for Real",1,["mcaptcha::stats::Real"]],["impl Unpin for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Unpin for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Unpin for Survey",1,["mcaptcha::survey::Survey"]],["impl Unpin for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Unpin for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Unpin for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Unpin for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Unpin for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Unpin for FILES",1,["mcaptcha::FILES"]],["impl Unpin for JS",1,["mcaptcha::JS"]],["impl Unpin for CSS",1,["mcaptcha::CSS"]],["impl Unpin for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Unpin for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Unpin for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Unpin for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl Unpin for DBError",1,["db_core::errors::DBError"]],["impl<'a> Unpin for Register<'a>",1,["db_core::Register"]],["impl<'a> Unpin for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> Unpin for Login<'a>",1,["db_core::Login"]],["impl Unpin for NameHash",1,["db_core::NameHash"]],["impl Unpin for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl Unpin for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl Unpin for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl Unpin for Notification",1,["db_core::Notification"]],["impl<'a> Unpin for AddNotification<'a>",1,["db_core::AddNotification"]],["impl Unpin for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> Unpin for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl Unpin for Captcha",1,["db_core::Captcha"]],["impl Unpin for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl Unpin for Database",1,["db_sqlx_maria::Database"]],["impl Unpin for Conn",1,["db_sqlx_maria::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_maria::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl Unpin for Database",1,["db_sqlx_postgres::Database"]],["impl Unpin for Conn",1,["db_sqlx_postgres::Conn"]],["impl Unpin for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl Unpin for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl Unpin for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl Unpin for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl Unpin for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl Unpin for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl Unpin for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl Unpin for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl Unpin for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl Unpin for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl Unpin for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl Unpin for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl Unpin for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl Unpin for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl Unpin for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl Unpin for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl Unpin for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl Unpin for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl Unpin for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl Unpin for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl Unpin for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl Unpin for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl Unpin for register",1,["mcaptcha::api::v1::auth::register"]],["impl Unpin for login",1,["mcaptcha::api::v1::auth::login"]],["impl Unpin for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl Unpin for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl Unpin for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl Unpin for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl Unpin for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl Unpin for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl Unpin for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl Unpin for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl Unpin for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl Unpin for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl Unpin for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl Unpin for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl Unpin for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl Unpin for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl Unpin for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl Unpin for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl Unpin for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl Unpin for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl Unpin for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl Unpin for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl Unpin for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl Unpin for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl Unpin for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl Unpin for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl Unpin for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl Unpin for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl Unpin for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl Unpin for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl Unpin for health",1,["mcaptcha::api::v1::meta::health"]],["impl Unpin for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl Unpin for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl Unpin for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl Unpin for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl Unpin for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl Unpin for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl Unpin for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl Unpin for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl Unpin for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl Unpin for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl Unpin for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl Unpin for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl Unpin for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl Unpin for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl Unpin for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl Unpin for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl Unpin for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl Unpin for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl Unpin for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl Unpin for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl Unpin for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl Unpin for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl Unpin for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl Unpin for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl Unpin for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl Unpin for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl Unpin for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl Unpin for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl Unpin for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl Unpin for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl Unpin for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl Unpin for download",1,["mcaptcha::api::v1::survey::download"]],["impl Unpin for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl Unpin for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl Unpin for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl Unpin for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl Unpin for Data",1,["mcaptcha::data::Data"]],["impl Unpin for Date",1,["mcaptcha::date::Date"]],["impl Unpin for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl Unpin for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl Unpin for Asset",1,["mcaptcha::docs::Asset"]],["impl Unpin for dist",1,["mcaptcha::docs::dist"]],["impl Unpin for spec",1,["mcaptcha::docs::spec"]],["impl Unpin for index",1,["mcaptcha::docs::index"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl Unpin for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl Unpin for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl Unpin for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl Unpin for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl Unpin for PageError",1,["mcaptcha::errors::PageError"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl Unpin for login",1,["mcaptcha::pages::auth::login::login"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl Unpin for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> Unpin for SudoPage<'a, K, V>where\n K: Unpin,\n V: Unpin,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl Unpin for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl Unpin for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> Unpin for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl Unpin for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl Unpin for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl Unpin for error",1,["mcaptcha::pages::errors::error"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl Unpin for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl Unpin for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl Unpin for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> Unpin for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl Unpin for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl Unpin for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl Unpin for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl Unpin for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl Unpin for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> Unpin for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> Unpin for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl Unpin for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl Unpin for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl Unpin for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> Unpin for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl Unpin for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl Unpin for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl Unpin for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl Unpin for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl Unpin for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl Unpin for panel",1,["mcaptcha::pages::panel::panel"]],["impl Unpin for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl Unpin for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl Unpin for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl Unpin for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl Unpin for Server",1,["mcaptcha::settings::Server"]],["impl Unpin for Captcha",1,["mcaptcha::settings::Captcha"]],["impl Unpin for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl Unpin for Smtp",1,["mcaptcha::settings::Smtp"]],["impl Unpin for DBType",1,["mcaptcha::settings::DBType"]],["impl Unpin for Database",1,["mcaptcha::settings::Database"]],["impl Unpin for Redis",1,["mcaptcha::settings::Redis"]],["impl Unpin for Survey",1,["mcaptcha::settings::Survey"]],["impl Unpin for Settings",1,["mcaptcha::settings::Settings"]],["impl Unpin for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl Unpin for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl Unpin for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl Unpin for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl Unpin for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl Unpin for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl Unpin for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl Unpin for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl Unpin for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl Unpin for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl Unpin for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl Unpin for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl Unpin for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl Unpin for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl Unpin for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl Unpin for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl Unpin for Real",1,["mcaptcha::stats::Real"]],["impl Unpin for Dummy",1,["mcaptcha::stats::Dummy"]],["impl Unpin for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl Unpin for Survey",1,["mcaptcha::survey::Survey"]],["impl Unpin for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl Unpin for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl Unpin for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl Unpin for show_widget",1,["mcaptcha::widget::show_widget"]],["impl Unpin for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl Unpin for FILES",1,["mcaptcha::FILES"]],["impl Unpin for JS",1,["mcaptcha::JS"]],["impl Unpin for CSS",1,["mcaptcha::CSS"]],["impl Unpin for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl Unpin for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl Unpin for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl Unpin for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/deref/trait.Deref.js b/implementors/core/ops/deref/trait.Deref.js index a1bff6c6..dda77f74 100644 --- a/implementors/core/ops/deref/trait.Deref.js +++ b/implementors/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl Deref for SETTINGS"],["impl Deref for INDEX"],["impl Deref for HOME"],["impl Deref for ADVANCE_INDEX"],["impl Deref for MCAPTCHA_TRANS_ICON"],["impl Deref for VERIFICATIN_WIDGET_CSS"],["impl Deref for BAR_CHART"],["impl Deref for EASY_INDEX"],["impl Deref for INDEX_PAGE"],["impl Deref for MESSAGE"],["impl Deref for GITHUB"],["impl Deref for INDEX"],["impl Deref for CSS"],["impl Deref for INDEX"],["impl Deref for DOCS_ICON"],["impl Deref for UNKNOWN_ERROR_BODY"],["impl Deref for SETTINGS_ICON"],["impl Deref for CREDIT_CARD"],["impl Deref for KEY"],["impl Deref for FILES"],["impl Deref for JS"],["impl Deref for MOBILE_CSS"],["impl Deref for HELP_CIRCLE"],["impl Deref for SOURCE_FILES_OF_INSTANCE"],["impl Deref for INTERNAL_SERVER_ERROR_BODY"],["impl Deref for VERIFICATIN_WIDGET_JS"]] +"mcaptcha":[["impl Deref for SETTINGS"],["impl Deref for INDEX"],["impl Deref for INDEX"],["impl Deref for MESSAGE"],["impl Deref for SOURCE_FILES_OF_INSTANCE"],["impl Deref for FILES"],["impl Deref for EASY_INDEX"],["impl Deref for SETTINGS_ICON"],["impl Deref for MOBILE_CSS"],["impl Deref for KEY"],["impl Deref for BAR_CHART"],["impl Deref for DOCS_ICON"],["impl Deref for ADVANCE_INDEX"],["impl Deref for GITHUB"],["impl Deref for INDEX"],["impl Deref for VERIFICATIN_WIDGET_JS"],["impl Deref for MCAPTCHA_TRANS_ICON"],["impl Deref for CREDIT_CARD"],["impl Deref for HOME"],["impl Deref for INDEX_PAGE"],["impl Deref for HELP_CIRCLE"],["impl Deref for CSS"],["impl Deref for UNKNOWN_ERROR_BODY"],["impl Deref for INTERNAL_SERVER_ERROR_BODY"],["impl Deref for VERIFICATIN_WIDGET_CSS"],["impl Deref for JS"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 1437b264..d0058c51 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl !RefUnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> RefUnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> RefUnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> RefUnwindSafe for Login<'a>",1,["db_core::Login"]],["impl RefUnwindSafe for NameHash",1,["db_core::NameHash"]],["impl RefUnwindSafe for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl RefUnwindSafe for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl RefUnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl RefUnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> RefUnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl RefUnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> RefUnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl RefUnwindSafe for Captcha",1,["db_core::Captcha"]],["impl RefUnwindSafe for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl !RefUnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl !RefUnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl RefUnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl RefUnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl RefUnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl RefUnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl RefUnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl RefUnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl RefUnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl RefUnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl RefUnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl RefUnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl RefUnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl RefUnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl RefUnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl RefUnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl RefUnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl RefUnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl RefUnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl RefUnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl RefUnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl RefUnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl RefUnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl RefUnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl RefUnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl RefUnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl RefUnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl RefUnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl RefUnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl RefUnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl RefUnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl RefUnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl RefUnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl RefUnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl RefUnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl RefUnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl RefUnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl RefUnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl RefUnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl RefUnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl RefUnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl RefUnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl RefUnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl RefUnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl RefUnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl RefUnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl RefUnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl RefUnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl RefUnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl RefUnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl RefUnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl RefUnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl RefUnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl RefUnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl RefUnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl RefUnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl RefUnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl RefUnwindSafe for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl RefUnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl RefUnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl RefUnwindSafe for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl RefUnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl RefUnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl RefUnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl RefUnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl RefUnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl RefUnwindSafe for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl RefUnwindSafe for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl RefUnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl RefUnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl RefUnwindSafe for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl RefUnwindSafe for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl RefUnwindSafe for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl RefUnwindSafe for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl RefUnwindSafe for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl RefUnwindSafe for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl RefUnwindSafe for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl RefUnwindSafe for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl RefUnwindSafe for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl RefUnwindSafe for download",1,["mcaptcha::api::v1::survey::download"]],["impl RefUnwindSafe for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl RefUnwindSafe for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl RefUnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !RefUnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !RefUnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl RefUnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl RefUnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl RefUnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl RefUnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl RefUnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl RefUnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !RefUnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !RefUnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !RefUnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl RefUnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !RefUnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl RefUnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl RefUnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where\n K: RefUnwindSafe,\n V: RefUnwindSafe,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl RefUnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> RefUnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl RefUnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl RefUnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl RefUnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl RefUnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl RefUnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl RefUnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl RefUnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl RefUnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl RefUnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl RefUnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> RefUnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> RefUnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl RefUnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl RefUnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> RefUnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl RefUnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl RefUnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl RefUnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl RefUnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl RefUnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl RefUnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl RefUnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl RefUnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl RefUnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl RefUnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl RefUnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl RefUnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl RefUnwindSafe for Survey",1,["mcaptcha::settings::Survey"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl RefUnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl RefUnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl RefUnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl RefUnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl RefUnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl RefUnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl RefUnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl RefUnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl RefUnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl RefUnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl RefUnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl RefUnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl RefUnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl RefUnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl RefUnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl RefUnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl RefUnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl RefUnwindSafe for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl !RefUnwindSafe for Survey",1,["mcaptcha::survey::Survey"]],["impl RefUnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl RefUnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl RefUnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl RefUnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl RefUnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl RefUnwindSafe for JS",1,["mcaptcha::JS"]],["impl RefUnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl RefUnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl RefUnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl !RefUnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> RefUnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> RefUnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> RefUnwindSafe for Login<'a>",1,["db_core::Login"]],["impl RefUnwindSafe for NameHash",1,["db_core::NameHash"]],["impl RefUnwindSafe for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl RefUnwindSafe for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl RefUnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl RefUnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> RefUnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl RefUnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> RefUnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl RefUnwindSafe for Captcha",1,["db_core::Captcha"]],["impl RefUnwindSafe for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl !RefUnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl !RefUnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !RefUnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !RefUnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !RefUnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl RefUnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl RefUnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl RefUnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl RefUnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl RefUnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl RefUnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl RefUnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl RefUnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl RefUnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl RefUnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl RefUnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl RefUnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl RefUnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl RefUnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl RefUnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl RefUnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl RefUnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl RefUnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl RefUnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl RefUnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl RefUnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl RefUnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl RefUnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl RefUnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl RefUnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl RefUnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl RefUnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl RefUnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl RefUnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl RefUnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl RefUnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl RefUnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl RefUnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl RefUnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl RefUnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl RefUnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl RefUnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl RefUnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl RefUnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl RefUnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl RefUnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl RefUnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl RefUnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl RefUnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl RefUnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl RefUnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl RefUnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl RefUnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl RefUnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl RefUnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl RefUnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl RefUnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl RefUnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl RefUnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl RefUnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl RefUnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl RefUnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl RefUnwindSafe for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl RefUnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl RefUnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl RefUnwindSafe for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl RefUnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl RefUnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl RefUnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl RefUnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl RefUnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl RefUnwindSafe for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl RefUnwindSafe for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl RefUnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl RefUnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl RefUnwindSafe for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl RefUnwindSafe for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl RefUnwindSafe for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl RefUnwindSafe for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl RefUnwindSafe for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl RefUnwindSafe for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl RefUnwindSafe for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl RefUnwindSafe for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl RefUnwindSafe for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl RefUnwindSafe for download",1,["mcaptcha::api::v1::survey::download"]],["impl RefUnwindSafe for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl RefUnwindSafe for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl RefUnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !RefUnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !RefUnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl RefUnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl RefUnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl RefUnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl RefUnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl RefUnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl RefUnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !RefUnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !RefUnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !RefUnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl RefUnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !RefUnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl RefUnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl RefUnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where\n K: RefUnwindSafe,\n V: RefUnwindSafe,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl RefUnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl RefUnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> RefUnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl RefUnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl RefUnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl RefUnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl RefUnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl RefUnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> RefUnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl RefUnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl RefUnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl RefUnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl RefUnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl RefUnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> RefUnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> RefUnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl RefUnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl RefUnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl RefUnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> RefUnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl RefUnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl RefUnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl RefUnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl RefUnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl RefUnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl RefUnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl RefUnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl RefUnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl RefUnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl RefUnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl RefUnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl RefUnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl RefUnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl RefUnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl RefUnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl RefUnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl RefUnwindSafe for Survey",1,["mcaptcha::settings::Survey"]],["impl RefUnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl RefUnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl RefUnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl RefUnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl RefUnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl RefUnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl RefUnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl RefUnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl RefUnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl RefUnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl RefUnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl RefUnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl RefUnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl RefUnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl RefUnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl RefUnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl RefUnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl RefUnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl RefUnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl RefUnwindSafe for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl !RefUnwindSafe for Survey",1,["mcaptcha::survey::Survey"]],["impl RefUnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl RefUnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl RefUnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl RefUnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl RefUnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl RefUnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl RefUnwindSafe for JS",1,["mcaptcha::JS"]],["impl RefUnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl RefUnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl RefUnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl RefUnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index dea3d110..f3d729e6 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"db_core":[["impl !UnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> UnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> UnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> UnwindSafe for Login<'a>",1,["db_core::Login"]],["impl UnwindSafe for NameHash",1,["db_core::NameHash"]],["impl UnwindSafe for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl UnwindSafe for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl UnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl UnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> UnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl UnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> UnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl UnwindSafe for Captcha",1,["db_core::Captcha"]],["impl UnwindSafe for Secret",1,["db_core::Secret"]]], -"db_sqlx_maria":[["impl !UnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], -"db_sqlx_postgres":[["impl !UnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], -"mcaptcha":[["impl UnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl UnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl UnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl UnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl UnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl UnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl UnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl UnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl UnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl UnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl UnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl UnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl UnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl UnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl UnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl UnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl UnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl UnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl UnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl UnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl UnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl UnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl UnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl UnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl UnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl UnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl UnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl UnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl UnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl UnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl UnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl UnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl UnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl UnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl UnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl UnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl UnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl UnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl UnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl UnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl UnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl UnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl UnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl UnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl UnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl UnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl UnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl UnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl UnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl UnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl UnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl UnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl UnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl UnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl UnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl UnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl UnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl UnwindSafe for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl UnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl UnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl UnwindSafe for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl UnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl UnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl UnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl UnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl UnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl UnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl UnwindSafe for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl UnwindSafe for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl UnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl UnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl UnwindSafe for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl UnwindSafe for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl UnwindSafe for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl UnwindSafe for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl UnwindSafe for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl UnwindSafe for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl UnwindSafe for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl UnwindSafe for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl UnwindSafe for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl UnwindSafe for download",1,["mcaptcha::api::v1::survey::download"]],["impl UnwindSafe for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl UnwindSafe for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl UnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !UnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !UnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl UnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl UnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl UnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl UnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl UnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl UnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl UnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !UnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !UnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !UnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl UnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !UnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl UnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl UnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where\n K: UnwindSafe,\n V: UnwindSafe,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl UnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl UnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> UnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl UnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl UnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl UnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl UnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl UnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl UnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl UnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl UnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl UnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl UnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl UnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> UnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> UnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl UnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl UnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> UnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl UnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl UnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl UnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl UnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl UnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl UnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl UnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl UnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl UnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl UnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl UnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl UnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl UnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl UnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl UnwindSafe for Survey",1,["mcaptcha::settings::Survey"]],["impl UnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl UnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl UnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl UnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl UnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl UnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl UnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl UnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl UnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl UnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl UnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl UnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl UnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl UnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl UnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl UnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl UnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl UnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl UnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl UnwindSafe for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl !UnwindSafe for Survey",1,["mcaptcha::survey::Survey"]],["impl UnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl UnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl UnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl UnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl UnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl UnwindSafe for JS",1,["mcaptcha::JS"]],["impl UnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl UnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl UnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] +"db_core":[["impl !UnwindSafe for DBError",1,["db_core::errors::DBError"]],["impl<'a> UnwindSafe for Register<'a>",1,["db_core::Register"]],["impl<'a> UnwindSafe for UpdateEmail<'a>",1,["db_core::UpdateEmail"]],["impl<'a> UnwindSafe for Login<'a>",1,["db_core::Login"]],["impl UnwindSafe for NameHash",1,["db_core::NameHash"]],["impl UnwindSafe for CreatePerformanceAnalytics",1,["db_core::CreatePerformanceAnalytics"]],["impl UnwindSafe for PerformanceAnalytics",1,["db_core::PerformanceAnalytics"]],["impl UnwindSafe for StatsUnixTimestamp",1,["db_core::StatsUnixTimestamp"]],["impl UnwindSafe for Notification",1,["db_core::Notification"]],["impl<'a> UnwindSafe for AddNotification<'a>",1,["db_core::AddNotification"]],["impl UnwindSafe for TrafficPattern",1,["db_core::TrafficPattern"]],["impl<'a> UnwindSafe for CreateCaptcha<'a>",1,["db_core::CreateCaptcha"]],["impl UnwindSafe for Captcha",1,["db_core::Captcha"]],["impl UnwindSafe for Secret",1,["db_core::Secret"]]], +"db_sqlx_maria":[["impl !UnwindSafe for Database",1,["db_sqlx_maria::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_maria::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_maria::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_maria::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_maria::InnerNotification"]]], +"db_sqlx_postgres":[["impl !UnwindSafe for Database",1,["db_sqlx_postgres::Database"]],["impl !UnwindSafe for Conn",1,["db_sqlx_postgres::Conn"]],["impl !UnwindSafe for ConnectionOptions",1,["db_sqlx_postgres::ConnectionOptions"]],["impl !UnwindSafe for Fresh",1,["db_sqlx_postgres::Fresh"]],["impl UnwindSafe for InnerNotification",1,["db_sqlx_postgres::InnerNotification"]]], +"mcaptcha":[["impl UnwindSafe for delete_account",1,["mcaptcha::api::v1::account::delete::delete_account"]],["impl UnwindSafe for Email",1,["mcaptcha::api::v1::account::email::Email"]],["impl UnwindSafe for email_exists",1,["mcaptcha::api::v1::account::email::email_exists"]],["impl UnwindSafe for set_email",1,["mcaptcha::api::v1::account::email::set_email"]],["impl UnwindSafe for ChangePasswordReqest",1,["mcaptcha::api::v1::account::password::ChangePasswordReqest"]],["impl UnwindSafe for UpdatePassword",1,["mcaptcha::api::v1::account::password::UpdatePassword"]],["impl UnwindSafe for update_user_password",1,["mcaptcha::api::v1::account::password::update_user_password"]],["impl UnwindSafe for get_secret",1,["mcaptcha::api::v1::account::secret::get_secret"]],["impl UnwindSafe for update_user_secret",1,["mcaptcha::api::v1::account::secret::update_user_secret"]],["impl UnwindSafe for username_exists",1,["mcaptcha::api::v1::account::username::username_exists"]],["impl UnwindSafe for Username",1,["mcaptcha::api::v1::account::username::Username"]],["impl UnwindSafe for set_username",1,["mcaptcha::api::v1::account::username::set_username"]],["impl UnwindSafe for Account",1,["mcaptcha::api::v1::account::routes::Account"]],["impl UnwindSafe for AccountCheckPayload",1,["mcaptcha::api::v1::account::AccountCheckPayload"]],["impl UnwindSafe for AccountCheckResp",1,["mcaptcha::api::v1::account::AccountCheckResp"]],["impl UnwindSafe for Auth",1,["mcaptcha::api::v1::auth::routes::Auth"]],["impl UnwindSafe for Register",1,["mcaptcha::api::v1::auth::runners::Register"]],["impl UnwindSafe for Login",1,["mcaptcha::api::v1::auth::runners::Login"]],["impl UnwindSafe for Password",1,["mcaptcha::api::v1::auth::runners::Password"]],["impl UnwindSafe for register",1,["mcaptcha::api::v1::auth::register"]],["impl UnwindSafe for login",1,["mcaptcha::api::v1::auth::login"]],["impl UnwindSafe for signout",1,["mcaptcha::api::v1::auth::signout"]],["impl UnwindSafe for CreateCaptcha",1,["mcaptcha::api::v1::mcaptcha::create::CreateCaptcha"]],["impl UnwindSafe for MCaptchaDetails",1,["mcaptcha::api::v1::mcaptcha::create::MCaptchaDetails"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::create::create"]],["impl UnwindSafe for DeleteCaptcha",1,["mcaptcha::api::v1::mcaptcha::delete::DeleteCaptcha"]],["impl UnwindSafe for delete",1,["mcaptcha::api::v1::mcaptcha::delete::delete"]],["impl UnwindSafe for Easy",1,["mcaptcha::api::v1::mcaptcha::easy::routes::Easy"]],["impl UnwindSafe for TrafficPatternRequest",1,["mcaptcha::api::v1::mcaptcha::easy::TrafficPatternRequest"]],["impl UnwindSafe for create",1,["mcaptcha::api::v1::mcaptcha::easy::create"]],["impl UnwindSafe for UpdateTrafficPattern",1,["mcaptcha::api::v1::mcaptcha::easy::UpdateTrafficPattern"]],["impl UnwindSafe for update",1,["mcaptcha::api::v1::mcaptcha::easy::update"]],["impl UnwindSafe for get_captcha",1,["mcaptcha::api::v1::mcaptcha::get::get_captcha"]],["impl UnwindSafe for Levels",1,["mcaptcha::api::v1::mcaptcha::get::Levels"]],["impl UnwindSafe for I32Levels",1,["mcaptcha::api::v1::mcaptcha::get::I32Levels"]],["impl UnwindSafe for Stats",1,["mcaptcha::api::v1::mcaptcha::stats::routes::Stats"]],["impl UnwindSafe for StatsPayload",1,["mcaptcha::api::v1::mcaptcha::stats::StatsPayload"]],["impl UnwindSafe for get",1,["mcaptcha::api::v1::mcaptcha::stats::get"]],["impl UnwindSafe for update_key",1,["mcaptcha::api::v1::mcaptcha::update::update_key"]],["impl UnwindSafe for UpdateCaptcha",1,["mcaptcha::api::v1::mcaptcha::update::UpdateCaptcha"]],["impl UnwindSafe for update_captcha",1,["mcaptcha::api::v1::mcaptcha::update::update_captcha"]],["impl UnwindSafe for Captcha",1,["mcaptcha::api::v1::mcaptcha::routes::Captcha"]],["impl UnwindSafe for Meta",1,["mcaptcha::api::v1::meta::routes::Meta"]],["impl UnwindSafe for BuildDetails",1,["mcaptcha::api::v1::meta::BuildDetails"]],["impl UnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::meta::BuildDetailsBuilder"]],["impl UnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::meta::BuildDetailsBuilderError"]],["impl UnwindSafe for build_details",1,["mcaptcha::api::v1::meta::build_details"]],["impl UnwindSafe for Health",1,["mcaptcha::api::v1::meta::Health"]],["impl UnwindSafe for HealthBuilder",1,["mcaptcha::api::v1::meta::HealthBuilder"]],["impl UnwindSafe for HealthBuilderError",1,["mcaptcha::api::v1::meta::HealthBuilderError"]],["impl UnwindSafe for health",1,["mcaptcha::api::v1::meta::health"]],["impl UnwindSafe for AddNotificationRequest",1,["mcaptcha::api::v1::notifications::add::AddNotificationRequest"]],["impl UnwindSafe for add_notification",1,["mcaptcha::api::v1::notifications::add::add_notification"]],["impl UnwindSafe for NotificationResp",1,["mcaptcha::api::v1::notifications::get::NotificationResp"]],["impl UnwindSafe for get_notification",1,["mcaptcha::api::v1::notifications::get::get_notification"]],["impl UnwindSafe for MarkReadReq",1,["mcaptcha::api::v1::notifications::mark_read::MarkReadReq"]],["impl UnwindSafe for mark_read",1,["mcaptcha::api::v1::notifications::mark_read::mark_read"]],["impl UnwindSafe for Notifications",1,["mcaptcha::api::v1::notifications::routes::Notifications"]],["impl UnwindSafe for GetConfigPayload",1,["mcaptcha::api::v1::pow::get_config::GetConfigPayload"]],["impl UnwindSafe for ApiPoWConfig",1,["mcaptcha::api::v1::pow::get_config::ApiPoWConfig"]],["impl UnwindSafe for get_config",1,["mcaptcha::api::v1::pow::get_config::get_config"]],["impl UnwindSafe for ValidationToken",1,["mcaptcha::api::v1::pow::verify_pow::ValidationToken"]],["impl UnwindSafe for ApiWork",1,["mcaptcha::api::v1::pow::verify_pow::ApiWork"]],["impl UnwindSafe for verify_pow",1,["mcaptcha::api::v1::pow::verify_pow::verify_pow"]],["impl UnwindSafe for CaptchaValidateResp",1,["mcaptcha::api::v1::pow::verify_token::CaptchaValidateResp"]],["impl UnwindSafe for VerifyCaptchaResultPayload",1,["mcaptcha::api::v1::pow::verify_token::VerifyCaptchaResultPayload"]],["impl UnwindSafe for validate_captcha_token",1,["mcaptcha::api::v1::pow::verify_token::validate_captcha_token"]],["impl UnwindSafe for PoW",1,["mcaptcha::api::v1::pow::routes::PoW"]],["impl UnwindSafe for Routes",1,["mcaptcha::api::v1::routes::Routes"]],["impl UnwindSafe for Stats",1,["mcaptcha::api::v1::stats::routes::Stats"]],["impl UnwindSafe for BuildDetails",1,["mcaptcha::api::v1::stats::BuildDetails"]],["impl UnwindSafe for BuildDetailsBuilder",1,["mcaptcha::api::v1::stats::BuildDetailsBuilder"]],["impl UnwindSafe for BuildDetailsBuilderError",1,["mcaptcha::api::v1::stats::BuildDetailsBuilderError"]],["impl UnwindSafe for percentile_benches",1,["mcaptcha::api::v1::stats::percentile_benches"]],["impl UnwindSafe for PercentileReq",1,["mcaptcha::api::v1::stats::PercentileReq"]],["impl UnwindSafe for PercentileReqBuilder",1,["mcaptcha::api::v1::stats::PercentileReqBuilder"]],["impl UnwindSafe for PercentileReqBuilderError",1,["mcaptcha::api::v1::stats::PercentileReqBuilderError"]],["impl UnwindSafe for PercentileResp",1,["mcaptcha::api::v1::stats::PercentileResp"]],["impl UnwindSafe for PercentileRespBuilder",1,["mcaptcha::api::v1::stats::PercentileRespBuilder"]],["impl UnwindSafe for PercentileRespBuilderError",1,["mcaptcha::api::v1::stats::PercentileRespBuilderError"]],["impl UnwindSafe for Survey",1,["mcaptcha::api::v1::survey::routes::Survey"]],["impl UnwindSafe for Page",1,["mcaptcha::api::v1::survey::Page"]],["impl UnwindSafe for download",1,["mcaptcha::api::v1::survey::download"]],["impl UnwindSafe for SurveySecretUpload",1,["mcaptcha::api::v1::survey::SurveySecretUpload"]],["impl UnwindSafe for secret",1,["mcaptcha::api::v1::survey::secret"]],["impl UnwindSafe for RedirectQuery",1,["mcaptcha::api::v1::RedirectQuery"]],["impl !UnwindSafe for SystemGroup",1,["mcaptcha::data::SystemGroup"]],["impl !UnwindSafe for Data",1,["mcaptcha::data::Data"]],["impl UnwindSafe for Date",1,["mcaptcha::date::Date"]],["impl UnwindSafe for DemoUser",1,["mcaptcha::demo::DemoUser"]],["impl UnwindSafe for Docs",1,["mcaptcha::docs::routes::Docs"]],["impl UnwindSafe for Asset",1,["mcaptcha::docs::Asset"]],["impl UnwindSafe for dist",1,["mcaptcha::docs::dist"]],["impl UnwindSafe for spec",1,["mcaptcha::docs::spec"]],["impl UnwindSafe for index",1,["mcaptcha::docs::index"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::email::verification::IndexPage"]],["impl !UnwindSafe for SmtpErrorWrapper",1,["mcaptcha::errors::SmtpErrorWrapper"]],["impl !UnwindSafe for DBErrorWrapper",1,["mcaptcha::errors::DBErrorWrapper"]],["impl !UnwindSafe for ServiceError",1,["mcaptcha::errors::ServiceError"]],["impl UnwindSafe for ErrorToResponse",1,["mcaptcha::errors::ErrorToResponse"]],["impl !UnwindSafe for PageError",1,["mcaptcha::errors::PageError"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::login::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::login::INDEX"]],["impl UnwindSafe for login",1,["mcaptcha::pages::auth::login::login"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::auth::register::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::auth::register::INDEX"]],["impl UnwindSafe for join",1,["mcaptcha::pages::auth::register::join"]],["impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where\n K: UnwindSafe,\n V: UnwindSafe,",1,["mcaptcha::pages::auth::sudo::SudoPage"]],["impl UnwindSafe for Auth",1,["mcaptcha::pages::auth::routes::Auth"]],["impl UnwindSafe for Errors",1,["mcaptcha::pages::errors::routes::Errors"]],["impl<'a> UnwindSafe for ErrorPage<'a>",1,["mcaptcha::pages::errors::ErrorPage"]],["impl UnwindSafe for INTERNAL_SERVER_ERROR_BODY",1,["mcaptcha::pages::errors::INTERNAL_SERVER_ERROR_BODY"]],["impl UnwindSafe for UNKNOWN_ERROR_BODY",1,["mcaptcha::pages::errors::UNKNOWN_ERROR_BODY"]],["impl UnwindSafe for error",1,["mcaptcha::pages::errors::error"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::notifications::IndexPage"]],["impl UnwindSafe for Notification",1,["mcaptcha::pages::panel::notifications::Notification"]],["impl UnwindSafe for notifications",1,["mcaptcha::pages::panel::notifications::notifications"]],["impl UnwindSafe for Settings",1,["mcaptcha::pages::panel::settings::routes::Settings"]],["impl<'a> UnwindSafe for IndexPage<'a>",1,["mcaptcha::pages::panel::settings::IndexPage"]],["impl UnwindSafe for settings",1,["mcaptcha::pages::panel::settings::settings"]],["impl UnwindSafe for delete_account",1,["mcaptcha::pages::panel::settings::delete_account"]],["impl UnwindSafe for update_secret",1,["mcaptcha::pages::panel::settings::update_secret"]],["impl UnwindSafe for ADVANCE_INDEX",1,["mcaptcha::pages::panel::sitekey::add::ADVANCE_INDEX"]],["impl UnwindSafe for EASY_INDEX",1,["mcaptcha::pages::panel::sitekey::add::EASY_INDEX"]],["impl<'a> UnwindSafe for AdvanceIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::AdvanceIndexPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::add::advance"]],["impl<'a> UnwindSafe for EasyIndexPage<'a>",1,["mcaptcha::pages::panel::sitekey::add::EasyIndexPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::add::easy"]],["impl UnwindSafe for delete_sitekey",1,["mcaptcha::pages::panel::sitekey::delete::delete_sitekey"]],["impl UnwindSafe for AdvanceEditPage",1,["mcaptcha::pages::panel::sitekey::edit::AdvanceEditPage"]],["impl UnwindSafe for advance",1,["mcaptcha::pages::panel::sitekey::edit::advance"]],["impl<'a> UnwindSafe for EasyEditPage<'a>",1,["mcaptcha::pages::panel::sitekey::edit::EasyEditPage"]],["impl UnwindSafe for easy",1,["mcaptcha::pages::panel::sitekey::edit::easy"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::list::IndexPage"]],["impl UnwindSafe for list_sitekeys",1,["mcaptcha::pages::panel::sitekey::list::list_sitekeys"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::sitekey::view::IndexPage"]],["impl UnwindSafe for view_sitekey",1,["mcaptcha::pages::panel::sitekey::view::view_sitekey"]],["impl UnwindSafe for Sitekey",1,["mcaptcha::pages::panel::sitekey::routes::Sitekey"]],["impl UnwindSafe for Panel",1,["mcaptcha::pages::panel::routes::Panel"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::panel::IndexPage"]],["impl UnwindSafe for panel",1,["mcaptcha::pages::panel::panel"]],["impl UnwindSafe for Routes",1,["mcaptcha::pages::routes::Routes"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::pages::sitemap::IndexPage"]],["impl UnwindSafe for INDEX",1,["mcaptcha::pages::sitemap::INDEX"]],["impl UnwindSafe for sitemap",1,["mcaptcha::pages::sitemap::sitemap"]],["impl UnwindSafe for Server",1,["mcaptcha::settings::Server"]],["impl UnwindSafe for Captcha",1,["mcaptcha::settings::Captcha"]],["impl UnwindSafe for DefaultDifficultyStrategy",1,["mcaptcha::settings::DefaultDifficultyStrategy"]],["impl UnwindSafe for Smtp",1,["mcaptcha::settings::Smtp"]],["impl UnwindSafe for DBType",1,["mcaptcha::settings::DBType"]],["impl UnwindSafe for Database",1,["mcaptcha::settings::Database"]],["impl UnwindSafe for Redis",1,["mcaptcha::settings::Redis"]],["impl UnwindSafe for Survey",1,["mcaptcha::settings::Survey"]],["impl UnwindSafe for Settings",1,["mcaptcha::settings::Settings"]],["impl UnwindSafe for FileMap",1,["mcaptcha::static_assets::filemap::FileMap"]],["impl UnwindSafe for KEY",1,["mcaptcha::static_assets::static_files::assets::KEY"]],["impl UnwindSafe for GITHUB",1,["mcaptcha::static_assets::static_files::assets::GITHUB"]],["impl UnwindSafe for HOME",1,["mcaptcha::static_assets::static_files::assets::HOME"]],["impl UnwindSafe for SETTINGS_ICON",1,["mcaptcha::static_assets::static_files::assets::SETTINGS_ICON"]],["impl UnwindSafe for CREDIT_CARD",1,["mcaptcha::static_assets::static_files::assets::CREDIT_CARD"]],["impl UnwindSafe for HELP_CIRCLE",1,["mcaptcha::static_assets::static_files::assets::HELP_CIRCLE"]],["impl UnwindSafe for MESSAGE",1,["mcaptcha::static_assets::static_files::assets::MESSAGE"]],["impl UnwindSafe for DOCS_ICON",1,["mcaptcha::static_assets::static_files::assets::DOCS_ICON"]],["impl UnwindSafe for MCAPTCHA_TRANS_ICON",1,["mcaptcha::static_assets::static_files::assets::MCAPTCHA_TRANS_ICON"]],["impl UnwindSafe for BAR_CHART",1,["mcaptcha::static_assets::static_files::assets::BAR_CHART"]],["impl UnwindSafe for Asset",1,["mcaptcha::static_assets::static_files::Asset"]],["impl UnwindSafe for static_files",1,["mcaptcha::static_assets::static_files::static_files"]],["impl UnwindSafe for Favicons",1,["mcaptcha::static_assets::static_files::Favicons"]],["impl UnwindSafe for favicons",1,["mcaptcha::static_assets::static_files::favicons"]],["impl UnwindSafe for CaptchaStats",1,["mcaptcha::stats::CaptchaStats"]],["impl UnwindSafe for Real",1,["mcaptcha::stats::Real"]],["impl UnwindSafe for Dummy",1,["mcaptcha::stats::Dummy"]],["impl UnwindSafe for SecretsStore",1,["mcaptcha::survey::SecretsStore"]],["impl !UnwindSafe for Survey",1,["mcaptcha::survey::Survey"]],["impl UnwindSafe for Widget",1,["mcaptcha::widget::routes::Widget"]],["impl UnwindSafe for IndexPage",1,["mcaptcha::widget::IndexPage"]],["impl UnwindSafe for INDEX_PAGE",1,["mcaptcha::widget::INDEX_PAGE"]],["impl UnwindSafe for show_widget",1,["mcaptcha::widget::show_widget"]],["impl UnwindSafe for SETTINGS",1,["mcaptcha::SETTINGS"]],["impl UnwindSafe for FILES",1,["mcaptcha::FILES"]],["impl UnwindSafe for JS",1,["mcaptcha::JS"]],["impl UnwindSafe for CSS",1,["mcaptcha::CSS"]],["impl UnwindSafe for MOBILE_CSS",1,["mcaptcha::MOBILE_CSS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_JS",1,["mcaptcha::VERIFICATIN_WIDGET_JS"]],["impl UnwindSafe for VERIFICATIN_WIDGET_CSS",1,["mcaptcha::VERIFICATIN_WIDGET_CSS"]],["impl UnwindSafe for SOURCE_FILES_OF_INSTANCE",1,["mcaptcha::SOURCE_FILES_OF_INSTANCE"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/lazy_static/trait.LazyStatic.js b/implementors/lazy_static/trait.LazyStatic.js index 860ee6ff..68caf632 100644 --- a/implementors/lazy_static/trait.LazyStatic.js +++ b/implementors/lazy_static/trait.LazyStatic.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl LazyStatic for DOCS_ICON"],["impl LazyStatic for KEY"],["impl LazyStatic for VERIFICATIN_WIDGET_JS"],["impl LazyStatic for HOME"],["impl LazyStatic for SETTINGS_ICON"],["impl LazyStatic for GITHUB"],["impl LazyStatic for JS"],["impl LazyStatic for BAR_CHART"],["impl LazyStatic for INTERNAL_SERVER_ERROR_BODY"],["impl LazyStatic for VERIFICATIN_WIDGET_CSS"],["impl LazyStatic for INDEX"],["impl LazyStatic for MCAPTCHA_TRANS_ICON"],["impl LazyStatic for FILES"],["impl LazyStatic for SETTINGS"],["impl LazyStatic for MOBILE_CSS"],["impl LazyStatic for HELP_CIRCLE"],["impl LazyStatic for CSS"],["impl LazyStatic for MESSAGE"],["impl LazyStatic for INDEX_PAGE"],["impl LazyStatic for INDEX"],["impl LazyStatic for UNKNOWN_ERROR_BODY"],["impl LazyStatic for INDEX"],["impl LazyStatic for ADVANCE_INDEX"],["impl LazyStatic for SOURCE_FILES_OF_INSTANCE"],["impl LazyStatic for EASY_INDEX"],["impl LazyStatic for CREDIT_CARD"]] +"mcaptcha":[["impl LazyStatic for SOURCE_FILES_OF_INSTANCE"],["impl LazyStatic for INDEX"],["impl LazyStatic for CSS"],["impl LazyStatic for INTERNAL_SERVER_ERROR_BODY"],["impl LazyStatic for HOME"],["impl LazyStatic for MOBILE_CSS"],["impl LazyStatic for ADVANCE_INDEX"],["impl LazyStatic for MCAPTCHA_TRANS_ICON"],["impl LazyStatic for FILES"],["impl LazyStatic for KEY"],["impl LazyStatic for JS"],["impl LazyStatic for GITHUB"],["impl LazyStatic for EASY_INDEX"],["impl LazyStatic for SETTINGS"],["impl LazyStatic for BAR_CHART"],["impl LazyStatic for HELP_CIRCLE"],["impl LazyStatic for SETTINGS_ICON"],["impl LazyStatic for INDEX_PAGE"],["impl LazyStatic for VERIFICATIN_WIDGET_JS"],["impl LazyStatic for VERIFICATIN_WIDGET_CSS"],["impl LazyStatic for DOCS_ICON"],["impl LazyStatic for CREDIT_CARD"],["impl LazyStatic for INDEX"],["impl LazyStatic for INDEX"],["impl LazyStatic for UNKNOWN_ERROR_BODY"],["impl LazyStatic for MESSAGE"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/rust_embed/trait.RustEmbed.js b/implementors/rust_embed/trait.RustEmbed.js index 91bd54eb..68e07bd8 100644 --- a/implementors/rust_embed/trait.RustEmbed.js +++ b/implementors/rust_embed/trait.RustEmbed.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl RustEmbed for Favicons"],["impl RustEmbed for Asset"],["impl RustEmbed for Asset"]] +"mcaptcha":[["impl RustEmbed for Asset"],["impl RustEmbed for Asset"],["impl RustEmbed for Favicons"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/sailfish/private/trait.Sealed.js b/implementors/sailfish/private/trait.Sealed.js index 9fcfc4da..a117497f 100644 --- a/implementors/sailfish/private/trait.Sealed.js +++ b/implementors/sailfish/private/trait.Sealed.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl<'a> Sealed for EasyIndexPage<'a>"],["impl<'a, K, V> Sealed for SudoPage<'a, K, V>where\n K: Display + Render,\n V: Display + Render,"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl<'a> Sealed for EasyEditPage<'a>"],["impl Sealed for IndexPage"],["impl<'a> Sealed for IndexPage<'a>"],["impl<'a> Sealed for AdvanceIndexPage<'a>"],["impl Sealed for AdvanceEditPage"],["impl<'a> Sealed for IndexPage<'a>"],["impl<'a> Sealed for ErrorPage<'a>"]] +"mcaptcha":[["impl<'a> Sealed for IndexPage<'a>"],["impl<'a> Sealed for EasyEditPage<'a>"],["impl<'a> Sealed for EasyIndexPage<'a>"],["impl<'a> Sealed for ErrorPage<'a>"],["impl Sealed for IndexPage"],["impl<'a, K, V> Sealed for SudoPage<'a, K, V>where\n K: Display + Render,\n V: Display + Render,"],["impl<'a> Sealed for AdvanceIndexPage<'a>"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl<'a> Sealed for IndexPage<'a>"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"],["impl Sealed for AdvanceEditPage"],["impl Sealed for IndexPage"],["impl Sealed for IndexPage"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/sailfish/trait.TemplateOnce.js b/implementors/sailfish/trait.TemplateOnce.js index 2ce25614..a786d014 100644 --- a/implementors/sailfish/trait.TemplateOnce.js +++ b/implementors/sailfish/trait.TemplateOnce.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"mcaptcha":[["impl TemplateOnce for IndexPage"],["impl<'a, K, V> TemplateOnce for SudoPage<'a, K, V>where\n K: Display + Render,\n V: Display + Render,"],["impl<'a> TemplateOnce for IndexPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for EasyIndexPage<'a>"],["impl<'a> TemplateOnce for IndexPage<'a>"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for ErrorPage<'a>"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for AdvanceIndexPage<'a>"],["impl TemplateOnce for AdvanceEditPage"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for EasyEditPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"]] +"mcaptcha":[["impl<'a> TemplateOnce for AdvanceIndexPage<'a>"],["impl<'a> TemplateOnce for IndexPage<'a>"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl TemplateOnce for IndexPage"],["impl<'a, K, V> TemplateOnce for SudoPage<'a, K, V>where\n K: Display + Render,\n V: Display + Render,"],["impl TemplateOnce for AdvanceEditPage"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for EasyIndexPage<'a>"],["impl<'a> TemplateOnce for IndexPage<'a>"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for ErrorPage<'a>"],["impl TemplateOnce for IndexPage"],["impl<'a> TemplateOnce for EasyEditPage<'a>"],["impl TemplateOnce for IndexPage"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index 94eef98c..13d482e5 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"db_core":[["impl<'de: 'a, 'a> Deserialize<'de> for Register<'a>"],["impl<'de> Deserialize<'de> for Captcha"],["impl<'de: 'a, 'a> Deserialize<'de> for AddNotification<'a>"],["impl<'de> Deserialize<'de> for NameHash"],["impl<'de> Deserialize<'de> for StatsUnixTimestamp"],["impl<'de> Deserialize<'de> for Notification"],["impl<'de> Deserialize<'de> for Secret"],["impl<'de> Deserialize<'de> for PerformanceAnalytics"],["impl<'de> Deserialize<'de> for CreatePerformanceAnalytics"],["impl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>"],["impl<'de: 'a, 'a> Deserialize<'de> for CreateCaptcha<'a>"],["impl<'de> Deserialize<'de> for TrafficPattern"],["impl<'de: 'a, 'a> Deserialize<'de> for Login<'a>"]], -"mcaptcha":[["impl<'de> Deserialize<'de> for Levels"],["impl<'de> Deserialize<'de> for VerifyCaptchaResultPayload"],["impl<'de> Deserialize<'de> for AddNotificationRequest"],["impl<'de> Deserialize<'de> for DeleteCaptcha"],["impl<'de> Deserialize<'de> for Page"],["impl<'de> Deserialize<'de> for Password"],["impl<'de> Deserialize<'de> for NotificationResp"],["impl<'de> Deserialize<'de> for Health"],["impl<'de> Deserialize<'de> for StatsPayload"],["impl<'de> Deserialize<'de> for ChangePasswordReqest"],["impl<'de> Deserialize<'de> for UpdateTrafficPattern"],["impl<'de> Deserialize<'de> for GetConfigPayload"],["impl<'de> Deserialize<'de> for Register"],["impl<'de> Deserialize<'de> for Login"],["impl<'de> Deserialize<'de> for UpdateCaptcha"],["impl<'de> Deserialize<'de> for MCaptchaDetails"],["impl Deserialize<'static> for BuildDetails"],["impl<'de> Deserialize<'de> for RedirectQuery"],["impl<'de> Deserialize<'de> for ErrorToResponse"],["impl<'de> Deserialize<'de> for AccountCheckResp"],["impl<'de> Deserialize<'de> for CaptchaValidateResp"],["impl<'de> Deserialize<'de> for Username"],["impl<'de> Deserialize<'de> for TrafficPatternRequest"],["impl Deserialize<'static> for Stats"],["impl<'de> Deserialize<'de> for Database"],["impl<'de> Deserialize<'de> for Email"],["impl<'de> Deserialize<'de> for PercentileReq"],["impl<'de> Deserialize<'de> for AccountCheckPayload"],["impl<'de> Deserialize<'de> for Redis"],["impl<'de> Deserialize<'de> for CaptchaStats"],["impl<'de> Deserialize<'de> for ValidationToken"],["impl<'de> Deserialize<'de> for Survey"],["impl<'de> Deserialize<'de> for SurveySecretUpload"],["impl<'de> Deserialize<'de> for Server"],["impl<'de> Deserialize<'de> for PercentileResp"],["impl<'de> Deserialize<'de> for DBType"],["impl<'de> Deserialize<'de> for Settings"],["impl<'de> Deserialize<'de> for I32Levels"],["impl<'de> Deserialize<'de> for MarkReadReq"],["impl<'de> Deserialize<'de> for DefaultDifficultyStrategy"],["impl<'de> Deserialize<'de> for CreateCaptcha"],["impl Deserialize<'static> for BuildDetails"],["impl<'de> Deserialize<'de> for ApiWork"],["impl<'de> Deserialize<'de> for Smtp"],["impl<'de> Deserialize<'de> for Captcha"],["impl<'de> Deserialize<'de> for ApiPoWConfig"]] +"db_core":[["impl<'de: 'a, 'a> Deserialize<'de> for Register<'a>"],["impl<'de> Deserialize<'de> for TrafficPattern"],["impl<'de> Deserialize<'de> for Captcha"],["impl<'de: 'a, 'a> Deserialize<'de> for AddNotification<'a>"],["impl<'de> Deserialize<'de> for CreatePerformanceAnalytics"],["impl<'de> Deserialize<'de> for Notification"],["impl<'de: 'a, 'a> Deserialize<'de> for CreateCaptcha<'a>"],["impl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>"],["impl<'de> Deserialize<'de> for PerformanceAnalytics"],["impl<'de> Deserialize<'de> for Secret"],["impl<'de> Deserialize<'de> for NameHash"],["impl<'de> Deserialize<'de> for StatsUnixTimestamp"],["impl<'de: 'a, 'a> Deserialize<'de> for Login<'a>"]], +"mcaptcha":[["impl Deserialize<'static> for BuildDetails"],["impl<'de> Deserialize<'de> for NotificationResp"],["impl<'de> Deserialize<'de> for ChangePasswordReqest"],["impl Deserialize<'static> for Stats"],["impl<'de> Deserialize<'de> for AddNotificationRequest"],["impl<'de> Deserialize<'de> for ApiWork"],["impl<'de> Deserialize<'de> for Health"],["impl<'de> Deserialize<'de> for Email"],["impl<'de> Deserialize<'de> for Login"],["impl<'de> Deserialize<'de> for TrafficPatternRequest"],["impl<'de> Deserialize<'de> for CaptchaValidateResp"],["impl<'de> Deserialize<'de> for Username"],["impl Deserialize<'static> for BuildDetails"],["impl<'de> Deserialize<'de> for Database"],["impl<'de> Deserialize<'de> for DefaultDifficultyStrategy"],["impl<'de> Deserialize<'de> for RedirectQuery"],["impl<'de> Deserialize<'de> for DeleteCaptcha"],["impl<'de> Deserialize<'de> for ErrorToResponse"],["impl<'de> Deserialize<'de> for Levels"],["impl<'de> Deserialize<'de> for UpdateTrafficPattern"],["impl<'de> Deserialize<'de> for MarkReadReq"],["impl<'de> Deserialize<'de> for VerifyCaptchaResultPayload"],["impl<'de> Deserialize<'de> for I32Levels"],["impl<'de> Deserialize<'de> for UpdateCaptcha"],["impl<'de> Deserialize<'de> for CreateCaptcha"],["impl<'de> Deserialize<'de> for Redis"],["impl<'de> Deserialize<'de> for AccountCheckPayload"],["impl<'de> Deserialize<'de> for Register"],["impl<'de> Deserialize<'de> for ValidationToken"],["impl<'de> Deserialize<'de> for Captcha"],["impl<'de> Deserialize<'de> for PercentileReq"],["impl<'de> Deserialize<'de> for DBType"],["impl<'de> Deserialize<'de> for AccountCheckResp"],["impl<'de> Deserialize<'de> for StatsPayload"],["impl<'de> Deserialize<'de> for Smtp"],["impl<'de> Deserialize<'de> for GetConfigPayload"],["impl<'de> Deserialize<'de> for MCaptchaDetails"],["impl<'de> Deserialize<'de> for Server"],["impl<'de> Deserialize<'de> for Settings"],["impl<'de> Deserialize<'de> for SurveySecretUpload"],["impl<'de> Deserialize<'de> for Survey"],["impl<'de> Deserialize<'de> for Password"],["impl<'de> Deserialize<'de> for ApiPoWConfig"],["impl<'de> Deserialize<'de> for CaptchaStats"],["impl<'de> Deserialize<'de> for PercentileResp"],["impl<'de> Deserialize<'de> for Page"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index e337135a..1472b2c6 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"db_core":[["impl Serialize for Notification"],["impl Serialize for Captcha"],["impl<'a> Serialize for UpdateEmail<'a>"],["impl<'a> Serialize for AddNotification<'a>"],["impl<'a> Serialize for Register<'a>"],["impl<'a> Serialize for Login<'a>"],["impl Serialize for PerformanceAnalytics"],["impl Serialize for NameHash"],["impl Serialize for StatsUnixTimestamp"],["impl Serialize for CreatePerformanceAnalytics"],["impl Serialize for Secret"],["impl<'a> Serialize for CreateCaptcha<'a>"],["impl Serialize for TrafficPattern"]], -"mcaptcha":[["impl Serialize for Page"],["impl Serialize for ApiPoWConfig"],["impl Serialize for AccountCheckResp"],["impl Serialize for DeleteCaptcha"],["impl Serialize for UpdateTrafficPattern"],["impl Serialize for Login"],["impl Serialize for PercentileReq"],["impl Serialize for CaptchaValidateResp"],["impl Serialize for ErrorToResponse"],["impl Serialize for AddNotificationRequest"],["impl Serialize for Register"],["impl Serialize for DBType"],["impl Serialize for Levels"],["impl Serialize for Stats"],["impl Serialize for ValidationToken"],["impl Serialize for NotificationResp"],["impl Serialize for Health"],["impl Serialize for SurveySecretUpload"],["impl Serialize for CaptchaStats"],["impl Serialize for AccountCheckPayload"],["impl Serialize for StatsPayload"],["impl Serialize for UpdateCaptcha"],["impl Serialize for MarkReadReq"],["impl Serialize for BuildDetails"],["impl Serialize for Email"],["impl Serialize for PercentileResp"],["impl Serialize for ApiWork"],["impl Serialize for MCaptchaDetails"],["impl Serialize for TrafficPatternRequest"],["impl Serialize for GetConfigPayload"],["impl Serialize for ChangePasswordReqest"],["impl Serialize for Password"],["impl Serialize for Username"],["impl Serialize for BuildDetails"],["impl Serialize for VerifyCaptchaResultPayload"],["impl Serialize for CreateCaptcha"],["impl Serialize for I32Levels"]] +"db_core":[["impl Serialize for Notification"],["impl<'a> Serialize for Login<'a>"],["impl Serialize for StatsUnixTimestamp"],["impl<'a> Serialize for Register<'a>"],["impl Serialize for Captcha"],["impl Serialize for CreatePerformanceAnalytics"],["impl<'a> Serialize for AddNotification<'a>"],["impl Serialize for Secret"],["impl Serialize for TrafficPattern"],["impl Serialize for NameHash"],["impl<'a> Serialize for CreateCaptcha<'a>"],["impl<'a> Serialize for UpdateEmail<'a>"],["impl Serialize for PerformanceAnalytics"]], +"mcaptcha":[["impl Serialize for GetConfigPayload"],["impl Serialize for Page"],["impl Serialize for MarkReadReq"],["impl Serialize for Password"],["impl Serialize for ChangePasswordReqest"],["impl Serialize for I32Levels"],["impl Serialize for BuildDetails"],["impl Serialize for NotificationResp"],["impl Serialize for PercentileResp"],["impl Serialize for AccountCheckResp"],["impl Serialize for Email"],["impl Serialize for Username"],["impl Serialize for Stats"],["impl Serialize for ValidationToken"],["impl Serialize for UpdateTrafficPattern"],["impl Serialize for CreateCaptcha"],["impl Serialize for TrafficPatternRequest"],["impl Serialize for DeleteCaptcha"],["impl Serialize for AccountCheckPayload"],["impl Serialize for UpdateCaptcha"],["impl Serialize for Login"],["impl Serialize for StatsPayload"],["impl Serialize for ApiPoWConfig"],["impl Serialize for SurveySecretUpload"],["impl Serialize for CaptchaStats"],["impl Serialize for MCaptchaDetails"],["impl Serialize for ApiWork"],["impl Serialize for ErrorToResponse"],["impl Serialize for DBType"],["impl Serialize for PercentileReq"],["impl Serialize for Levels"],["impl Serialize for VerifyCaptchaResultPayload"],["impl Serialize for BuildDetails"],["impl Serialize for Health"],["impl Serialize for Register"],["impl Serialize for AddNotificationRequest"],["impl Serialize for CaptchaValidateResp"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/mcaptcha/all.html b/mcaptcha/all.html index c31a95b6..8d58c715 100644 --- a/mcaptcha/all.html +++ b/mcaptcha/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Macros

    Functions

    Type Definitions

    Constants

    \ No newline at end of file +List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Macros

    Functions

    Type Aliases

    Constants

    \ No newline at end of file diff --git a/mcaptcha/api/index.html b/mcaptcha/api/index.html index cc665e9b..e1dcdec3 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/delete/fn.services.html b/mcaptcha/api/v1/account/delete/fn.services.html index 53de4ca5..51be49a8 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 fcc039bc..2548cb56 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 bc5ecba9..dcc7a907 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 751a255c..f36d3f04 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 ab5d8f07..652e226e 100644 --- a/mcaptcha/api/v1/account/delete/struct.delete_account.html +++ b/mcaptcha/api/v1/account/delete/struct.delete_account.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ 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 71ee38b9..446c04d1 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/index.html b/mcaptcha/api/v1/account/email/index.html index 56b80d39..2a00970b 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 13f0b224..8a53cea4 100644 --- a/mcaptcha/api/v1/account/email/struct.Email.html +++ b/mcaptcha/api/v1/account/email/struct.Email.html @@ -1,23 +1,23 @@ -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 - __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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/struct.email_exists.html b/mcaptcha/api/v1/account/email/struct.email_exists.html index 437c7720..b2a793fa 100644 --- a/mcaptcha/api/v1/account/email/struct.email_exists.html +++ b/mcaptcha/api/v1/account/email/struct.email_exists.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/email/struct.set_email.html b/mcaptcha/api/v1/account/email/struct.set_email.html index 5e86afc2..cde118fd 100644 --- a/mcaptcha/api/v1/account/email/struct.set_email.html +++ b/mcaptcha/api/v1/account/email/struct.set_email.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/fn.services.html b/mcaptcha/api/v1/account/fn.services.html index 3a7d49f8..a3b7e00e 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 54205bf9..be3c52cc 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/fn.services.html b/mcaptcha/api/v1/account/password/fn.services.html index 32c42084..e01d1023 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 2da6d8df..389a9527 100644 --- a/mcaptcha/api/v1/account/password/fn.update_password_runner.html +++ b/mcaptcha/api/v1/account/password/fn.update_password_runner.html @@ -1,5 +1,5 @@ -update_password_runner in mcaptcha::api::v1::account::password - Rust
    async fn update_password_runner(
    -    user: &str,
    +update_password_runner in mcaptcha::api::v1::account::password - Rust
    async fn update_password_runner(
    +    user: &str,
         update: UpdatePassword,
         data: &Data
    -) -> Result<(), ServiceError>
    \ No newline at end of file +) -> Result<(), ServiceError>
    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/index.html b/mcaptcha/api/v1/account/password/index.html index 46dbb312..f2691860 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 d5c4217b..deb349fc 100644 --- a/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html +++ b/mcaptcha/api/v1/account/password/struct.ChangePasswordReqest.html @@ -1,25 +1,25 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/password/struct.UpdatePassword.html b/mcaptcha/api/v1/account/password/struct.UpdatePassword.html index 37801d0f..9aa7f06b 100644 --- a/mcaptcha/api/v1/account/password/struct.UpdatePassword.html +++ b/mcaptcha/api/v1/account/password/struct.UpdatePassword.html @@ -1,20 +1,20 @@ -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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file 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 c568c413..06da37b1 100644 --- a/mcaptcha/api/v1/account/password/struct.update_user_password.html +++ b/mcaptcha/api/v1/account/password/struct.update_user_password.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/routes/index.html b/mcaptcha/api/v1/account/routes/index.html index 7710e64a..0b939ec5 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 1329d033..811ea0d3 100644 --- a/mcaptcha/api/v1/account/routes/struct.Account.html +++ b/mcaptcha/api/v1/account/routes/struct.Account.html @@ -1,26 +1,26 @@ -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,
    -    pub update_email: &'static str,
    -    pub update_password: &'static str,
    -    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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,
    +    pub update_email: &'static str,
    +    pub update_password: &'static str,
    +    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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ 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 17ad2c9c..e991befd 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/index.html b/mcaptcha/api/v1/account/secret/index.html index 3d8d5225..1b3e0827 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 aafe6531..61b4cf3f 100644 --- a/mcaptcha/api/v1/account/secret/struct.get_secret.html +++ b/mcaptcha/api/v1/account/secret/struct.get_secret.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file 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 eff45e9b..968224f4 100644 --- a/mcaptcha/api/v1/account/secret/struct.update_user_secret.html +++ b/mcaptcha/api/v1/account/secret/struct.update_user_secret.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/struct.AccountCheckPayload.html b/mcaptcha/api/v1/account/struct.AccountCheckPayload.html index 218652cf..724e7f53 100644 --- a/mcaptcha/api/v1/account/struct.AccountCheckPayload.html +++ b/mcaptcha/api/v1/account/struct.AccountCheckPayload.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/struct.AccountCheckResp.html b/mcaptcha/api/v1/account/struct.AccountCheckResp.html index 8bbb1017..1527cb8f 100644 --- a/mcaptcha/api/v1/account/struct.AccountCheckResp.html +++ b/mcaptcha/api/v1/account/struct.AccountCheckResp.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/fn.services.html b/mcaptcha/api/v1/account/username/fn.services.html index 1c35604f..856510eb 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/index.html b/mcaptcha/api/v1/account/username/index.html index 9acc5e13..10a08a3e 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 23e2b4b1..97dc2e21 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 +) -> 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 8f7473a2..9527df1b 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 de5f3f66..9f1fd928 100644 --- a/mcaptcha/api/v1/account/username/struct.Username.html +++ b/mcaptcha/api/v1/account/username/struct.Username.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/struct.set_username.html b/mcaptcha/api/v1/account/username/struct.set_username.html index 9a74d7f6..2f63b292 100644 --- a/mcaptcha/api/v1/account/username/struct.set_username.html +++ b/mcaptcha/api/v1/account/username/struct.set_username.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/account/username/struct.username_exists.html b/mcaptcha/api/v1/account/username/struct.username_exists.html index 81af6bb8..7278131e 100644 --- a/mcaptcha/api/v1/account/username/struct.username_exists.html +++ b/mcaptcha/api/v1/account/username/struct.username_exists.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ 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 302ea337..afd23918 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/index.html b/mcaptcha/api/v1/auth/index.html index 8a4107ce..b9b4eb07 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 9db4ef97..0331898d 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 43082274..511c3a72 100644 --- a/mcaptcha/api/v1/auth/routes/struct.Auth.html +++ b/mcaptcha/api/v1/auth/routes/struct.Auth.html @@ -1,21 +1,21 @@ -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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/fn.login_runner.html b/mcaptcha/api/v1/auth/runners/fn.login_runner.html index 8522615e..74260d2a 100644 --- a/mcaptcha/api/v1/auth/runners/fn.login_runner.html +++ b/mcaptcha/api/v1/auth/runners/fn.login_runner.html @@ -1,5 +1,5 @@ -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

    +) -> Result<String, ServiceError>
    Expand description

    returns Ok(()) when everything checks out and the user is authenticated. Errors otherwise

    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/fn.register_runner.html b/mcaptcha/api/v1/auth/runners/fn.register_runner.html index 13a88824..b14ea4fa 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 +) -> 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 8f090f7d..8c7e2cd3 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

    Functions

    \ No newline at end of file +mcaptcha::api::v1::auth::runners - Rust

    Module mcaptcha::api::v1::auth::runners

    source ·

    Structs

    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 eece979b..d46d13f8 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Login.html +++ b/mcaptcha/api/v1/auth/runners/struct.Login.html @@ -1,24 +1,24 @@ -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 - __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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/struct.Password.html b/mcaptcha/api/v1/auth/runners/struct.Password.html index de112658..091c3daa 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Password.html +++ b/mcaptcha/api/v1/auth/runners/struct.Password.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/runners/struct.Register.html b/mcaptcha/api/v1/auth/runners/struct.Register.html index 801624f0..cef59b0b 100644 --- a/mcaptcha/api/v1/auth/runners/struct.Register.html +++ b/mcaptcha/api/v1/auth/runners/struct.Register.html @@ -1,26 +1,26 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/struct.login.html b/mcaptcha/api/v1/auth/struct.login.html index 3bc96447..93b6ba45 100644 --- a/mcaptcha/api/v1/auth/struct.login.html +++ b/mcaptcha/api/v1/auth/struct.login.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/struct.register.html b/mcaptcha/api/v1/auth/struct.register.html index 38caa694..073b6e8f 100644 --- a/mcaptcha/api/v1/auth/struct.register.html +++ b/mcaptcha/api/v1/auth/struct.register.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/auth/struct.signout.html b/mcaptcha/api/v1/auth/struct.signout.html index c7251c14..670dc34a 100644 --- a/mcaptcha/api/v1/auth/struct.signout.html +++ b/mcaptcha/api/v1/auth/struct.signout.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/fn.get_middleware.html b/mcaptcha/api/v1/fn.get_middleware.html index 2d628f82..d8c6bba7 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 0e780423..82658287 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 9efd5191..15b8bee3 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/index.html b/mcaptcha/api/v1/mcaptcha/create/index.html index 990342c2..3e8fdc88 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 bc1691d5..02d84b4d 100644 --- a/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/runner/fn.create.html @@ -1,5 +1,5 @@ -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
    -) -> Result<MCaptchaDetails, ServiceError>
    \ No newline at end of file + username: &str +) -> Result<MCaptchaDetails, ServiceError>
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/runner/index.html b/mcaptcha/api/v1/mcaptcha/create/runner/index.html index f086d1b9..e85d7270 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 4d96076d..28fad87e 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.CreateCaptcha.html @@ -1,25 +1,25 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html b/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html index 3882e62a..6bc8606a 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.MCaptchaDetails.html @@ -1,24 +1,24 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/create/struct.create.html b/mcaptcha/api/v1/mcaptcha/create/struct.create.html index 64f2f45a..1c0c7cb7 100644 --- a/mcaptcha/api/v1/mcaptcha/create/struct.create.html +++ b/mcaptcha/api/v1/mcaptcha/create/struct.create.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/index.html b/mcaptcha/api/v1/mcaptcha/delete/index.html index 3d025699..6534ebeb 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 36235acc..7543ef7b 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.DeleteCaptcha.html @@ -1,24 +1,24 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html b/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html index 6ddd3d15..cfd50723 100644 --- a/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html +++ b/mcaptcha/api/v1/mcaptcha/delete/struct.delete.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html b/mcaptcha/api/v1/mcaptcha/easy/fn.calculate.html index 357405fa..e9e2f1fc 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 +) -> Result<Vec<Level>, ServiceError>
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/fn.services.html b/mcaptcha/api/v1/mcaptcha/easy/fn.services.html index b36af4ba..cee2560c 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/index.html b/mcaptcha/api/v1/mcaptcha/easy/index.html index 7dcf0e3a..9d75572a 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

    Functions

    \ No newline at end of file +mcaptcha::api::v1::mcaptcha::easy - Rust

    Module mcaptcha::api::v1::mcaptcha::easy

    source ·

    Modules

    Structs

    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 23c3e9f9..62e8b5cc 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 72f737a5..a937f0a6 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html +++ b/mcaptcha/api/v1/mcaptcha/easy/routes/struct.Easy.html @@ -1,21 +1,21 @@ -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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html index 547ce448..ffe1f53f 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.TrafficPatternRequest.html @@ -1,33 +1,33 @@ -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>,
    -    pub description: String,
    -    pub publish_benchmarks: bool,
    +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>,
    +    pub description: String,
    +    pub publish_benchmarks: bool,
     }
    Expand description

    User’s traffic pattern; used in generating a captcha configuration

    -

    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

    -
    §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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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

    +
    §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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html b/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html index 40161b28..6742c014 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.UpdateTrafficPattern.html @@ -1,24 +1,24 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + 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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.create.html b/mcaptcha/api/v1/mcaptcha/easy/struct.create.html index 27fd9c50..31c15683 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.create.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.create.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/easy/struct.update.html b/mcaptcha/api/v1/mcaptcha/easy/struct.update.html index 05251dfa..0cd5cb22 100644 --- a/mcaptcha/api/v1/mcaptcha/easy/struct.update.html +++ b/mcaptcha/api/v1/mcaptcha/easy/struct.update.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/fn.get_random.html b/mcaptcha/api/v1/mcaptcha/fn.get_random.html index 4384d077..aa78e9b9 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 24ce3612..2fdf75ae 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/index.html b/mcaptcha/api/v1/mcaptcha/get/index.html index 02d1811b..32107c93 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 ae8e2846..a813eb31 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.I32Levels.html @@ -1,24 +1,24 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html b/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html index 5f98ccf5..e7bbdaf6 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.Levels.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html b/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html index 8f237b0a..626ba9fa 100644 --- a/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/get/struct.get_captcha.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/index.html b/mcaptcha/api/v1/mcaptcha/index.html index 306153f4..9093d12a 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 9583177d..316baf4a 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 685b0db8..ecc4d27d 100644 --- a/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html +++ b/mcaptcha/api/v1/mcaptcha/routes/struct.Captcha.html @@ -1,25 +1,25 @@ -Captcha in mcaptcha::api::v1::mcaptcha::routes - Rust
    pub struct Captcha {
    -    pub create: &'static str,
    -    pub update: &'static str,
    -    pub get: &'static str,
    -    pub delete: &'static str,
    -    pub update_key: &'static str,
    +Captcha in mcaptcha::api::v1::mcaptcha::routes - Rust
    pub struct Captcha {
    +    pub create: &'static str,
    +    pub update: &'static str,
    +    pub get: &'static str,
    +    pub delete: &'static str,
    +    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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/index.html b/mcaptcha/api/v1/mcaptcha/stats/index.html index c1dfae57..68acb836 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 9f1b78dd..2e875558 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 9078ddc4..087d5294 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html +++ b/mcaptcha/api/v1/mcaptcha/stats/routes/struct.Stats.html @@ -1,19 +1,19 @@ -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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html b/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html index 3ed7237b..11191320 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.StatsPayload.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/stats/struct.get.html b/mcaptcha/api/v1/mcaptcha/stats/struct.get.html index 8bb921e3..4f229830 100644 --- a/mcaptcha/api/v1/mcaptcha/stats/struct.get.html +++ b/mcaptcha/api/v1/mcaptcha/stats/struct.get.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/index.html b/mcaptcha/api/v1/mcaptcha/update/index.html index 5270abbd..666a41d6 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 5140bed9..836f704e 100644 --- a/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/runner/fn.update_captcha.html @@ -1,5 +1,5 @@ -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
    -) -> Result<(), ServiceError>
    \ No newline at end of file + username: &str +) -> Result<(), ServiceError>
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/runner/index.html b/mcaptcha/api/v1/mcaptcha/update/runner/index.html index c34852d0..94989bbc 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 ba951aa3..25ebfe48 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.UpdateCaptcha.html @@ -1,26 +1,26 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html b/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html index 82d7090a..d006e254 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.update_captcha.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html b/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html index 1cb5b70a..1abc9f54 100644 --- a/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html +++ b/mcaptcha/api/v1/mcaptcha/update/struct.update_key.html @@ -1,17 +1,17 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ 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 97c5f65e..37dbf5a6 100644 --- a/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html +++ b/mcaptcha/api/v1/meta/enum.BuildDetailsBuilderError.html @@ -1,24 +1,24 @@ -BuildDetailsBuilderError in mcaptcha::api::v1::meta - Rust
    #[non_exhaustive]
    pub enum BuildDetailsBuilderError { - UninitializedField(&'static str), - ValidationError(String), +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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/enum.HealthBuilderError.html b/mcaptcha/api/v1/meta/enum.HealthBuilderError.html index 7fd62194..2953374b 100644 --- a/mcaptcha/api/v1/meta/enum.HealthBuilderError.html +++ b/mcaptcha/api/v1/meta/enum.HealthBuilderError.html @@ -1,24 +1,24 @@ -HealthBuilderError in mcaptcha::api::v1::meta - Rust
    #[non_exhaustive]
    pub enum HealthBuilderError { - UninitializedField(&'static str), - ValidationError(String), +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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ 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 09c6368a..9cb45953 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 0b8cd9da..5c694a1d 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

    Functions

    \ No newline at end of file +mcaptcha::api::v1::meta - Rust

    Module mcaptcha::api::v1::meta

    source ·

    Modules

    Structs

    Enums

    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 aefc4aa3..5254e5a6 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 1bcc12ed..3e2113a0 100644 --- a/mcaptcha/api/v1/meta/routes/struct.Meta.html +++ b/mcaptcha/api/v1/meta/routes/struct.Meta.html @@ -1,20 +1,20 @@ -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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.BuildDetails.html b/mcaptcha/api/v1/meta/struct.BuildDetails.html index 4f2f8f91..261c6803 100644 --- a/mcaptcha/api/v1/meta/struct.BuildDetails.html +++ b/mcaptcha/api/v1/meta/struct.BuildDetails.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html b/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html index f6ca2fb9..65b3f494 100644 --- a/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html +++ b/mcaptcha/api/v1/meta/struct.BuildDetailsBuilder.html @@ -1,26 +1,26 @@ -BuildDetailsBuilder in mcaptcha::api::v1::meta - Rust
    pub struct BuildDetailsBuilder {
    -    version: Option<&'static str>,
    -    git_commit_hash: Option<&'static str>,
    +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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.Health.html b/mcaptcha/api/v1/meta/struct.Health.html index 50a17e8f..24540d7d 100644 --- a/mcaptcha/api/v1/meta/struct.Health.html +++ b/mcaptcha/api/v1/meta/struct.Health.html @@ -1,25 +1,25 @@ -Health in mcaptcha::api::v1::meta - Rust

    Struct mcaptcha::api::v1::meta::Health

    source ·
    pub struct Health {
    -    db: bool,
    -    redis: Option<bool>,
    +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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.HealthBuilder.html b/mcaptcha/api/v1/meta/struct.HealthBuilder.html index 3e6fcc73..d32cdd66 100644 --- a/mcaptcha/api/v1/meta/struct.HealthBuilder.html +++ b/mcaptcha/api/v1/meta/struct.HealthBuilder.html @@ -1,26 +1,26 @@ -HealthBuilder in mcaptcha::api::v1::meta - Rust

    Struct mcaptcha::api::v1::meta::HealthBuilder

    source ·
    pub struct HealthBuilder {
    -    db: Option<bool>,
    -    redis: Option<Option<bool>>,
    +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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.build_details.html b/mcaptcha/api/v1/meta/struct.build_details.html index 0d087c68..def725b9 100644 --- a/mcaptcha/api/v1/meta/struct.build_details.html +++ b/mcaptcha/api/v1/meta/struct.build_details.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/meta/struct.health.html b/mcaptcha/api/v1/meta/struct.health.html index 301222a2..46215fb5 100644 --- a/mcaptcha/api/v1/meta/struct.health.html +++ b/mcaptcha/api/v1/meta/struct.health.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/index.html b/mcaptcha/api/v1/notifications/add/index.html index b007defd..04d69067 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

    \ No newline at end of file +mcaptcha::api::v1::notifications::add - Rust

    Module mcaptcha::api::v1::notifications::add

    source ·

    Structs

    \ 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 aa4b49aa..336fb20b 100644 --- a/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html +++ b/mcaptcha/api/v1/notifications/add/struct.AddNotificationRequest.html @@ -1,27 +1,27 @@ -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 -by ==.
    1.0.0 · source§

    fn ne(&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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 +by ==.
    1.0.0 · source§

    fn ne(&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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/add/struct.add_notification.html b/mcaptcha/api/v1/notifications/add/struct.add_notification.html index fa5867a3..860f8a4b 100644 --- a/mcaptcha/api/v1/notifications/add/struct.add_notification.html +++ b/mcaptcha/api/v1/notifications/add/struct.add_notification.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/fn.services.html b/mcaptcha/api/v1/notifications/fn.services.html index 451b0d6b..8620e77d 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/index.html b/mcaptcha/api/v1/notifications/get/index.html index 3cd83a7c..36bc451b 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

    \ No newline at end of file +mcaptcha::api::v1::notifications::get - Rust

    Module mcaptcha::api::v1::notifications::get

    source ·

    Structs

    \ 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 7364ba17..a5b8a691 100644 --- a/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html +++ b/mcaptcha/api/v1/notifications/get/struct.NotificationResp.html @@ -1,29 +1,29 @@ -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 -by ==.
    1.0.0 · source§

    fn ne(&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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 +by ==.
    1.0.0 · source§

    fn ne(&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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/get/struct.get_notification.html b/mcaptcha/api/v1/notifications/get/struct.get_notification.html index 89f2e898..dd18209d 100644 --- a/mcaptcha/api/v1/notifications/get/struct.get_notification.html +++ b/mcaptcha/api/v1/notifications/get/struct.get_notification.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/index.html b/mcaptcha/api/v1/notifications/index.html index 393d9dc2..772aeabc 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/index.html b/mcaptcha/api/v1/notifications/mark_read/index.html index 53069f0e..856b66b2 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

    \ No newline at end of file +mcaptcha::api::v1::notifications::mark_read - Rust

    Structs

    \ 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 27343e45..283190e2 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.MarkReadReq.html @@ -1,22 +1,22 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file 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 e2122a4b..c5ed0144 100644 --- a/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html +++ b/mcaptcha/api/v1/notifications/mark_read/struct.mark_read.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/notifications/routes/index.html b/mcaptcha/api/v1/notifications/routes/index.html index bf8fb294..97372528 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 d1146a87..7e20e828 100644 --- a/mcaptcha/api/v1/notifications/routes/struct.Notifications.html +++ b/mcaptcha/api/v1/notifications/routes/struct.Notifications.html @@ -1,21 +1,21 @@ -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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/fn.services.html b/mcaptcha/api/v1/pow/fn.services.html index a68dc60d..6297c76c 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/fn.init_mcaptcha.html b/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html index 2dc114b0..d08d9df0 100644 --- a/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html +++ b/mcaptcha/api/v1/pow/get_config/fn.init_mcaptcha.html @@ -1,7 +1,7 @@ -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.

    + key: &str +) -> Result<(), ServiceError>
    Expand description

    Call this when [MCaptcha][libmcaptcha::MCaptcha] is not in master.

    This fn gets mcaptcha config from database, builds [Defense][libmcaptcha::Defense], creates [MCaptcha][libmcaptcha::MCaptcha] and adds it to [Master][libmcaptcha::Defense]

    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/get_config/index.html b/mcaptcha/api/v1/pow/get_config/index.html index 1896ada6..7b8855b7 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

    Functions

    • 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

    Functions

    • 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.ApiPoWConfig.html b/mcaptcha/api/v1/pow/get_config/struct.ApiPoWConfig.html index 2c581a3e..a0567e05 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.ApiPoWConfig.html +++ b/mcaptcha/api/v1/pow/get_config/struct.ApiPoWConfig.html @@ -1,26 +1,26 @@ -ApiPoWConfig in mcaptcha::api::v1::pow::get_config - Rust
    pub struct ApiPoWConfig {
    -    pub string: String,
    -    pub difficulty_factor: u32,
    -    pub salt: String,
    -    pub max_recorded_nonce: u32,
    -}

    Fields§

    §string: String§difficulty_factor: u32§salt: String§max_recorded_nonce: u32

    Trait Implementations§

    source§

    impl Clone for ApiPoWConfig

    source§

    fn clone(&self) -> ApiPoWConfig

    Returns a copy of 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 ApiPoWConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ApiPoWConfig

    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 ApiPoWConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +ApiPoWConfig in mcaptcha::api::v1::pow::get_config - Rust
    pub struct ApiPoWConfig {
    +    pub string: String,
    +    pub difficulty_factor: u32,
    +    pub salt: String,
    +    pub max_recorded_nonce: u32,
    +}

    Fields§

    §string: String§difficulty_factor: u32§salt: String§max_recorded_nonce: u32

    Trait Implementations§

    source§

    impl Clone for ApiPoWConfig

    source§

    fn clone(&self) -> ApiPoWConfig

    Returns a copy of 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 ApiPoWConfig

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ApiPoWConfig

    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 ApiPoWConfig

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ 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 45fb8757..bc6d08c9 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html +++ b/mcaptcha/api/v1/pow/get_config/struct.GetConfigPayload.html @@ -1,23 +1,23 @@ -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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file 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 4456dc53..fcdc2ed6 100644 --- a/mcaptcha/api/v1/pow/get_config/struct.get_config.html +++ b/mcaptcha/api/v1/pow/get_config/struct.get_config.html @@ -1,18 +1,18 @@ -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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/index.html b/mcaptcha/api/v1/pow/index.html index 2cddf52d..35a1dee4 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 59942797..8a1df6e6 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 6e369894..2e49a194 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 03262f5e..bc532181 100644 --- a/mcaptcha/api/v1/pow/routes/struct.PoW.html +++ b/mcaptcha/api/v1/pow/routes/struct.PoW.html @@ -1,25 +1,25 @@ -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

    -

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +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

    +

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/index.html b/mcaptcha/api/v1/pow/verify_pow/index.html index 653ded45..713e4cb2 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

    • validation token that clients receive as proof for submiting valid PoW
    • route handler that verifies PoW and issues a solution token if verification is successful
    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/struct.ApiWork.html b/mcaptcha/api/v1/pow/verify_pow/struct.ApiWork.html index 3526ee78..356a4f0a 100644 --- a/mcaptcha/api/v1/pow/verify_pow/struct.ApiWork.html +++ b/mcaptcha/api/v1/pow/verify_pow/struct.ApiWork.html @@ -1,28 +1,28 @@ -ApiWork in mcaptcha::api::v1::pow::verify_pow - Rust

    Struct mcaptcha::api::v1::pow::verify_pow::ApiWork

    source ·
    pub struct ApiWork {
    -    pub string: String,
    -    pub result: String,
    -    pub nonce: u64,
    -    pub key: String,
    -    pub time: Option<u32>,
    -    pub worker_type: Option<String>,
    -}

    Fields§

    §string: String§result: String§nonce: u64§key: String§time: Option<u32>§worker_type: Option<String>

    Trait Implementations§

    source§

    impl Clone for ApiWork

    source§

    fn clone(&self) -> ApiWork

    Returns a copy of 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 ApiWork

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ApiWork

    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<ApiWork> for Work

    source§

    fn from(value: ApiWork) -> Self

    Converts to this type from the input type.
    source§

    impl Serialize for ApiWork

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +ApiWork in mcaptcha::api::v1::pow::verify_pow - Rust

    Struct mcaptcha::api::v1::pow::verify_pow::ApiWork

    source ·
    pub struct ApiWork {
    +    pub string: String,
    +    pub result: String,
    +    pub nonce: u64,
    +    pub key: String,
    +    pub time: Option<u32>,
    +    pub worker_type: Option<String>,
    +}

    Fields§

    §string: String§result: String§nonce: u64§key: String§time: Option<u32>§worker_type: Option<String>

    Trait Implementations§

    source§

    impl Clone for ApiWork

    source§

    fn clone(&self) -> ApiWork

    Returns a copy of 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 ApiWork

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ApiWork

    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<ApiWork> for Work

    source§

    fn from(value: ApiWork) -> Self

    Converts to this type from the input type.
    source§

    impl Serialize for ApiWork

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html b/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html index a58bdf57..8e33da44 100644 --- a/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html +++ b/mcaptcha/api/v1/pow/verify_pow/struct.ValidationToken.html @@ -1,25 +1,25 @@ -ValidationToken in mcaptcha::api::v1::pow::verify_pow - Rust
    pub struct ValidationToken {
    -    pub token: String,
    +ValidationToken in mcaptcha::api::v1::pow::verify_pow - Rust
    pub struct ValidationToken {
    +    pub token: String,
     }
    Expand description

    validation token that clients receive as proof for submiting valid PoW

    -

    Fields§

    §token: String

    Trait Implementations§

    source§

    impl Clone for ValidationToken

    source§

    fn clone(&self) -> ValidationToken

    Returns a copy of 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 ValidationToken

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ValidationToken

    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 ValidationToken

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §token: String

    Trait Implementations§

    source§

    impl Clone for ValidationToken

    source§

    fn clone(&self) -> ValidationToken

    Returns a copy of 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 ValidationToken

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ValidationToken

    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 ValidationToken

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html b/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html index 51053478..719fee92 100644 --- a/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html +++ b/mcaptcha/api/v1/pow/verify_pow/struct.verify_pow.html @@ -1,19 +1,19 @@ -verify_pow in mcaptcha::api::v1::pow::verify_pow - Rust
    pub struct verify_pow;
    Expand description

    route handler that verifies PoW and issues a solution token +verify_pow in mcaptcha::api::v1::pow::verify_pow - Rust

    pub struct verify_pow;
    Expand description

    route handler that verifies PoW and issues a solution token if verification is successful

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for verify_pow

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for verify_pow

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/index.html b/mcaptcha/api/v1/pow/verify_token/index.html index 4c2e7a0a..3cf733f6 100644 --- a/mcaptcha/api/v1/pow/verify_token/index.html +++ b/mcaptcha/api/v1/pow/verify_token/index.html @@ -1,2 +1,2 @@ -mcaptcha::api::v1::pow::verify_token - Rust

    Module mcaptcha::api::v1::pow::verify_token

    source ·
    Expand description

    PoW success token module

    +mcaptcha::api::v1::pow::verify_token - Rust

    Module mcaptcha::api::v1::pow::verify_token

    source ·
    Expand description

    PoW success token module

    Structs

    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html b/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html index 6a742a78..df49f57d 100644 --- a/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html +++ b/mcaptcha/api/v1/pow/verify_token/struct.CaptchaValidateResp.html @@ -1,23 +1,23 @@ -CaptchaValidateResp in mcaptcha::api::v1::pow::verify_token - Rust
    pub struct CaptchaValidateResp {
    -    pub valid: bool,
    -}

    Fields§

    §valid: bool

    Trait Implementations§

    source§

    impl Clone for CaptchaValidateResp

    source§

    fn clone(&self) -> CaptchaValidateResp

    Returns a copy of 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 CaptchaValidateResp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for CaptchaValidateResp

    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 CaptchaValidateResp

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +CaptchaValidateResp in mcaptcha::api::v1::pow::verify_token - Rust
    pub struct CaptchaValidateResp {
    +    pub valid: bool,
    +}

    Fields§

    §valid: bool

    Trait Implementations§

    source§

    impl Clone for CaptchaValidateResp

    source§

    fn clone(&self) -> CaptchaValidateResp

    Returns a copy of 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 CaptchaValidateResp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for CaptchaValidateResp

    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 CaptchaValidateResp

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html b/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html index 719b0b2d..5a7f4ced 100644 --- a/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html +++ b/mcaptcha/api/v1/pow/verify_token/struct.VerifyCaptchaResultPayload.html @@ -1,25 +1,25 @@ -VerifyCaptchaResultPayload in mcaptcha::api::v1::pow::verify_token - Rust
    pub struct VerifyCaptchaResultPayload {
    -    pub secret: String,
    -    pub key: String,
    -    pub token: String,
    -}

    Fields§

    §secret: String§key: String§token: String

    Trait Implementations§

    source§

    impl Clone for VerifyCaptchaResultPayload

    source§

    fn clone(&self) -> VerifyCaptchaResultPayload

    Returns a copy of 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 VerifyCaptchaResultPayload

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for VerifyCaptchaResultPayload

    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<VerifyCaptchaResultPayload> for VerifyCaptchaResult

    source§

    fn from(m: VerifyCaptchaResultPayload) -> Self

    Converts to this type from the input type.
    source§

    impl Serialize for VerifyCaptchaResultPayload

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +VerifyCaptchaResultPayload in mcaptcha::api::v1::pow::verify_token - Rust
    pub struct VerifyCaptchaResultPayload {
    +    pub secret: String,
    +    pub key: String,
    +    pub token: String,
    +}

    Fields§

    §secret: String§key: String§token: String

    Trait Implementations§

    source§

    impl Clone for VerifyCaptchaResultPayload

    source§

    fn clone(&self) -> VerifyCaptchaResultPayload

    Returns a copy of 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 VerifyCaptchaResultPayload

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for VerifyCaptchaResultPayload

    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<VerifyCaptchaResultPayload> for VerifyCaptchaResult

    source§

    fn from(m: VerifyCaptchaResultPayload) -> Self

    Converts to this type from the input type.
    source§

    impl Serialize for VerifyCaptchaResultPayload

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html b/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html index 6ed4e113..714a71d5 100644 --- a/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html +++ b/mcaptcha/api/v1/pow/verify_token/struct.validate_captcha_token.html @@ -1,18 +1,18 @@ -validate_captcha_token in mcaptcha::api::v1::pow::verify_token - Rust
    pub struct validate_captcha_token;
    Expand description

    route handler that validates a PoW solution token

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for validate_captcha_token

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +validate_captcha_token in mcaptcha::api::v1::pow::verify_token - Rust
    pub struct validate_captcha_token;
    Expand description

    route handler that validates a PoW solution token

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for validate_captcha_token

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/routes/constant.ROUTES.html b/mcaptcha/api/v1/routes/constant.ROUTES.html index 4b4efe0c..198c9bc8 100644 --- a/mcaptcha/api/v1/routes/constant.ROUTES.html +++ b/mcaptcha/api/v1/routes/constant.ROUTES.html @@ -1 +1 @@ -ROUTES in mcaptcha::api::v1::routes - Rust

    Constant mcaptcha::api::v1::routes::ROUTES

    source ·
    pub const ROUTES: Routes;
    \ No newline at end of file +ROUTES in mcaptcha::api::v1::routes - Rust

    Constant mcaptcha::api::v1::routes::ROUTES

    source ·
    pub const ROUTES: Routes;
    \ No newline at end of file diff --git a/mcaptcha/api/v1/routes/index.html b/mcaptcha/api/v1/routes/index.html index a0292067..bbd888cb 100644 --- a/mcaptcha/api/v1/routes/index.html +++ b/mcaptcha/api/v1/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::routes - Rust
    \ No newline at end of file +mcaptcha::api::v1::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/api/v1/routes/struct.Routes.html b/mcaptcha/api/v1/routes/struct.Routes.html index bf67a820..40a5d19a 100644 --- a/mcaptcha/api/v1/routes/struct.Routes.html +++ b/mcaptcha/api/v1/routes/struct.Routes.html @@ -1,4 +1,4 @@ -Routes in mcaptcha::api::v1::routes - Rust

    Struct mcaptcha::api::v1::routes::Routes

    source ·
    pub struct Routes {
    +Routes in mcaptcha::api::v1::routes - Rust

    Struct mcaptcha::api::v1::routes::Routes

    source ·
    pub struct Routes {
         pub auth: Auth,
         pub account: Account,
         pub captcha: Captcha,
    @@ -7,20 +7,20 @@
         pub survey: Survey,
         pub notifications: Notifications,
         pub stats: Stats,
    -}

    Fields§

    §auth: Auth§account: Account§captcha: Captcha§meta: Meta§pow: PoW§survey: Survey§notifications: Notifications§stats: Stats

    Implementations§

    source§

    impl Routes

    source

    const fn new() -> Routes

    Trait Implementations§

    source§

    impl GetLoginRoute for Routes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §auth: Auth§account: Account§captcha: Captcha§meta: Meta§pow: PoW§survey: Survey§notifications: Notifications§stats: Stats

    Implementations§

    source§

    impl Routes

    source

    const fn new() -> Routes

    Trait Implementations§

    source§

    impl GetLoginRoute for Routes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/enum.BuildDetailsBuilderError.html b/mcaptcha/api/v1/stats/enum.BuildDetailsBuilderError.html index 27f10af5..f1cecf92 100644 --- a/mcaptcha/api/v1/stats/enum.BuildDetailsBuilderError.html +++ b/mcaptcha/api/v1/stats/enum.BuildDetailsBuilderError.html @@ -1,24 +1,24 @@ -BuildDetailsBuilderError in mcaptcha::api::v1::stats - Rust
    #[non_exhaustive]
    pub enum BuildDetailsBuilderError { - UninitializedField(&'static str), - ValidationError(String), +BuildDetailsBuilderError in mcaptcha::api::v1::stats - 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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/enum.PercentileReqBuilderError.html b/mcaptcha/api/v1/stats/enum.PercentileReqBuilderError.html index 7b1ba38b..1376219c 100644 --- a/mcaptcha/api/v1/stats/enum.PercentileReqBuilderError.html +++ b/mcaptcha/api/v1/stats/enum.PercentileReqBuilderError.html @@ -1,24 +1,24 @@ -PercentileReqBuilderError in mcaptcha::api::v1::stats - Rust
    #[non_exhaustive]
    pub enum PercentileReqBuilderError { - UninitializedField(&'static str), - ValidationError(String), +PercentileReqBuilderError in mcaptcha::api::v1::stats - Rust
    #[non_exhaustive]
    pub enum PercentileReqBuilderError { + UninitializedField(&'static str), + ValidationError(String), }
    Expand description

    Error type for PercentileReqBuilder

    -

    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 PercentileReqBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PercentileReqBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PercentileReqBuilderError

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for PercentileReqBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for PercentileReqBuilderError

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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 PercentileReqBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PercentileReqBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PercentileReqBuilderError

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for PercentileReqBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for PercentileReqBuilderError

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/enum.PercentileRespBuilderError.html b/mcaptcha/api/v1/stats/enum.PercentileRespBuilderError.html index b5d584c2..371d892f 100644 --- a/mcaptcha/api/v1/stats/enum.PercentileRespBuilderError.html +++ b/mcaptcha/api/v1/stats/enum.PercentileRespBuilderError.html @@ -1,24 +1,24 @@ -PercentileRespBuilderError in mcaptcha::api::v1::stats - Rust
    #[non_exhaustive]
    pub enum PercentileRespBuilderError { - UninitializedField(&'static str), - ValidationError(String), +PercentileRespBuilderError in mcaptcha::api::v1::stats - Rust
    #[non_exhaustive]
    pub enum PercentileRespBuilderError { + UninitializedField(&'static str), + ValidationError(String), }
    Expand description

    Error type for PercentileRespBuilder

    -

    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 PercentileRespBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PercentileRespBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PercentileRespBuilderError

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for PercentileRespBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for PercentileRespBuilderError

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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 PercentileRespBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PercentileRespBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PercentileRespBuilderError

    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, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for PercentileRespBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for PercentileRespBuilderError

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/fn.services.html b/mcaptcha/api/v1/stats/fn.services.html index 533da666..723f608b 100644 --- a/mcaptcha/api/v1/stats/fn.services.html +++ b/mcaptcha/api/v1/stats/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::stats - Rust

    Function mcaptcha::api::v1::stats::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::api::v1::stats - Rust

    Function mcaptcha::api::v1::stats::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/index.html b/mcaptcha/api/v1/stats/index.html index 47056cac..8ceb56b2 100644 --- a/mcaptcha/api/v1/stats/index.html +++ b/mcaptcha/api/v1/stats/index.html @@ -1 +1 @@ -mcaptcha::api::v1::stats - Rust

    Module mcaptcha::api::v1::stats

    source ·

    Modules

    Structs

    Enums

    Functions

    \ No newline at end of file +mcaptcha::api::v1::stats - Rust

    Module mcaptcha::api::v1::stats

    source ·

    Modules

    Structs

    Enums

    Functions

    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/routes/index.html b/mcaptcha/api/v1/stats/routes/index.html index 754c7bad..86db1842 100644 --- a/mcaptcha/api/v1/stats/routes/index.html +++ b/mcaptcha/api/v1/stats/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::stats::routes - Rust
    \ No newline at end of file +mcaptcha::api::v1::stats::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/routes/struct.Stats.html b/mcaptcha/api/v1/stats/routes/struct.Stats.html index bd65318e..ba5d29c2 100644 --- a/mcaptcha/api/v1/stats/routes/struct.Stats.html +++ b/mcaptcha/api/v1/stats/routes/struct.Stats.html @@ -1,30 +1,30 @@ -Stats in mcaptcha::api::v1::stats::routes - Rust

    Struct mcaptcha::api::v1::stats::routes::Stats

    source ·
    pub struct Stats {
    -    pub percentile_benches: &'static str,
    -}

    Fields§

    §percentile_benches: &'static str

    Implementations§

    source§

    impl Stats

    source

    pub const fn new() -> Self

    Trait Implementations§

    source§

    impl Clone for Stats

    source§

    fn clone(&self) -> Stats

    Returns a copy of 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 Stats

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deserialize<'static> for Stats

    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 PartialEq<Stats> for Stats

    source§

    fn eq(&self, other: &Stats) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Stats

    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 Eq for Stats

    source§

    impl StructuralEq for Stats

    source§

    impl StructuralPartialEq for Stats

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Stats in mcaptcha::api::v1::stats::routes - Rust

    Struct mcaptcha::api::v1::stats::routes::Stats

    source ·
    pub struct Stats {
    +    pub percentile_benches: &'static str,
    +}

    Fields§

    §percentile_benches: &'static str

    Implementations§

    source§

    impl Stats

    source

    pub const fn new() -> Self

    Trait Implementations§

    source§

    impl Clone for Stats

    source§

    fn clone(&self) -> Stats

    Returns a copy of 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 Stats

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deserialize<'static> for Stats

    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 PartialEq<Stats> for Stats

    source§

    fn eq(&self, other: &Stats) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Stats

    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 Eq for Stats

    source§

    impl StructuralEq for Stats

    source§

    impl StructuralPartialEq for Stats

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.BuildDetails.html b/mcaptcha/api/v1/stats/struct.BuildDetails.html index f39263be..6bb3a885 100644 --- a/mcaptcha/api/v1/stats/struct.BuildDetails.html +++ b/mcaptcha/api/v1/stats/struct.BuildDetails.html @@ -1,23 +1,23 @@ -BuildDetails in mcaptcha::api::v1::stats - Rust

    Struct mcaptcha::api::v1::stats::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 - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +BuildDetails in mcaptcha::api::v1::stats - Rust

    Struct mcaptcha::api::v1::stats::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 + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.BuildDetailsBuilder.html b/mcaptcha/api/v1/stats/struct.BuildDetailsBuilder.html index c6b2204f..4bc73bfe 100644 --- a/mcaptcha/api/v1/stats/struct.BuildDetailsBuilder.html +++ b/mcaptcha/api/v1/stats/struct.BuildDetailsBuilder.html @@ -1,26 +1,26 @@ -BuildDetailsBuilder in mcaptcha::api::v1::stats - Rust
    pub struct BuildDetailsBuilder {
    -    version: Option<&'static str>,
    -    git_commit_hash: Option<&'static str>,
    +BuildDetailsBuilder in mcaptcha::api::v1::stats - 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 - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.PercentileReq.html b/mcaptcha/api/v1/stats/struct.PercentileReq.html index 66ca3004..82601bb8 100644 --- a/mcaptcha/api/v1/stats/struct.PercentileReq.html +++ b/mcaptcha/api/v1/stats/struct.PercentileReq.html @@ -1,25 +1,25 @@ -PercentileReq in mcaptcha::api::v1::stats - Rust
    pub struct PercentileReq {
    -    time: u32,
    -    percentile: f64,
    +PercentileReq in mcaptcha::api::v1::stats - Rust
    pub struct PercentileReq {
    +    time: u32,
    +    percentile: f64,
     }
    Expand description

    Health check return datatype

    -

    Fields§

    §time: u32§percentile: f64

    Trait Implementations§

    source§

    impl Clone for PercentileReq

    source§

    fn clone(&self) -> PercentileReq

    Returns a copy of 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 PercentileReq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PercentileReq

    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 PercentileReq

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §time: u32§percentile: f64

    Trait Implementations§

    source§

    impl Clone for PercentileReq

    source§

    fn clone(&self) -> PercentileReq

    Returns a copy of 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 PercentileReq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PercentileReq

    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 PercentileReq

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.PercentileReqBuilder.html b/mcaptcha/api/v1/stats/struct.PercentileReqBuilder.html index 5b762629..9e7c813b 100644 --- a/mcaptcha/api/v1/stats/struct.PercentileReqBuilder.html +++ b/mcaptcha/api/v1/stats/struct.PercentileReqBuilder.html @@ -1,26 +1,26 @@ -PercentileReqBuilder in mcaptcha::api::v1::stats - Rust
    pub struct PercentileReqBuilder {
    -    time: Option<u32>,
    -    percentile: Option<f64>,
    +PercentileReqBuilder in mcaptcha::api::v1::stats - Rust
    pub struct PercentileReqBuilder {
    +    time: Option<u32>,
    +    percentile: Option<f64>,
     }
    Expand description

    Builder for PercentileReq.

    -

    Fields§

    §time: Option<u32>§percentile: Option<f64>

    Implementations§

    source§

    impl PercentileReqBuilder

    source

    pub fn time(&mut self, value: u32) -> &mut Self

    source

    pub fn percentile(&mut self, value: f64) -> &mut Self

    source

    pub fn build(&self) -> Result<PercentileReq, PercentileReqBuilderError>

    Builds a new PercentileReq.

    +

    Fields§

    §time: Option<u32>§percentile: Option<f64>

    Implementations§

    source§

    impl PercentileReqBuilder

    source

    pub fn time(&mut self, value: u32) -> &mut Self

    source

    pub fn percentile(&mut self, value: f64) -> &mut Self

    source

    pub fn build(&self) -> Result<PercentileReq, PercentileReqBuilderError>

    Builds a new PercentileReq.

    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 PercentileReqBuilder

    source§

    fn clone(&self) -> PercentileReqBuilder

    Returns a copy of 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 PercentileReqBuilder

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Clone for PercentileReqBuilder

    source§

    fn clone(&self) -> PercentileReqBuilder

    Returns a copy of 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 PercentileReqBuilder

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.PercentileResp.html b/mcaptcha/api/v1/stats/struct.PercentileResp.html index f319436a..0487a538 100644 --- a/mcaptcha/api/v1/stats/struct.PercentileResp.html +++ b/mcaptcha/api/v1/stats/struct.PercentileResp.html @@ -1,24 +1,24 @@ -PercentileResp in mcaptcha::api::v1::stats - Rust
    pub struct PercentileResp {
    -    difficulty_factor: Option<u32>,
    +PercentileResp in mcaptcha::api::v1::stats - Rust
    pub struct PercentileResp {
    +    difficulty_factor: Option<u32>,
     }
    Expand description

    Health check return datatype

    -

    Fields§

    §difficulty_factor: Option<u32>

    Trait Implementations§

    source§

    impl Clone for PercentileResp

    source§

    fn clone(&self) -> PercentileResp

    Returns a copy of 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 PercentileResp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PercentileResp

    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 PercentileResp

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §difficulty_factor: Option<u32>

    Trait Implementations§

    source§

    impl Clone for PercentileResp

    source§

    fn clone(&self) -> PercentileResp

    Returns a copy of 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 PercentileResp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PercentileResp

    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 PercentileResp

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.PercentileRespBuilder.html b/mcaptcha/api/v1/stats/struct.PercentileRespBuilder.html index fdb56885..1a9ff6d9 100644 --- a/mcaptcha/api/v1/stats/struct.PercentileRespBuilder.html +++ b/mcaptcha/api/v1/stats/struct.PercentileRespBuilder.html @@ -1,25 +1,25 @@ -PercentileRespBuilder in mcaptcha::api::v1::stats - Rust
    pub struct PercentileRespBuilder {
    -    difficulty_factor: Option<Option<u32>>,
    +PercentileRespBuilder in mcaptcha::api::v1::stats - Rust
    pub struct PercentileRespBuilder {
    +    difficulty_factor: Option<Option<u32>>,
     }
    Expand description

    Builder for PercentileResp.

    -

    Fields§

    §difficulty_factor: Option<Option<u32>>

    Implementations§

    source§

    impl PercentileRespBuilder

    source

    pub fn difficulty_factor(&mut self, value: Option<u32>) -> &mut Self

    source

    pub fn build(&self) -> Result<PercentileResp, PercentileRespBuilderError>

    Builds a new PercentileResp.

    +

    Fields§

    §difficulty_factor: Option<Option<u32>>

    Implementations§

    source§

    impl PercentileRespBuilder

    source

    pub fn difficulty_factor(&mut self, value: Option<u32>) -> &mut Self

    source

    pub fn build(&self) -> Result<PercentileResp, PercentileRespBuilderError>

    Builds a new PercentileResp.

    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 PercentileRespBuilder

    source§

    fn clone(&self) -> PercentileRespBuilder

    Returns a copy of 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 PercentileRespBuilder

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Clone for PercentileRespBuilder

    source§

    fn clone(&self) -> PercentileRespBuilder

    Returns a copy of 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 PercentileRespBuilder

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/stats/struct.percentile_benches.html b/mcaptcha/api/v1/stats/struct.percentile_benches.html index 53cb1468..83e025ca 100644 --- a/mcaptcha/api/v1/stats/struct.percentile_benches.html +++ b/mcaptcha/api/v1/stats/struct.percentile_benches.html @@ -1,18 +1,18 @@ -percentile_benches in mcaptcha::api::v1::stats - Rust
    pub struct percentile_benches;
    Expand description

    Get difficulty factor with max time limit for percentile of stats

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for percentile_benches

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +percentile_benches in mcaptcha::api::v1::stats - Rust
    pub struct percentile_benches;
    Expand description

    Get difficulty factor with max time limit for percentile of stats

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for percentile_benches

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/struct.RedirectQuery.html b/mcaptcha/api/v1/struct.RedirectQuery.html index 3d4461cc..681af49b 100644 --- a/mcaptcha/api/v1/struct.RedirectQuery.html +++ b/mcaptcha/api/v1/struct.RedirectQuery.html @@ -1,21 +1,21 @@ -RedirectQuery in mcaptcha::api::v1 - Rust

    Struct mcaptcha::api::v1::RedirectQuery

    source ·
    pub struct RedirectQuery {
    -    pub redirect_to: Option<String>,
    -}

    Fields§

    §redirect_to: Option<String>

    Trait Implementations§

    source§

    impl<'de> Deserialize<'de> for RedirectQuery

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +RedirectQuery in mcaptcha::api::v1 - Rust

    Struct mcaptcha::api::v1::RedirectQuery

    source ·
    pub struct RedirectQuery {
    +    pub redirect_to: Option<String>,
    +}

    Fields§

    §redirect_to: Option<String>

    Trait Implementations§

    source§

    impl<'de> Deserialize<'de> for RedirectQuery

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/fn.services.html b/mcaptcha/api/v1/survey/fn.services.html index c860d613..87192a9d 100644 --- a/mcaptcha/api/v1/survey/fn.services.html +++ b/mcaptcha/api/v1/survey/fn.services.html @@ -1 +1 @@ -services in mcaptcha::api::v1::survey - Rust

    Function mcaptcha::api::v1::survey::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::api::v1::survey - Rust

    Function mcaptcha::api::v1::survey::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/index.html b/mcaptcha/api/v1/survey/index.html index a867fb77..db103868 100644 --- a/mcaptcha/api/v1/survey/index.html +++ b/mcaptcha/api/v1/survey/index.html @@ -1 +1 @@ -mcaptcha::api::v1::survey - Rust

    Module mcaptcha::api::v1::survey

    source ·

    Modules

    Structs

    Functions

    \ No newline at end of file +mcaptcha::api::v1::survey - Rust

    Module mcaptcha::api::v1::survey

    source ·

    Modules

    Structs

    Functions

    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/routes/index.html b/mcaptcha/api/v1/survey/routes/index.html index ee12f4af..d625b750 100644 --- a/mcaptcha/api/v1/survey/routes/index.html +++ b/mcaptcha/api/v1/survey/routes/index.html @@ -1 +1 @@ -mcaptcha::api::v1::survey::routes - Rust
    \ No newline at end of file +mcaptcha::api::v1::survey::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/routes/struct.Survey.html b/mcaptcha/api/v1/survey/routes/struct.Survey.html index 6ca8321a..0dde3cff 100644 --- a/mcaptcha/api/v1/survey/routes/struct.Survey.html +++ b/mcaptcha/api/v1/survey/routes/struct.Survey.html @@ -1,20 +1,20 @@ -Survey in mcaptcha::api::v1::survey::routes - Rust

    Struct mcaptcha::api::v1::survey::routes::Survey

    source ·
    pub struct Survey {
    -    pub download: &'static str,
    -    pub secret: &'static str,
    -}

    Fields§

    §download: &'static str§secret: &'static str

    Implementations§

    source§

    impl Survey

    source

    pub const fn new() -> Self

    source

    pub fn get_download_route(&self, survey_id: &str, page: usize) -> String

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Survey in mcaptcha::api::v1::survey::routes - Rust

    Struct mcaptcha::api::v1::survey::routes::Survey

    source ·
    pub struct Survey {
    +    pub download: &'static str,
    +    pub secret: &'static str,
    +}

    Fields§

    §download: &'static str§secret: &'static str

    Implementations§

    source§

    impl Survey

    source

    pub const fn new() -> Self

    source

    pub fn get_download_route(&self, survey_id: &str, page: usize) -> String

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/struct.Page.html b/mcaptcha/api/v1/survey/struct.Page.html index ac94e018..47e3ff45 100644 --- a/mcaptcha/api/v1/survey/struct.Page.html +++ b/mcaptcha/api/v1/survey/struct.Page.html @@ -1,31 +1,31 @@ -Page in mcaptcha::api::v1::survey - Rust

    Struct mcaptcha::api::v1::survey::Page

    source ·
    pub struct Page {
    -    pub page: usize,
    -}

    Fields§

    §page: usize

    Trait Implementations§

    source§

    impl Clone for Page

    source§

    fn clone(&self) -> Page

    Returns a copy of 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 Page

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Page

    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<Page> for Page

    source§

    fn eq(&self, other: &Page) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Page

    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 Eq for Page

    source§

    impl StructuralEq for Page

    source§

    impl StructuralPartialEq for Page

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Page

    §

    impl Send for Page

    §

    impl Sync for Page

    §

    impl Unpin for Page

    §

    impl UnwindSafe for Page

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Page in mcaptcha::api::v1::survey - Rust

    Struct mcaptcha::api::v1::survey::Page

    source ·
    pub struct Page {
    +    pub page: usize,
    +}

    Fields§

    §page: usize

    Trait Implementations§

    source§

    impl Clone for Page

    source§

    fn clone(&self) -> Page

    Returns a copy of 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 Page

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Page

    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<Page> for Page

    source§

    fn eq(&self, other: &Page) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Page

    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 Eq for Page

    source§

    impl StructuralEq for Page

    source§

    impl StructuralPartialEq for Page

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Page

    §

    impl Send for Page

    §

    impl Sync for Page

    §

    impl Unpin for Page

    §

    impl UnwindSafe for Page

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/struct.SurveySecretUpload.html b/mcaptcha/api/v1/survey/struct.SurveySecretUpload.html index 3b8c9590..670632d7 100644 --- a/mcaptcha/api/v1/survey/struct.SurveySecretUpload.html +++ b/mcaptcha/api/v1/survey/struct.SurveySecretUpload.html @@ -1,23 +1,23 @@ -SurveySecretUpload in mcaptcha::api::v1::survey - Rust
    struct SurveySecretUpload {
    -    secret: String,
    -    auth_token: String,
    -}

    Fields§

    §secret: String§auth_token: String

    Trait Implementations§

    source§

    impl<'de> Deserialize<'de> for SurveySecretUpload

    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 SurveySecretUpload

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SurveySecretUpload in mcaptcha::api::v1::survey - Rust
    struct SurveySecretUpload {
    +    secret: String,
    +    auth_token: String,
    +}

    Fields§

    §secret: String§auth_token: String

    Trait Implementations§

    source§

    impl<'de> Deserialize<'de> for SurveySecretUpload

    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 SurveySecretUpload

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/struct.download.html b/mcaptcha/api/v1/survey/struct.download.html index 555d371f..7044dd1a 100644 --- a/mcaptcha/api/v1/survey/struct.download.html +++ b/mcaptcha/api/v1/survey/struct.download.html @@ -1,18 +1,18 @@ -download in mcaptcha::api::v1::survey - Rust

    Struct mcaptcha::api::v1::survey::download

    source ·
    pub struct download;
    Expand description

    emits build details of the bninary

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for download

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +download in mcaptcha::api::v1::survey - Rust

    Struct mcaptcha::api::v1::survey::download

    source ·
    pub struct download;
    Expand description

    emits build details of the bninary

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for download

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/api/v1/survey/struct.secret.html b/mcaptcha/api/v1/survey/struct.secret.html index bc5aa3db..7470df1c 100644 --- a/mcaptcha/api/v1/survey/struct.secret.html +++ b/mcaptcha/api/v1/survey/struct.secret.html @@ -1,18 +1,18 @@ -secret in mcaptcha::api::v1::survey - Rust

    Struct mcaptcha::api::v1::survey::secret

    source ·
    pub struct secret;
    Expand description

    mCaptcha/survey upload secret route

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for 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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +secret in mcaptcha::api::v1::survey - Rust

    Struct mcaptcha::api::v1::survey::secret

    source ·
    pub struct secret;
    Expand description

    mCaptcha/survey upload secret route

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for 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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/constant.CACHE_AGE.html b/mcaptcha/constant.CACHE_AGE.html index 62dfcf8d..ff6817b4 100644 --- a/mcaptcha/constant.CACHE_AGE.html +++ b/mcaptcha/constant.CACHE_AGE.html @@ -1 +1 @@ -CACHE_AGE in mcaptcha - Rust

    Constant mcaptcha::CACHE_AGE

    source ·
    pub const CACHE_AGE: u32 = 604800;
    \ No newline at end of file +CACHE_AGE in mcaptcha - Rust

    Constant mcaptcha::CACHE_AGE

    source ·
    pub const CACHE_AGE: u32 = 604800;
    \ No newline at end of file diff --git a/mcaptcha/constant.COMPILED_DATE.html b/mcaptcha/constant.COMPILED_DATE.html index 10db9b1d..365f972a 100644 --- a/mcaptcha/constant.COMPILED_DATE.html +++ b/mcaptcha/constant.COMPILED_DATE.html @@ -1 +1 @@ -COMPILED_DATE in mcaptcha - Rust

    Constant mcaptcha::COMPILED_DATE

    source ·
    pub const COMPILED_DATE: &str = env!("COMPILED_DATE");
    \ No newline at end of file +COMPILED_DATE in mcaptcha - Rust

    Constant mcaptcha::COMPILED_DATE

    source ·
    pub const COMPILED_DATE: &str = env!("COMPILED_DATE");
    \ No newline at end of file diff --git a/mcaptcha/constant.DOCS.html b/mcaptcha/constant.DOCS.html index aff7933e..b8c4e965 100644 --- a/mcaptcha/constant.DOCS.html +++ b/mcaptcha/constant.DOCS.html @@ -1 +1 @@ -DOCS in mcaptcha - Rust

    Constant mcaptcha::DOCS

    source ·
    pub const DOCS: Docs;
    \ No newline at end of file +DOCS in mcaptcha - Rust

    Constant mcaptcha::DOCS

    source ·
    pub const DOCS: Docs;
    \ No newline at end of file diff --git a/mcaptcha/constant.GIT_COMMIT_HASH.html b/mcaptcha/constant.GIT_COMMIT_HASH.html index 1be7cdc9..7f85d4b0 100644 --- a/mcaptcha/constant.GIT_COMMIT_HASH.html +++ b/mcaptcha/constant.GIT_COMMIT_HASH.html @@ -1 +1 @@ -GIT_COMMIT_HASH in mcaptcha - Rust

    Constant mcaptcha::GIT_COMMIT_HASH

    source ·
    pub const GIT_COMMIT_HASH: &str = env!("GIT_HASH");
    \ No newline at end of file +GIT_COMMIT_HASH in mcaptcha - Rust

    Constant mcaptcha::GIT_COMMIT_HASH

    source ·
    pub const GIT_COMMIT_HASH: &str = env!("GIT_HASH");
    \ No newline at end of file diff --git a/mcaptcha/constant.PAGES.html b/mcaptcha/constant.PAGES.html index e7583e72..95371d77 100644 --- a/mcaptcha/constant.PAGES.html +++ b/mcaptcha/constant.PAGES.html @@ -1 +1 @@ -PAGES in mcaptcha - Rust

    Constant mcaptcha::PAGES

    source ·
    pub const PAGES: Routes;
    \ No newline at end of file +PAGES in mcaptcha - Rust

    Constant mcaptcha::PAGES

    source ·
    pub const PAGES: Routes;
    \ No newline at end of file diff --git a/mcaptcha/constant.PKG_DESCRIPTION.html b/mcaptcha/constant.PKG_DESCRIPTION.html index 537c6880..127119b3 100644 --- a/mcaptcha/constant.PKG_DESCRIPTION.html +++ b/mcaptcha/constant.PKG_DESCRIPTION.html @@ -1 +1 @@ -PKG_DESCRIPTION in mcaptcha - Rust

    Constant mcaptcha::PKG_DESCRIPTION

    source ·
    pub const PKG_DESCRIPTION: &str = env!("CARGO_PKG_DESCRIPTION");
    \ No newline at end of file +PKG_DESCRIPTION in mcaptcha - Rust

    Constant mcaptcha::PKG_DESCRIPTION

    source ·
    pub const PKG_DESCRIPTION: &str = env!("CARGO_PKG_DESCRIPTION");
    \ No newline at end of file diff --git a/mcaptcha/constant.PKG_HOMEPAGE.html b/mcaptcha/constant.PKG_HOMEPAGE.html index c4f5f181..0336f63c 100644 --- a/mcaptcha/constant.PKG_HOMEPAGE.html +++ b/mcaptcha/constant.PKG_HOMEPAGE.html @@ -1 +1 @@ -PKG_HOMEPAGE in mcaptcha - Rust

    Constant mcaptcha::PKG_HOMEPAGE

    source ·
    pub const PKG_HOMEPAGE: &str = env!("CARGO_PKG_HOMEPAGE");
    \ No newline at end of file +PKG_HOMEPAGE in mcaptcha - Rust

    Constant mcaptcha::PKG_HOMEPAGE

    source ·
    pub const PKG_HOMEPAGE: &str = env!("CARGO_PKG_HOMEPAGE");
    \ No newline at end of file diff --git a/mcaptcha/constant.PKG_NAME.html b/mcaptcha/constant.PKG_NAME.html index 5fe347c4..1a5860cf 100644 --- a/mcaptcha/constant.PKG_NAME.html +++ b/mcaptcha/constant.PKG_NAME.html @@ -1 +1 @@ -PKG_NAME in mcaptcha - Rust

    Constant mcaptcha::PKG_NAME

    source ·
    pub const PKG_NAME: &str = env!("CARGO_PKG_NAME");
    \ No newline at end of file +PKG_NAME in mcaptcha - Rust

    Constant mcaptcha::PKG_NAME

    source ·
    pub const PKG_NAME: &str = env!("CARGO_PKG_NAME");
    \ No newline at end of file diff --git a/mcaptcha/constant.V1_API_ROUTES.html b/mcaptcha/constant.V1_API_ROUTES.html index 27eecd4e..1b9d2c70 100644 --- a/mcaptcha/constant.V1_API_ROUTES.html +++ b/mcaptcha/constant.V1_API_ROUTES.html @@ -1 +1 @@ -V1_API_ROUTES in mcaptcha - Rust

    Constant mcaptcha::V1_API_ROUTES

    source ·
    pub const V1_API_ROUTES: Routes;
    \ No newline at end of file +V1_API_ROUTES in mcaptcha - Rust

    Constant mcaptcha::V1_API_ROUTES

    source ·
    pub const V1_API_ROUTES: Routes;
    \ No newline at end of file diff --git a/mcaptcha/constant.VERSION.html b/mcaptcha/constant.VERSION.html index 89d2bf15..b6f904af 100644 --- a/mcaptcha/constant.VERSION.html +++ b/mcaptcha/constant.VERSION.html @@ -1 +1 @@ -VERSION in mcaptcha - Rust

    Constant mcaptcha::VERSION

    source ·
    pub const VERSION: &str = env!("CARGO_PKG_VERSION");
    \ No newline at end of file +VERSION in mcaptcha - Rust

    Constant mcaptcha::VERSION

    source ·
    pub const VERSION: &str = env!("CARGO_PKG_VERSION");
    \ No newline at end of file diff --git a/mcaptcha/constant.WIDGET_ROUTES.html b/mcaptcha/constant.WIDGET_ROUTES.html index c5d40ea7..34b7ea66 100644 --- a/mcaptcha/constant.WIDGET_ROUTES.html +++ b/mcaptcha/constant.WIDGET_ROUTES.html @@ -1 +1 @@ -WIDGET_ROUTES in mcaptcha - Rust

    Constant mcaptcha::WIDGET_ROUTES

    source ·
    pub const WIDGET_ROUTES: Widget;
    \ No newline at end of file +WIDGET_ROUTES in mcaptcha - Rust

    Constant mcaptcha::WIDGET_ROUTES

    source ·
    pub const WIDGET_ROUTES: Widget;
    \ No newline at end of file diff --git a/mcaptcha/data/enum.SystemGroup.html b/mcaptcha/data/enum.SystemGroup.html index bbcea4e7..3fcc70dd 100644 --- a/mcaptcha/data/enum.SystemGroup.html +++ b/mcaptcha/data/enum.SystemGroup.html @@ -1,34 +1,34 @@ -SystemGroup in mcaptcha::data - Rust
    pub enum SystemGroup {
    +SystemGroup in mcaptcha::data - Rust
    pub enum SystemGroup {
         Embedded(System<HashCache, Master>),
         Redis(System<RedisCache, Master>),
     }
    Expand description

    Represents mCaptcha cache and master system. When Redis is configured, SystemGroup::Redis is used and in its absence, SystemGroup::Embedded is used

    -

    Variants§

    §

    Embedded(System<HashCache, Master>)

    §

    Redis(System<RedisCache, Master>)

    Implementations§

    source§

    impl SystemGroup

    source

    pub async fn get_pow(&self, msg: String) -> CaptchaResult<Option<PoWConfig>>

    source

    pub async fn verify_pow( +

    Variants§

    §

    Embedded(System<HashCache, Master>)

    §

    Redis(System<RedisCache, Master>)

    Implementations§

    source§

    impl SystemGroup

    source

    pub async fn get_pow(&self, msg: String) -> CaptchaResult<Option<PoWConfig>>

    source

    pub async fn verify_pow( &self, msg: Work, - ip: String -) -> CaptchaResult<(String, u32)>

    source

    pub async fn validate_verification_tokens( + ip: String +) -> CaptchaResult<(String, u32)>

    source

    pub async fn validate_verification_tokens( &self, msg: VerifyCaptchaResult -) -> CaptchaResult<bool>

    source

    pub async fn add_site(&self, msg: AddSite) -> Result<(), ServiceError>

    source

    pub async fn rename(&self, msg: Rename) -> Result<(), ServiceError>

    source

    pub async fn remove(&self, msg: RemoveCaptcha) -> Result<(), ServiceError>

    source

    fn new_system<A: Save, B: MasterTrait>( +) -> CaptchaResult<bool>

    source

    pub async fn add_site(&self, msg: AddSite) -> Result<(), ServiceError>

    source

    pub async fn rename(&self, msg: Rename) -> Result<(), ServiceError>

    source

    pub async fn remove(&self, msg: RemoveCaptcha) -> Result<(), ServiceError>

    source

    fn new_system<A: Save, B: MasterTrait>( s: &Settings, m: Addr<B>, c: Addr<A> -) -> System<A, B>

    source

    async fn new(s: &Settings) -> 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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +) -> System<A, B>
    source

    async fn new(s: &Settings) -> 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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/data/index.html b/mcaptcha/data/index.html index d79a021b..8077138f 100644 --- a/mcaptcha/data/index.html +++ b/mcaptcha/data/index.html @@ -1,4 +1,4 @@ -mcaptcha::data - Rust

    Module mcaptcha::data

    source ·
    Expand description

    App data: redis cache, database connections, etc.

    +mcaptcha::data - Rust

    Module mcaptcha::data

    source ·
    Expand description

    App data: redis cache, database connections, etc.

    Macros

    Structs

    Enums

    Type Definitions

    • Mailer data type AsyncSmtpTransport
    \ No newline at end of file +in its absence, SystemGroup::Embedded is used

    Type Aliases

    • Mailer data type AsyncSmtpTransport
    \ No newline at end of file diff --git a/mcaptcha/data/macro.enum_system_actor.html b/mcaptcha/data/macro.enum_system_actor.html index edaf384f..0198423b 100644 --- a/mcaptcha/data/macro.enum_system_actor.html +++ b/mcaptcha/data/macro.enum_system_actor.html @@ -1,3 +1,3 @@ -enum_system_actor in mcaptcha::data - Rust
    macro_rules! enum_system_actor {
    +enum_system_actor in mcaptcha::data - Rust
    macro_rules! enum_system_actor {
         ($name:ident, $type:ident) => { ... };
     }
    \ No newline at end of file diff --git a/mcaptcha/data/macro.enum_system_wrapper.html b/mcaptcha/data/macro.enum_system_wrapper.html index 13ba89c4..80c5ecde 100644 --- a/mcaptcha/data/macro.enum_system_wrapper.html +++ b/mcaptcha/data/macro.enum_system_wrapper.html @@ -1,3 +1,3 @@ -enum_system_wrapper in mcaptcha::data - Rust
    macro_rules! enum_system_wrapper {
    +enum_system_wrapper in mcaptcha::data - Rust
    macro_rules! enum_system_wrapper {
         ($name:ident, $type:ty, $return_type:ty) => { ... };
     }
    \ No newline at end of file diff --git a/mcaptcha/data/struct.Data.html b/mcaptcha/data/struct.Data.html index 89732ec5..a26706eb 100644 --- a/mcaptcha/data/struct.Data.html +++ b/mcaptcha/data/struct.Data.html @@ -1,34 +1,34 @@ -Data in mcaptcha::data - Rust

    Struct mcaptcha::data::Data

    source ·
    pub struct Data {
    -    pub db: Box<dyn MCDatabase>,
    +Data in mcaptcha::data - Rust

    Struct mcaptcha::data::Data

    source ·
    pub struct Data {
    +    pub db: Box<dyn MCDatabase>,
         pub creds: Config,
         pub captcha: SystemGroup,
    -    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
    +    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
         pub settings: Settings,
    -    pub stats: Box<dyn Stats>,
    +    pub stats: Box<dyn Stats>,
         pub survey_secrets: SecretsStore,
     }
    Expand description

    App data

    -

    Fields§

    §db: Box<dyn MCDatabase>

    database ops defined by db crates

    +

    Fields§

    §db: Box<dyn MCDatabase>

    database ops defined by db crates

    §creds: Config

    credential management configuration

    §captcha: SystemGroup

    mCaptcha system: Redis cache, etc.

    -
    §mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

    email client

    +
    §mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

    email client

    §settings: Settings

    app settings

    -
    §stats: Box<dyn Stats>

    stats recorder

    +
    §stats: Box<dyn Stats>

    stats recorder

    §survey_secrets: SecretsStore

    survey secret store

    -

    Implementations§

    source§

    impl Data

    source

    pub fn get_creds() -> Config

    source

    pub async fn new(s: &Settings, survey_secrets: SecretsStore) -> Arc<Self>

    create new instance of app data

    -
    source

    fn get_mailer(s: &Settings) -> Option<AsyncSmtpTransport<Tokio1Executor>>

    source

    async fn upload_survey_job(&self) -> Result<(), ServiceError>

    source

    async fn register_survey(&self) -> Result<(), ServiceError>

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Data

    §

    impl Send for Data

    §

    impl Sync for Data

    §

    impl Unpin for Data

    §

    impl !UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Implementations§

    source§

    impl Data

    source

    pub fn get_creds() -> Config

    source

    pub async fn new(s: &Settings, survey_secrets: SecretsStore) -> Arc<Self>

    create new instance of app data

    +
    source

    fn get_mailer(s: &Settings) -> Option<AsyncSmtpTransport<Tokio1Executor>>

    source

    async fn upload_survey_job(&self) -> Result<(), ServiceError>

    source

    async fn register_survey(&self) -> Result<(), ServiceError>

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Data

    §

    impl Send for Data

    §

    impl Sync for Data

    §

    impl Unpin for Data

    §

    impl !UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/data/type.Mailer.html b/mcaptcha/data/type.Mailer.html index 8d2d68b7..c7b58579 100644 --- a/mcaptcha/data/type.Mailer.html +++ b/mcaptcha/data/type.Mailer.html @@ -1,2 +1,4 @@ -Mailer in mcaptcha::data - Rust

    Type Definition mcaptcha::data::Mailer

    source ·
    pub type Mailer = AsyncSmtpTransport<Tokio1Executor>;
    Expand description

    Mailer data type AsyncSmtpTransport

    -
    \ No newline at end of file +Mailer in mcaptcha::data - Rust

    Type Alias mcaptcha::data::Mailer

    source ·
    pub type Mailer = AsyncSmtpTransport<Tokio1Executor>;
    Expand description

    Mailer data type AsyncSmtpTransport

    +

    Aliased Type§

    struct Mailer {
    +    inner: Arc<Pool<Tokio1Executor>, Global>,
    +}

    Fields§

    §inner: Arc<Pool<Tokio1Executor>, Global>
    \ No newline at end of file diff --git a/mcaptcha/date/constant.DAY.html b/mcaptcha/date/constant.DAY.html index 2afd76a9..008e0a5b 100644 --- a/mcaptcha/date/constant.DAY.html +++ b/mcaptcha/date/constant.DAY.html @@ -1 +1 @@ -DAY in mcaptcha::date - Rust

    Constant mcaptcha::date::DAY

    source ·
    pub const DAY: i64 = _; // 86_400i64
    \ No newline at end of file +DAY in mcaptcha::date - Rust

    Constant mcaptcha::date::DAY

    source ·
    pub const DAY: i64 = _; // 86_400i64
    \ No newline at end of file diff --git a/mcaptcha/date/constant.HOUR.html b/mcaptcha/date/constant.HOUR.html index 8df6e7d3..3f4935c0 100644 --- a/mcaptcha/date/constant.HOUR.html +++ b/mcaptcha/date/constant.HOUR.html @@ -1 +1 @@ -HOUR in mcaptcha::date - Rust

    Constant mcaptcha::date::HOUR

    source ·
    pub const HOUR: i64 = _; // 3_600i64
    \ No newline at end of file +HOUR in mcaptcha::date - Rust

    Constant mcaptcha::date::HOUR

    source ·
    pub const HOUR: i64 = _; // 3_600i64
    \ No newline at end of file diff --git a/mcaptcha/date/constant.MINUTE.html b/mcaptcha/date/constant.MINUTE.html index e495a5ff..a0991f7d 100644 --- a/mcaptcha/date/constant.MINUTE.html +++ b/mcaptcha/date/constant.MINUTE.html @@ -1 +1 @@ -MINUTE in mcaptcha::date - Rust

    Constant mcaptcha::date::MINUTE

    source ·
    pub const MINUTE: i64 = 60;
    \ No newline at end of file +MINUTE in mcaptcha::date - Rust

    Constant mcaptcha::date::MINUTE

    source ·
    pub const MINUTE: i64 = 60;
    \ No newline at end of file diff --git a/mcaptcha/date/constant.WEEK.html b/mcaptcha/date/constant.WEEK.html index e754a82e..8a983d91 100644 --- a/mcaptcha/date/constant.WEEK.html +++ b/mcaptcha/date/constant.WEEK.html @@ -1 +1 @@ -WEEK in mcaptcha::date - Rust

    Constant mcaptcha::date::WEEK

    source ·
    pub const WEEK: i64 = _; // 604_800i64
    \ No newline at end of file +WEEK in mcaptcha::date - Rust

    Constant mcaptcha::date::WEEK

    source ·
    pub const WEEK: i64 = _; // 604_800i64
    \ No newline at end of file diff --git a/mcaptcha/date/index.html b/mcaptcha/date/index.html index 4a0c957b..c5fa8dc4 100644 --- a/mcaptcha/date/index.html +++ b/mcaptcha/date/index.html @@ -1 +1 @@ -mcaptcha::date - Rust
    \ No newline at end of file +mcaptcha::date - Rust
    \ No newline at end of file diff --git a/mcaptcha/date/struct.Date.html b/mcaptcha/date/struct.Date.html index 2d0360b1..ad27f05d 100644 --- a/mcaptcha/date/struct.Date.html +++ b/mcaptcha/date/struct.Date.html @@ -1,22 +1,22 @@ -Date in mcaptcha::date - Rust

    Struct mcaptcha::date::Date

    source ·
    pub struct Date {
    +Date in mcaptcha::date - Rust

    Struct mcaptcha::date::Date

    source ·
    pub struct Date {
         pub time: OffsetDateTime,
    -}

    Fields§

    §time: OffsetDateTime

    Implementations§

    source§

    impl Date

    source

    pub fn format(date: &OffsetDateTime) -> String

    source

    pub fn print_date(&self) -> String

    print relative time from date

    -
    source

    pub fn date(&self) -> String

    print date

    -
    source

    pub fn new(unix: i64) -> Self

    Trait Implementations§

    source§

    impl Clone for Date

    source§

    fn clone(&self) -> Date

    Returns a copy of 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 Date

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Date

    §

    impl Send for Date

    §

    impl Sync for Date

    §

    impl Unpin for Date

    §

    impl UnwindSafe for Date

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §time: OffsetDateTime

    Implementations§

    source§

    impl Date

    source

    pub fn format(date: &OffsetDateTime) -> String

    source

    pub fn print_date(&self) -> String

    print relative time from date

    +
    source

    pub fn date(&self) -> String

    print date

    +
    source

    pub fn new(unix: i64) -> Self

    Trait Implementations§

    source§

    impl Clone for Date

    source§

    fn clone(&self) -> Date

    Returns a copy of 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 Date

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Date

    §

    impl Send for Date

    §

    impl Sync for Date

    §

    impl Unpin for Date

    §

    impl UnwindSafe for Date

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/db/index.html b/mcaptcha/db/index.html index 012bf509..e7925fb7 100644 --- a/mcaptcha/db/index.html +++ b/mcaptcha/db/index.html @@ -1 +1 @@ -mcaptcha::db - Rust
    \ No newline at end of file +mcaptcha::db - Rust
    \ No newline at end of file diff --git a/mcaptcha/db/maria/fn.get_data.html b/mcaptcha/db/maria/fn.get_data.html index 2b78e316..3f94ea64 100644 --- a/mcaptcha/db/maria/fn.get_data.html +++ b/mcaptcha/db/maria/fn.get_data.html @@ -1 +1 @@ -get_data in mcaptcha::db::maria - Rust

    Function mcaptcha::db::maria::get_data

    source ·
    pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
    \ No newline at end of file +get_data in mcaptcha::db::maria - Rust

    Function mcaptcha::db::maria::get_data

    source ·
    pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
    \ No newline at end of file diff --git a/mcaptcha/db/maria/index.html b/mcaptcha/db/maria/index.html index 18aebc10..6a73acdd 100644 --- a/mcaptcha/db/maria/index.html +++ b/mcaptcha/db/maria/index.html @@ -1 +1 @@ -mcaptcha::db::maria - Rust
    \ No newline at end of file +mcaptcha::db::maria - Rust
    \ No newline at end of file diff --git a/mcaptcha/db/pg/fn.get_data.html b/mcaptcha/db/pg/fn.get_data.html index 7b085a4d..484d6199 100644 --- a/mcaptcha/db/pg/fn.get_data.html +++ b/mcaptcha/db/pg/fn.get_data.html @@ -1 +1 @@ -get_data in mcaptcha::db::pg - Rust

    Function mcaptcha::db::pg::get_data

    source ·
    pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
    \ No newline at end of file +get_data in mcaptcha::db::pg - Rust

    Function mcaptcha::db::pg::get_data

    source ·
    pub async fn get_data(settings: Option<Settings>) -> Box<dyn MCDatabase>
    \ No newline at end of file diff --git a/mcaptcha/db/pg/index.html b/mcaptcha/db/pg/index.html index 05179603..db968043 100644 --- a/mcaptcha/db/pg/index.html +++ b/mcaptcha/db/pg/index.html @@ -1 +1 @@ -mcaptcha::db::pg - Rust
    \ No newline at end of file +mcaptcha::db::pg - Rust
    \ No newline at end of file diff --git a/mcaptcha/db/type.BoxDB.html b/mcaptcha/db/type.BoxDB.html index eacddea8..32dc77c5 100644 --- a/mcaptcha/db/type.BoxDB.html +++ b/mcaptcha/db/type.BoxDB.html @@ -1 +1,3 @@ -BoxDB in mcaptcha::db - Rust

    Type Definition mcaptcha::db::BoxDB

    source ·
    pub type BoxDB = Box<dyn MCDatabase>;
    \ No newline at end of file +BoxDB in mcaptcha::db - Rust

    Type Alias mcaptcha::db::BoxDB

    source ·
    pub type BoxDB = Box<dyn MCDatabase>;

    Aliased Type§

    struct BoxDB(Unique<dyn MCDatabase>, Global);

    Fields§

    §0: Unique<dyn MCDatabase>§1: Global

    Trait Implementations§

    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/mcaptcha/demo/constant.DEMO_PASSWORD.html b/mcaptcha/demo/constant.DEMO_PASSWORD.html index 54fea3cf..dc0841a0 100644 --- a/mcaptcha/demo/constant.DEMO_PASSWORD.html +++ b/mcaptcha/demo/constant.DEMO_PASSWORD.html @@ -1,2 +1,2 @@ -DEMO_PASSWORD in mcaptcha::demo - Rust

    Constant mcaptcha::demo::DEMO_PASSWORD

    source ·
    pub const DEMO_PASSWORD: &str = "password";
    Expand description

    Demo password

    +DEMO_PASSWORD in mcaptcha::demo - Rust

    Constant mcaptcha::demo::DEMO_PASSWORD

    source ·
    pub const DEMO_PASSWORD: &str = "password";
    Expand description

    Demo password

    \ No newline at end of file diff --git a/mcaptcha/demo/constant.DEMO_USER.html b/mcaptcha/demo/constant.DEMO_USER.html index 388ab94e..677d81fb 100644 --- a/mcaptcha/demo/constant.DEMO_USER.html +++ b/mcaptcha/demo/constant.DEMO_USER.html @@ -1,2 +1,2 @@ -DEMO_USER in mcaptcha::demo - Rust

    Constant mcaptcha::demo::DEMO_USER

    source ·
    pub const DEMO_USER: &str = "aaronsw";
    Expand description

    Demo username

    +DEMO_USER in mcaptcha::demo - Rust

    Constant mcaptcha::demo::DEMO_USER

    source ·
    pub const DEMO_USER: &str = "aaronsw";
    Expand description

    Demo username

    \ No newline at end of file diff --git a/mcaptcha/demo/index.html b/mcaptcha/demo/index.html index 7ade0e8d..821c874d 100644 --- a/mcaptcha/demo/index.html +++ b/mcaptcha/demo/index.html @@ -1 +1 @@ -mcaptcha::demo - Rust

    Module mcaptcha::demo

    source ·

    Structs

    Constants

    \ No newline at end of file +mcaptcha::demo - Rust

    Module mcaptcha::demo

    source ·

    Structs

    Constants

    \ No newline at end of file diff --git a/mcaptcha/demo/struct.DemoUser.html b/mcaptcha/demo/struct.DemoUser.html index 3a88e471..f06a756b 100644 --- a/mcaptcha/demo/struct.DemoUser.html +++ b/mcaptcha/demo/struct.DemoUser.html @@ -1,26 +1,26 @@ -DemoUser in mcaptcha::demo - Rust

    Struct mcaptcha::demo::DemoUser

    source ·
    pub struct DemoUser {
    -    handle: JoinHandle<()>,
    -}

    Fields§

    §handle: JoinHandle<()>

    Implementations§

    source§

    impl DemoUser

    source

    pub async fn spawn( +DemoUser in mcaptcha::demo - Rust

    Struct mcaptcha::demo::DemoUser

    source ·
    pub struct DemoUser {
    +    handle: JoinHandle<()>,
    +}

    Fields§

    §handle: JoinHandle<()>

    Implementations§

    source§

    impl DemoUser

    source

    pub async fn spawn( data: AppData, - duration: Duration -) -> Result<Self, ServiceError>

    source

    pub fn abort(&self)

    source

    async fn register_demo_user(data: &AppData) -> Result<(), ServiceError>

    register demo user runner

    -
    source

    async fn delete_demo_user(data: &AppData) -> Result<(), ServiceError>

    source

    pub async fn run( + duration: Duration +) -> Result<Self, ServiceError>

    source

    pub fn abort(&self)

    source

    async fn register_demo_user(data: &AppData) -> Result<(), ServiceError>

    register demo user runner

    +
    source

    async fn delete_demo_user(data: &AppData) -> Result<(), ServiceError>

    source

    pub async fn run( data: AppData, - duration: Duration -) -> Result<JoinHandle<()>, ServiceError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + duration: Duration +) -> Result<JoinHandle<()>, ServiceError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/docs/constant.DOCS.html b/mcaptcha/docs/constant.DOCS.html index dcc7e689..084d24da 100644 --- a/mcaptcha/docs/constant.DOCS.html +++ b/mcaptcha/docs/constant.DOCS.html @@ -1 +1 @@ -DOCS in mcaptcha::docs - Rust

    Constant mcaptcha::docs::DOCS

    source ·
    pub const DOCS: Docs;
    \ No newline at end of file +DOCS in mcaptcha::docs - Rust

    Constant mcaptcha::docs::DOCS

    source ·
    pub const DOCS: Docs;
    \ No newline at end of file diff --git a/mcaptcha/docs/constant.OPEN_API_SPEC.html b/mcaptcha/docs/constant.OPEN_API_SPEC.html index 0d6bfcde..e64d7e09 100644 --- a/mcaptcha/docs/constant.OPEN_API_SPEC.html +++ b/mcaptcha/docs/constant.OPEN_API_SPEC.html @@ -1 +1 @@ -OPEN_API_SPEC in mcaptcha::docs - Rust

    Constant mcaptcha::docs::OPEN_API_SPEC

    source ·
    const OPEN_API_SPEC: &str = _;
    \ No newline at end of file +OPEN_API_SPEC in mcaptcha::docs - Rust

    Constant mcaptcha::docs::OPEN_API_SPEC

    source ·
    const OPEN_API_SPEC: &str = _;
    \ No newline at end of file diff --git a/mcaptcha/docs/fn.handle_embedded_file.html b/mcaptcha/docs/fn.handle_embedded_file.html index 147b9be3..11dc606a 100644 --- a/mcaptcha/docs/fn.handle_embedded_file.html +++ b/mcaptcha/docs/fn.handle_embedded_file.html @@ -1 +1 @@ -handle_embedded_file in mcaptcha::docs - Rust
    pub fn handle_embedded_file(path: &str) -> HttpResponse
    \ No newline at end of file +handle_embedded_file in mcaptcha::docs - Rust
    pub fn handle_embedded_file(path: &str) -> HttpResponse
    \ No newline at end of file diff --git a/mcaptcha/docs/fn.services.html b/mcaptcha/docs/fn.services.html index 8329d64d..ff8dca40 100644 --- a/mcaptcha/docs/fn.services.html +++ b/mcaptcha/docs/fn.services.html @@ -1 +1 @@ -services in mcaptcha::docs - Rust

    Function mcaptcha::docs::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::docs - Rust

    Function mcaptcha::docs::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/docs/index.html b/mcaptcha/docs/index.html index 7548a9e3..0eb6917f 100644 --- a/mcaptcha/docs/index.html +++ b/mcaptcha/docs/index.html @@ -1 +1 @@ -mcaptcha::docs - Rust
    \ No newline at end of file +mcaptcha::docs - Rust
    \ No newline at end of file diff --git a/mcaptcha/docs/routes/index.html b/mcaptcha/docs/routes/index.html index e57c8d0a..80d310f7 100644 --- a/mcaptcha/docs/routes/index.html +++ b/mcaptcha/docs/routes/index.html @@ -1 +1 @@ -mcaptcha::docs::routes - Rust
    \ No newline at end of file +mcaptcha::docs::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/docs/routes/struct.Docs.html b/mcaptcha/docs/routes/struct.Docs.html index e3293b65..2bc4143e 100644 --- a/mcaptcha/docs/routes/struct.Docs.html +++ b/mcaptcha/docs/routes/struct.Docs.html @@ -1,21 +1,21 @@ -Docs in mcaptcha::docs::routes - Rust

    Struct mcaptcha::docs::routes::Docs

    source ·
    pub struct Docs {
    -    pub home: &'static str,
    -    pub spec: &'static str,
    -    pub assets: &'static str,
    -}

    Fields§

    §home: &'static str§spec: &'static str§assets: &'static str

    Implementations§

    source§

    impl Docs

    source

    pub const fn new() -> Self

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Docs

    §

    impl Send for Docs

    §

    impl Sync for Docs

    §

    impl Unpin for Docs

    §

    impl UnwindSafe for Docs

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Docs in mcaptcha::docs::routes - Rust

    Struct mcaptcha::docs::routes::Docs

    source ·
    pub struct Docs {
    +    pub home: &'static str,
    +    pub spec: &'static str,
    +    pub assets: &'static str,
    +}

    Fields§

    §home: &'static str§spec: &'static str§assets: &'static str

    Implementations§

    source§

    impl Docs

    source

    pub const fn new() -> Self

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Docs

    §

    impl Send for Docs

    §

    impl Sync for Docs

    §

    impl Unpin for Docs

    §

    impl UnwindSafe for Docs

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/docs/struct.Asset.html b/mcaptcha/docs/struct.Asset.html index 337a81fe..02f4f82d 100644 --- a/mcaptcha/docs/struct.Asset.html +++ b/mcaptcha/docs/struct.Asset.html @@ -1,19 +1,19 @@ -Asset in mcaptcha::docs - Rust

    Struct mcaptcha::docs::Asset

    source ·
    struct Asset;

    Implementations§

    source§

    impl Asset

    source

    pub fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata.

    -
    source

    pub fn iter() -> impl Iterator<Item = Cow<'static, str>>

    Iterates over the file paths in the folder.

    -

    Trait Implementations§

    source§

    impl RustEmbed for Asset

    source§

    fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata. Read more
    source§

    fn iter() -> Filenames

    Iterates over the file paths in the folder. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Asset

    §

    impl Send for Asset

    §

    impl Sync for Asset

    §

    impl Unpin for Asset

    §

    impl UnwindSafe for Asset

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Asset in mcaptcha::docs - Rust

    Struct mcaptcha::docs::Asset

    source ·
    struct Asset;

    Implementations§

    source§

    impl Asset

    source

    pub fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata.

    +
    source

    pub fn iter() -> impl Iterator<Item = Cow<'static, str>>

    Iterates over the file paths in the folder.

    +

    Trait Implementations§

    source§

    impl RustEmbed for Asset

    source§

    fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata. Read more
    source§

    fn iter() -> Filenames

    Iterates over the file paths in the folder. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Asset

    §

    impl Send for Asset

    §

    impl Sync for Asset

    §

    impl Unpin for Asset

    §

    impl UnwindSafe for Asset

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/docs/struct.dist.html b/mcaptcha/docs/struct.dist.html index 51164d72..9ff8c4ae 100644 --- a/mcaptcha/docs/struct.dist.html +++ b/mcaptcha/docs/struct.dist.html @@ -1,17 +1,17 @@ -dist in mcaptcha::docs - Rust

    Struct mcaptcha::docs::dist

    source ·
    pub struct dist;

    Trait Implementations§

    source§

    impl HttpServiceFactory for dist

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for dist

    §

    impl Send for dist

    §

    impl Sync for dist

    §

    impl Unpin for dist

    §

    impl UnwindSafe for dist

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +dist in mcaptcha::docs - Rust

    Struct mcaptcha::docs::dist

    source ·
    pub struct dist;

    Trait Implementations§

    source§

    impl HttpServiceFactory for dist

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for dist

    §

    impl Send for dist

    §

    impl Sync for dist

    §

    impl Unpin for dist

    §

    impl UnwindSafe for dist

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/docs/struct.index.html b/mcaptcha/docs/struct.index.html index e2171f43..3dcd7580 100644 --- a/mcaptcha/docs/struct.index.html +++ b/mcaptcha/docs/struct.index.html @@ -1,17 +1,17 @@ -index in mcaptcha::docs - Rust

    Struct mcaptcha::docs::index

    source ·
    pub struct index;

    Trait Implementations§

    source§

    impl HttpServiceFactory for index

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for index

    §

    impl Send for index

    §

    impl Sync for index

    §

    impl Unpin for index

    §

    impl UnwindSafe for index

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +index in mcaptcha::docs - Rust

    Struct mcaptcha::docs::index

    source ·
    pub struct index;

    Trait Implementations§

    source§

    impl HttpServiceFactory for index

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for index

    §

    impl Send for index

    §

    impl Sync for index

    §

    impl Unpin for index

    §

    impl UnwindSafe for index

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/docs/struct.spec.html b/mcaptcha/docs/struct.spec.html index b2a0a346..c73dee7b 100644 --- a/mcaptcha/docs/struct.spec.html +++ b/mcaptcha/docs/struct.spec.html @@ -1,17 +1,17 @@ -spec in mcaptcha::docs - Rust

    Struct mcaptcha::docs::spec

    source ·
    pub struct spec;

    Trait Implementations§

    source§

    impl HttpServiceFactory for spec

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for spec

    §

    impl Send for spec

    §

    impl Sync for spec

    §

    impl Unpin for spec

    §

    impl UnwindSafe for spec

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +spec in mcaptcha::docs - Rust

    Struct mcaptcha::docs::spec

    source ·
    pub struct spec;

    Trait Implementations§

    source§

    impl HttpServiceFactory for spec

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for spec

    §

    impl Send for spec

    §

    impl Sync for spec

    §

    impl Unpin for spec

    §

    impl UnwindSafe for spec

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/email/index.html b/mcaptcha/email/index.html index cc921b19..dc99cd5e 100644 --- a/mcaptcha/email/index.html +++ b/mcaptcha/email/index.html @@ -1 +1 @@ -mcaptcha::email - Rust

    Module mcaptcha::email

    source ·

    Modules

    • Email operations: verification, notification, etc
    \ No newline at end of file +mcaptcha::email - Rust

    Module mcaptcha::email

    source ·

    Modules

    • Email operations: verification, notification, etc
    \ No newline at end of file diff --git a/mcaptcha/email/verification/constant.PAGE.html b/mcaptcha/email/verification/constant.PAGE.html index dcc760d7..6e3e14e2 100644 --- a/mcaptcha/email/verification/constant.PAGE.html +++ b/mcaptcha/email/verification/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::email::verification - Rust

    Constant mcaptcha::email::verification::PAGE

    source ·
    const PAGE: &str = "Login";
    \ No newline at end of file +PAGE in mcaptcha::email::verification - Rust

    Constant mcaptcha::email::verification::PAGE

    source ·
    const PAGE: &str = "Login";
    \ No newline at end of file diff --git a/mcaptcha/email/verification/fn.verification.html b/mcaptcha/email/verification/fn.verification.html index 6e385cc1..7e9cada5 100644 --- a/mcaptcha/email/verification/fn.verification.html +++ b/mcaptcha/email/verification/fn.verification.html @@ -1,5 +1,5 @@ -verification in mcaptcha::email::verification - Rust
    async fn verification(
    +verification in mcaptcha::email::verification - Rust
    async fn verification(
         data: &Data,
    -    to: &str,
    -    verification_link: &str
    -) -> Result<(), ServiceError>
    \ No newline at end of file + to: &str, + verification_link: &str +) -> Result<(), ServiceError>
    \ No newline at end of file diff --git a/mcaptcha/email/verification/index.html b/mcaptcha/email/verification/index.html index 3ef84fad..675a33ae 100644 --- a/mcaptcha/email/verification/index.html +++ b/mcaptcha/email/verification/index.html @@ -1,2 +1,2 @@ -mcaptcha::email::verification - Rust
    Expand description

    Email operations: verification, notification, etc

    +mcaptcha::email::verification - Rust
    Expand description

    Email operations: verification, notification, etc

    Structs

    Constants

    Functions

    \ No newline at end of file diff --git a/mcaptcha/email/verification/struct.IndexPage.html b/mcaptcha/email/verification/struct.IndexPage.html index 09b47c30..a98fee63 100644 --- a/mcaptcha/email/verification/struct.IndexPage.html +++ b/mcaptcha/email/verification/struct.IndexPage.html @@ -1,20 +1,20 @@ -IndexPage in mcaptcha::email::verification - Rust
    struct IndexPage<'a> {
    -    verification_link: &'a str,
    -}

    Fields§

    §verification_link: &'a str

    Implementations§

    source§

    impl<'a> IndexPage<'a>

    source

    fn new(verification_link: &'a str) -> Self

    Trait Implementations§

    source§

    impl<'a> Clone for IndexPage<'a>

    source§

    fn clone(&self) -> IndexPage<'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> TemplateOnce for IndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for IndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for IndexPage<'a>

    §

    impl<'a> Send for IndexPage<'a>

    §

    impl<'a> Sync for IndexPage<'a>

    §

    impl<'a> Unpin for IndexPage<'a>

    §

    impl<'a> UnwindSafe for IndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::email::verification - Rust
    struct IndexPage<'a> {
    +    verification_link: &'a str,
    +}

    Fields§

    §verification_link: &'a str

    Implementations§

    source§

    impl<'a> IndexPage<'a>

    source

    fn new(verification_link: &'a str) -> Self

    Trait Implementations§

    source§

    impl<'a> Clone for IndexPage<'a>

    source§

    fn clone(&self) -> IndexPage<'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> TemplateOnce for IndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for IndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for IndexPage<'a>

    §

    impl<'a> Send for IndexPage<'a>

    §

    impl<'a> Sync for IndexPage<'a>

    §

    impl<'a> Unpin for IndexPage<'a>

    §

    impl<'a> UnwindSafe for IndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/errors/enum.PageError.html b/mcaptcha/errors/enum.PageError.html index d0de225a..7c07a8f6 100644 --- a/mcaptcha/errors/enum.PageError.html +++ b/mcaptcha/errors/enum.PageError.html @@ -1,23 +1,23 @@ -PageError in mcaptcha::errors - Rust
    pub enum PageError {
    +PageError in mcaptcha::errors - Rust
    pub enum PageError {
         InternalServerError,
         ServiceError(ServiceError),
    -}

    Variants§

    §

    InternalServerError

    §

    ServiceError(ServiceError)

    Trait Implementations§

    source§

    impl Debug for PageError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PageError

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PageError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DBError> for PageError

    source§

    fn from(e: DBError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ServiceError> for PageError

    source§

    fn from(e: ServiceError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<PageError> for PageError

    source§

    fn eq(&self, other: &PageError) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl ResponseError for PageError

    source§

    fn error_response(&self) -> HttpResponse

    Creates full response for error. Read more
    source§

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more
    source§

    impl StructuralPartialEq for PageError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Variants§

    §

    InternalServerError

    §

    ServiceError(ServiceError)

    Trait Implementations§

    source§

    impl Debug for PageError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PageError

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PageError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<DBError> for PageError

    source§

    fn from(e: DBError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ServiceError> for PageError

    source§

    fn from(e: ServiceError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<PageError> for PageError

    source§

    fn eq(&self, other: &PageError) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl ResponseError for PageError

    source§

    fn error_response(&self) -> HttpResponse

    Creates full response for error. Read more
    source§

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more
    source§

    impl StructuralPartialEq for PageError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/errors/enum.ServiceError.html b/mcaptcha/errors/enum.ServiceError.html index fc53e4b8..eeaa846f 100644 --- a/mcaptcha/errors/enum.ServiceError.html +++ b/mcaptcha/errors/enum.ServiceError.html @@ -1,4 +1,4 @@ -ServiceError in mcaptcha::errors - Rust

    Trait Implementations§

    source§

    impl Debug for ServiceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ServiceError

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ServiceError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CaptchaError> for ServiceError

    source§

    fn from(e: CaptchaError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<CredsError> for ServiceError

    source§

    fn from(e: CredsError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<DBError> for ServiceError

    source§

    fn from(e: DBError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<Error> for ServiceError

    source§

    fn from(e: SmtpError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MailboxError> for ServiceError

    source§

    fn from(e: MailboxError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ParseError> for ServiceError

    source§

    fn from(_: ParseError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<RecvError> for ServiceError

    source§

    fn from(e: RecvError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ServiceError> for PageError

    source§

    fn from(e: ServiceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ValidationErrors> for ServiceError

    source§

    fn from(_: ValidationErrors) -> ServiceError

    Converts to this type from the input type.
    source§

    impl PartialEq<ServiceError> for ServiceError

    source§

    fn eq(&self, other: &ServiceError) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl ResponseError for ServiceError

    source§

    fn error_response(&self) -> HttpResponse

    Creates full response for error. Read more
    source§

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more
    source§

    impl StructuralPartialEq for ServiceError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Debug for ServiceError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ServiceError

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ServiceError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<CaptchaError> for ServiceError

    source§

    fn from(e: CaptchaError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<CredsError> for ServiceError

    source§

    fn from(e: CredsError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<DBError> for ServiceError

    source§

    fn from(e: DBError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<Error> for ServiceError

    source§

    fn from(e: SmtpError) -> Self

    Converts to this type from the input type.
    source§

    impl From<MailboxError> for ServiceError

    source§

    fn from(e: MailboxError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ParseError> for ServiceError

    source§

    fn from(_: ParseError) -> ServiceError

    Converts to this type from the input type.
    source§

    impl From<RecvError> for ServiceError

    source§

    fn from(e: RecvError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ServiceError> for PageError

    source§

    fn from(e: ServiceError) -> Self

    Converts to this type from the input type.
    source§

    impl From<ValidationErrors> for ServiceError

    source§

    fn from(_: ValidationErrors) -> ServiceError

    Converts to this type from the input type.
    source§

    impl PartialEq<ServiceError> for ServiceError

    source§

    fn eq(&self, other: &ServiceError) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl ResponseError for ServiceError

    source§

    fn error_response(&self) -> HttpResponse

    Creates full response for error. Read more
    source§

    fn status_code(&self) -> StatusCode

    Returns appropriate status code for error. Read more
    source§

    impl StructuralPartialEq for ServiceError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/errors/index.html b/mcaptcha/errors/index.html index 768b548a..6f3505e0 100644 --- a/mcaptcha/errors/index.html +++ b/mcaptcha/errors/index.html @@ -1 +1 @@ -mcaptcha::errors - Rust
    \ No newline at end of file +mcaptcha::errors - Rust
    \ No newline at end of file diff --git a/mcaptcha/errors/struct.DBErrorWrapper.html b/mcaptcha/errors/struct.DBErrorWrapper.html index 603493dd..0372b526 100644 --- a/mcaptcha/errors/struct.DBErrorWrapper.html +++ b/mcaptcha/errors/struct.DBErrorWrapper.html @@ -1,20 +1,20 @@ -DBErrorWrapper in mcaptcha::errors - Rust
    pub struct DBErrorWrapper(DBError);

    Tuple Fields§

    §0: DBError

    Trait Implementations§

    source§

    impl Debug for DBErrorWrapper

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBErrorWrapper

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBErrorWrapper

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<DBErrorWrapper> for DBErrorWrapper

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +DBErrorWrapper in mcaptcha::errors - Rust
    pub struct DBErrorWrapper(DBError);

    Tuple Fields§

    §0: DBError

    Trait Implementations§

    source§

    impl Debug for DBErrorWrapper

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for DBErrorWrapper

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for DBErrorWrapper

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<DBErrorWrapper> for DBErrorWrapper

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/errors/struct.ErrorToResponse.html b/mcaptcha/errors/struct.ErrorToResponse.html index 765423f3..7f1c4ec8 100644 --- a/mcaptcha/errors/struct.ErrorToResponse.html +++ b/mcaptcha/errors/struct.ErrorToResponse.html @@ -1,22 +1,22 @@ -ErrorToResponse in mcaptcha::errors - Rust
    pub struct ErrorToResponse {
    -    pub error: String,
    -}

    Fields§

    §error: String

    Trait Implementations§

    source§

    impl<'de> Deserialize<'de> for ErrorToResponse

    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 ErrorToResponse

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +ErrorToResponse in mcaptcha::errors - Rust
    pub struct ErrorToResponse {
    +    pub error: String,
    +}

    Fields§

    §error: String

    Trait Implementations§

    source§

    impl<'de> Deserialize<'de> for ErrorToResponse

    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 ErrorToResponse

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/errors/struct.SmtpErrorWrapper.html b/mcaptcha/errors/struct.SmtpErrorWrapper.html index 32f0ee99..f8b323d4 100644 --- a/mcaptcha/errors/struct.SmtpErrorWrapper.html +++ b/mcaptcha/errors/struct.SmtpErrorWrapper.html @@ -1,20 +1,20 @@ -SmtpErrorWrapper in mcaptcha::errors - Rust
    pub struct SmtpErrorWrapper(Error);

    Tuple Fields§

    §0: Error

    Trait Implementations§

    source§

    impl Debug for SmtpErrorWrapper

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for SmtpErrorWrapper

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for SmtpErrorWrapper

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<SmtpErrorWrapper> for SmtpErrorWrapper

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SmtpErrorWrapper in mcaptcha::errors - Rust
    pub struct SmtpErrorWrapper(Error);

    Tuple Fields§

    §0: Error

    Trait Implementations§

    source§

    impl Debug for SmtpErrorWrapper

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for SmtpErrorWrapper

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for SmtpErrorWrapper

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<SmtpErrorWrapper> for SmtpErrorWrapper

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/errors/type.PageResult.html b/mcaptcha/errors/type.PageResult.html index bf52d983..ef88084d 100644 --- a/mcaptcha/errors/type.PageResult.html +++ b/mcaptcha/errors/type.PageResult.html @@ -1 +1,6 @@ -PageResult in mcaptcha::errors - Rust

    Type Definition mcaptcha::errors::PageResult

    source ·
    pub type PageResult<V> = Result<V, PageError>;
    \ No newline at end of file +PageResult in mcaptcha::errors - Rust

    Type Alias mcaptcha::errors::PageResult

    source ·
    pub type PageResult<V> = Result<V, PageError>;

    Aliased Type§

    enum PageResult<V> {
    +    Ok(V),
    +    Err(PageError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(PageError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/mcaptcha/errors/type.ServiceResult.html b/mcaptcha/errors/type.ServiceResult.html index b211fbe6..e084904d 100644 --- a/mcaptcha/errors/type.ServiceResult.html +++ b/mcaptcha/errors/type.ServiceResult.html @@ -1 +1,6 @@ -ServiceResult in mcaptcha::errors - Rust

    Type Definition mcaptcha::errors::ServiceResult

    source ·
    pub type ServiceResult<V> = Result<V, ServiceError>;
    \ No newline at end of file +ServiceResult in mcaptcha::errors - Rust

    Type Alias mcaptcha::errors::ServiceResult

    source ·
    pub type ServiceResult<V> = Result<V, ServiceError>;

    Aliased Type§

    enum ServiceResult<V> {
    +    Ok(V),
    +    Err(ServiceError),
    +}

    Variants§

    §1.0.0

    Ok(V)

    Contains the success value

    +
    §1.0.0

    Err(ServiceError)

    Contains the error value

    +
    \ No newline at end of file diff --git a/mcaptcha/fn.get_identity_service.html b/mcaptcha/fn.get_identity_service.html index 5f3b3912..051ba0ec 100644 --- a/mcaptcha/fn.get_identity_service.html +++ b/mcaptcha/fn.get_identity_service.html @@ -1,3 +1,3 @@ -get_identity_service in mcaptcha - Rust
    pub fn get_identity_service(
    +get_identity_service in mcaptcha - Rust
    pub fn get_identity_service(
         settings: &Settings
     ) -> IdentityService<CookieIdentityPolicy>
    \ No newline at end of file diff --git a/mcaptcha/fn.get_json_err.html b/mcaptcha/fn.get_json_err.html index 2b91a548..fcede5b4 100644 --- a/mcaptcha/fn.get_json_err.html +++ b/mcaptcha/fn.get_json_err.html @@ -1 +1 @@ -get_json_err in mcaptcha - Rust

    Function mcaptcha::get_json_err

    source ·
    pub fn get_json_err() -> JsonConfig
    \ No newline at end of file +get_json_err in mcaptcha - Rust

    Function mcaptcha::get_json_err

    source ·
    pub fn get_json_err() -> JsonConfig
    \ No newline at end of file diff --git a/mcaptcha/fn.main.html b/mcaptcha/fn.main.html index bef6f9db..55a8f687 100644 --- a/mcaptcha/fn.main.html +++ b/mcaptcha/fn.main.html @@ -1 +1 @@ -main in mcaptcha - Rust

    Function mcaptcha::main

    source ·
    pub(crate) fn main() -> Result<()>
    \ No newline at end of file +main in mcaptcha - Rust

    Function mcaptcha::main

    source ·
    pub(crate) fn main() -> Result<()>
    \ No newline at end of file diff --git a/mcaptcha/index.html b/mcaptcha/index.html index 7668a4e3..ad2239f0 100644 --- a/mcaptcha/index.html +++ b/mcaptcha/index.html @@ -1 +1 @@ -mcaptcha - Rust
    \ No newline at end of file +mcaptcha - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/fn.services.html b/mcaptcha/pages/auth/fn.services.html index 1c023d1f..58f5d971 100644 --- a/mcaptcha/pages/auth/fn.services.html +++ b/mcaptcha/pages/auth/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::auth - Rust

    Function mcaptcha::pages::auth::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::auth - Rust

    Function mcaptcha::pages::auth::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/index.html b/mcaptcha/pages/auth/index.html index 55bf02f2..79b68fda 100644 --- a/mcaptcha/pages/auth/index.html +++ b/mcaptcha/pages/auth/index.html @@ -1 +1 @@ -mcaptcha::pages::auth - Rust
    \ No newline at end of file +mcaptcha::pages::auth - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/constant.PAGE.html b/mcaptcha/pages/auth/login/constant.PAGE.html index 48b65cd7..1a14856c 100644 --- a/mcaptcha/pages/auth/login/constant.PAGE.html +++ b/mcaptcha/pages/auth/login/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::auth::login - Rust

    Constant mcaptcha::pages::auth::login::PAGE

    source ·
    const PAGE: &str = "Login";
    \ No newline at end of file +PAGE in mcaptcha::pages::auth::login - Rust

    Constant mcaptcha::pages::auth::login::PAGE

    source ·
    const PAGE: &str = "Login";
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/index.html b/mcaptcha/pages/auth/login/index.html index 225b2c1a..0a7648ed 100644 --- a/mcaptcha/pages/auth/login/index.html +++ b/mcaptcha/pages/auth/login/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::login - Rust
    \ No newline at end of file +mcaptcha::pages::auth::login - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/struct.INDEX.html b/mcaptcha/pages/auth/login/struct.INDEX.html index 17ec9d49..d71673c2 100644 --- a/mcaptcha/pages/auth/login/struct.INDEX.html +++ b/mcaptcha/pages/auth/login/struct.INDEX.html @@ -1,22 +1,22 @@ -INDEX in mcaptcha::pages::auth::login - Rust

    Struct mcaptcha::pages::auth::login::INDEX

    source ·
    struct INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +INDEX in mcaptcha::pages::auth::login - Rust

    Struct mcaptcha::pages::auth::login::INDEX

    source ·
    struct INDEX {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for INDEX

    §

    impl Send for INDEX

    §

    impl Sync for INDEX

    §

    impl Unpin for INDEX

    §

    impl UnwindSafe for INDEX

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for INDEX

    §

    impl Send for INDEX

    §

    impl Sync for INDEX

    §

    impl Unpin for INDEX

    §

    impl UnwindSafe for INDEX

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/struct.IndexPage.html b/mcaptcha/pages/auth/login/struct.IndexPage.html index 61bef6fa..21c45f3d 100644 --- a/mcaptcha/pages/auth/login/struct.IndexPage.html +++ b/mcaptcha/pages/auth/login/struct.IndexPage.html @@ -1,18 +1,18 @@ -IndexPage in mcaptcha::pages::auth::login - Rust
    struct IndexPage;

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for IndexPage

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::auth::login - Rust
    struct IndexPage;

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for IndexPage

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/login/struct.login.html b/mcaptcha/pages/auth/login/struct.login.html index dad51cc7..addb2e25 100644 --- a/mcaptcha/pages/auth/login/struct.login.html +++ b/mcaptcha/pages/auth/login/struct.login.html @@ -1,17 +1,17 @@ -login in mcaptcha::pages::auth::login - Rust

    Struct mcaptcha::pages::auth::login::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +login in mcaptcha::pages::auth::login - Rust

    Struct mcaptcha::pages::auth::login::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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/constant.PAGE.html b/mcaptcha/pages/auth/register/constant.PAGE.html index a4bacaf1..e596bb8e 100644 --- a/mcaptcha/pages/auth/register/constant.PAGE.html +++ b/mcaptcha/pages/auth/register/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::auth::register - Rust

    Constant mcaptcha::pages::auth::register::PAGE

    source ·
    const PAGE: &str = "Join";
    \ No newline at end of file +PAGE in mcaptcha::pages::auth::register - Rust

    Constant mcaptcha::pages::auth::register::PAGE

    source ·
    const PAGE: &str = "Join";
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/index.html b/mcaptcha/pages/auth/register/index.html index 032731b7..13809712 100644 --- a/mcaptcha/pages/auth/register/index.html +++ b/mcaptcha/pages/auth/register/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::register - Rust
    \ No newline at end of file +mcaptcha::pages::auth::register - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/struct.INDEX.html b/mcaptcha/pages/auth/register/struct.INDEX.html index 9cb12c68..e5f250f3 100644 --- a/mcaptcha/pages/auth/register/struct.INDEX.html +++ b/mcaptcha/pages/auth/register/struct.INDEX.html @@ -1,22 +1,22 @@ -INDEX in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::INDEX

    source ·
    struct INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +INDEX in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::INDEX

    source ·
    struct INDEX {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for INDEX

    §

    impl Send for INDEX

    §

    impl Sync for INDEX

    §

    impl Unpin for INDEX

    §

    impl UnwindSafe for INDEX

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for INDEX

    §

    impl Send for INDEX

    §

    impl Sync for INDEX

    §

    impl Unpin for INDEX

    §

    impl UnwindSafe for INDEX

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/struct.IndexPage.html b/mcaptcha/pages/auth/register/struct.IndexPage.html index a62af001..57949748 100644 --- a/mcaptcha/pages/auth/register/struct.IndexPage.html +++ b/mcaptcha/pages/auth/register/struct.IndexPage.html @@ -1,18 +1,18 @@ -IndexPage in mcaptcha::pages::auth::register - Rust
    struct IndexPage;

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for IndexPage

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::auth::register - Rust
    struct IndexPage;

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for IndexPage

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/register/struct.join.html b/mcaptcha/pages/auth/register/struct.join.html index f122e0a5..a1e3ae67 100644 --- a/mcaptcha/pages/auth/register/struct.join.html +++ b/mcaptcha/pages/auth/register/struct.join.html @@ -1,17 +1,17 @@ -join in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::join

    source ·
    pub struct join;

    Trait Implementations§

    source§

    impl HttpServiceFactory for join

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for join

    §

    impl Send for join

    §

    impl Sync for join

    §

    impl Unpin for join

    §

    impl UnwindSafe for join

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +join in mcaptcha::pages::auth::register - Rust

    Struct mcaptcha::pages::auth::register::join

    source ·
    pub struct join;

    Trait Implementations§

    source§

    impl HttpServiceFactory for join

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for join

    §

    impl Send for join

    §

    impl Sync for join

    §

    impl Unpin for join

    §

    impl UnwindSafe for join

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/routes/index.html b/mcaptcha/pages/auth/routes/index.html index 0180b592..f701e15c 100644 --- a/mcaptcha/pages/auth/routes/index.html +++ b/mcaptcha/pages/auth/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::routes - Rust
    \ No newline at end of file +mcaptcha::pages::auth::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/routes/struct.Auth.html b/mcaptcha/pages/auth/routes/struct.Auth.html index 43c3e648..dd8e45a3 100644 --- a/mcaptcha/pages/auth/routes/struct.Auth.html +++ b/mcaptcha/pages/auth/routes/struct.Auth.html @@ -1,20 +1,20 @@ -Auth in mcaptcha::pages::auth::routes - Rust

    Struct mcaptcha::pages::auth::routes::Auth

    source ·
    pub struct Auth {
    -    pub login: &'static str,
    -    pub join: &'static str,
    -}

    Fields§

    §login: &'static str§join: &'static str

    Implementations§

    source§

    impl Auth

    source

    pub const fn new() -> Auth

    source

    pub const fn get_sitemap() -> [&'static str; 2]

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Auth in mcaptcha::pages::auth::routes - Rust

    Struct mcaptcha::pages::auth::routes::Auth

    source ·
    pub struct Auth {
    +    pub login: &'static str,
    +    pub join: &'static str,
    +}

    Fields§

    §login: &'static str§join: &'static str

    Implementations§

    source§

    impl Auth

    source

    pub const fn new() -> Auth

    source

    pub const fn get_sitemap() -> [&'static str; 2]

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/sudo/constant.PAGE.html b/mcaptcha/pages/auth/sudo/constant.PAGE.html index e9bd600a..31c337e8 100644 --- a/mcaptcha/pages/auth/sudo/constant.PAGE.html +++ b/mcaptcha/pages/auth/sudo/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::auth::sudo - Rust

    Constant mcaptcha::pages::auth::sudo::PAGE

    source ·
    pub const PAGE: &str = "Confirm Access";
    \ No newline at end of file +PAGE in mcaptcha::pages::auth::sudo - Rust

    Constant mcaptcha::pages::auth::sudo::PAGE

    source ·
    pub const PAGE: &str = "Confirm Access";
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/sudo/index.html b/mcaptcha/pages/auth/sudo/index.html index ca4b06d2..8e91b0e8 100644 --- a/mcaptcha/pages/auth/sudo/index.html +++ b/mcaptcha/pages/auth/sudo/index.html @@ -1 +1 @@ -mcaptcha::pages::auth::sudo - Rust
    \ No newline at end of file +mcaptcha::pages::auth::sudo - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/auth/sudo/struct.SudoPage.html b/mcaptcha/pages/auth/sudo/struct.SudoPage.html index 5b56f382..65514418 100644 --- a/mcaptcha/pages/auth/sudo/struct.SudoPage.html +++ b/mcaptcha/pages/auth/sudo/struct.SudoPage.html @@ -1,41 +1,41 @@ -SudoPage in mcaptcha::pages::auth::sudo - Rust

    Struct mcaptcha::pages::auth::sudo::SudoPage

    source ·
    pub struct SudoPage<'a, K, V>where
    -    K: Display + Render,
    -    V: Display + Render,{
    -    url: &'a str,
    -    data: Option<Vec<(K, V)>>,
    -}

    Fields§

    §url: &'a str§data: Option<Vec<(K, V)>>

    Implementations§

    source§

    impl<'a, K, V> SudoPage<'a, K, V>where - K: Display + Render, - V: Display + Render,

    source

    pub fn new(url: &'a str, data: Option<Vec<(K, V)>>) -> Self

    Trait Implementations§

    source§

    impl<'a, K, V> Clone for SudoPage<'a, K, V>where - K: Display + Render + Clone, - V: Display + Render + Clone,

    source§

    fn clone(&self) -> SudoPage<'a, K, V>

    Returns a copy of 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, K, V> TemplateOnce for SudoPage<'a, K, V>where - K: Display + Render, - V: Display + Render,

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a, K, V> Sealed for SudoPage<'a, K, V>where - K: Display + Render, - V: Display + Render,

    Auto Trait Implementations§

    §

    impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where - K: RefUnwindSafe, - V: RefUnwindSafe,

    §

    impl<'a, K, V> Send for SudoPage<'a, K, V>where - K: Send, - V: Send,

    §

    impl<'a, K, V> Sync for SudoPage<'a, K, V>where - K: Sync, - V: Sync,

    §

    impl<'a, K, V> Unpin for SudoPage<'a, K, V>where - K: Unpin, - V: Unpin,

    §

    impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where - K: UnwindSafe, - V: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SudoPage in mcaptcha::pages::auth::sudo - Rust

    Struct mcaptcha::pages::auth::sudo::SudoPage

    source ·
    pub struct SudoPage<'a, K, V>where
    +    K: Display + Render,
    +    V: Display + Render,{
    +    url: &'a str,
    +    data: Option<Vec<(K, V)>>,
    +}

    Fields§

    §url: &'a str§data: Option<Vec<(K, V)>>

    Implementations§

    source§

    impl<'a, K, V> SudoPage<'a, K, V>where + K: Display + Render, + V: Display + Render,

    source

    pub fn new(url: &'a str, data: Option<Vec<(K, V)>>) -> Self

    Trait Implementations§

    source§

    impl<'a, K, V> Clone for SudoPage<'a, K, V>where + K: Display + Render + Clone, + V: Display + Render + Clone,

    source§

    fn clone(&self) -> SudoPage<'a, K, V>

    Returns a copy of 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, K, V> TemplateOnce for SudoPage<'a, K, V>where + K: Display + Render, + V: Display + Render,

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a, K, V> Sealed for SudoPage<'a, K, V>where + K: Display + Render, + V: Display + Render,

    Auto Trait Implementations§

    §

    impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where + K: RefUnwindSafe, + V: RefUnwindSafe,

    §

    impl<'a, K, V> Send for SudoPage<'a, K, V>where + K: Send, + V: Send,

    §

    impl<'a, K, V> Sync for SudoPage<'a, K, V>where + K: Sync, + V: Sync,

    §

    impl<'a, K, V> Unpin for SudoPage<'a, K, V>where + K: Unpin, + V: Unpin,

    §

    impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where + K: UnwindSafe, + V: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/constant.NAME.html b/mcaptcha/pages/constant.NAME.html index 38ab7893..ace410ee 100644 --- a/mcaptcha/pages/constant.NAME.html +++ b/mcaptcha/pages/constant.NAME.html @@ -1 +1 @@ -NAME in mcaptcha::pages - Rust

    Constant mcaptcha::pages::NAME

    source ·
    pub const NAME: &str = "mCaptcha";
    \ No newline at end of file +NAME in mcaptcha::pages - Rust

    Constant mcaptcha::pages::NAME

    source ·
    pub const NAME: &str = "mCaptcha";
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/constant.ERROR_ROUTE.html b/mcaptcha/pages/errors/constant.ERROR_ROUTE.html index edc033c3..8596b070 100644 --- a/mcaptcha/pages/errors/constant.ERROR_ROUTE.html +++ b/mcaptcha/pages/errors/constant.ERROR_ROUTE.html @@ -1 +1 @@ -ERROR_ROUTE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::ERROR_ROUTE

    source ·
    const ERROR_ROUTE: &str = "/error/{id}";
    \ No newline at end of file +ERROR_ROUTE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::ERROR_ROUTE

    source ·
    const ERROR_ROUTE: &str = "/error/{id}";
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/constant.PAGE.html b/mcaptcha/pages/errors/constant.PAGE.html index e12929d1..6c479bfd 100644 --- a/mcaptcha/pages/errors/constant.PAGE.html +++ b/mcaptcha/pages/errors/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::PAGE

    source ·
    const PAGE: &str = "Error";
    \ No newline at end of file +PAGE in mcaptcha::pages::errors - Rust

    Constant mcaptcha::pages::errors::PAGE

    source ·
    const PAGE: &str = "Error";
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/fn.services.html b/mcaptcha/pages/errors/fn.services.html index 980581bd..1bc85736 100644 --- a/mcaptcha/pages/errors/fn.services.html +++ b/mcaptcha/pages/errors/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::errors - Rust

    Function mcaptcha::pages::errors::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::errors - Rust

    Function mcaptcha::pages::errors::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/index.html b/mcaptcha/pages/errors/index.html index 3cd11418..818bcf05 100644 --- a/mcaptcha/pages/errors/index.html +++ b/mcaptcha/pages/errors/index.html @@ -1 +1 @@ -mcaptcha::pages::errors - Rust
    \ No newline at end of file +mcaptcha::pages::errors - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/routes/index.html b/mcaptcha/pages/errors/routes/index.html index 66118230..d9294cdf 100644 --- a/mcaptcha/pages/errors/routes/index.html +++ b/mcaptcha/pages/errors/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::errors::routes - Rust
    \ No newline at end of file +mcaptcha::pages::errors::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/routes/struct.Errors.html b/mcaptcha/pages/errors/routes/struct.Errors.html index 028969bf..fb0cc5e2 100644 --- a/mcaptcha/pages/errors/routes/struct.Errors.html +++ b/mcaptcha/pages/errors/routes/struct.Errors.html @@ -1,20 +1,20 @@ -Errors in mcaptcha::pages::errors::routes - Rust
    pub struct Errors {
    -    pub internal_server_error: &'static str,
    -    pub unknown_error: &'static str,
    -}

    Fields§

    §internal_server_error: &'static str§unknown_error: &'static str

    Implementations§

    source§

    impl Errors

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Errors in mcaptcha::pages::errors::routes - Rust
    pub struct Errors {
    +    pub internal_server_error: &'static str,
    +    pub unknown_error: &'static str,
    +}

    Fields§

    §internal_server_error: &'static str§unknown_error: &'static str

    Implementations§

    source§

    impl Errors

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.ErrorPage.html b/mcaptcha/pages/errors/struct.ErrorPage.html index 8ff8e175..e5179815 100644 --- a/mcaptcha/pages/errors/struct.ErrorPage.html +++ b/mcaptcha/pages/errors/struct.ErrorPage.html @@ -1,21 +1,21 @@ -ErrorPage in mcaptcha::pages::errors - Rust
    struct ErrorPage<'a> {
    -    title: &'a str,
    -    message: &'a str,
    -}

    Fields§

    §title: &'a str§message: &'a str

    Implementations§

    source§

    impl<'a> ErrorPage<'a>

    source

    fn new(title: &'a str, message: &'a str) -> Self

    Trait Implementations§

    source§

    impl<'a> Clone for ErrorPage<'a>

    source§

    fn clone(&self) -> ErrorPage<'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> TemplateOnce for ErrorPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for ErrorPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for ErrorPage<'a>

    §

    impl<'a> Send for ErrorPage<'a>

    §

    impl<'a> Sync for ErrorPage<'a>

    §

    impl<'a> Unpin for ErrorPage<'a>

    §

    impl<'a> UnwindSafe for ErrorPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +ErrorPage in mcaptcha::pages::errors - Rust
    struct ErrorPage<'a> {
    +    title: &'a str,
    +    message: &'a str,
    +}

    Fields§

    §title: &'a str§message: &'a str

    Implementations§

    source§

    impl<'a> ErrorPage<'a>

    source

    fn new(title: &'a str, message: &'a str) -> Self

    Trait Implementations§

    source§

    impl<'a> Clone for ErrorPage<'a>

    source§

    fn clone(&self) -> ErrorPage<'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> TemplateOnce for ErrorPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for ErrorPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for ErrorPage<'a>

    §

    impl<'a> Send for ErrorPage<'a>

    §

    impl<'a> Sync for ErrorPage<'a>

    §

    impl<'a> Unpin for ErrorPage<'a>

    §

    impl<'a> UnwindSafe for ErrorPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html b/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html index 7c81425b..b6e03d54 100644 --- a/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html +++ b/mcaptcha/pages/errors/struct.INTERNAL_SERVER_ERROR_BODY.html @@ -1,22 +1,22 @@ -INTERNAL_SERVER_ERROR_BODY in mcaptcha::pages::errors - Rust
    struct INTERNAL_SERVER_ERROR_BODY {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +INTERNAL_SERVER_ERROR_BODY in mcaptcha::pages::errors - Rust
    struct INTERNAL_SERVER_ERROR_BODY {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for INTERNAL_SERVER_ERROR_BODY

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INTERNAL_SERVER_ERROR_BODY

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for INTERNAL_SERVER_ERROR_BODY

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INTERNAL_SERVER_ERROR_BODY

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html b/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html index 0d093df8..79152afe 100644 --- a/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html +++ b/mcaptcha/pages/errors/struct.UNKNOWN_ERROR_BODY.html @@ -1,22 +1,22 @@ -UNKNOWN_ERROR_BODY in mcaptcha::pages::errors - Rust
    struct UNKNOWN_ERROR_BODY {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +UNKNOWN_ERROR_BODY in mcaptcha::pages::errors - Rust
    struct UNKNOWN_ERROR_BODY {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for UNKNOWN_ERROR_BODY

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for UNKNOWN_ERROR_BODY

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for UNKNOWN_ERROR_BODY

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for UNKNOWN_ERROR_BODY

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/errors/struct.error.html b/mcaptcha/pages/errors/struct.error.html index 69abd393..0ba07d3c 100644 --- a/mcaptcha/pages/errors/struct.error.html +++ b/mcaptcha/pages/errors/struct.error.html @@ -1,17 +1,17 @@ -error in mcaptcha::pages::errors - Rust

    Struct mcaptcha::pages::errors::error

    source ·
    pub struct error;

    Trait Implementations§

    source§

    impl HttpServiceFactory for error

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for error

    §

    impl Send for error

    §

    impl Sync for error

    §

    impl Unpin for error

    §

    impl UnwindSafe for error

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +error in mcaptcha::pages::errors - Rust

    Struct mcaptcha::pages::errors::error

    source ·
    pub struct error;

    Trait Implementations§

    source§

    impl HttpServiceFactory for error

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for error

    §

    impl Send for error

    §

    impl Sync for error

    §

    impl Unpin for error

    §

    impl UnwindSafe for error

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/fn.get_middleware.html b/mcaptcha/pages/fn.get_middleware.html index 7ce44210..bc41d361 100644 --- a/mcaptcha/pages/fn.get_middleware.html +++ b/mcaptcha/pages/fn.get_middleware.html @@ -1 +1 @@ -get_middleware in mcaptcha::pages - Rust

    Function mcaptcha::pages::get_middleware

    source ·
    pub fn get_middleware() -> Authentication<Routes>
    \ No newline at end of file +get_middleware in mcaptcha::pages - Rust

    Function mcaptcha::pages::get_middleware

    source ·
    pub fn get_middleware() -> Authentication<Routes>
    \ No newline at end of file diff --git a/mcaptcha/pages/fn.services.html b/mcaptcha/pages/fn.services.html index 4640167d..95330f92 100644 --- a/mcaptcha/pages/fn.services.html +++ b/mcaptcha/pages/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages - Rust

    Function mcaptcha::pages::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages - Rust

    Function mcaptcha::pages::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/index.html b/mcaptcha/pages/index.html index 9263c55b..a03c5cef 100644 --- a/mcaptcha/pages/index.html +++ b/mcaptcha/pages/index.html @@ -1 +1 @@ -mcaptcha::pages - Rust
    \ No newline at end of file +mcaptcha::pages - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/constant.PAGE.html b/mcaptcha/pages/panel/constant.PAGE.html index f53eb8dd..914f2d68 100644 --- a/mcaptcha/pages/panel/constant.PAGE.html +++ b/mcaptcha/pages/panel/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel - Rust

    Constant mcaptcha::pages::panel::PAGE

    source ·
    const PAGE: &str = "Dashboard";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel - Rust

    Constant mcaptcha::pages::panel::PAGE

    source ·
    const PAGE: &str = "Dashboard";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/fn.services.html b/mcaptcha/pages/panel/fn.services.html index d0da9010..9e59a2f7 100644 --- a/mcaptcha/pages/panel/fn.services.html +++ b/mcaptcha/pages/panel/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::panel - Rust

    Function mcaptcha::pages::panel::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::panel - Rust

    Function mcaptcha::pages::panel::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/index.html b/mcaptcha/pages/panel/index.html index 6f250335..8b859c37 100644 --- a/mcaptcha/pages/panel/index.html +++ b/mcaptcha/pages/panel/index.html @@ -1 +1 @@ -mcaptcha::pages::panel - Rust
    \ No newline at end of file +mcaptcha::pages::panel - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/constant.PAGE.html b/mcaptcha/pages/panel/notifications/constant.PAGE.html index e08205bb..75c995ff 100644 --- a/mcaptcha/pages/panel/notifications/constant.PAGE.html +++ b/mcaptcha/pages/panel/notifications/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::notifications - Rust
    const PAGE: &str = "Notifications";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::notifications - Rust
    const PAGE: &str = "Notifications";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/index.html b/mcaptcha/pages/panel/notifications/index.html index 3565c533..60027198 100644 --- a/mcaptcha/pages/panel/notifications/index.html +++ b/mcaptcha/pages/panel/notifications/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::notifications - Rust
    \ No newline at end of file +mcaptcha::pages::panel::notifications - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/struct.IndexPage.html b/mcaptcha/pages/panel/notifications/struct.IndexPage.html index 1b4ae630..e081c37f 100644 --- a/mcaptcha/pages/panel/notifications/struct.IndexPage.html +++ b/mcaptcha/pages/panel/notifications/struct.IndexPage.html @@ -1,20 +1,20 @@ -IndexPage in mcaptcha::pages::panel::notifications - Rust
    pub struct IndexPage {
    -    n: Vec<Notification>,
    -}

    Fields§

    §n: Vec<Notification>

    notifications

    -

    Implementations§

    Trait Implementations§

    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::panel::notifications - Rust
    pub struct IndexPage {
    +    n: Vec<Notification>,
    +}

    Fields§

    §n: Vec<Notification>

    notifications

    +

    Implementations§

    Trait Implementations§

    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/struct.Notification.html b/mcaptcha/pages/panel/notifications/struct.Notification.html index c6c5f08c..4ff1238d 100644 --- a/mcaptcha/pages/panel/notifications/struct.Notification.html +++ b/mcaptcha/pages/panel/notifications/struct.Notification.html @@ -1,23 +1,23 @@ -Notification in mcaptcha::pages::panel::notifications - Rust
    pub struct Notification {
    -    pub name: String,
    -    pub heading: String,
    -    pub message: String,
    +Notification in mcaptcha::pages::panel::notifications - Rust
    pub struct Notification {
    +    pub name: String,
    +    pub heading: String,
    +    pub message: String,
         pub received: OffsetDateTime,
    -    pub id: i32,
    -}

    Fields§

    §name: String§heading: String§message: String§received: OffsetDateTime§id: i32

    Implementations§

    Trait Implementations§

    source§

    impl From<Notification> for Notification

    source§

    fn from(n: Notification) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub id: i32, +}

    Fields§

    §name: String§heading: String§message: String§received: OffsetDateTime§id: i32

    Implementations§

    Trait Implementations§

    source§

    impl From<Notification> for Notification

    source§

    fn from(n: Notification) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/notifications/struct.notifications.html b/mcaptcha/pages/panel/notifications/struct.notifications.html index 98ed146b..109f6c9e 100644 --- a/mcaptcha/pages/panel/notifications/struct.notifications.html +++ b/mcaptcha/pages/panel/notifications/struct.notifications.html @@ -1,17 +1,17 @@ -notifications in mcaptcha::pages::panel::notifications - Rust
    pub struct notifications;

    Trait Implementations§

    source§

    impl HttpServiceFactory for notifications

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +notifications in mcaptcha::pages::panel::notifications - Rust
    pub struct notifications;

    Trait Implementations§

    source§

    impl HttpServiceFactory for notifications

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/routes/index.html b/mcaptcha/pages/panel/routes/index.html index e5bf25c6..22b16fb6 100644 --- a/mcaptcha/pages/panel/routes/index.html +++ b/mcaptcha/pages/panel/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::routes - Rust
    \ No newline at end of file +mcaptcha::pages::panel::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/routes/struct.Panel.html b/mcaptcha/pages/panel/routes/struct.Panel.html index c7a68db4..22096e35 100644 --- a/mcaptcha/pages/panel/routes/struct.Panel.html +++ b/mcaptcha/pages/panel/routes/struct.Panel.html @@ -1,22 +1,22 @@ -Panel in mcaptcha::pages::panel::routes - Rust

    Struct mcaptcha::pages::panel::routes::Panel

    source ·
    pub struct Panel {
    -    pub home: &'static str,
    +Panel in mcaptcha::pages::panel::routes - Rust

    Struct mcaptcha::pages::panel::routes::Panel

    source ·
    pub struct Panel {
    +    pub home: &'static str,
         pub sitekey: Sitekey,
    -    pub notifications: &'static str,
    +    pub notifications: &'static str,
         pub settings: Settings,
    -}

    Fields§

    §home: &'static str§sitekey: Sitekey§notifications: &'static str§settings: Settings

    Implementations§

    source§

    impl Panel

    source

    pub const fn new() -> Self

    source

    pub const fn get_sitemap() -> [&'static str; 5]

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Panel

    §

    impl Send for Panel

    §

    impl Sync for Panel

    §

    impl Unpin for Panel

    §

    impl UnwindSafe for Panel

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §home: &'static str§sitekey: Sitekey§notifications: &'static str§settings: Settings

    Implementations§

    source§

    impl Panel

    source

    pub const fn new() -> Self

    source

    pub const fn get_sitemap() -> [&'static str; 5]

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Panel

    §

    impl Send for Panel

    §

    impl Sync for Panel

    §

    impl Unpin for Panel

    §

    impl UnwindSafe for Panel

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/constant.PAGE.html b/mcaptcha/pages/panel/settings/constant.PAGE.html index f0ae0aeb..d6b61d52 100644 --- a/mcaptcha/pages/panel/settings/constant.PAGE.html +++ b/mcaptcha/pages/panel/settings/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::settings - Rust

    Constant mcaptcha::pages::panel::settings::PAGE

    source ·
    const PAGE: &str = "Settings";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::settings - Rust

    Constant mcaptcha::pages::panel::settings::PAGE

    source ·
    const PAGE: &str = "Settings";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/fn.services.html b/mcaptcha/pages/panel/settings/fn.services.html index 4a2cc62a..97c99bf6 100644 --- a/mcaptcha/pages/panel/settings/fn.services.html +++ b/mcaptcha/pages/panel/settings/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::panel::settings - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::panel::settings - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/index.html b/mcaptcha/pages/panel/settings/index.html index dc6a3902..55e8b4ce 100644 --- a/mcaptcha/pages/panel/settings/index.html +++ b/mcaptcha/pages/panel/settings/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::settings - Rust
    \ No newline at end of file +mcaptcha::pages::panel::settings - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/routes/index.html b/mcaptcha/pages/panel/settings/routes/index.html index 26e95f92..76cc65b0 100644 --- a/mcaptcha/pages/panel/settings/routes/index.html +++ b/mcaptcha/pages/panel/settings/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::settings::routes - Rust
    \ No newline at end of file +mcaptcha::pages::panel::settings::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/routes/struct.Settings.html b/mcaptcha/pages/panel/settings/routes/struct.Settings.html index 02676c0c..aa7072d6 100644 --- a/mcaptcha/pages/panel/settings/routes/struct.Settings.html +++ b/mcaptcha/pages/panel/settings/routes/struct.Settings.html @@ -1,21 +1,21 @@ -Settings in mcaptcha::pages::panel::settings::routes - Rust
    pub struct Settings {
    -    pub home: &'static str,
    -    pub delete_account: &'static str,
    -    pub update_secret: &'static str,
    -}

    Fields§

    §home: &'static str§delete_account: &'static str§update_secret: &'static str

    Implementations§

    source§

    impl Settings

    source

    pub const fn new() -> Self

    source

    pub const fn get_sitemap() -> [&'static str; 1]

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Settings in mcaptcha::pages::panel::settings::routes - Rust
    pub struct Settings {
    +    pub home: &'static str,
    +    pub delete_account: &'static str,
    +    pub update_secret: &'static str,
    +}

    Fields§

    §home: &'static str§delete_account: &'static str§update_secret: &'static str

    Implementations§

    source§

    impl Settings

    source

    pub const fn new() -> Self

    source

    pub const fn get_sitemap() -> [&'static str; 1]

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.IndexPage.html b/mcaptcha/pages/panel/settings/struct.IndexPage.html index 6c10d38d..0d172b36 100644 --- a/mcaptcha/pages/panel/settings/struct.IndexPage.html +++ b/mcaptcha/pages/panel/settings/struct.IndexPage.html @@ -1,22 +1,22 @@ -IndexPage in mcaptcha::pages::panel::settings - Rust
    pub struct IndexPage<'a> {
    -    email: Option<String>,
    -    secret: String,
    -    username: &'a str,
    -}

    Fields§

    §email: Option<String>§secret: String§username: &'a str

    Trait Implementations§

    source§

    impl<'a> Clone for IndexPage<'a>

    source§

    fn clone(&self) -> IndexPage<'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> TemplateOnce for IndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for IndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for IndexPage<'a>

    §

    impl<'a> Send for IndexPage<'a>

    §

    impl<'a> Sync for IndexPage<'a>

    §

    impl<'a> Unpin for IndexPage<'a>

    §

    impl<'a> UnwindSafe for IndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::panel::settings - Rust
    pub struct IndexPage<'a> {
    +    email: Option<String>,
    +    secret: String,
    +    username: &'a str,
    +}

    Fields§

    §email: Option<String>§secret: String§username: &'a str

    Trait Implementations§

    source§

    impl<'a> Clone for IndexPage<'a>

    source§

    fn clone(&self) -> IndexPage<'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> TemplateOnce for IndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for IndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for IndexPage<'a>

    §

    impl<'a> Send for IndexPage<'a>

    §

    impl<'a> Sync for IndexPage<'a>

    §

    impl<'a> Unpin for IndexPage<'a>

    §

    impl<'a> UnwindSafe for IndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.delete_account.html b/mcaptcha/pages/panel/settings/struct.delete_account.html index 209c1cfa..18f1b961 100644 --- a/mcaptcha/pages/panel/settings/struct.delete_account.html +++ b/mcaptcha/pages/panel/settings/struct.delete_account.html @@ -1,17 +1,17 @@ -delete_account in mcaptcha::pages::panel::settings - 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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +delete_account in mcaptcha::pages::panel::settings - 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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.settings.html b/mcaptcha/pages/panel/settings/struct.settings.html index f839654b..98f4805b 100644 --- a/mcaptcha/pages/panel/settings/struct.settings.html +++ b/mcaptcha/pages/panel/settings/struct.settings.html @@ -1,17 +1,17 @@ -settings in mcaptcha::pages::panel::settings - Rust
    pub struct settings;

    Trait Implementations§

    source§

    impl HttpServiceFactory for settings

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +settings in mcaptcha::pages::panel::settings - Rust
    pub struct settings;

    Trait Implementations§

    source§

    impl HttpServiceFactory for settings

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/settings/struct.update_secret.html b/mcaptcha/pages/panel/settings/struct.update_secret.html index 6a7d88e1..09ae662b 100644 --- a/mcaptcha/pages/panel/settings/struct.update_secret.html +++ b/mcaptcha/pages/panel/settings/struct.update_secret.html @@ -1,17 +1,17 @@ -update_secret in mcaptcha::pages::panel::settings - Rust
    pub struct update_secret;

    Trait Implementations§

    source§

    impl HttpServiceFactory for update_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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +update_secret in mcaptcha::pages::panel::settings - Rust
    pub struct update_secret;

    Trait Implementations§

    source§

    impl HttpServiceFactory for update_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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html index c1ce946d..23477852 100644 --- a/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/add/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::add - Rust

    Constant mcaptcha::pages::panel::sitekey::add::PAGE

    source ·
    const PAGE: &str = "Add Sitekey";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::add - Rust

    Constant mcaptcha::pages::panel::sitekey::add::PAGE

    source ·
    const PAGE: &str = "Add Sitekey";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/index.html b/mcaptcha/pages/panel/sitekey/add/index.html index 57f02bf1..59ed1d31 100644 --- a/mcaptcha/pages/panel/sitekey/add/index.html +++ b/mcaptcha/pages/panel/sitekey/add/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::add - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::add - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html b/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html index 0702f709..87cae865 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.ADVANCE_INDEX.html @@ -1,22 +1,22 @@ -ADVANCE_INDEX in mcaptcha::pages::panel::sitekey::add - Rust
    struct ADVANCE_INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +ADVANCE_INDEX in mcaptcha::pages::panel::sitekey::add - Rust
    struct ADVANCE_INDEX {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for ADVANCE_INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for ADVANCE_INDEX

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for ADVANCE_INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for ADVANCE_INDEX

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html b/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html index a2899915..60141f76 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.AdvanceIndexPage.html @@ -1,23 +1,23 @@ -AdvanceIndexPage in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct AdvanceIndexPage<'a> {
    -    pub levels: usize,
    -    pub form_title: &'a str,
    -    pub form_description: &'a str,
    -    pub form_duration: usize,
    -}

    Fields§

    §levels: usize§form_title: &'a str§form_description: &'a str§form_duration: usize

    Trait Implementations§

    source§

    impl<'a> Clone for AdvanceIndexPage<'a>

    source§

    fn clone(&self) -> AdvanceIndexPage<'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> Default for AdvanceIndexPage<'a>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'a> TemplateOnce for AdvanceIndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for AdvanceIndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AdvanceIndexPage<'a>

    §

    impl<'a> Send for AdvanceIndexPage<'a>

    §

    impl<'a> Sync for AdvanceIndexPage<'a>

    §

    impl<'a> Unpin for AdvanceIndexPage<'a>

    §

    impl<'a> UnwindSafe for AdvanceIndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +AdvanceIndexPage in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct AdvanceIndexPage<'a> {
    +    pub levels: usize,
    +    pub form_title: &'a str,
    +    pub form_description: &'a str,
    +    pub form_duration: usize,
    +}

    Fields§

    §levels: usize§form_title: &'a str§form_description: &'a str§form_duration: usize

    Trait Implementations§

    source§

    impl<'a> Clone for AdvanceIndexPage<'a>

    source§

    fn clone(&self) -> AdvanceIndexPage<'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> Default for AdvanceIndexPage<'a>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'a> TemplateOnce for AdvanceIndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for AdvanceIndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for AdvanceIndexPage<'a>

    §

    impl<'a> Send for AdvanceIndexPage<'a>

    §

    impl<'a> Sync for AdvanceIndexPage<'a>

    §

    impl<'a> Unpin for AdvanceIndexPage<'a>

    §

    impl<'a> UnwindSafe for AdvanceIndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html b/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html index 5e2387fc..f215f89a 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.EASY_INDEX.html @@ -1,22 +1,22 @@ -EASY_INDEX in mcaptcha::pages::panel::sitekey::add - Rust
    struct EASY_INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +EASY_INDEX in mcaptcha::pages::panel::sitekey::add - Rust
    struct EASY_INDEX {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for EASY_INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for EASY_INDEX

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for EASY_INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for EASY_INDEX

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html b/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html index 669bcc68..9d0aa5b1 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.EasyIndexPage.html @@ -1,24 +1,24 @@ -EasyIndexPage in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct EasyIndexPage<'a> {
    -    pub form_description: &'a str,
    -    pub form_title: &'a str,
    -    pub peak_sustainable_traffic: Option<usize>,
    -    pub avg_traffic: Option<usize>,
    -    pub broke_my_site_traffic: Option<usize>,
    -}

    Fields§

    §form_description: &'a str§form_title: &'a str§peak_sustainable_traffic: Option<usize>§avg_traffic: Option<usize>§broke_my_site_traffic: Option<usize>

    Trait Implementations§

    source§

    impl<'a> Clone for EasyIndexPage<'a>

    source§

    fn clone(&self) -> EasyIndexPage<'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> Default for EasyIndexPage<'a>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'a> TemplateOnce for EasyIndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for EasyIndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for EasyIndexPage<'a>

    §

    impl<'a> Send for EasyIndexPage<'a>

    §

    impl<'a> Sync for EasyIndexPage<'a>

    §

    impl<'a> Unpin for EasyIndexPage<'a>

    §

    impl<'a> UnwindSafe for EasyIndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +EasyIndexPage in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct EasyIndexPage<'a> {
    +    pub form_description: &'a str,
    +    pub form_title: &'a str,
    +    pub peak_sustainable_traffic: Option<usize>,
    +    pub avg_traffic: Option<usize>,
    +    pub broke_my_site_traffic: Option<usize>,
    +}

    Fields§

    §form_description: &'a str§form_title: &'a str§peak_sustainable_traffic: Option<usize>§avg_traffic: Option<usize>§broke_my_site_traffic: Option<usize>

    Trait Implementations§

    source§

    impl<'a> Clone for EasyIndexPage<'a>

    source§

    fn clone(&self) -> EasyIndexPage<'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> Default for EasyIndexPage<'a>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'a> TemplateOnce for EasyIndexPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for EasyIndexPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for EasyIndexPage<'a>

    §

    impl<'a> Send for EasyIndexPage<'a>

    §

    impl<'a> Sync for EasyIndexPage<'a>

    §

    impl<'a> Unpin for EasyIndexPage<'a>

    §

    impl<'a> UnwindSafe for EasyIndexPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.advance.html b/mcaptcha/pages/panel/sitekey/add/struct.advance.html index c92356fe..59188203 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.advance.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.advance.html @@ -1,17 +1,17 @@ -advance in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct advance;

    Trait Implementations§

    source§

    impl HttpServiceFactory for advance

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +advance in mcaptcha::pages::panel::sitekey::add - Rust
    pub struct advance;

    Trait Implementations§

    source§

    impl HttpServiceFactory for advance

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/add/struct.easy.html b/mcaptcha/pages/panel/sitekey/add/struct.easy.html index a2a9003d..7c90f18b 100644 --- a/mcaptcha/pages/panel/sitekey/add/struct.easy.html +++ b/mcaptcha/pages/panel/sitekey/add/struct.easy.html @@ -1,17 +1,17 @@ -easy in mcaptcha::pages::panel::sitekey::add - Rust

    Struct mcaptcha::pages::panel::sitekey::add::easy

    source ·
    pub struct easy;

    Trait Implementations§

    source§

    impl HttpServiceFactory for easy

    source§

    fn register(self, __config: &mut AppService)

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +easy in mcaptcha::pages::panel::sitekey::add - Rust

    Struct mcaptcha::pages::panel::sitekey::add::easy

    source ·
    pub struct easy;

    Trait Implementations§

    source§

    impl HttpServiceFactory for easy

    source§

    fn register(self, __config: &mut AppService)

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/delete/index.html b/mcaptcha/pages/panel/sitekey/delete/index.html index ad2de42b..10f8178c 100644 --- a/mcaptcha/pages/panel/sitekey/delete/index.html +++ b/mcaptcha/pages/panel/sitekey/delete/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::delete - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::delete - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html b/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html index 6e26c4f1..adc5294d 100644 --- a/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html +++ b/mcaptcha/pages/panel/sitekey/delete/struct.delete_sitekey.html @@ -1,17 +1,17 @@ -delete_sitekey in mcaptcha::pages::panel::sitekey::delete - Rust
    pub struct delete_sitekey;

    Trait Implementations§

    source§

    impl HttpServiceFactory for delete_sitekey

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +delete_sitekey in mcaptcha::pages::panel::sitekey::delete - Rust
    pub struct delete_sitekey;

    Trait Implementations§

    source§

    impl HttpServiceFactory for delete_sitekey

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html index a75730f0..62d3be14 100644 --- a/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/edit/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::edit - Rust

    Constant mcaptcha::pages::panel::sitekey::edit::PAGE

    source ·
    const PAGE: &str = "Edit Sitekey";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::edit - Rust

    Constant mcaptcha::pages::panel::sitekey::edit::PAGE

    source ·
    const PAGE: &str = "Edit Sitekey";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/index.html b/mcaptcha/pages/panel/sitekey/edit/index.html index d00e894d..c4b7e9a3 100644 --- a/mcaptcha/pages/panel/sitekey/edit/index.html +++ b/mcaptcha/pages/panel/sitekey/edit/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::edit - Rust

    Module mcaptcha::pages::panel::sitekey::edit

    source ·

    Structs

    Constants

    \ No newline at end of file +mcaptcha::pages::panel::sitekey::edit - Rust

    Module mcaptcha::pages::panel::sitekey::edit

    source ·

    Structs

    Constants

    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html index 1996416b..99eef18d 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.AdvanceEditPage.html @@ -1,29 +1,29 @@ -AdvanceEditPage in mcaptcha::pages::panel::sitekey::edit - Rust
    struct AdvanceEditPage {
    -    duration: u32,
    -    name: String,
    -    key: String,
    -    levels: Vec<Level>,
    -    publish_benchmarks: bool,
    -}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>§publish_benchmarks: bool

    Implementations§

    source§

    impl AdvanceEditPage

    source

    fn new( +AdvanceEditPage in mcaptcha::pages::panel::sitekey::edit - Rust
    struct AdvanceEditPage {
    +    duration: u32,
    +    name: String,
    +    key: String,
    +    levels: Vec<Level>,
    +    publish_benchmarks: bool,
    +}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>§publish_benchmarks: bool

    Implementations§

    source§

    impl AdvanceEditPage

    source

    fn new( config: Captcha, - levels: Vec<Level>, - key: String, - publish_benchmarks: bool -) -> Self

    Trait Implementations§

    source§

    impl Clone for AdvanceEditPage

    source§

    fn clone(&self) -> AdvanceEditPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for AdvanceEditPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for AdvanceEditPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + levels: Vec<Level>, + key: String, + publish_benchmarks: bool +) -> Self

    Trait Implementations§

    source§

    impl Clone for AdvanceEditPage

    source§

    fn clone(&self) -> AdvanceEditPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for AdvanceEditPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for AdvanceEditPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html b/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html index b0b6165b..d502b5f3 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.EasyEditPage.html @@ -1,22 +1,22 @@ -EasyEditPage in mcaptcha::pages::panel::sitekey::edit - Rust
    pub struct EasyEditPage<'a> {
    -    pub form_title: &'a str,
    +EasyEditPage in mcaptcha::pages::panel::sitekey::edit - Rust
    pub struct EasyEditPage<'a> {
    +    pub form_title: &'a str,
         pub pattern: TrafficPatternRequest,
    -    pub key: String,
    -}

    Fields§

    §form_title: &'a str§pattern: TrafficPatternRequest§key: String

    Implementations§

    source§

    impl<'a> EasyEditPage<'a>

    source

    pub fn new(key: String, pattern: TrafficPatternRequest) -> Self

    Trait Implementations§

    source§

    impl<'a> Clone for EasyEditPage<'a>

    source§

    fn clone(&self) -> EasyEditPage<'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> TemplateOnce for EasyEditPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for EasyEditPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for EasyEditPage<'a>

    §

    impl<'a> Send for EasyEditPage<'a>

    §

    impl<'a> Sync for EasyEditPage<'a>

    §

    impl<'a> Unpin for EasyEditPage<'a>

    §

    impl<'a> UnwindSafe for EasyEditPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub key: String, +}

    Fields§

    §form_title: &'a str§pattern: TrafficPatternRequest§key: String

    Implementations§

    source§

    impl<'a> EasyEditPage<'a>

    source

    pub fn new(key: String, pattern: TrafficPatternRequest) -> Self

    Trait Implementations§

    source§

    impl<'a> Clone for EasyEditPage<'a>

    source§

    fn clone(&self) -> EasyEditPage<'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> TemplateOnce for EasyEditPage<'a>

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl<'a> Sealed for EasyEditPage<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for EasyEditPage<'a>

    §

    impl<'a> Send for EasyEditPage<'a>

    §

    impl<'a> Sync for EasyEditPage<'a>

    §

    impl<'a> Unpin for EasyEditPage<'a>

    §

    impl<'a> UnwindSafe for EasyEditPage<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.advance.html b/mcaptcha/pages/panel/sitekey/edit/struct.advance.html index ccec75c2..3492c068 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.advance.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.advance.html @@ -1,18 +1,18 @@ -advance in mcaptcha::pages::panel::sitekey::edit - Rust
    pub struct advance;
    Expand description

    route handler that renders individual views for sitekeys

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for advance

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +advance in mcaptcha::pages::panel::sitekey::edit - Rust
    pub struct advance;
    Expand description

    route handler that renders individual views for sitekeys

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for advance

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/edit/struct.easy.html b/mcaptcha/pages/panel/sitekey/edit/struct.easy.html index 2df3346b..11cdd8d8 100644 --- a/mcaptcha/pages/panel/sitekey/edit/struct.easy.html +++ b/mcaptcha/pages/panel/sitekey/edit/struct.easy.html @@ -1,18 +1,18 @@ -easy in mcaptcha::pages::panel::sitekey::edit - Rust

    Struct mcaptcha::pages::panel::sitekey::edit::easy

    source ·
    pub struct easy;
    Expand description

    route handler that renders individual views for sitekeys

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for easy

    source§

    fn register(self, __config: &mut AppService)

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +easy in mcaptcha::pages::panel::sitekey::edit - Rust

    Struct mcaptcha::pages::panel::sitekey::edit::easy

    source ·
    pub struct easy;
    Expand description

    route handler that renders individual views for sitekeys

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for easy

    source§

    fn register(self, __config: &mut AppService)

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/fn.services.html b/mcaptcha/pages/panel/sitekey/fn.services.html index 13f75676..92aca918 100644 --- a/mcaptcha/pages/panel/sitekey/fn.services.html +++ b/mcaptcha/pages/panel/sitekey/fn.services.html @@ -1 +1 @@ -services in mcaptcha::pages::panel::sitekey - Rust

    Function mcaptcha::pages::panel::sitekey::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::pages::panel::sitekey - Rust

    Function mcaptcha::pages::panel::sitekey::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/index.html b/mcaptcha/pages/panel/sitekey/index.html index b040b0c2..674c2032 100644 --- a/mcaptcha/pages/panel/sitekey/index.html +++ b/mcaptcha/pages/panel/sitekey/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html index 3fdc33da..d159e401 100644 --- a/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/list/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::list - Rust

    Constant mcaptcha::pages::panel::sitekey::list::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::list - Rust

    Constant mcaptcha::pages::panel::sitekey::list::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/index.html b/mcaptcha/pages/panel/sitekey/list/index.html index 886f0616..e835ecb5 100644 --- a/mcaptcha/pages/panel/sitekey/list/index.html +++ b/mcaptcha/pages/panel/sitekey/list/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::list - Rust

    Module mcaptcha::pages::panel::sitekey::list

    source ·

    Structs

    Constants

    \ No newline at end of file +mcaptcha::pages::panel::sitekey::list - Rust

    Module mcaptcha::pages::panel::sitekey::list

    source ·

    Structs

    Constants

    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html index 22d4e325..10d950b9 100644 --- a/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/list/struct.IndexPage.html @@ -1,20 +1,20 @@ -IndexPage in mcaptcha::pages::panel::sitekey::list - Rust
    pub struct IndexPage {
    -    sitekeys: Vec<Captcha>,
    -}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    source§

    impl IndexPage

    source

    fn new(sitekeys: Vec<Captcha>) -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::panel::sitekey::list - Rust
    pub struct IndexPage {
    +    sitekeys: Vec<Captcha>,
    +}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    source§

    impl IndexPage

    source

    fn new(sitekeys: Vec<Captcha>) -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html b/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html index 95c1b343..d99afe8b 100644 --- a/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html +++ b/mcaptcha/pages/panel/sitekey/list/struct.list_sitekeys.html @@ -1,18 +1,18 @@ -list_sitekeys in mcaptcha::pages::panel::sitekey::list - Rust
    pub struct list_sitekeys;
    Expand description

    render a list of all sitekeys that a user has

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for list_sitekeys

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +list_sitekeys in mcaptcha::pages::panel::sitekey::list - Rust
    pub struct list_sitekeys;
    Expand description

    render a list of all sitekeys that a user has

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for list_sitekeys

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/routes/index.html b/mcaptcha/pages/panel/sitekey/routes/index.html index b2bdf830..4fa965a2 100644 --- a/mcaptcha/pages/panel/sitekey/routes/index.html +++ b/mcaptcha/pages/panel/sitekey/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::routes - Rust
    \ No newline at end of file +mcaptcha::pages::panel::sitekey::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html b/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html index cf669319..1421ec03 100644 --- a/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html +++ b/mcaptcha/pages/panel/sitekey/routes/struct.Sitekey.html @@ -1,25 +1,25 @@ -Sitekey in mcaptcha::pages::panel::sitekey::routes - Rust
    pub struct Sitekey {
    -    pub list: &'static str,
    -    pub add_easy: &'static str,
    -    pub add_advance: &'static str,
    -    pub view: &'static str,
    -    pub edit_easy: &'static str,
    -    pub edit_advance: &'static str,
    -    pub delete: &'static str,
    -}

    Fields§

    §list: &'static str§add_easy: &'static str§add_advance: &'static str§view: &'static str§edit_easy: &'static str§edit_advance: &'static str§delete: &'static str

    Implementations§

    source§

    impl Sitekey

    source

    pub const fn new() -> Self

    source

    pub const fn get_sitemap() -> [&'static str; 2]

    source

    pub fn get_edit_easy(&self, key: &str) -> String

    source

    pub fn get_edit_advance(&self, key: &str) -> String

    source

    pub fn get_view(&self, key: &str) -> String

    source

    pub fn get_delete(&self, key: &str) -> String

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Sitekey in mcaptcha::pages::panel::sitekey::routes - Rust
    pub struct Sitekey {
    +    pub list: &'static str,
    +    pub add_easy: &'static str,
    +    pub add_advance: &'static str,
    +    pub view: &'static str,
    +    pub edit_easy: &'static str,
    +    pub edit_advance: &'static str,
    +    pub delete: &'static str,
    +}

    Fields§

    §list: &'static str§add_easy: &'static str§add_advance: &'static str§view: &'static str§edit_easy: &'static str§edit_advance: &'static str§delete: &'static str

    Implementations§

    source§

    impl Sitekey

    source

    pub const fn new() -> Self

    source

    pub const fn get_sitemap() -> [&'static str; 2]

    source

    pub fn get_edit_easy(&self, key: &str) -> String

    source

    pub fn get_edit_advance(&self, key: &str) -> String

    source

    pub fn get_view(&self, key: &str) -> String

    source

    pub fn get_delete(&self, key: &str) -> String

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html b/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html index bc800028..6395d299 100644 --- a/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html +++ b/mcaptcha/pages/panel/sitekey/view/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::pages::panel::sitekey::view - Rust

    Constant mcaptcha::pages::panel::sitekey::view::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file +PAGE in mcaptcha::pages::panel::sitekey::view - Rust

    Constant mcaptcha::pages::panel::sitekey::view::PAGE

    source ·
    const PAGE: &str = "SiteKeys";
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/index.html b/mcaptcha/pages/panel/sitekey/view/index.html index 4d98a2bf..a1041c05 100644 --- a/mcaptcha/pages/panel/sitekey/view/index.html +++ b/mcaptcha/pages/panel/sitekey/view/index.html @@ -1 +1 @@ -mcaptcha::pages::panel::sitekey::view - Rust

    Module mcaptcha::pages::panel::sitekey::view

    source ·

    Structs

    Constants

    \ No newline at end of file +mcaptcha::pages::panel::sitekey::view - Rust

    Module mcaptcha::pages::panel::sitekey::view

    source ·

    Structs

    Constants

    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html index 07f12981..79ffd2e8 100644 --- a/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html +++ b/mcaptcha/pages/panel/sitekey/view/struct.IndexPage.html @@ -1,31 +1,31 @@ -IndexPage in mcaptcha::pages::panel::sitekey::view - Rust
    struct IndexPage {
    -    duration: u32,
    -    name: String,
    -    key: String,
    -    levels: Vec<Level>,
    +IndexPage in mcaptcha::pages::panel::sitekey::view - Rust
    struct IndexPage {
    +    duration: u32,
    +    name: String,
    +    key: String,
    +    levels: Vec<Level>,
         stats: CaptchaStats,
    -    publish_benchmarks: bool,
    -}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>§stats: CaptchaStats§publish_benchmarks: bool

    Implementations§

    source§

    impl IndexPage

    source

    fn new( + publish_benchmarks: bool, +}

    Fields§

    §duration: u32§name: String§key: String§levels: Vec<Level>§stats: CaptchaStats§publish_benchmarks: bool

    Implementations§

    source§

    impl IndexPage

    source

    fn new( stats: CaptchaStats, config: Captcha, - levels: Vec<Level>, - key: String, - publish_benchmarks: bool -) -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + levels: Vec<Level>, + key: String, + publish_benchmarks: bool +) -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html b/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html index e475543d..8ec7588e 100644 --- a/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html +++ b/mcaptcha/pages/panel/sitekey/view/struct.view_sitekey.html @@ -1,18 +1,18 @@ -view_sitekey in mcaptcha::pages::panel::sitekey::view - Rust
    pub struct view_sitekey;
    Expand description

    route handler that renders individual views for sitekeys

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for view_sitekey

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +view_sitekey in mcaptcha::pages::panel::sitekey::view - Rust
    pub struct view_sitekey;
    Expand description

    route handler that renders individual views for sitekeys

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for view_sitekey

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/struct.IndexPage.html b/mcaptcha/pages/panel/struct.IndexPage.html index 6efce2dc..3af8ea6e 100644 --- a/mcaptcha/pages/panel/struct.IndexPage.html +++ b/mcaptcha/pages/panel/struct.IndexPage.html @@ -1,20 +1,20 @@ -IndexPage in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::IndexPage

    source ·
    pub struct IndexPage {
    -    sitekeys: Vec<Captcha>,
    -}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    source§

    impl IndexPage

    source

    fn new(sitekeys: Vec<Captcha>) -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::IndexPage

    source ·
    pub struct IndexPage {
    +    sitekeys: Vec<Captcha>,
    +}

    Fields§

    §sitekeys: Vec<Captcha>

    Implementations§

    source§

    impl IndexPage

    source

    fn new(sitekeys: Vec<Captcha>) -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/panel/struct.panel.html b/mcaptcha/pages/panel/struct.panel.html index e558172d..4d2fe299 100644 --- a/mcaptcha/pages/panel/struct.panel.html +++ b/mcaptcha/pages/panel/struct.panel.html @@ -1,17 +1,17 @@ -panel in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::panel

    source ·
    pub struct panel;

    Trait Implementations§

    source§

    impl HttpServiceFactory for panel

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for panel

    §

    impl Send for panel

    §

    impl Sync for panel

    §

    impl Unpin for panel

    §

    impl UnwindSafe for panel

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +panel in mcaptcha::pages::panel - Rust

    Struct mcaptcha::pages::panel::panel

    source ·
    pub struct panel;

    Trait Implementations§

    source§

    impl HttpServiceFactory for panel

    source§

    fn register(self, __config: &mut AppService)

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for panel

    §

    impl Send for panel

    §

    impl Sync for panel

    §

    impl Unpin for panel

    §

    impl UnwindSafe for panel

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/routes/constant.ROUTES.html b/mcaptcha/pages/routes/constant.ROUTES.html index 2b2696ff..c25a0f84 100644 --- a/mcaptcha/pages/routes/constant.ROUTES.html +++ b/mcaptcha/pages/routes/constant.ROUTES.html @@ -1 +1 @@ -ROUTES in mcaptcha::pages::routes - Rust

    Constant mcaptcha::pages::routes::ROUTES

    source ·
    pub const ROUTES: Routes;
    \ No newline at end of file +ROUTES in mcaptcha::pages::routes - Rust

    Constant mcaptcha::pages::routes::ROUTES

    source ·
    pub const ROUTES: Routes;
    \ No newline at end of file diff --git a/mcaptcha/pages/routes/index.html b/mcaptcha/pages/routes/index.html index f60f6ab3..b634544a 100644 --- a/mcaptcha/pages/routes/index.html +++ b/mcaptcha/pages/routes/index.html @@ -1 +1 @@ -mcaptcha::pages::routes - Rust
    \ No newline at end of file +mcaptcha::pages::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/routes/struct.Routes.html b/mcaptcha/pages/routes/struct.Routes.html index 4b7884c8..8942b8a0 100644 --- a/mcaptcha/pages/routes/struct.Routes.html +++ b/mcaptcha/pages/routes/struct.Routes.html @@ -1,28 +1,28 @@ -Routes in mcaptcha::pages::routes - Rust

    Struct mcaptcha::pages::routes::Routes

    source ·
    pub struct Routes {
    -    pub home: &'static str,
    +Routes in mcaptcha::pages::routes - Rust

    Struct mcaptcha::pages::routes::Routes

    source ·
    pub struct Routes {
    +    pub home: &'static str,
         pub auth: Auth,
         pub panel: Panel,
         pub errors: Errors,
    -    pub about: &'static str,
    -    pub sitemap: &'static str,
    -    pub thanks: &'static str,
    -    pub donate: &'static str,
    -    pub security: &'static str,
    -    pub privacy: &'static str,
    -}

    Fields§

    §home: &'static str§auth: Auth§panel: Panel§errors: Errors§about: &'static str§sitemap: &'static str§thanks: &'static str§donate: &'static str§security: &'static str§privacy: &'static str

    Implementations§

    source§

    impl Routes

    source

    const fn new() -> Routes

    source

    pub const fn get_sitemap() -> [&'static str; 7]

    Trait Implementations§

    source§

    impl GetLoginRoute for Routes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub about: &'static str, + pub sitemap: &'static str, + pub thanks: &'static str, + pub donate: &'static str, + pub security: &'static str, + pub privacy: &'static str, +}

    Fields§

    §home: &'static str§auth: Auth§panel: Panel§errors: Errors§about: &'static str§sitemap: &'static str§thanks: &'static str§donate: &'static str§security: &'static str§privacy: &'static str

    Implementations§

    source§

    impl Routes

    source

    const fn new() -> Routes

    source

    pub const fn get_sitemap() -> [&'static str; 7]

    Trait Implementations§

    source§

    impl GetLoginRoute for Routes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/index.html b/mcaptcha/pages/sitemap/index.html index 41dda48e..6c772813 100644 --- a/mcaptcha/pages/sitemap/index.html +++ b/mcaptcha/pages/sitemap/index.html @@ -1 +1 @@ -mcaptcha::pages::sitemap - Rust
    \ No newline at end of file +mcaptcha::pages::sitemap - Rust
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/struct.INDEX.html b/mcaptcha/pages/sitemap/struct.INDEX.html index fc0cad1f..d43d2473 100644 --- a/mcaptcha/pages/sitemap/struct.INDEX.html +++ b/mcaptcha/pages/sitemap/struct.INDEX.html @@ -1,22 +1,22 @@ -INDEX in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::INDEX

    source ·
    struct INDEX {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +INDEX in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::INDEX

    source ·
    struct INDEX {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for INDEX

    §

    impl Send for INDEX

    §

    impl Sync for INDEX

    §

    impl Unpin for INDEX

    §

    impl UnwindSafe for INDEX

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for INDEX

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for INDEX

    §

    impl Send for INDEX

    §

    impl Sync for INDEX

    §

    impl Unpin for INDEX

    §

    impl UnwindSafe for INDEX

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/struct.IndexPage.html b/mcaptcha/pages/sitemap/struct.IndexPage.html index 1ac15641..92385d30 100644 --- a/mcaptcha/pages/sitemap/struct.IndexPage.html +++ b/mcaptcha/pages/sitemap/struct.IndexPage.html @@ -1,21 +1,21 @@ -IndexPage in mcaptcha::pages::sitemap - Rust
    struct IndexPage {
    -    urls: [&'static str; 7],
    -    domain: &'static str,
    -}

    Fields§

    §urls: [&'static str; 7]§domain: &'static str

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for IndexPage

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::pages::sitemap - Rust
    struct IndexPage {
    +    urls: [&'static str; 7],
    +    domain: &'static str,
    +}

    Fields§

    §urls: [&'static str; 7]§domain: &'static str

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Default for IndexPage

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/pages/sitemap/struct.sitemap.html b/mcaptcha/pages/sitemap/struct.sitemap.html index 84b8c67a..cf65a258 100644 --- a/mcaptcha/pages/sitemap/struct.sitemap.html +++ b/mcaptcha/pages/sitemap/struct.sitemap.html @@ -1,17 +1,17 @@ -sitemap in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::sitemap

    source ·
    pub struct sitemap;

    Trait Implementations§

    source§

    impl HttpServiceFactory for sitemap

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +sitemap in mcaptcha::pages::sitemap - Rust

    Struct mcaptcha::pages::sitemap::sitemap

    source ·
    pub struct sitemap;

    Trait Implementations§

    source§

    impl HttpServiceFactory for sitemap

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/routes/fn.services.html b/mcaptcha/routes/fn.services.html index 1446cdbb..23de4ec0 100644 --- a/mcaptcha/routes/fn.services.html +++ b/mcaptcha/routes/fn.services.html @@ -1 +1 @@ -services in mcaptcha::routes - Rust

    Function mcaptcha::routes::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::routes - Rust

    Function mcaptcha::routes::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/routes/index.html b/mcaptcha/routes/index.html index ae809d0d..6b4079db 100644 --- a/mcaptcha/routes/index.html +++ b/mcaptcha/routes/index.html @@ -1 +1 @@ -mcaptcha::routes - Rust
    \ No newline at end of file +mcaptcha::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/settings/constant.DEPRECATED_ENV_VARS.html b/mcaptcha/settings/constant.DEPRECATED_ENV_VARS.html index fc5bb884..374c7b27 100644 --- a/mcaptcha/settings/constant.DEPRECATED_ENV_VARS.html +++ b/mcaptcha/settings/constant.DEPRECATED_ENV_VARS.html @@ -1 +1 @@ -DEPRECATED_ENV_VARS in mcaptcha::settings - Rust
    const DEPRECATED_ENV_VARS: [(&str, &str); 23];
    \ No newline at end of file +DEPRECATED_ENV_VARS in mcaptcha::settings - Rust
    const DEPRECATED_ENV_VARS: [(&str, &str); 23];
    \ No newline at end of file diff --git a/mcaptcha/settings/constant.ENV_VAR_CONFIG.html b/mcaptcha/settings/constant.ENV_VAR_CONFIG.html index bfdf5ccf..af749a1c 100644 --- a/mcaptcha/settings/constant.ENV_VAR_CONFIG.html +++ b/mcaptcha/settings/constant.ENV_VAR_CONFIG.html @@ -1 +1 @@ -ENV_VAR_CONFIG in mcaptcha::settings - Rust
    const ENV_VAR_CONFIG: [(&str, &str); 29];
    \ No newline at end of file +ENV_VAR_CONFIG in mcaptcha::settings - Rust
    const ENV_VAR_CONFIG: [(&str, &str); 29];
    \ No newline at end of file diff --git a/mcaptcha/settings/enum.DBType.html b/mcaptcha/settings/enum.DBType.html index 70e3469e..07c05d13 100644 --- a/mcaptcha/settings/enum.DBType.html +++ b/mcaptcha/settings/enum.DBType.html @@ -1,33 +1,33 @@ -DBType in mcaptcha::settings - Rust
    pub enum DBType {
    +DBType in mcaptcha::settings - Rust
    pub enum DBType {
         Postgres,
         Maria,
    -}

    Variants§

    §

    Postgres

    §

    Maria

    Implementations§

    source§

    impl DBType

    source

    fn from_url(url: &Url) -> Result<Self, ConfigError>

    Trait Implementations§

    source§

    impl Clone for DBType

    source§

    fn clone(&self) -> DBType

    Returns a copy of 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 DBType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for DBType

    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 Display for DBType

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<DBType> for DBType

    source§

    fn eq(&self, other: &DBType) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 DBType

    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 Eq for DBType

    source§

    impl StructuralEq for DBType

    source§

    impl StructuralPartialEq for DBType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Variants§

    §

    Postgres

    §

    Maria

    Implementations§

    source§

    impl DBType

    source

    fn from_url(url: &Url) -> Result<Self, ConfigError>

    Trait Implementations§

    source§

    impl Clone for DBType

    source§

    fn clone(&self) -> DBType

    Returns a copy of 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 DBType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for DBType

    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 Display for DBType

    source§

    fn fmt(&self, _derive_more_display_formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<DBType> for DBType

    source§

    fn eq(&self, other: &DBType) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 DBType

    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 Eq for DBType

    source§

    impl StructuralEq for DBType

    source§

    impl StructuralPartialEq for DBType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for Twhere - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for Twhere + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/index.html b/mcaptcha/settings/index.html index 46b7fec6..bd430ef9 100644 --- a/mcaptcha/settings/index.html +++ b/mcaptcha/settings/index.html @@ -1 +1 @@ -mcaptcha::settings - Rust
    \ No newline at end of file +mcaptcha::settings - Rust
    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Captcha.html b/mcaptcha/settings/struct.Captcha.html index b2449574..4e72fa78 100644 --- a/mcaptcha/settings/struct.Captcha.html +++ b/mcaptcha/settings/struct.Captcha.html @@ -1,35 +1,35 @@ -Captcha in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Captcha

    source ·
    pub struct Captcha {
    -    pub salt: String,
    -    pub gc: u64,
    -    pub runners: Option<usize>,
    -    pub queue_length: usize,
    -    pub enable_stats: bool,
    +Captcha in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Captcha

    source ·
    pub struct Captcha {
    +    pub salt: String,
    +    pub gc: u64,
    +    pub runners: Option<usize>,
    +    pub queue_length: usize,
    +    pub enable_stats: bool,
         pub default_difficulty_strategy: DefaultDifficultyStrategy,
    -}

    Fields§

    §salt: String§gc: u64§runners: Option<usize>§queue_length: usize§enable_stats: bool§default_difficulty_strategy: DefaultDifficultyStrategy

    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<'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 Eq for Captcha

    source§

    impl StructuralEq for Captcha

    source§

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §salt: String§gc: u64§runners: Option<usize>§queue_length: usize§enable_stats: bool§default_difficulty_strategy: DefaultDifficultyStrategy

    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<'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 Eq for Captcha

    source§

    impl StructuralEq for Captcha

    source§

    impl StructuralPartialEq for Captcha

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Database.html b/mcaptcha/settings/struct.Database.html index dae981b7..7f1d1012 100644 --- a/mcaptcha/settings/struct.Database.html +++ b/mcaptcha/settings/struct.Database.html @@ -1,32 +1,32 @@ -Database in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Database

    source ·
    pub struct Database {
    -    pub url: String,
    -    pub pool: u32,
    +Database in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Database

    source ·
    pub struct Database {
    +    pub url: String,
    +    pub pool: u32,
         pub database_type: DBType,
    -}

    Fields§

    §url: String§pool: u32§database_type: DBType

    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 Debug for Database

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Database

    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<Database> for Database

    source§

    fn eq(&self, other: &Database) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Database

    source§

    impl StructuralEq for Database

    source§

    impl StructuralPartialEq for Database

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §url: String§pool: u32§database_type: DBType

    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 Debug for Database

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Database

    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<Database> for Database

    source§

    fn eq(&self, other: &Database) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Database

    source§

    impl StructuralEq for Database

    source§

    impl StructuralPartialEq for Database

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.DefaultDifficultyStrategy.html b/mcaptcha/settings/struct.DefaultDifficultyStrategy.html index ff561844..d4a80122 100644 --- a/mcaptcha/settings/struct.DefaultDifficultyStrategy.html +++ b/mcaptcha/settings/struct.DefaultDifficultyStrategy.html @@ -1,33 +1,33 @@ -DefaultDifficultyStrategy in mcaptcha::settings - Rust
    pub struct DefaultDifficultyStrategy {
    -    pub avg_traffic_difficulty: u32,
    -    pub broke_my_site_traffic_difficulty: u32,
    -    pub peak_sustainable_traffic_difficulty: u32,
    -    pub duration: u32,
    -}

    Fields§

    §avg_traffic_difficulty: u32§broke_my_site_traffic_difficulty: u32§peak_sustainable_traffic_difficulty: u32§duration: u32

    Trait Implementations§

    source§

    impl Clone for DefaultDifficultyStrategy

    source§

    fn clone(&self) -> DefaultDifficultyStrategy

    Returns a copy of 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 DefaultDifficultyStrategy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for DefaultDifficultyStrategy

    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<DefaultDifficultyStrategy> for DefaultDifficultyStrategy

    source§

    fn eq(&self, other: &DefaultDifficultyStrategy) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for DefaultDifficultyStrategy

    source§

    impl StructuralEq for DefaultDifficultyStrategy

    source§

    impl StructuralPartialEq for DefaultDifficultyStrategy

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +DefaultDifficultyStrategy in mcaptcha::settings - Rust
    pub struct DefaultDifficultyStrategy {
    +    pub avg_traffic_difficulty: u32,
    +    pub broke_my_site_traffic_difficulty: u32,
    +    pub peak_sustainable_traffic_difficulty: u32,
    +    pub duration: u32,
    +}

    Fields§

    §avg_traffic_difficulty: u32§broke_my_site_traffic_difficulty: u32§peak_sustainable_traffic_difficulty: u32§duration: u32

    Trait Implementations§

    source§

    impl Clone for DefaultDifficultyStrategy

    source§

    fn clone(&self) -> DefaultDifficultyStrategy

    Returns a copy of 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 DefaultDifficultyStrategy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for DefaultDifficultyStrategy

    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<DefaultDifficultyStrategy> for DefaultDifficultyStrategy

    source§

    fn eq(&self, other: &DefaultDifficultyStrategy) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for DefaultDifficultyStrategy

    source§

    impl StructuralEq for DefaultDifficultyStrategy

    source§

    impl StructuralPartialEq for DefaultDifficultyStrategy

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Redis.html b/mcaptcha/settings/struct.Redis.html index 221017c7..8ce281cd 100644 --- a/mcaptcha/settings/struct.Redis.html +++ b/mcaptcha/settings/struct.Redis.html @@ -1,31 +1,31 @@ -Redis in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Redis

    source ·
    pub struct Redis {
    -    pub url: String,
    -    pub pool: u32,
    -}

    Fields§

    §url: String§pool: u32

    Trait Implementations§

    source§

    impl Clone for Redis

    source§

    fn clone(&self) -> Redis

    Returns a copy of 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 Redis

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Redis

    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<Redis> for Redis

    source§

    fn eq(&self, other: &Redis) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Redis

    source§

    impl StructuralEq for Redis

    source§

    impl StructuralPartialEq for Redis

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Redis

    §

    impl Send for Redis

    §

    impl Sync for Redis

    §

    impl Unpin for Redis

    §

    impl UnwindSafe for Redis

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Redis in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Redis

    source ·
    pub struct Redis {
    +    pub url: String,
    +    pub pool: u32,
    +}

    Fields§

    §url: String§pool: u32

    Trait Implementations§

    source§

    impl Clone for Redis

    source§

    fn clone(&self) -> Redis

    Returns a copy of 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 Redis

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Redis

    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<Redis> for Redis

    source§

    fn eq(&self, other: &Redis) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Redis

    source§

    impl StructuralEq for Redis

    source§

    impl StructuralPartialEq for Redis

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Redis

    §

    impl Send for Redis

    §

    impl Sync for Redis

    §

    impl Unpin for Redis

    §

    impl UnwindSafe for Redis

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Server.html b/mcaptcha/settings/struct.Server.html index d7014e6e..8ce80c11 100644 --- a/mcaptcha/settings/struct.Server.html +++ b/mcaptcha/settings/struct.Server.html @@ -1,35 +1,35 @@ -Server in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Server

    source ·
    pub struct Server {
    -    pub port: u32,
    -    pub domain: String,
    -    pub cookie_secret: String,
    -    pub ip: String,
    -    pub url_prefix: Option<String>,
    -    pub proxy_has_tls: bool,
    -}

    Fields§

    §port: u32§domain: String§cookie_secret: String§ip: String§url_prefix: Option<String>§proxy_has_tls: bool

    Implementations§

    source§

    impl Server

    source

    pub fn get_ip(&self) -> String

    Trait Implementations§

    source§

    impl Clone for Server

    source§

    fn clone(&self) -> Server

    Returns a copy of 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 Server

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Server

    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<Server> for Server

    source§

    fn eq(&self, other: &Server) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Server

    source§

    impl StructuralEq for Server

    source§

    impl StructuralPartialEq for Server

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Server in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Server

    source ·
    pub struct Server {
    +    pub port: u32,
    +    pub domain: String,
    +    pub cookie_secret: String,
    +    pub ip: String,
    +    pub url_prefix: Option<String>,
    +    pub proxy_has_tls: bool,
    +}

    Fields§

    §port: u32§domain: String§cookie_secret: String§ip: String§url_prefix: Option<String>§proxy_has_tls: bool

    Implementations§

    source§

    impl Server

    source

    pub fn get_ip(&self) -> String

    Trait Implementations§

    source§

    impl Clone for Server

    source§

    fn clone(&self) -> Server

    Returns a copy of 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 Server

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Server

    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<Server> for Server

    source§

    fn eq(&self, other: &Server) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Server

    source§

    impl StructuralEq for Server

    source§

    impl StructuralPartialEq for Server

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Settings.html b/mcaptcha/settings/struct.Settings.html index 6cbd8a4e..1e271539 100644 --- a/mcaptcha/settings/struct.Settings.html +++ b/mcaptcha/settings/struct.Settings.html @@ -1,40 +1,40 @@ -Settings in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Settings

    source ·
    pub struct Settings {
    -    pub debug: bool,
    -    pub commercial: bool,
    -    pub source_code: String,
    -    pub allow_registration: bool,
    -    pub allow_demo: bool,
    +Settings in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Settings

    source ·
    pub struct Settings {
    +    pub debug: bool,
    +    pub commercial: bool,
    +    pub source_code: String,
    +    pub allow_registration: bool,
    +    pub allow_demo: bool,
         pub database: Database,
    -    pub survey: Option<Survey>,
    -    pub redis: Option<Redis>,
    +    pub survey: Option<Survey>,
    +    pub redis: Option<Redis>,
         pub server: Server,
         pub captcha: Captcha,
    -    pub smtp: Option<Smtp>,
    -}

    Fields§

    §debug: bool§commercial: bool§source_code: String§allow_registration: bool§allow_demo: bool§database: Database§survey: Option<Survey>§redis: Option<Redis>§server: Server§captcha: Captcha§smtp: Option<Smtp>

    Implementations§

    source§

    impl Settings

    source

    pub fn new() -> Result<Self, ConfigError>

    source

    fn env_override(s: ConfigBuilder<DefaultState>) -> ConfigBuilder<DefaultState>

    source

    fn set_database_type(&mut self)

    source

    fn check_url(&self)

    Trait Implementations§

    source§

    impl Clone for Settings

    source§

    fn clone(&self) -> Settings

    Returns a copy of 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 Settings

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Settings

    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<Settings> for Settings

    source§

    fn eq(&self, other: &Settings) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Settings

    source§

    impl StructuralEq for Settings

    source§

    impl StructuralPartialEq for Settings

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub smtp: Option<Smtp>, +}

    Fields§

    §debug: bool§commercial: bool§source_code: String§allow_registration: bool§allow_demo: bool§database: Database§survey: Option<Survey>§redis: Option<Redis>§server: Server§captcha: Captcha§smtp: Option<Smtp>

    Implementations§

    source§

    impl Settings

    source

    pub fn new() -> Result<Self, ConfigError>

    source

    fn env_override(s: ConfigBuilder<DefaultState>) -> ConfigBuilder<DefaultState>

    source

    fn set_database_type(&mut self)

    source

    fn check_url(&self)

    Trait Implementations§

    source§

    impl Clone for Settings

    source§

    fn clone(&self) -> Settings

    Returns a copy of 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 Settings

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Settings

    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<Settings> for Settings

    source§

    fn eq(&self, other: &Settings) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Settings

    source§

    impl StructuralEq for Settings

    source§

    impl StructuralPartialEq for Settings

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Smtp.html b/mcaptcha/settings/struct.Smtp.html index a51d4cd2..d332cd93 100644 --- a/mcaptcha/settings/struct.Smtp.html +++ b/mcaptcha/settings/struct.Smtp.html @@ -1,35 +1,35 @@ -Smtp in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Smtp

    source ·
    pub struct Smtp {
    -    pub from: String,
    -    pub reply: String,
    -    pub url: String,
    -    pub username: String,
    -    pub password: String,
    -    pub port: u16,
    -}

    Fields§

    §from: String§reply: String§url: String§username: String§password: String§port: u16

    Trait Implementations§

    source§

    impl Clone for Smtp

    source§

    fn clone(&self) -> Smtp

    Returns a copy of 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 Smtp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Smtp

    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<Smtp> for Smtp

    source§

    fn eq(&self, other: &Smtp) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Smtp

    source§

    impl StructuralEq for Smtp

    source§

    impl StructuralPartialEq for Smtp

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Smtp

    §

    impl Send for Smtp

    §

    impl Sync for Smtp

    §

    impl Unpin for Smtp

    §

    impl UnwindSafe for Smtp

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Smtp in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Smtp

    source ·
    pub struct Smtp {
    +    pub from: String,
    +    pub reply: String,
    +    pub url: String,
    +    pub username: String,
    +    pub password: String,
    +    pub port: u16,
    +}

    Fields§

    §from: String§reply: String§url: String§username: String§password: String§port: u16

    Trait Implementations§

    source§

    impl Clone for Smtp

    source§

    fn clone(&self) -> Smtp

    Returns a copy of 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 Smtp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Smtp

    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<Smtp> for Smtp

    source§

    fn eq(&self, other: &Smtp) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Smtp

    source§

    impl StructuralEq for Smtp

    source§

    impl StructuralPartialEq for Smtp

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Smtp

    §

    impl Send for Smtp

    §

    impl Sync for Smtp

    §

    impl Unpin for Smtp

    §

    impl UnwindSafe for Smtp

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/settings/struct.Survey.html b/mcaptcha/settings/struct.Survey.html index 1204f3bd..b9f833d7 100644 --- a/mcaptcha/settings/struct.Survey.html +++ b/mcaptcha/settings/struct.Survey.html @@ -1,32 +1,32 @@ -Survey in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Survey

    source ·
    pub struct Survey {
    -    pub nodes: Vec<Url>,
    -    pub rate_limit: u64,
    +Survey in mcaptcha::settings - Rust

    Struct mcaptcha::settings::Survey

    source ·
    pub struct Survey {
    +    pub nodes: Vec<Url>,
    +    pub rate_limit: u64,
         pub instance_root_url: Url,
    -}

    Fields§

    §nodes: Vec<Url>§rate_limit: u64§instance_root_url: Url

    Trait Implementations§

    source§

    impl Clone for Survey

    source§

    fn clone(&self) -> Survey

    Returns a copy of 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 Survey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Survey

    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<Survey> for Survey

    source§

    fn eq(&self, other: &Survey) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Survey

    source§

    impl StructuralEq for Survey

    source§

    impl StructuralPartialEq for Survey

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §nodes: Vec<Url>§rate_limit: u64§instance_root_url: Url

    Trait Implementations§

    source§

    impl Clone for Survey

    source§

    fn clone(&self) -> Survey

    Returns a copy of 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 Survey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Survey

    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<Survey> for Survey

    source§

    fn eq(&self, other: &Survey) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Survey

    source§

    impl StructuralEq for Survey

    source§

    impl StructuralPartialEq for Survey

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/static_assets/filemap/index.html b/mcaptcha/static_assets/filemap/index.html index 6f7aae46..da5d32ec 100644 --- a/mcaptcha/static_assets/filemap/index.html +++ b/mcaptcha/static_assets/filemap/index.html @@ -1 +1 @@ -mcaptcha::static_assets::filemap - Rust
    \ No newline at end of file +mcaptcha::static_assets::filemap - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/filemap/struct.FileMap.html b/mcaptcha/static_assets/filemap/struct.FileMap.html index 13fefe80..1ce7fe4c 100644 --- a/mcaptcha/static_assets/filemap/struct.FileMap.html +++ b/mcaptcha/static_assets/filemap/struct.FileMap.html @@ -1,19 +1,19 @@ -FileMap in mcaptcha::static_assets::filemap - Rust
    pub struct FileMap {
    +FileMap in mcaptcha::static_assets::filemap - Rust
    pub struct FileMap {
         pub files: Files,
    -}

    Fields§

    §files: Files

    Implementations§

    source§

    impl FileMap

    source

    pub fn new() -> Self

    source

    pub fn get<'a>(&'a self, path: &'a str) -> Option<&'a str>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +}

    Fields§

    §files: Files

    Implementations§

    source§

    impl FileMap

    source

    pub fn new() -> Self

    source

    pub fn get<'a>(&'a self, path: &'a str) -> Option<&'a str>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/fn.services.html b/mcaptcha/static_assets/fn.services.html index c3b353a5..3c876df6 100644 --- a/mcaptcha/static_assets/fn.services.html +++ b/mcaptcha/static_assets/fn.services.html @@ -1 +1 @@ -services in mcaptcha::static_assets - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file +services in mcaptcha::static_assets - Rust
    pub fn services(cfg: &mut ServiceConfig)
    \ No newline at end of file diff --git a/mcaptcha/static_assets/index.html b/mcaptcha/static_assets/index.html index a788624d..cde480b3 100644 --- a/mcaptcha/static_assets/index.html +++ b/mcaptcha/static_assets/index.html @@ -1 +1 @@ -mcaptcha::static_assets - Rust
    \ No newline at end of file +mcaptcha::static_assets - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/index.html b/mcaptcha/static_assets/static_files/assets/index.html index 852d9c4b..664a6fe8 100644 --- a/mcaptcha/static_assets/static_files/assets/index.html +++ b/mcaptcha/static_assets/static_files/assets/index.html @@ -1 +1 @@ -mcaptcha::static_assets::static_files::assets - Rust
    \ No newline at end of file +mcaptcha::static_assets::static_files::assets - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html b/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html index fec76291..5b23ce8d 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html +++ b/mcaptcha/static_assets/static_files/assets/struct.BAR_CHART.html @@ -1,19 +1,19 @@ -BAR_CHART in mcaptcha::static_assets::static_files::assets - Rust
    pub struct BAR_CHART {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for BAR_CHART

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for BAR_CHART

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +BAR_CHART in mcaptcha::static_assets::static_files::assets - Rust
    pub struct BAR_CHART {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for BAR_CHART

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for BAR_CHART

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html b/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html index 2ded4974..27955c89 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html +++ b/mcaptcha/static_assets/static_files/assets/struct.CREDIT_CARD.html @@ -1,19 +1,19 @@ -CREDIT_CARD in mcaptcha::static_assets::static_files::assets - Rust
    pub struct CREDIT_CARD {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for CREDIT_CARD

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for CREDIT_CARD

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +CREDIT_CARD in mcaptcha::static_assets::static_files::assets - Rust
    pub struct CREDIT_CARD {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for CREDIT_CARD

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for CREDIT_CARD

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html b/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html index bbf8967c..dd7f3e68 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html +++ b/mcaptcha/static_assets/static_files/assets/struct.DOCS_ICON.html @@ -1,19 +1,19 @@ -DOCS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct DOCS_ICON {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for DOCS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for DOCS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +DOCS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct DOCS_ICON {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for DOCS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for DOCS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html b/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html index f487ddfa..cb30a681 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html +++ b/mcaptcha/static_assets/static_files/assets/struct.GITHUB.html @@ -1,19 +1,19 @@ -GITHUB in mcaptcha::static_assets::static_files::assets - Rust
    pub struct GITHUB {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for GITHUB

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for GITHUB

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +GITHUB in mcaptcha::static_assets::static_files::assets - Rust
    pub struct GITHUB {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for GITHUB

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for GITHUB

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html b/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html index da0eab8e..f12bf981 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html +++ b/mcaptcha/static_assets/static_files/assets/struct.HELP_CIRCLE.html @@ -1,19 +1,19 @@ -HELP_CIRCLE in mcaptcha::static_assets::static_files::assets - Rust
    pub struct HELP_CIRCLE {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HELP_CIRCLE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HELP_CIRCLE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +HELP_CIRCLE in mcaptcha::static_assets::static_files::assets - Rust
    pub struct HELP_CIRCLE {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HELP_CIRCLE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HELP_CIRCLE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.HOME.html b/mcaptcha/static_assets/static_files/assets/struct.HOME.html index f4d6d505..6db513b8 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.HOME.html +++ b/mcaptcha/static_assets/static_files/assets/struct.HOME.html @@ -1,19 +1,19 @@ -HOME in mcaptcha::static_assets::static_files::assets - Rust
    pub struct HOME {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HOME

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HOME

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for HOME

    §

    impl Send for HOME

    §

    impl Sync for HOME

    §

    impl Unpin for HOME

    §

    impl UnwindSafe for HOME

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +HOME in mcaptcha::static_assets::static_files::assets - Rust
    pub struct HOME {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HOME

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HOME

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for HOME

    §

    impl Send for HOME

    §

    impl Sync for HOME

    §

    impl Unpin for HOME

    §

    impl UnwindSafe for HOME

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.KEY.html b/mcaptcha/static_assets/static_files/assets/struct.KEY.html index a01d7ae4..62496f06 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.KEY.html +++ b/mcaptcha/static_assets/static_files/assets/struct.KEY.html @@ -1,19 +1,19 @@ -KEY in mcaptcha::static_assets::static_files::assets - Rust
    pub struct KEY {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for KEY

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for KEY

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for KEY

    §

    impl Send for KEY

    §

    impl Sync for KEY

    §

    impl Unpin for KEY

    §

    impl UnwindSafe for KEY

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +KEY in mcaptcha::static_assets::static_files::assets - Rust
    pub struct KEY {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for KEY

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for KEY

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for KEY

    §

    impl Send for KEY

    §

    impl Sync for KEY

    §

    impl Unpin for KEY

    §

    impl UnwindSafe for KEY

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html b/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html index 4f0a0c2e..3bbad3ad 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html +++ b/mcaptcha/static_assets/static_files/assets/struct.MCAPTCHA_TRANS_ICON.html @@ -1,19 +1,19 @@ -MCAPTCHA_TRANS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct MCAPTCHA_TRANS_ICON {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MCAPTCHA_TRANS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MCAPTCHA_TRANS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +MCAPTCHA_TRANS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct MCAPTCHA_TRANS_ICON {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MCAPTCHA_TRANS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MCAPTCHA_TRANS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html b/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html index 76f3ed7f..58337804 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html +++ b/mcaptcha/static_assets/static_files/assets/struct.MESSAGE.html @@ -1,19 +1,19 @@ -MESSAGE in mcaptcha::static_assets::static_files::assets - Rust
    pub struct MESSAGE {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MESSAGE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MESSAGE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +MESSAGE in mcaptcha::static_assets::static_files::assets - Rust
    pub struct MESSAGE {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MESSAGE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MESSAGE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html b/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html index acdc665b..36618548 100644 --- a/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html +++ b/mcaptcha/static_assets/static_files/assets/struct.SETTINGS_ICON.html @@ -1,19 +1,19 @@ -SETTINGS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct SETTINGS_ICON {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for SETTINGS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for SETTINGS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SETTINGS_ICON in mcaptcha::static_assets::static_files::assets - Rust
    pub struct SETTINGS_ICON {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for SETTINGS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for SETTINGS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/assets/type.Img.html b/mcaptcha/static_assets/static_files/assets/type.Img.html index 7a6f8180..4f68e0e8 100644 --- a/mcaptcha/static_assets/static_files/assets/type.Img.html +++ b/mcaptcha/static_assets/static_files/assets/type.Img.html @@ -1 +1,323 @@ -Img in mcaptcha::static_assets::static_files::assets - Rust

    Type Definition mcaptcha::static_assets::static_files::assets::Img

    source ·
    type Img = (&'static str, &'static str);
    \ No newline at end of file +Img in mcaptcha::static_assets::static_files::assets - Rust
    type Img = (&'static str, &'static str);

    Trait Implementations§

    §

    impl<Input, Output, Error, A, B> Alt<Input, Output, Error> for (A, B)where + Input: Clone, + Error: ParseError<Input>, + A: Parser<Input, Output, Error>, + B: Parser<Input, Output, Error>,

    §

    fn choice(&mut self, input: Input) -> Result<(Input, Output), Err<Error>>

    Tests each parser in the tuple and returns the result of the first one that succeeds
    source§

    impl<S, T> Bounded for (S, T)where + S: Bounded, + T: Bounded,

    source§

    fn min_value() -> (S, T)

    Returns the smallest finite number this type can represent
    source§

    fn max_value() -> (S, T)

    Returns the largest finite number this type can represent
    §

    impl<Input, Output, Y, Z> ChoiceParser<Input> for (Y, Z)where + Input: Stream, + Y: Parser<Input, Output = Output>, + Z: Parser<Input, Output = Output>,

    §

    type Output = Output

    §

    type PartialState = Y<<Y as Parser<Input>>::PartialState, <Z as Parser<Input>>::PartialState>

    §

    fn parse_partial( + &mut self, + input: &mut Input, + state: &mut <(Y, Z) as ChoiceParser<Input>>::PartialState +) -> ParseResult<<(Y, Z) as ChoiceParser<Input>>::Output, <Input as StreamOnce>::Error>

    §

    fn parse_first( + &mut self, + input: &mut Input, + state: &mut <(Y, Z) as ChoiceParser<Input>>::PartialState +) -> ParseResult<<(Y, Z) as ChoiceParser<Input>>::Output, <Input as StreamOnce>::Error>

    §

    fn parse_mode_choice<Mode>( + &mut self, + mode: Mode, + input: &mut Input, + state: &mut <(Y, Z) as ChoiceParser<Input>>::PartialState +) -> ParseResult<<(Y, Z) as ChoiceParser<Input>>::Output, <Input as StreamOnce>::Error>where + Mode: ParseMode,

    §

    fn add_error_choice( + &mut self, + error: &mut Tracked<<Input as StreamOnce>::Error> +)

    §

    impl<'r, T1, T2> Decode<'r, Postgres> for (T1, T2)where + T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>, + T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,

    §

    fn decode( + value: PgValueRef<'r> +) -> Result<(T1, T2), Box<dyn Error + Sync + Send, Global>>

    Decode a new value of this type using a raw value from the database.
    source§

    impl<'de, T0, T1> Deserialize<'de> for (T0, T1)where + T0: Deserialize<'de>, + T1: Deserialize<'de>,

    source§

    fn deserialize<D>( + deserializer: D +) -> Result<(T0, T1), <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    1.56.0 · source§

    impl<A, B, ExtendA, ExtendB> Extend<(A, B)> for (ExtendA, ExtendB)where + ExtendA: Extend<A>, + ExtendB: Extend<B>,

    source§

    fn extend<T>(&mut self, into_iter: T)where + T: IntoIterator<Item = (A, B)>,

    Allows to extend a tuple of collections that also implement Extend.

    +

    See also: Iterator::unzip

    +
    Examples
    +
    let mut tuple = (vec![0], vec![1]);
    +tuple.extend([(2, 3), (4, 5), (6, 7)]);
    +assert_eq!(tuple.0, [0, 2, 4, 6]);
    +assert_eq!(tuple.1, [1, 3, 5, 7]);
    +
    +// also allows for arbitrarily nested tuples as elements
    +let mut nested_tuple = (vec![1], (vec![2], vec![3]));
    +nested_tuple.extend([(4, (5, 6)), (7, (8, 9))]);
    +
    +let (a, (b, c)) = nested_tuple;
    +assert_eq!(a, [1, 4, 7]);
    +assert_eq!(b, [2, 5, 8]);
    +assert_eq!(c, [3, 6, 9]);
    +
    source§

    fn extend_one(&mut self, item: (A, B))

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    1.71.0 · source§

    impl<T> From<[T; 2]> for (T, T)

    source§

    fn from(array: [T; 2]) -> (T, T)

    Converts to this type from the input type.
    §

    impl<A, B> FromRequest for (A, B)where + A: FromRequest + 'static, + B: FromRequest + 'static,

    FromRequest implementation for tuple

    +
    §

    type Error = Error

    The associated error which can be returned.
    §

    type Future = TupleFromRequest2<A, B>

    Future that resolves to a Self. Read more
    §

    fn from_request( + req: &HttpRequest, + payload: &mut Payload<Pin<Box<dyn Stream<Item = Result<Bytes, PayloadError>>, Global>>> +) -> <(A, B) as FromRequest>::Future

    Create a Self from request parts asynchronously.
    §

    fn extract(req: &HttpRequest) -> Self::Future

    Create a Self from request head asynchronously. Read more
    §

    impl<'r, R, T1, T2> FromRow<'r, R> for (T1, T2)where + R: Row, + usize: ColumnIndex<R>, + T1: Decode<'r, <R as Row>::Database> + Type<<R as Row>::Database>, + T2: Decode<'r, <R as Row>::Database> + Type<<R as Row>::Database>,

    §

    fn from_row(row: &'r R) -> Result<(T1, T2), Error>

    §

    impl<Func, Fut, A> Handler<(A,)> for Funcwhere + Func: Fn(A) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call(&self, _: (A,)) -> <Func as Handler<(A,)>>::Future

    §

    impl<Func, Fut, A, B> Handler<(A, B)> for Funcwhere + Func: Fn(A, B) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call(&self, _: (A, B)) -> <Func as Handler<(A, B)>>::Future

    §

    impl<Func, Fut, A, B, C> Handler<(A, B, C)> for Funcwhere + Func: Fn(A, B, C) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call(&self, _: (A, B, C)) -> <Func as Handler<(A, B, C)>>::Future

    §

    impl<Func, Fut, A, B, C, D> Handler<(A, B, C, D)> for Funcwhere + Func: Fn(A, B, C, D) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call(&self, _: (A, B, C, D)) -> <Func as Handler<(A, B, C, D)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E> Handler<(A, B, C, D, E)> for Funcwhere + Func: Fn(A, B, C, D, E) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call(&self, _: (A, B, C, D, E)) -> <Func as Handler<(A, B, C, D, E)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F> Handler<(A, B, C, D, E, F)> for Funcwhere + Func: Fn(A, B, C, D, E, F) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F) +) -> <Func as Handler<(A, B, C, D, E, F)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F, G> Handler<(A, B, C, D, E, F, G)> for Funcwhere + Func: Fn(A, B, C, D, E, F, G) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F, G) +) -> <Func as Handler<(A, B, C, D, E, F, G)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F, G, H> Handler<(A, B, C, D, E, F, G, H)> for Funcwhere + Func: Fn(A, B, C, D, E, F, G, H) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F, G, H) +) -> <Func as Handler<(A, B, C, D, E, F, G, H)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F, G, H, I> Handler<(A, B, C, D, E, F, G, H, I)> for Funcwhere + Func: Fn(A, B, C, D, E, F, G, H, I) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F, G, H, I) +) -> <Func as Handler<(A, B, C, D, E, F, G, H, I)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F, G, H, I, J> Handler<(A, B, C, D, E, F, G, H, I, J)> for Funcwhere + Func: Fn(A, B, C, D, E, F, G, H, I, J) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F, G, H, I, J) +) -> <Func as Handler<(A, B, C, D, E, F, G, H, I, J)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F, G, H, I, J, K> Handler<(A, B, C, D, E, F, G, H, I, J, K)> for Funcwhere + Func: Fn(A, B, C, D, E, F, G, H, I, J, K) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F, G, H, I, J, K) +) -> <Func as Handler<(A, B, C, D, E, F, G, H, I, J, K)>>::Future

    §

    impl<Func, Fut, A, B, C, D, E, F, G, H, I, J, K, L> Handler<(A, B, C, D, E, F, G, H, I, J, K, L)> for Funcwhere + Func: Fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Fut + Clone + 'static, + Fut: Future,

    §

    type Output = <Fut as Future>::Output

    §

    type Future = Fut

    §

    fn call( + &self, + _: (A, B, C, D, E, F, G, H, I, J, K, L) +) -> <Func as Handler<(A, B, C, D, E, F, G, H, I, J, K, L)>>::Future

    §

    impl<A, B> HttpServiceFactory for (A, B)where + A: HttpServiceFactory, + B: HttpServiceFactory,

    §

    fn register(self, config: &mut AppService)

    source§

    impl<IT, A, FromA> MultiUnzip<(FromA,)> for ITwhere + IT: Iterator<Item = (A,)>, + FromA: Default + Extend<A>,

    source§

    fn multiunzip(self) -> (FromA,)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for ITwhere + IT: Iterator<Item = (A, B)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>,

    source§

    fn multiunzip(self) -> (FromA, FromB)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for ITwhere + IT: Iterator<Item = (A, B, C)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>,

    source§

    fn multiunzip(self) -> (FromA, FromB, FromC)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for ITwhere + IT: Iterator<Item = (A, B, C, D)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>,

    source§

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>,

    source§

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>,

    source§

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>,

    source§

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>,

    source§

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>,

    source§

    fn multiunzip( + self +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>,

    source§

    fn multiunzip( + self +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>, + FromK: Default + Extend<K>,

    source§

    fn multiunzip( + self +) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)

    Unzip this iterator into multiple collections.
    source§

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for ITwhere + IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + FromC: Default + Extend<C>, + FromD: Default + Extend<D>, + FromE: Default + Extend<E>, + FromF: Default + Extend<F>, + FromG: Default + Extend<G>, + FromH: Default + Extend<H>, + FromI: Default + Extend<I>, + FromJ: Default + Extend<J>, + FromK: Default + Extend<K>, + FromL: Default + Extend<L>,

    §

    impl<Input, A, B> Parser<Input> for (A, B)where + Input: Stream, + <Input as StreamOnce>::Error: ParseError<<Input as StreamOnce>::Token, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>, + A: Parser<Input>, + B: Parser<Input>,

    §

    type Output = (<A as Parser<Input>>::Output, <B as Parser<Input>>::Output)

    The type which is returned if the parser is successful.
    §

    type PartialState = PartialState2<SequenceState<<A as Parser<Input>>::Output, <A as Parser<Input>>::PartialState>, SequenceState<<B as Parser<Input>>::Output, <B as Parser<Input>>::PartialState>>

    Determines the state necessary to resume parsing after more input is supplied. Read more
    §

    fn add_error(&mut self, errors: &mut Tracked<<Input as StreamOnce>::Error>)

    Adds the first error that would normally be returned by this parser if it failed with an +PeekErr result. Read more
    §

    fn parse( + &mut self, + input: Input +) -> Result<(Self::Output, Input), <Input as StreamOnce>::Error>

    Entry point of the parser. Takes some input and tries to parse it. Read more
    §

    fn parse_with_state( + &mut self, + input: &mut Input, + state: &mut Self::PartialState +) -> Result<Self::Output, <Input as StreamOnce>::Error>

    Entry point of the parser when using partial parsing. +Takes some input and tries to parse it. Read more
    §

    fn parse_stream( + &mut self, + input: &mut Input +) -> ParseResult<Self::Output, <Input as StreamOnce>::Error>

    Parses using the stream input by calling Stream::uncons one or more times. Read more
    §

    fn parse_lazy( + &mut self, + input: &mut Input +) -> ParseResult<Self::Output, <Input as StreamOnce>::Error>

    Parses using the stream input by calling Stream::uncons one or more times. Read more
    §

    fn parse_stream_partial( + &mut self, + input: &mut Input, + state: &mut Self::PartialState +) -> ParseResult<Self::Output, <Input as StreamOnce>::Error>

    Like parse_stream but supports partial parsing.
    §

    fn by_ref(&mut self) -> &mut Selfwhere + Self: Sized,

    Borrows a parser instead of consuming it. Read more
    §

    fn with<P2>(self, p: P2) -> With<Self, P2>where + Self: Sized, + P2: Parser<Input>,

    Discards the value of the self parser and returns the value of p. +Fails if any of the parsers fails. Read more
    §

    fn skip<P2>(self, p: P2) -> Skip<Self, P2>where + Self: Sized, + P2: Parser<Input>,

    Discards the value of the p parser and returns the value of self. +Fails if any of the parsers fails. Read more
    §

    fn and<P2>(self, p: P2) -> (Self, P2)where + Self: Sized, + P2: Parser<Input>,

    Parses with self followed by p. +Succeeds if both parsers succeed, otherwise fails. +Returns a tuple with both values on success. Read more
    §

    fn or<P2>(self, p: P2) -> Or<Self, P2>where + Self: Sized, + P2: Parser<Input, Output = Self::Output>,

    Returns a parser which attempts to parse using self. If self fails without committing +it tries to consume the same input using p. Read more
    §

    fn then<N, F>(self, f: F) -> Then<Self, F>where + Self: Sized, + F: FnMut(Self::Output) -> N, + N: Parser<Input>,

    Parses using self and then passes the value to f which returns a parser used to parse +the rest of the input. Read more
    §

    fn then_partial<N, F>(self, f: F) -> ThenPartial<Self, F>where + Self: Sized, + F: FnMut(&mut Self::Output) -> N, + N: Parser<Input>,

    Variant of then which parses using self and then passes the value to f as a &mut reference. Read more
    §

    fn then_ref<N, F>(self, f: F) -> ThenRef<Self, F>where + Self: Sized, + F: FnMut(&Self::Output) -> N, + N: Parser<Input>,

    Parses using self and then passes a reference to the value to f which returns a parser +used to parse the rest of the input. The value is then combined with the output of f. Read more
    §

    fn map<F, B>(self, f: F) -> Map<Self, F>where + Self: Sized, + F: FnMut(Self::Output) -> B,

    Uses f to map over the parsed value. Read more
    §

    fn map_input<F, B>(self, f: F) -> MapInput<Self, F>where + Self: Sized, + F: FnMut(Self::Output, &mut Input) -> B,

    §

    fn flat_map<F, B>(self, f: F) -> FlatMap<Self, F>where + Self: Sized, + F: FnMut(Self::Output) -> Result<B, <Input as StreamOnce>::Error>,

    Uses f to map over the output of self. If f returns an error the parser fails. Read more
    §

    fn message<S>(self, msg: S) -> Message<Self, S>where + Self: Sized, + S: for<'s> ErrorInfo<'s, <Input as StreamOnce>::Token, <Input as StreamOnce>::Range>,

    Parses with self and if it fails, adds the message msg to the error. Read more
    §

    fn expected<S>(self, msg: S) -> Expected<Self, S>where + Self: Sized, + S: for<'s> ErrorInfo<'s, <Input as StreamOnce>::Token, <Input as StreamOnce>::Range>,

    Parses with self and if it fails without consuming any input any expected errors are +replaced by msg. msg is then used in error messages as “Expected msg”. Read more
    §

    fn silent(self) -> Silent<Self>where + Self: Sized,

    Parses with self, if it fails without consuming any input any expected errors that would +otherwise be emitted by self are suppressed. Read more
    §

    fn and_then<F, O, E>(self, f: F) -> AndThen<Self, F>where + Self: Parser<Input> + Sized, + F: FnMut(Self::Output) -> Result<O, E>, + E: Into<<<Input as StreamOnce>::Error as ParseError<<Input as StreamOnce>::Token, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>>::StreamError>,

    Parses with self and applies f on the result if self parses successfully. +f may optionally fail with an error which is automatically converted to a ParseError. Read more
    §

    fn iter( + self, + input: &mut Input +) -> Iter<'_, Input, Self, Self::PartialState, FirstMode>where + Self: Parser<Input> + Sized,

    Creates an iterator from a parser and a state. Can be used as an alternative to many +when collecting directly into a Extend type is not desirable. Read more
    §

    fn partial_iter<M, 'a, 's>( + self, + mode: M, + input: &'a mut Input, + partial_state: &'s mut Self::PartialState +) -> Iter<'a, Input, Self, &'s mut Self::PartialState, M>where + Self: Parser<Input> + Sized, + M: ParseMode,

    Creates an iterator from a parser and a state. Can be used as an alternative to many +when collecting directly into a Extend type is not desirable. Read more
    §

    fn boxed<'a>( + self +) -> Box<dyn Parser<Input, Output = Self::Output, PartialState = Self::PartialState> + 'a, Global>where + Self: Sized + 'a,

    Turns the parser into a trait object by putting it in a Box. Can be used to easily +return parsers from functions without naming the type. Read more
    §

    fn left<R>(self) -> Either<Self, R>where + Self: Sized, + R: Parser<Input, Output = Self::Output>,

    Wraps the parser into the Either enum which allows combinators such as then to return +multiple different parser types (merging them to one) Read more
    §

    fn right<L>(self) -> Either<L, Self>where + Self: Sized, + L: Parser<Input, Output = Self::Output>,

    Wraps the parser into the Either enum which allows combinators such as then to return +multiple different parser types (merging them to one) Read more
    §

    fn spanned(self) -> Spanned<Self>where + Self: Sized,

    Marks errors produced inside the self parser with the span from the start of the parse to +the end of it. Read more
    §

    impl<Input, A, B, Error, FnA, FnB> Permutation<Input, (A, B), Error> for (FnA, FnB)where + Input: Clone, + Error: ParseError<Input>, + FnA: Parser<Input, A, Error>, + FnB: Parser<Input, B, Error>,

    §

    fn permutation(&mut self, input: Input) -> Result<(Input, (A, B)), Err<Error>>

    Tries to apply all parsers in the tuple in various orders until all of them succeed
    §

    impl<T1, T2> PgHasArrayType for (T1, T2)

    §

    fn array_type_info() -> PgTypeInfo

    §

    fn array_compatible(ty: &PgTypeInfo) -> bool

    source§

    impl<T0, T1> Serialize for (T0, T1)where + T0: Serialize, + T1: Serialize,

    source§

    fn serialize<S>( + &self, + serializer: S +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<V> TryIntoHeaderPair for (&str, V)where + V: TryIntoHeaderValue, + <V as TryIntoHeaderValue>::Error: Into<InvalidHeaderValue>,

    §

    type Error = InvalidHeaderPart

    §

    fn try_into_pair( + self +) -> Result<(HeaderName, HeaderValue), <(&str, V) as TryIntoHeaderPair>::Error>

    §

    impl<Input, A, B, Error, FnA, FnB> Tuple<Input, (A, B), Error> for (FnA, FnB)where + Input: Clone, + Error: ParseError<Input>, + FnA: Parser<Input, A, Error>, + FnB: Parser<Input, B, Error>,

    §

    fn parse(&mut self, input: Input) -> Result<(Input, (A, B)), Err<Error>>

    Parses the input and returns a tuple of results of each parser.
    §

    impl<T1, T2> Type<Postgres> for (T1, T2)

    §

    fn type_info() -> PgTypeInfo

    Returns the canonical SQL type for this Rust type. Read more
    §

    fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

    Determines if this Rust type is compatible with the given SQL type. Read more
    §

    impl<A, B> Zeroize for (A, B)where + A: Zeroize, + B: Zeroize,

    §

    fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +zeroization operation is not “optimized away” by the compiler.
    §

    impl<A, B> ZeroizeOnDrop for (A, B)where + A: ZeroizeOnDrop, + B: ZeroizeOnDrop,

    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/fn.handle_assets.html b/mcaptcha/static_assets/static_files/fn.handle_assets.html index dd44a20a..b85fa235 100644 --- a/mcaptcha/static_assets/static_files/fn.handle_assets.html +++ b/mcaptcha/static_assets/static_files/fn.handle_assets.html @@ -1 +1 @@ -handle_assets in mcaptcha::static_assets::static_files - Rust
    fn handle_assets(path: &str) -> HttpResponse
    \ No newline at end of file +handle_assets in mcaptcha::static_assets::static_files - Rust
    fn handle_assets(path: &str) -> HttpResponse
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/fn.handle_favicons.html b/mcaptcha/static_assets/static_files/fn.handle_favicons.html index 655f767e..47bcb89d 100644 --- a/mcaptcha/static_assets/static_files/fn.handle_favicons.html +++ b/mcaptcha/static_assets/static_files/fn.handle_favicons.html @@ -1 +1 @@ -handle_favicons in mcaptcha::static_assets::static_files - Rust
    fn handle_favicons(path: &str) -> HttpResponse
    \ No newline at end of file +handle_favicons in mcaptcha::static_assets::static_files - Rust
    fn handle_favicons(path: &str) -> HttpResponse
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/index.html b/mcaptcha/static_assets/static_files/index.html index f0080b2c..b130532c 100644 --- a/mcaptcha/static_assets/static_files/index.html +++ b/mcaptcha/static_assets/static_files/index.html @@ -1 +1 @@ -mcaptcha::static_assets::static_files - Rust
    \ No newline at end of file +mcaptcha::static_assets::static_files - Rust
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.Asset.html b/mcaptcha/static_assets/static_files/struct.Asset.html index b6385a4e..79c8a4f1 100644 --- a/mcaptcha/static_assets/static_files/struct.Asset.html +++ b/mcaptcha/static_assets/static_files/struct.Asset.html @@ -1,19 +1,19 @@ -Asset in mcaptcha::static_assets::static_files - Rust
    struct Asset;

    Implementations§

    source§

    impl Asset

    source

    pub fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata.

    -
    source

    pub fn iter() -> impl Iterator<Item = Cow<'static, str>>

    Iterates over the file paths in the folder.

    -

    Trait Implementations§

    source§

    impl RustEmbed for Asset

    source§

    fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata. Read more
    source§

    fn iter() -> Filenames

    Iterates over the file paths in the folder. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Asset

    §

    impl Send for Asset

    §

    impl Sync for Asset

    §

    impl Unpin for Asset

    §

    impl UnwindSafe for Asset

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Asset in mcaptcha::static_assets::static_files - Rust
    struct Asset;

    Implementations§

    source§

    impl Asset

    source

    pub fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata.

    +
    source

    pub fn iter() -> impl Iterator<Item = Cow<'static, str>>

    Iterates over the file paths in the folder.

    +

    Trait Implementations§

    source§

    impl RustEmbed for Asset

    source§

    fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata. Read more
    source§

    fn iter() -> Filenames

    Iterates over the file paths in the folder. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Asset

    §

    impl Send for Asset

    §

    impl Sync for Asset

    §

    impl Unpin for Asset

    §

    impl UnwindSafe for Asset

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.Favicons.html b/mcaptcha/static_assets/static_files/struct.Favicons.html index ab0cbe4b..f3eceffd 100644 --- a/mcaptcha/static_assets/static_files/struct.Favicons.html +++ b/mcaptcha/static_assets/static_files/struct.Favicons.html @@ -1,19 +1,19 @@ -Favicons in mcaptcha::static_assets::static_files - Rust
    struct Favicons;

    Implementations§

    source§

    impl Favicons

    source

    pub fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata.

    -
    source

    pub fn iter() -> impl Iterator<Item = Cow<'static, str>>

    Iterates over the file paths in the folder.

    -

    Trait Implementations§

    source§

    impl RustEmbed for Favicons

    source§

    fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata. Read more
    source§

    fn iter() -> Filenames

    Iterates over the file paths in the folder. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Favicons in mcaptcha::static_assets::static_files - Rust
    struct Favicons;

    Implementations§

    source§

    impl Favicons

    source

    pub fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata.

    +
    source

    pub fn iter() -> impl Iterator<Item = Cow<'static, str>>

    Iterates over the file paths in the folder.

    +

    Trait Implementations§

    source§

    impl RustEmbed for Favicons

    source§

    fn get(file_path: &str) -> Option<EmbeddedFile>

    Get an embedded file and its metadata. Read more
    source§

    fn iter() -> Filenames

    Iterates over the file paths in the folder. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.favicons.html b/mcaptcha/static_assets/static_files/struct.favicons.html index 4b069934..afeb8aa4 100644 --- a/mcaptcha/static_assets/static_files/struct.favicons.html +++ b/mcaptcha/static_assets/static_files/struct.favicons.html @@ -1,17 +1,17 @@ -favicons in mcaptcha::static_assets::static_files - Rust
    pub struct favicons;

    Trait Implementations§

    source§

    impl HttpServiceFactory for favicons

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +favicons in mcaptcha::static_assets::static_files - Rust
    pub struct favicons;

    Trait Implementations§

    source§

    impl HttpServiceFactory for favicons

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/static_assets/static_files/struct.static_files.html b/mcaptcha/static_assets/static_files/struct.static_files.html index 06332e77..b8ab6fbd 100644 --- a/mcaptcha/static_assets/static_files/struct.static_files.html +++ b/mcaptcha/static_assets/static_files/struct.static_files.html @@ -1,17 +1,17 @@ -static_files in mcaptcha::static_assets::static_files - Rust
    pub struct static_files;

    Trait Implementations§

    source§

    impl HttpServiceFactory for static_files

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +static_files in mcaptcha::static_assets::static_files - Rust
    pub struct static_files;

    Trait Implementations§

    source§

    impl HttpServiceFactory for static_files

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/index.html b/mcaptcha/stats/index.html index fe63ba37..4861e935 100644 --- a/mcaptcha/stats/index.html +++ b/mcaptcha/stats/index.html @@ -1 +1 @@ -mcaptcha::stats - Rust
    \ No newline at end of file +mcaptcha::stats - Rust
    \ No newline at end of file diff --git a/mcaptcha/stats/struct.CaptchaStats.html b/mcaptcha/stats/struct.CaptchaStats.html index 16ac3b32..96215f79 100644 --- a/mcaptcha/stats/struct.CaptchaStats.html +++ b/mcaptcha/stats/struct.CaptchaStats.html @@ -1,27 +1,27 @@ -CaptchaStats in mcaptcha::stats - Rust
    pub struct CaptchaStats {
    -    pub config_fetches: Vec<i64>,
    -    pub solves: Vec<i64>,
    -    pub confirms: Vec<i64>,
    -}

    Fields§

    §config_fetches: Vec<i64>§solves: Vec<i64>§confirms: Vec<i64>

    Trait Implementations§

    source§

    impl Clone for CaptchaStats

    source§

    fn clone(&self) -> CaptchaStats

    Returns a copy of 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 CaptchaStats

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for CaptchaStats

    source§

    fn default() -> CaptchaStats

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CaptchaStats

    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<CaptchaStats> for CaptchaStats

    source§

    fn eq(&self, other: &CaptchaStats) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 CaptchaStats

    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 CaptchaStats

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +CaptchaStats in mcaptcha::stats - Rust
    pub struct CaptchaStats {
    +    pub config_fetches: Vec<i64>,
    +    pub solves: Vec<i64>,
    +    pub confirms: Vec<i64>,
    +}

    Fields§

    §config_fetches: Vec<i64>§solves: Vec<i64>§confirms: Vec<i64>

    Trait Implementations§

    source§

    impl Clone for CaptchaStats

    source§

    fn clone(&self) -> CaptchaStats

    Returns a copy of 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 CaptchaStats

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for CaptchaStats

    source§

    fn default() -> CaptchaStats

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for CaptchaStats

    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<CaptchaStats> for CaptchaStats

    source§

    fn eq(&self, other: &CaptchaStats) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 CaptchaStats

    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 CaptchaStats

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/stats/struct.Dummy.html b/mcaptcha/stats/struct.Dummy.html index 528780d0..fa6e39f4 100644 --- a/mcaptcha/stats/struct.Dummy.html +++ b/mcaptcha/stats/struct.Dummy.html @@ -1,10 +1,10 @@ -Dummy in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Dummy

    source ·
    pub struct Dummy;

    Trait Implementations§

    source§

    impl Clone for Dummy

    source§

    fn clone(&self) -> Dummy

    Returns a copy of 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 Dummy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Dummy

    source§

    fn default() -> Dummy

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq<Dummy> for Dummy

    source§

    fn eq(&self, other: &Dummy) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +Dummy in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Dummy

    source ·
    pub struct Dummy;

    Trait Implementations§

    source§

    impl Clone for Dummy

    source§

    fn clone(&self) -> Dummy

    Returns a copy of 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 Dummy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Dummy

    source§

    fn default() -> Dummy

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq<Dummy> for Dummy

    source§

    fn eq(&self, other: &Dummy) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Stats for Dummy

    source§

    fn record_fetch<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, __arg1: &'life1 Data, - __arg2: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + __arg2: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -12,8 +12,8 @@ sufficient, and should not be overridden without very good reason.

    source§

    fn record_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, __arg1: &'life1 Data, - __arg2: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + __arg2: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -21,8 +21,8 @@ sufficient, and should not be overridden without very good reason.

    source§

    fn record_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, __arg1: &'life1 Data, - __arg2: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + __arg2: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -30,30 +30,30 @@ sufficient, and should not be overridden without very good reason.

    source§

    fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, __arg1: &'life1 Data, - __arg2: &'life2 str, - __arg3: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where + __arg2: &'life2 str, + __arg3: &'life3 str +) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

    fetch stats

    -
    source§

    impl StructuralPartialEq for Dummy

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Dummy

    §

    impl Send for Dummy

    §

    impl Sync for Dummy

    §

    impl Unpin for Dummy

    §

    impl UnwindSafe for Dummy

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneStats for Twhere - T: Stats + Clone + 'static,

    source§

    fn clone_stats(&self) -> Box<dyn Stats, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl StructuralPartialEq for Dummy

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Dummy

    §

    impl Send for Dummy

    §

    impl Sync for Dummy

    §

    impl Unpin for Dummy

    §

    impl UnwindSafe for Dummy

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneStats for Twhere + T: Stats + Clone + 'static,

    source§

    fn clone_stats(&self) -> Box<dyn Stats, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/struct.Real.html b/mcaptcha/stats/struct.Real.html index 0262953a..ad28b10b 100644 --- a/mcaptcha/stats/struct.Real.html +++ b/mcaptcha/stats/struct.Real.html @@ -1,10 +1,10 @@ -Real in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Real

    source ·
    pub struct Real;

    Trait Implementations§

    source§

    impl Clone for Real

    source§

    fn clone(&self) -> Real

    Returns a copy of 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 Real

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Real

    source§

    fn default() -> Real

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq<Real> for Real

    source§

    fn eq(&self, other: &Real) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +Real in mcaptcha::stats - Rust

    Struct mcaptcha::stats::Real

    source ·
    pub struct Real;

    Trait Implementations§

    source§

    impl Clone for Real

    source§

    fn clone(&self) -> Real

    Returns a copy of 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 Real

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Real

    source§

    fn default() -> Real

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq<Real> for Real

    source§

    fn eq(&self, other: &Real) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Stats for Real

    source§

    fn record_fetch<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, d: &'life1 Data, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -12,8 +12,8 @@ sufficient, and should not be overridden without very good reason.

    source§

    fn record_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, d: &'life1 Data, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -21,8 +21,8 @@ sufficient, and should not be overridden without very good reason.

    source§

    fn record_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, d: &'life1 Data, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -30,30 +30,30 @@ sufficient, and should not be overridden without very good reason.

    source§

    fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, d: &'life1 Data, - user: &'life2 str, - key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where + user: &'life2 str, + key: &'life3 str +) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

    fetch stats

    -
    source§

    impl StructuralPartialEq for Real

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Real

    §

    impl Send for Real

    §

    impl Sync for Real

    §

    impl Unpin for Real

    §

    impl UnwindSafe for Real

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneStats for Twhere - T: Stats + Clone + 'static,

    source§

    fn clone_stats(&self) -> Box<dyn Stats, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl StructuralPartialEq for Real

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Real

    §

    impl Send for Real

    §

    impl Sync for Real

    §

    impl Unpin for Real

    §

    impl UnwindSafe for Real

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneStats for Twhere + T: Stats + Clone + 'static,

    source§

    fn clone_stats(&self) -> Box<dyn Stats, Global>

    clone DB
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/stats/trait.CloneStats.html b/mcaptcha/stats/trait.CloneStats.html index 9e87a210..f8f9a435 100644 --- a/mcaptcha/stats/trait.CloneStats.html +++ b/mcaptcha/stats/trait.CloneStats.html @@ -1,7 +1,7 @@ -CloneStats in mcaptcha::stats - Rust
    pub trait CloneStats {
    +CloneStats in mcaptcha::stats - Rust
    pub trait CloneStats {
         // Required method
    -    fn clone_stats(&self) -> Box<dyn Stats>;
    +    fn clone_stats(&self) -> Box<dyn Stats>;
     }
    Expand description

    Trait to clone MCDatabase

    -

    Required Methods§

    source

    fn clone_stats(&self) -> Box<dyn Stats>

    clone DB

    +

    Required Methods§

    source

    fn clone_stats(&self) -> Box<dyn Stats>

    clone DB

    Implementors§

    source§

    impl<T> CloneStats for Twhere - T: Stats + Clone + 'static,

    \ No newline at end of file + T: Stats + Clone + 'static,
    \ No newline at end of file diff --git a/mcaptcha/stats/trait.Stats.html b/mcaptcha/stats/trait.Stats.html index 53ed8fa7..c296a8b8 100644 --- a/mcaptcha/stats/trait.Stats.html +++ b/mcaptcha/stats/trait.Stats.html @@ -1,10 +1,10 @@ -Stats in mcaptcha::stats - Rust

    Trait mcaptcha::stats::Stats

    source ·
    pub trait Stats: Send + Sync + CloneStats {
    +Stats in mcaptcha::stats - Rust

    Trait mcaptcha::stats::Stats

    source ·
    pub trait Stats: Send + Sync + CloneStats {
         // Required methods
         fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(
             &'life0 self,
             d: &'life1 Data,
    -        key: &'life2 str
    -    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    +        key: &'life2 str
    +    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait,
                  'life1: 'async_trait,
    @@ -12,8 +12,8 @@
         fn record_solve<'life0, 'life1, 'life2, 'async_trait>(
             &'life0 self,
             d: &'life1 Data,
    -        key: &'life2 str
    -    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    +        key: &'life2 str
    +    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait,
                  'life1: 'async_trait,
    @@ -21,8 +21,8 @@
         fn record_confirm<'life0, 'life1, 'life2, 'async_trait>(
             &'life0 self,
             d: &'life1 Data,
    -        key: &'life2 str
    -    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
    +        key: &'life2 str
    +    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait,
                  'life1: 'async_trait,
    @@ -30,9 +30,9 @@
         fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
             &'life0 self,
             d: &'life1 Data,
    -        user: &'life2 str,
    -        key: &'life3 str
    -    ) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>
    +        user: &'life2 str,
    +        key: &'life3 str
    +    ) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait,
                  'life1: 'async_trait,
    @@ -41,8 +41,8 @@
     }

    Required Methods§

    source

    fn record_fetch<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, d: &'life1 Data, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -50,8 +50,8 @@

    source

    fn record_solve<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, d: &'life1 Data, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -59,8 +59,8 @@

    source

    fn record_confirm<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, d: &'life1 Data, - key: &'life2 str -) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where + key: &'life2 str +) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, @@ -68,9 +68,9 @@

    source

    fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, d: &'life1 Data, - user: &'life2 str, - key: &'life3 str -) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where + user: &'life2 str, + key: &'life3 str +) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, diff --git a/mcaptcha/struct.BAR_CHART.html b/mcaptcha/struct.BAR_CHART.html index 7ac3a7c5..1dd89efd 100644 --- a/mcaptcha/struct.BAR_CHART.html +++ b/mcaptcha/struct.BAR_CHART.html @@ -1,19 +1,19 @@ -BAR_CHART in mcaptcha - Rust

    Struct mcaptcha::BAR_CHART

    source ·
    pub struct BAR_CHART {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for BAR_CHART

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for BAR_CHART

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +BAR_CHART in mcaptcha - Rust

    Struct mcaptcha::BAR_CHART

    source ·
    pub struct BAR_CHART {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for BAR_CHART

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for BAR_CHART

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.CREDIT_CARD.html b/mcaptcha/struct.CREDIT_CARD.html index 8f574287..1bdc7370 100644 --- a/mcaptcha/struct.CREDIT_CARD.html +++ b/mcaptcha/struct.CREDIT_CARD.html @@ -1,19 +1,19 @@ -CREDIT_CARD in mcaptcha - Rust

    Struct mcaptcha::CREDIT_CARD

    source ·
    pub struct CREDIT_CARD {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for CREDIT_CARD

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for CREDIT_CARD

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +CREDIT_CARD in mcaptcha - Rust

    Struct mcaptcha::CREDIT_CARD

    source ·
    pub struct CREDIT_CARD {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for CREDIT_CARD

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for CREDIT_CARD

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.CSS.html b/mcaptcha/struct.CSS.html index ffc80838..ab8a472c 100644 --- a/mcaptcha/struct.CSS.html +++ b/mcaptcha/struct.CSS.html @@ -1,7 +1,7 @@ -CSS in mcaptcha - Rust

    Struct mcaptcha::CSS

    source ·
    pub struct CSS {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +CSS in mcaptcha - Rust

    Struct mcaptcha::CSS

    source ·
    pub struct CSS {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -9,14 +9,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -33,7 +33,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -48,9 +48,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -61,24 +61,24 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -90,8 +90,8 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -110,14 +110,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -138,12 +138,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -155,10 +155,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -181,7 +181,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -191,12 +191,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -217,7 +217,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -231,7 +231,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -243,12 +243,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -273,10 +273,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -301,7 +301,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -335,8 +335,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -344,45 +344,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -406,12 +406,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -433,17 +433,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -506,13 +506,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -525,17 +525,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -554,21 +554,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -578,13 +578,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -592,7 +592,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -603,17 +603,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -633,19 +633,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -661,69 +661,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -733,19 +733,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -755,14 +755,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -782,7 +782,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -802,7 +802,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -823,7 +823,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -844,11 +844,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -861,10 +861,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -877,34 +877,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -922,10 +922,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -938,11 +938,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -960,16 +960,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -987,23 +987,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1022,7 +1022,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1039,7 +1039,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1056,9 +1056,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1068,13 +1068,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1084,15 +1084,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1115,11 +1115,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1137,7 +1137,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1148,42 +1148,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for CSS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for CSS

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for CSS

    §

    impl Send for CSS

    §

    impl Sync for CSS

    §

    impl Unpin for CSS

    §

    impl UnwindSafe for CSS

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for CSS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for CSS

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for CSS

    §

    impl Send for CSS

    §

    impl Sync for CSS

    §

    impl Unpin for CSS

    §

    impl UnwindSafe for CSS

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/struct.DOCS_ICON.html b/mcaptcha/struct.DOCS_ICON.html index 96f717bd..83e4fd0b 100644 --- a/mcaptcha/struct.DOCS_ICON.html +++ b/mcaptcha/struct.DOCS_ICON.html @@ -1,19 +1,19 @@ -DOCS_ICON in mcaptcha - Rust

    Struct mcaptcha::DOCS_ICON

    source ·
    pub struct DOCS_ICON {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for DOCS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for DOCS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +DOCS_ICON in mcaptcha - Rust

    Struct mcaptcha::DOCS_ICON

    source ·
    pub struct DOCS_ICON {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for DOCS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for DOCS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.Data.html b/mcaptcha/struct.Data.html index 4645c8a7..fd5ae3a5 100644 --- a/mcaptcha/struct.Data.html +++ b/mcaptcha/struct.Data.html @@ -1,34 +1,34 @@ -Data in mcaptcha - Rust

    Struct mcaptcha::Data

    source ·
    pub struct Data {
    -    pub db: Box<dyn MCDatabase>,
    +Data in mcaptcha - Rust

    Struct mcaptcha::Data

    source ·
    pub struct Data {
    +    pub db: Box<dyn MCDatabase>,
         pub creds: Config,
         pub captcha: SystemGroup,
    -    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
    +    pub mailer: Option<AsyncSmtpTransport<Tokio1Executor>>,
         pub settings: Settings,
    -    pub stats: Box<dyn Stats>,
    +    pub stats: Box<dyn Stats>,
         pub survey_secrets: SecretsStore,
     }
    Expand description

    App data

    -

    Fields§

    §db: Box<dyn MCDatabase>

    database ops defined by db crates

    +

    Fields§

    §db: Box<dyn MCDatabase>

    database ops defined by db crates

    §creds: Config

    credential management configuration

    §captcha: SystemGroup

    mCaptcha system: Redis cache, etc.

    -
    §mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

    email client

    +
    §mailer: Option<AsyncSmtpTransport<Tokio1Executor>>

    email client

    §settings: Settings

    app settings

    -
    §stats: Box<dyn Stats>

    stats recorder

    +
    §stats: Box<dyn Stats>

    stats recorder

    §survey_secrets: SecretsStore

    survey secret store

    -

    Implementations§

    source§

    impl Data

    source

    pub fn get_creds() -> Config

    source

    pub async fn new(s: &Settings, survey_secrets: SecretsStore) -> Arc<Self>

    create new instance of app data

    -
    source

    fn get_mailer(s: &Settings) -> Option<AsyncSmtpTransport<Tokio1Executor>>

    source

    async fn upload_survey_job(&self) -> Result<(), ServiceError>

    source

    async fn register_survey(&self) -> Result<(), ServiceError>

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Data

    §

    impl Send for Data

    §

    impl Sync for Data

    §

    impl Unpin for Data

    §

    impl !UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Implementations§

    source§

    impl Data

    source

    pub fn get_creds() -> Config

    source

    pub async fn new(s: &Settings, survey_secrets: SecretsStore) -> Arc<Self>

    create new instance of app data

    +
    source

    fn get_mailer(s: &Settings) -> Option<AsyncSmtpTransport<Tokio1Executor>>

    source

    async fn upload_survey_job(&self) -> Result<(), ServiceError>

    source

    async fn register_survey(&self) -> Result<(), ServiceError>

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Data

    §

    impl Send for Data

    §

    impl Sync for Data

    §

    impl Unpin for Data

    §

    impl !UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.FILES.html b/mcaptcha/struct.FILES.html index 6dd95bd8..5862c37d 100644 --- a/mcaptcha/struct.FILES.html +++ b/mcaptcha/struct.FILES.html @@ -1,19 +1,19 @@ -FILES in mcaptcha - Rust

    Struct mcaptcha::FILES

    source ·
    pub struct FILES {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = FileMap>§

    source

    pub fn get<'a>(&'a self, path: &'a str) -> Option<&'a str>

    Trait Implementations§

    source§

    impl Deref for FILES

    §

    type Target = FileMap

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &FileMap

    Dereferences the value.
    source§

    impl LazyStatic for FILES

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for FILES

    §

    impl Send for FILES

    §

    impl Sync for FILES

    §

    impl Unpin for FILES

    §

    impl UnwindSafe for FILES

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +FILES in mcaptcha - Rust

    Struct mcaptcha::FILES

    source ·
    pub struct FILES {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = FileMap>§

    source

    pub fn get<'a>(&'a self, path: &'a str) -> Option<&'a str>

    Trait Implementations§

    source§

    impl Deref for FILES

    §

    type Target = FileMap

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &FileMap

    Dereferences the value.
    source§

    impl LazyStatic for FILES

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for FILES

    §

    impl Send for FILES

    §

    impl Sync for FILES

    §

    impl Unpin for FILES

    §

    impl UnwindSafe for FILES

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.GITHUB.html b/mcaptcha/struct.GITHUB.html index cc19f97c..f38c86b5 100644 --- a/mcaptcha/struct.GITHUB.html +++ b/mcaptcha/struct.GITHUB.html @@ -1,19 +1,19 @@ -GITHUB in mcaptcha - Rust

    Struct mcaptcha::GITHUB

    source ·
    pub struct GITHUB {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for GITHUB

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for GITHUB

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +GITHUB in mcaptcha - Rust

    Struct mcaptcha::GITHUB

    source ·
    pub struct GITHUB {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for GITHUB

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for GITHUB

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.HELP_CIRCLE.html b/mcaptcha/struct.HELP_CIRCLE.html index 6105273f..4c93491e 100644 --- a/mcaptcha/struct.HELP_CIRCLE.html +++ b/mcaptcha/struct.HELP_CIRCLE.html @@ -1,19 +1,19 @@ -HELP_CIRCLE in mcaptcha - Rust

    Struct mcaptcha::HELP_CIRCLE

    source ·
    pub struct HELP_CIRCLE {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HELP_CIRCLE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HELP_CIRCLE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +HELP_CIRCLE in mcaptcha - Rust

    Struct mcaptcha::HELP_CIRCLE

    source ·
    pub struct HELP_CIRCLE {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HELP_CIRCLE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HELP_CIRCLE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.HOME.html b/mcaptcha/struct.HOME.html index 5e297e77..7bdaa086 100644 --- a/mcaptcha/struct.HOME.html +++ b/mcaptcha/struct.HOME.html @@ -1,19 +1,19 @@ -HOME in mcaptcha - Rust

    Struct mcaptcha::HOME

    source ·
    pub struct HOME {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HOME

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HOME

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for HOME

    §

    impl Send for HOME

    §

    impl Sync for HOME

    §

    impl Unpin for HOME

    §

    impl UnwindSafe for HOME

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +HOME in mcaptcha - Rust

    Struct mcaptcha::HOME

    source ·
    pub struct HOME {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for HOME

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for HOME

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for HOME

    §

    impl Send for HOME

    §

    impl Sync for HOME

    §

    impl Unpin for HOME

    §

    impl UnwindSafe for HOME

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.JS.html b/mcaptcha/struct.JS.html index 6962e477..c51fb17b 100644 --- a/mcaptcha/struct.JS.html +++ b/mcaptcha/struct.JS.html @@ -1,7 +1,7 @@ -JS in mcaptcha - Rust

    Struct mcaptcha::JS

    source ·
    pub struct JS {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +JS in mcaptcha - Rust

    Struct mcaptcha::JS

    source ·
    pub struct JS {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -9,14 +9,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -33,7 +33,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -48,9 +48,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -61,24 +61,24 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -90,8 +90,8 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -110,14 +110,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -138,12 +138,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -155,10 +155,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -181,7 +181,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -191,12 +191,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -217,7 +217,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -231,7 +231,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -243,12 +243,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -273,10 +273,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -301,7 +301,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -335,8 +335,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -344,45 +344,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -406,12 +406,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -433,17 +433,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -506,13 +506,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -525,17 +525,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -554,21 +554,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -578,13 +578,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -592,7 +592,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -603,17 +603,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -633,19 +633,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -661,69 +661,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -733,19 +733,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -755,14 +755,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -782,7 +782,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -802,7 +802,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -823,7 +823,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -844,11 +844,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -861,10 +861,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -877,34 +877,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -922,10 +922,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -938,11 +938,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -960,16 +960,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -987,23 +987,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1022,7 +1022,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1039,7 +1039,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1056,9 +1056,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1068,13 +1068,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1084,15 +1084,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1115,11 +1115,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1137,7 +1137,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1148,42 +1148,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for JS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for JS

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for JS

    §

    impl Send for JS

    §

    impl Sync for JS

    §

    impl Unpin for JS

    §

    impl UnwindSafe for JS

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for JS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for JS

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for JS

    §

    impl Send for JS

    §

    impl Sync for JS

    §

    impl Unpin for JS

    §

    impl UnwindSafe for JS

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/struct.KEY.html b/mcaptcha/struct.KEY.html index 621bf7b7..c8fdeee5 100644 --- a/mcaptcha/struct.KEY.html +++ b/mcaptcha/struct.KEY.html @@ -1,19 +1,19 @@ -KEY in mcaptcha - Rust

    Struct mcaptcha::KEY

    source ·
    pub struct KEY {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for KEY

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for KEY

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for KEY

    §

    impl Send for KEY

    §

    impl Sync for KEY

    §

    impl Unpin for KEY

    §

    impl UnwindSafe for KEY

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +KEY in mcaptcha - Rust

    Struct mcaptcha::KEY

    source ·
    pub struct KEY {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for KEY

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for KEY

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for KEY

    §

    impl Send for KEY

    §

    impl Sync for KEY

    §

    impl Unpin for KEY

    §

    impl UnwindSafe for KEY

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html b/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html index 2a5bc8f1..64b5d2f9 100644 --- a/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html +++ b/mcaptcha/struct.MCAPTCHA_TRANS_ICON.html @@ -1,19 +1,19 @@ -MCAPTCHA_TRANS_ICON in mcaptcha - Rust
    pub struct MCAPTCHA_TRANS_ICON {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MCAPTCHA_TRANS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MCAPTCHA_TRANS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +MCAPTCHA_TRANS_ICON in mcaptcha - Rust
    pub struct MCAPTCHA_TRANS_ICON {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MCAPTCHA_TRANS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MCAPTCHA_TRANS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.MESSAGE.html b/mcaptcha/struct.MESSAGE.html index a0399a84..a728b770 100644 --- a/mcaptcha/struct.MESSAGE.html +++ b/mcaptcha/struct.MESSAGE.html @@ -1,19 +1,19 @@ -MESSAGE in mcaptcha - Rust

    Struct mcaptcha::MESSAGE

    source ·
    pub struct MESSAGE {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MESSAGE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MESSAGE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +MESSAGE in mcaptcha - Rust

    Struct mcaptcha::MESSAGE

    source ·
    pub struct MESSAGE {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for MESSAGE

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for MESSAGE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.MOBILE_CSS.html b/mcaptcha/struct.MOBILE_CSS.html index 5534e2a4..b31e919f 100644 --- a/mcaptcha/struct.MOBILE_CSS.html +++ b/mcaptcha/struct.MOBILE_CSS.html @@ -1,7 +1,7 @@ -MOBILE_CSS in mcaptcha - Rust

    Struct mcaptcha::MOBILE_CSS

    source ·
    pub struct MOBILE_CSS {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +MOBILE_CSS in mcaptcha - Rust

    Struct mcaptcha::MOBILE_CSS

    source ·
    pub struct MOBILE_CSS {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -9,14 +9,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -33,7 +33,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -48,9 +48,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -61,24 +61,24 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -90,8 +90,8 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -110,14 +110,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -138,12 +138,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -155,10 +155,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -181,7 +181,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -191,12 +191,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -217,7 +217,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -231,7 +231,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -243,12 +243,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -273,10 +273,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -301,7 +301,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -335,8 +335,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -344,45 +344,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -406,12 +406,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -433,17 +433,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -506,13 +506,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -525,17 +525,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -554,21 +554,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -578,13 +578,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -592,7 +592,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -603,17 +603,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -633,19 +633,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -661,69 +661,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -733,19 +733,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -755,14 +755,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -782,7 +782,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -802,7 +802,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -823,7 +823,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -844,11 +844,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -861,10 +861,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -877,34 +877,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -922,10 +922,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -938,11 +938,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -960,16 +960,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -987,23 +987,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1022,7 +1022,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1039,7 +1039,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1056,9 +1056,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1068,13 +1068,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1084,15 +1084,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1115,11 +1115,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1137,7 +1137,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1148,42 +1148,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for MOBILE_CSS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for MOBILE_CSS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for MOBILE_CSS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for MOBILE_CSS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/struct.SETTINGS.html b/mcaptcha/struct.SETTINGS.html index 1f4973f1..50e18581 100644 --- a/mcaptcha/struct.SETTINGS.html +++ b/mcaptcha/struct.SETTINGS.html @@ -1,19 +1,19 @@ -SETTINGS in mcaptcha - Rust

    Struct mcaptcha::SETTINGS

    source ·
    pub struct SETTINGS {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = Settings>§

    source

    fn check_url(&self)

    Trait Implementations§

    source§

    impl Deref for SETTINGS

    §

    type Target = Settings

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Settings

    Dereferences the value.
    source§

    impl LazyStatic for SETTINGS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SETTINGS in mcaptcha - Rust

    Struct mcaptcha::SETTINGS

    source ·
    pub struct SETTINGS {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = Settings>§

    source

    fn check_url(&self)

    Trait Implementations§

    source§

    impl Deref for SETTINGS

    §

    type Target = Settings

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Settings

    Dereferences the value.
    source§

    impl LazyStatic for SETTINGS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.SETTINGS_ICON.html b/mcaptcha/struct.SETTINGS_ICON.html index 50d66ece..8c7bf1ab 100644 --- a/mcaptcha/struct.SETTINGS_ICON.html +++ b/mcaptcha/struct.SETTINGS_ICON.html @@ -1,19 +1,19 @@ -SETTINGS_ICON in mcaptcha - Rust

    Struct mcaptcha::SETTINGS_ICON

    source ·
    pub struct SETTINGS_ICON {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for SETTINGS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for SETTINGS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SETTINGS_ICON in mcaptcha - Rust

    Struct mcaptcha::SETTINGS_ICON

    source ·
    pub struct SETTINGS_ICON {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Trait Implementations§

    source§

    impl Deref for SETTINGS_ICON

    §

    type Target = (&'static str, &'static str)

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &(&'static str, &'static str)

    Dereferences the value.
    source§

    impl LazyStatic for SETTINGS_ICON

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html b/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html index 057bbfce..47957e48 100644 --- a/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html +++ b/mcaptcha/struct.SOURCE_FILES_OF_INSTANCE.html @@ -1,23 +1,23 @@ -SOURCE_FILES_OF_INSTANCE in mcaptcha - Rust
    pub struct SOURCE_FILES_OF_INSTANCE {
    -    pub(crate) __private_field: (),
    +SOURCE_FILES_OF_INSTANCE in mcaptcha - Rust
    pub struct SOURCE_FILES_OF_INSTANCE {
    +    pub(crate) __private_field: (),
     }
    Expand description

    points to source files matching build commit

    -

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -27,15 +27,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -43,14 +43,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -67,7 +67,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -82,9 +82,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -95,12 +95,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -126,25 +126,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -156,13 +156,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -181,8 +181,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -201,11 +201,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -224,14 +224,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -252,18 +252,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -272,12 +272,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -289,12 +289,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -307,10 +307,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -333,7 +333,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -343,12 +343,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -369,7 +369,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -383,7 +383,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -395,12 +395,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -425,10 +425,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -453,7 +453,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -487,8 +487,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -496,45 +496,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -558,12 +558,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -585,17 +585,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -658,13 +658,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -677,17 +677,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -706,21 +706,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -730,13 +730,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -744,7 +744,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -755,17 +755,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -785,19 +785,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -813,69 +813,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -885,19 +885,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -907,14 +907,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -934,7 +934,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -954,7 +954,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -975,7 +975,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -996,11 +996,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1013,10 +1013,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1029,34 +1029,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1074,10 +1074,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1090,11 +1090,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1112,16 +1112,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1139,23 +1139,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1166,7 +1166,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1177,7 +1177,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1196,7 +1196,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1213,7 +1213,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1230,9 +1230,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1242,13 +1242,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1258,15 +1258,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1289,11 +1289,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1311,7 +1311,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1322,42 +1322,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for SOURCE_FILES_OF_INSTANCE

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for SOURCE_FILES_OF_INSTANCE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for SOURCE_FILES_OF_INSTANCE

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for SOURCE_FILES_OF_INSTANCE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/struct.Settings.html b/mcaptcha/struct.Settings.html index 66251786..a9aed655 100644 --- a/mcaptcha/struct.Settings.html +++ b/mcaptcha/struct.Settings.html @@ -1,40 +1,40 @@ -Settings in mcaptcha - Rust

    Struct mcaptcha::Settings

    source ·
    pub struct Settings {
    -    pub debug: bool,
    -    pub commercial: bool,
    -    pub source_code: String,
    -    pub allow_registration: bool,
    -    pub allow_demo: bool,
    +Settings in mcaptcha - Rust

    Struct mcaptcha::Settings

    source ·
    pub struct Settings {
    +    pub debug: bool,
    +    pub commercial: bool,
    +    pub source_code: String,
    +    pub allow_registration: bool,
    +    pub allow_demo: bool,
         pub database: Database,
    -    pub survey: Option<Survey>,
    -    pub redis: Option<Redis>,
    +    pub survey: Option<Survey>,
    +    pub redis: Option<Redis>,
         pub server: Server,
         pub captcha: Captcha,
    -    pub smtp: Option<Smtp>,
    -}

    Fields§

    §debug: bool§commercial: bool§source_code: String§allow_registration: bool§allow_demo: bool§database: Database§survey: Option<Survey>§redis: Option<Redis>§server: Server§captcha: Captcha§smtp: Option<Smtp>

    Implementations§

    source§

    impl Settings

    source

    pub fn new() -> Result<Self, ConfigError>

    source

    fn env_override(s: ConfigBuilder<DefaultState>) -> ConfigBuilder<DefaultState>

    source

    fn set_database_type(&mut self)

    source

    fn check_url(&self)

    Trait Implementations§

    source§

    impl Clone for Settings

    source§

    fn clone(&self) -> Settings

    Returns a copy of 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 Settings

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Settings

    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<Settings> for Settings

    source§

    fn eq(&self, other: &Settings) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Settings

    source§

    impl StructuralEq for Settings

    source§

    impl StructuralPartialEq for Settings

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere - Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + pub smtp: Option<Smtp>, +}

    Fields§

    §debug: bool§commercial: bool§source_code: String§allow_registration: bool§allow_demo: bool§database: Database§survey: Option<Survey>§redis: Option<Redis>§server: Server§captcha: Captcha§smtp: Option<Smtp>

    Implementations§

    source§

    impl Settings

    source

    pub fn new() -> Result<Self, ConfigError>

    source

    fn env_override(s: ConfigBuilder<DefaultState>) -> ConfigBuilder<DefaultState>

    source

    fn set_database_type(&mut self)

    source

    fn check_url(&self)

    Trait Implementations§

    source§

    impl Clone for Settings

    source§

    fn clone(&self) -> Settings

    Returns a copy of 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 Settings

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Settings

    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<Settings> for Settings

    source§

    fn eq(&self, other: &Settings) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&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 Eq for Settings

    source§

    impl StructuralEq for Settings

    source§

    impl StructuralPartialEq for Settings

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Qwhere + Q: Eq + ?Sized, + K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

    \ No newline at end of file diff --git a/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html b/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html index d294486d..4f519a00 100644 --- a/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html +++ b/mcaptcha/struct.VERIFICATIN_WIDGET_CSS.html @@ -1,7 +1,7 @@ -VERIFICATIN_WIDGET_CSS in mcaptcha - Rust
    pub struct VERIFICATIN_WIDGET_CSS {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +VERIFICATIN_WIDGET_CSS in mcaptcha - Rust

    pub struct VERIFICATIN_WIDGET_CSS {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -9,14 +9,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -33,7 +33,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -48,9 +48,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -61,24 +61,24 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -90,8 +90,8 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -110,14 +110,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -138,12 +138,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -155,10 +155,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -181,7 +181,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -191,12 +191,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -217,7 +217,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -231,7 +231,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -243,12 +243,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -273,10 +273,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -301,7 +301,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -335,8 +335,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -344,45 +344,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -406,12 +406,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -433,17 +433,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -506,13 +506,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -525,17 +525,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -554,21 +554,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -578,13 +578,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -592,7 +592,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -603,17 +603,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -633,19 +633,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -661,69 +661,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -733,19 +733,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -755,14 +755,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -782,7 +782,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -802,7 +802,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -823,7 +823,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -844,11 +844,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -861,10 +861,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -877,34 +877,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -922,10 +922,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -938,11 +938,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -960,16 +960,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -987,23 +987,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1022,7 +1022,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1039,7 +1039,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1056,9 +1056,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1068,13 +1068,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1084,15 +1084,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1115,11 +1115,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1137,7 +1137,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1148,42 +1148,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for VERIFICATIN_WIDGET_CSS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for VERIFICATIN_WIDGET_CSS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for VERIFICATIN_WIDGET_CSS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for VERIFICATIN_WIDGET_CSS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html b/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html index b662c95a..1198e6f8 100644 --- a/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html +++ b/mcaptcha/struct.VERIFICATIN_WIDGET_JS.html @@ -1,7 +1,7 @@ -VERIFICATIN_WIDGET_JS in mcaptcha - Rust
    pub struct VERIFICATIN_WIDGET_JS {
    -    pub(crate) __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +VERIFICATIN_WIDGET_JS in mcaptcha - Rust

    pub struct VERIFICATIN_WIDGET_JS {
    +    pub(crate) __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = &'static str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -9,14 +9,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -33,7 +33,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -48,9 +48,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -61,24 +61,24 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -90,8 +90,8 @@ If you need to mutate the contents of the string slice, use // out of bounds
     assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -110,14 +110,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -138,12 +138,12 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -155,10 +155,10 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -181,7 +181,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -191,12 +191,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -217,7 +217,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -231,7 +231,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -243,12 +243,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -273,10 +273,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -301,7 +301,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -335,8 +335,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -344,45 +344,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -406,12 +406,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -433,17 +433,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -506,13 +506,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -525,17 +525,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -554,21 +554,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -578,13 +578,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -592,7 +592,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -603,17 +603,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -633,19 +633,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -661,69 +661,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -733,19 +733,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -755,14 +755,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -782,7 +782,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -802,7 +802,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -823,7 +823,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -844,11 +844,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -861,10 +861,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -877,34 +877,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -922,10 +922,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -938,11 +938,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -960,16 +960,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -987,23 +987,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1022,7 +1022,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1039,7 +1039,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1056,9 +1056,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1068,13 +1068,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1084,15 +1084,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1115,11 +1115,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1137,7 +1137,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1148,42 +1148,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for VERIFICATIN_WIDGET_JS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for VERIFICATIN_WIDGET_JS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for VERIFICATIN_WIDGET_JS

    §

    type Target = &'static str

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &&'static str

    Dereferences the value.
    source§

    impl LazyStatic for VERIFICATIN_WIDGET_JS

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/survey/index.html b/mcaptcha/survey/index.html index 98e945b5..5bf25372 100644 --- a/mcaptcha/survey/index.html +++ b/mcaptcha/survey/index.html @@ -1 +1 @@ -mcaptcha::survey - Rust
    \ No newline at end of file +mcaptcha::survey - Rust
    \ No newline at end of file diff --git a/mcaptcha/survey/struct.SecretsStore.html b/mcaptcha/survey/struct.SecretsStore.html index afeb4fd5..c0389fbd 100644 --- a/mcaptcha/survey/struct.SecretsStore.html +++ b/mcaptcha/survey/struct.SecretsStore.html @@ -1,20 +1,20 @@ -SecretsStore in mcaptcha::survey - Rust
    pub struct SecretsStore {
    -    store: Arc<RwLock<HashMap<String, String>>>,
    -}

    Fields§

    §store: Arc<RwLock<HashMap<String, String>>>

    Implementations§

    source§

    impl SecretsStore

    source

    pub fn get(&self, key: &str) -> Option<String>

    source

    pub fn rm(&self, key: &str)

    source

    pub fn set(&self, key: String, value: String)

    Trait Implementations§

    source§

    impl Clone for SecretsStore

    source§

    fn clone(&self) -> SecretsStore

    Returns a copy of 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 SecretsStore

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SecretsStore

    source§

    fn default() -> SecretsStore

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +SecretsStore in mcaptcha::survey - Rust
    pub struct SecretsStore {
    +    store: Arc<RwLock<HashMap<String, String>>>,
    +}

    Fields§

    §store: Arc<RwLock<HashMap<String, String>>>

    Implementations§

    source§

    impl SecretsStore

    source

    pub fn get(&self, key: &str) -> Option<String>

    source

    pub fn rm(&self, key: &str)

    source

    pub fn set(&self, key: String, value: String)

    Trait Implementations§

    source§

    impl Clone for SecretsStore

    source§

    fn clone(&self) -> SecretsStore

    Returns a copy of 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 SecretsStore

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SecretsStore

    source§

    fn default() -> SecretsStore

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/survey/struct.Survey.html b/mcaptcha/survey/struct.Survey.html index 950449ad..a27d9dc8 100644 --- a/mcaptcha/survey/struct.Survey.html +++ b/mcaptcha/survey/struct.Survey.html @@ -1,37 +1,37 @@ -Survey in mcaptcha::survey - Rust

    Struct mcaptcha::survey::Survey

    source ·
    pub struct Survey {
    +Survey in mcaptcha::survey - Rust

    Struct mcaptcha::survey::Survey

    source ·
    pub struct Survey {
         client: Client,
         app_ctx: AppData,
    -}

    Fields§

    §client: Client§app_ctx: AppData

    Implementations§

    source§

    impl Survey

    source

    pub fn new(app_ctx: AppData) -> Self

    Trait Implementations§

    source§

    impl Clone for Survey

    source§

    fn clone(&self) -> Survey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl SurveyClientTrait for Survey

    source§

    fn start_job<'life0, 'async_trait>( +}

    Fields§

    §client: Client§app_ctx: AppData

    Implementations§

    source§

    impl Survey

    source

    pub fn new(app_ctx: AppData) -> Self

    Trait Implementations§

    source§

    impl Clone for Survey

    source§

    fn clone(&self) -> Survey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl SurveyClientTrait for Survey

    source§

    fn start_job<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(Sender<()>, JoinHandle<()>), ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(Sender<()>, JoinHandle<()>), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn is_online<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn schedule_upload_job<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    source§

    fn register<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Survey

    §

    impl Send for Survey

    §

    impl Sync for Survey

    §

    impl Unpin for Survey

    §

    impl !UnwindSafe for Survey

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + 'life0: 'async_trait,

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Survey

    §

    impl Send for Survey

    §

    impl Sync for Survey

    §

    impl Unpin for Survey

    §

    impl !UnwindSafe for Survey

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/survey/trait.SurveyClientTrait.html b/mcaptcha/survey/trait.SurveyClientTrait.html index 5a65b7c4..1f00f8a7 100644 --- a/mcaptcha/survey/trait.SurveyClientTrait.html +++ b/mcaptcha/survey/trait.SurveyClientTrait.html @@ -1,39 +1,39 @@ -SurveyClientTrait in mcaptcha::survey - Rust
    pub trait SurveyClientTrait {
    +SurveyClientTrait in mcaptcha::survey - Rust
    pub trait SurveyClientTrait {
         // Required methods
         fn start_job<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(Sender<()>, JoinHandle<()>), ServiceError>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(Sender<()>, JoinHandle<()>), ServiceError>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn schedule_upload_job<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn is_online<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
         fn register<'life0, 'async_trait>(
             &'life0 self
    -    ) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>
    +    ) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>
            where Self: 'async_trait,
                  'life0: 'async_trait;
     }

    Required Methods§

    source

    fn start_job<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(Sender<()>, JoinHandle<()>), ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(Sender<()>, JoinHandle<()>), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn schedule_upload_job<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn is_online<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<bool, ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    source

    fn register<'life0, 'async_trait>( &'life0 self -) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Implementors§

    \ No newline at end of file diff --git a/mcaptcha/type.AppData.html b/mcaptcha/type.AppData.html index d9f69cb0..660f5cdf 100644 --- a/mcaptcha/type.AppData.html +++ b/mcaptcha/type.AppData.html @@ -1 +1,2 @@ -AppData in mcaptcha - Rust

    Type Definition mcaptcha::AppData

    source ·
    pub type AppData = Data<ArcData>;
    \ No newline at end of file +AppData in mcaptcha - Rust

    Type Alias mcaptcha::AppData

    source ·
    pub type AppData = Data<ArcData>;

    Aliased Type§

    struct AppData(Arc<Arc<Data, Global>, Global>);

    Fields§

    §0: Arc<Arc<Data, Global>, Global>

    Trait Implementations§

    §

    impl<T> Deref for Data<T>where + T: ?Sized,

    §

    type Target = Arc<T, Global>

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &Arc<T, Global>

    Dereferences the value.
    \ No newline at end of file diff --git a/mcaptcha/type.ArcData.html b/mcaptcha/type.ArcData.html index 08789996..6817e329 100644 --- a/mcaptcha/type.ArcData.html +++ b/mcaptcha/type.ArcData.html @@ -1 +1,907 @@ -ArcData in mcaptcha - Rust

    Type Definition mcaptcha::ArcData

    source ·
    pub type ArcData = Arc<Data>;
    \ No newline at end of file +ArcData in mcaptcha - Rust

    Type Alias mcaptcha::ArcData

    source ·
    pub type ArcData = Arc<Data>;

    Aliased Type§

    struct ArcData {
    +    ptr: NonNull<ArcInner<Data>>,
    +    phantom: PhantomData<ArcInner<Data>>,
    +    alloc: Global,
    +}

    Fields§

    §ptr: NonNull<ArcInner<Data>>§phantom: PhantomData<ArcInner<Data>>§alloc: Global

    Implementations§

    source§

    impl<T> Arc<T, Global>

    1.0.0 · source

    pub fn new(data: T) -> Arc<T, Global>

    Constructs a new Arc<T>.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    1.60.0 · source

    pub fn new_cyclic<F>(data_fn: F) -> Arc<T, Global>where + F: FnOnce(&Weak<T, Global>) -> T,

    Constructs a new Arc<T> while giving you a Weak<T> to the allocation, +to allow you to construct a T which holds a weak pointer to itself.

    +

    Generally, a structure circularly referencing itself, either directly or +indirectly, should not hold a strong reference to itself to prevent a memory leak. +Using this function, you get access to the weak pointer during the +initialization of T, before the Arc<T> is created, such that you can +clone and store it inside the T.

    +

    new_cyclic first allocates the managed allocation for the Arc<T>, +then calls your closure, giving it a Weak<T> to this allocation, +and only afterwards completes the construction of the Arc<T> by placing +the T returned from your closure into the allocation.

    +

    Since the new Arc<T> is not fully-constructed until Arc<T>::new_cyclic +returns, calling upgrade on the weak reference inside your closure will +fail and result in a None value.

    +
    Panics
    +

    If data_fn panics, the panic is propagated to the caller, and the +temporary Weak<T> is dropped normally.

    +
    Example
    +
    use std::sync::{Arc, Weak};
    +
    +struct Gadget {
    +    me: Weak<Gadget>,
    +}
    +
    +impl Gadget {
    +    /// Construct a reference counted Gadget.
    +    fn new() -> Arc<Self> {
    +        // `me` is a `Weak<Gadget>` pointing at the new allocation of the
    +        // `Arc` we're constructing.
    +        Arc::new_cyclic(|me| {
    +            // Create the actual struct here.
    +            Gadget { me: me.clone() }
    +        })
    +    }
    +
    +    /// Return a reference counted pointer to Self.
    +    fn me(&self) -> Arc<Self> {
    +        self.me.upgrade().unwrap()
    +    }
    +}
    +
    source

    pub fn new_uninit() -> Arc<MaybeUninit<T>, Global>

    🔬This is a nightly-only experimental API. (new_uninit)

    Constructs a new Arc with uninitialized contents.

    +
    Examples
    +
    #![feature(new_uninit)]
    +#![feature(get_mut_unchecked)]
    +
    +use std::sync::Arc;
    +
    +let mut five = Arc::<u32>::new_uninit();
    +
    +// Deferred initialization:
    +Arc::get_mut(&mut five).unwrap().write(5);
    +
    +let five = unsafe { five.assume_init() };
    +
    +assert_eq!(*five, 5)
    +
    source

    pub fn new_zeroed() -> Arc<MaybeUninit<T>, Global>

    🔬This is a nightly-only experimental API. (new_uninit)

    Constructs a new Arc with uninitialized contents, with the memory +being filled with 0 bytes.

    +

    See MaybeUninit::zeroed for examples of correct and incorrect usage +of this method.

    +
    Examples
    +
    #![feature(new_uninit)]
    +
    +use std::sync::Arc;
    +
    +let zero = Arc::<u32>::new_zeroed();
    +let zero = unsafe { zero.assume_init() };
    +
    +assert_eq!(*zero, 0)
    +
    1.33.0 · source

    pub fn pin(data: T) -> Pin<Arc<T, Global>>

    Constructs a new Pin<Arc<T>>. If T does not implement Unpin, then +data will be pinned in memory and unable to be moved.

    +
    source

    pub fn try_pin(data: T) -> Result<Pin<Arc<T, Global>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Pin<Arc<T>>, return an error if allocation fails.

    +
    source

    pub fn try_new(data: T) -> Result<Arc<T, Global>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc<T>, returning an error if allocation fails.

    +
    Examples
    +
    #![feature(allocator_api)]
    +use std::sync::Arc;
    +
    +let five = Arc::try_new(5)?;
    +
    source

    pub fn try_new_uninit() -> Result<Arc<MaybeUninit<T>, Global>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc with uninitialized contents, returning an error +if allocation fails.

    +
    Examples
    +
    #![feature(new_uninit, allocator_api)]
    +#![feature(get_mut_unchecked)]
    +
    +use std::sync::Arc;
    +
    +let mut five = Arc::<u32>::try_new_uninit()?;
    +
    +// Deferred initialization:
    +Arc::get_mut(&mut five).unwrap().write(5);
    +
    +let five = unsafe { five.assume_init() };
    +
    +assert_eq!(*five, 5);
    +
    source

    pub fn try_new_zeroed() -> Result<Arc<MaybeUninit<T>, Global>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc with uninitialized contents, with the memory +being filled with 0 bytes, returning an error if allocation fails.

    +

    See MaybeUninit::zeroed for examples of correct and incorrect usage +of this method.

    +
    Examples
    +
    #![feature(new_uninit, allocator_api)]
    +
    +use std::sync::Arc;
    +
    +let zero = Arc::<u32>::try_new_zeroed()?;
    +let zero = unsafe { zero.assume_init() };
    +
    +assert_eq!(*zero, 0);
    +
    source§

    impl<T, A> Arc<T, A>where + A: Allocator,

    source

    pub fn allocator(this: &Arc<T, A>) -> &A

    🔬This is a nightly-only experimental API. (allocator_api)

    Returns a reference to the underlying allocator.

    +

    Note: this is an associated function, which means that you have +to call it as Arc::allocator(&a) instead of a.allocator(). This +is so that there is no conflict with a method on the inner type.

    +
    source

    pub fn new_in(data: T, alloc: A) -> Arc<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc<T> in the provided allocator.

    +
    Examples
    +
    #![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let five = Arc::new_in(5, System);
    +
    source

    pub fn new_uninit_in(alloc: A) -> Arc<MaybeUninit<T>, A>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc with uninitialized contents in the provided allocator.

    +
    Examples
    +
    #![feature(new_uninit)]
    +#![feature(get_mut_unchecked)]
    +#![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let mut five = Arc::<u32, _>::new_uninit_in(System);
    +
    +let five = unsafe {
    +    // Deferred initialization:
    +    Arc::get_mut_unchecked(&mut five).as_mut_ptr().write(5);
    +
    +    five.assume_init()
    +};
    +
    +assert_eq!(*five, 5)
    +
    source

    pub fn new_zeroed_in(alloc: A) -> Arc<MaybeUninit<T>, A>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc with uninitialized contents, with the memory +being filled with 0 bytes, in the provided allocator.

    +

    See MaybeUninit::zeroed for examples of correct and incorrect usage +of this method.

    +
    Examples
    +
    #![feature(new_uninit)]
    +#![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let zero = Arc::<u32, _>::new_zeroed_in(System);
    +let zero = unsafe { zero.assume_init() };
    +
    +assert_eq!(*zero, 0)
    +
    source

    pub fn pin_in(data: T, alloc: A) -> Pin<Arc<T, A>>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Pin<Arc<T, A>> in the provided allocator. If T does not implement Unpin, +then data will be pinned in memory and unable to be moved.

    +
    source

    pub fn try_pin_in(data: T, alloc: A) -> Result<Pin<Arc<T, A>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Pin<Arc<T, A>> in the provided allocator, return an error if allocation +fails.

    +
    source

    pub fn try_new_in(data: T, alloc: A) -> Result<Arc<T, A>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc<T, A> in the provided allocator, returning an error if allocation fails.

    +
    Examples
    +
    #![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let five = Arc::try_new_in(5, System)?;
    +
    source

    pub fn try_new_uninit_in(alloc: A) -> Result<Arc<MaybeUninit<T>, A>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc with uninitialized contents, in the provided allocator, returning an +error if allocation fails.

    +
    Examples
    +
    #![feature(new_uninit, allocator_api)]
    +#![feature(get_mut_unchecked)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let mut five = Arc::<u32, _>::try_new_uninit_in(System)?;
    +
    +let five = unsafe {
    +    // Deferred initialization:
    +    Arc::get_mut_unchecked(&mut five).as_mut_ptr().write(5);
    +
    +    five.assume_init()
    +};
    +
    +assert_eq!(*five, 5);
    +
    source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Arc<MaybeUninit<T>, A>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Arc with uninitialized contents, with the memory +being filled with 0 bytes, in the provided allocator, returning an error if allocation +fails.

    +

    See MaybeUninit::zeroed for examples of correct and incorrect usage +of this method.

    +
    Examples
    +
    #![feature(new_uninit, allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let zero = Arc::<u32, _>::try_new_zeroed_in(System)?;
    +let zero = unsafe { zero.assume_init() };
    +
    +assert_eq!(*zero, 0);
    +
    1.4.0 · source

    pub fn try_unwrap(this: Arc<T, A>) -> Result<T, Arc<T, A>>

    Returns the inner value, if the Arc has exactly one strong reference.

    +

    Otherwise, an Err is returned with the same Arc that was +passed in.

    +

    This will succeed even if there are outstanding weak references.

    +

    It is strongly recommended to use Arc::into_inner instead if you don’t +want to keep the Arc in the Err case. +Immediately dropping the Err payload, like in the expression +Arc::try_unwrap(this).ok(), can still cause the strong count to +drop to zero and the inner value of the Arc to be dropped: +For instance if two threads each execute this expression in parallel, then +there is a race condition. The threads could first both check whether they +have the last clone of their Arc via Arc::try_unwrap, and then +both drop their Arc in the call to ok, +taking the strong count from two down to zero.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let x = Arc::new(3);
    +assert_eq!(Arc::try_unwrap(x), Ok(3));
    +
    +let x = Arc::new(4);
    +let _y = Arc::clone(&x);
    +assert_eq!(*Arc::try_unwrap(x).unwrap_err(), 4);
    +
    1.70.0 · source

    pub fn into_inner(this: Arc<T, A>) -> Option<T>

    Returns the inner value, if the Arc has exactly one strong reference.

    +

    Otherwise, None is returned and the Arc is dropped.

    +

    This will succeed even if there are outstanding weak references.

    +

    If Arc::into_inner is called on every clone of this Arc, +it is guaranteed that exactly one of the calls returns the inner value. +This means in particular that the inner value is not dropped.

    +

    The similar expression Arc::try_unwrap(this).ok() does not +offer such a guarantee. See the last example below +and the documentation of Arc::try_unwrap.

    +
    Examples
    +

    Minimal example demonstrating the guarantee that Arc::into_inner gives.

    + +
    use std::sync::Arc;
    +
    +let x = Arc::new(3);
    +let y = Arc::clone(&x);
    +
    +// Two threads calling `Arc::into_inner` on both clones of an `Arc`:
    +let x_thread = std::thread::spawn(|| Arc::into_inner(x));
    +let y_thread = std::thread::spawn(|| Arc::into_inner(y));
    +
    +let x_inner_value = x_thread.join().unwrap();
    +let y_inner_value = y_thread.join().unwrap();
    +
    +// One of the threads is guaranteed to receive the inner value:
    +assert!(matches!(
    +    (x_inner_value, y_inner_value),
    +    (None, Some(3)) | (Some(3), None)
    +));
    +// The result could also be `(None, None)` if the threads called
    +// `Arc::try_unwrap(x).ok()` and `Arc::try_unwrap(y).ok()` instead.
    +

    A more practical example demonstrating the need for Arc::into_inner:

    + +
    use std::sync::Arc;
    +
    +// Definition of a simple singly linked list using `Arc`:
    +#[derive(Clone)]
    +struct LinkedList<T>(Option<Arc<Node<T>>>);
    +struct Node<T>(T, Option<Arc<Node<T>>>);
    +
    +// Dropping a long `LinkedList<T>` relying on the destructor of `Arc`
    +// can cause a stack overflow. To prevent this, we can provide a
    +// manual `Drop` implementation that does the destruction in a loop:
    +impl<T> Drop for LinkedList<T> {
    +    fn drop(&mut self) {
    +        let mut link = self.0.take();
    +        while let Some(arc_node) = link.take() {
    +            if let Some(Node(_value, next)) = Arc::into_inner(arc_node) {
    +                link = next;
    +            }
    +        }
    +    }
    +}
    +
    +// Implementation of `new` and `push` omitted
    +impl<T> LinkedList<T> {
    +    /* ... */
    +}
    +
    +// The following code could have still caused a stack overflow
    +// despite the manual `Drop` impl if that `Drop` impl had used
    +// `Arc::try_unwrap(arc).ok()` instead of `Arc::into_inner(arc)`.
    +
    +// Create a long list and clone it
    +let mut x = LinkedList::new();
    +for i in 0..100000 {
    +    x.push(i); // Adds i to the front of x
    +}
    +let y = x.clone();
    +
    +// Drop the clones in parallel
    +let x_thread = std::thread::spawn(|| drop(x));
    +let y_thread = std::thread::spawn(|| drop(y));
    +x_thread.join().unwrap();
    +y_thread.join().unwrap();
    +
    source§

    impl<T> Arc<T, Global>where + T: ?Sized,

    1.17.0 · source

    pub unsafe fn from_raw(ptr: *const T) -> Arc<T, Global>

    Constructs an Arc<T> from a raw pointer.

    +

    The raw pointer must have been previously returned by a call to +Arc<U>::into_raw where U must have the same size and +alignment as T. This is trivially true if U is T. +Note that if U is not T but has the same size and alignment, this is +basically like transmuting references of different types. See +mem::transmute for more information on what +restrictions apply in this case.

    +

    The user of from_raw has to make sure a specific value of T is only +dropped once.

    +

    This function is unsafe because improper use may lead to memory unsafety, +even if the returned Arc<T> is never accessed.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let x = Arc::new("hello".to_owned());
    +let x_ptr = Arc::into_raw(x);
    +
    +unsafe {
    +    // Convert back to an `Arc` to prevent leak.
    +    let x = Arc::from_raw(x_ptr);
    +    assert_eq!(&*x, "hello");
    +
    +    // Further calls to `Arc::from_raw(x_ptr)` would be memory-unsafe.
    +}
    +
    +// The memory was freed when `x` went out of scope above, so `x_ptr` is now dangling!
    +
    1.51.0 · source

    pub unsafe fn increment_strong_count(ptr: *const T)

    Increments the strong reference count on the Arc<T> associated with the +provided pointer by one.

    +
    Safety
    +

    The pointer must have been obtained through Arc::into_raw, and the +associated Arc instance must be valid (i.e. the strong count must be at +least 1) for the duration of this method.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +unsafe {
    +    let ptr = Arc::into_raw(five);
    +    Arc::increment_strong_count(ptr);
    +
    +    // This assertion is deterministic because we haven't shared
    +    // the `Arc` between threads.
    +    let five = Arc::from_raw(ptr);
    +    assert_eq!(2, Arc::strong_count(&five));
    +}
    +
    1.51.0 · source

    pub unsafe fn decrement_strong_count(ptr: *const T)

    Decrements the strong reference count on the Arc<T> associated with the +provided pointer by one.

    +
    Safety
    +

    The pointer must have been obtained through Arc::into_raw, and the +associated Arc instance must be valid (i.e. the strong count must be at +least 1) when invoking this method. This method can be used to release the final +Arc and backing storage, but should not be called after the final Arc has been +released.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +unsafe {
    +    let ptr = Arc::into_raw(five);
    +    Arc::increment_strong_count(ptr);
    +
    +    // Those assertions are deterministic because we haven't shared
    +    // the `Arc` between threads.
    +    let five = Arc::from_raw(ptr);
    +    assert_eq!(2, Arc::strong_count(&five));
    +    Arc::decrement_strong_count(ptr);
    +    assert_eq!(1, Arc::strong_count(&five));
    +}
    +
    source§

    impl<T, A> Arc<T, A>where + A: Allocator, + T: ?Sized,

    1.17.0 · source

    pub fn into_raw(this: Arc<T, A>) -> *const T

    Consumes the Arc, returning the wrapped pointer.

    +

    To avoid a memory leak the pointer must be converted back to an Arc using +Arc::from_raw.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let x = Arc::new("hello".to_owned());
    +let x_ptr = Arc::into_raw(x);
    +assert_eq!(unsafe { &*x_ptr }, "hello");
    +
    1.45.0 · source

    pub fn as_ptr(this: &Arc<T, A>) -> *const T

    Provides a raw pointer to the data.

    +

    The counts are not affected in any way and the Arc is not consumed. The pointer is valid for +as long as there are strong counts in the Arc.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let x = Arc::new("hello".to_owned());
    +let y = Arc::clone(&x);
    +let x_ptr = Arc::as_ptr(&x);
    +assert_eq!(x_ptr, Arc::as_ptr(&y));
    +assert_eq!(unsafe { &*x_ptr }, "hello");
    +
    source

    pub unsafe fn from_raw_in(ptr: *const T, alloc: A) -> Arc<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs an Arc<T, A> from a raw pointer.

    +

    The raw pointer must have been previously returned by a call to +Arc<U, A>::into_raw where U must have the same size and +alignment as T. This is trivially true if U is T. +Note that if U is not T but has the same size and alignment, this is +basically like transmuting references of different types. See +mem::transmute for more information on what +restrictions apply in this case.

    +

    The raw pointer must point to a block of memory allocated by alloc

    +

    The user of from_raw has to make sure a specific value of T is only +dropped once.

    +

    This function is unsafe because improper use may lead to memory unsafety, +even if the returned Arc<T> is never accessed.

    +
    Examples
    +
    #![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let x = Arc::new_in("hello".to_owned(), System);
    +let x_ptr = Arc::into_raw(x);
    +
    +unsafe {
    +    // Convert back to an `Arc` to prevent leak.
    +    let x = Arc::from_raw_in(x_ptr, System);
    +    assert_eq!(&*x, "hello");
    +
    +    // Further calls to `Arc::from_raw(x_ptr)` would be memory-unsafe.
    +}
    +
    +// The memory was freed when `x` went out of scope above, so `x_ptr` is now dangling!
    +
    1.4.0 · source

    pub fn downgrade(this: &Arc<T, A>) -> Weak<T, A>where + A: Clone,

    Creates a new Weak pointer to this allocation.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +let weak_five = Arc::downgrade(&five);
    +
    1.15.0 · source

    pub fn weak_count(this: &Arc<T, A>) -> usize

    Gets the number of Weak pointers to this allocation.

    +
    Safety
    +

    This method by itself is safe, but using it correctly requires extra care. +Another thread can change the weak count at any time, +including potentially between calling this method and acting on the result.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +let _weak_five = Arc::downgrade(&five);
    +
    +// This assertion is deterministic because we haven't shared
    +// the `Arc` or `Weak` between threads.
    +assert_eq!(1, Arc::weak_count(&five));
    +
    1.15.0 · source

    pub fn strong_count(this: &Arc<T, A>) -> usize

    Gets the number of strong (Arc) pointers to this allocation.

    +
    Safety
    +

    This method by itself is safe, but using it correctly requires extra care. +Another thread can change the strong count at any time, +including potentially between calling this method and acting on the result.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +let _also_five = Arc::clone(&five);
    +
    +// This assertion is deterministic because we haven't shared
    +// the `Arc` between threads.
    +assert_eq!(2, Arc::strong_count(&five));
    +
    source

    pub unsafe fn increment_strong_count_in(ptr: *const T, alloc: A)where + A: Clone,

    🔬This is a nightly-only experimental API. (allocator_api)

    Increments the strong reference count on the Arc<T> associated with the +provided pointer by one.

    +
    Safety
    +

    The pointer must have been obtained through Arc::into_raw, and the +associated Arc instance must be valid (i.e. the strong count must be at +least 1) for the duration of this method,, and ptr must point to a block of memory +allocated by alloc.

    +
    Examples
    +
    #![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let five = Arc::new_in(5, System);
    +
    +unsafe {
    +    let ptr = Arc::into_raw(five);
    +    Arc::increment_strong_count_in(ptr, System);
    +
    +    // This assertion is deterministic because we haven't shared
    +    // the `Arc` between threads.
    +    let five = Arc::from_raw_in(ptr, System);
    +    assert_eq!(2, Arc::strong_count(&five));
    +}
    +
    source

    pub unsafe fn decrement_strong_count_in(ptr: *const T, alloc: A)

    🔬This is a nightly-only experimental API. (allocator_api)

    Decrements the strong reference count on the Arc<T> associated with the +provided pointer by one.

    +
    Safety
    +

    The pointer must have been obtained through Arc::into_raw, the +associated Arc instance must be valid (i.e. the strong count must be at +least 1) when invoking this method, and ptr must point to a block of memory +allocated by alloc. This method can be used to release the final +Arc and backing storage, but should not be called after the final Arc has been +released.

    +
    Examples
    +
    #![feature(allocator_api)]
    +
    +use std::sync::Arc;
    +use std::alloc::System;
    +
    +let five = Arc::new_in(5, System);
    +
    +unsafe {
    +    let ptr = Arc::into_raw(five);
    +    Arc::increment_strong_count_in(ptr, System);
    +
    +    // Those assertions are deterministic because we haven't shared
    +    // the `Arc` between threads.
    +    let five = Arc::from_raw_in(ptr, System);
    +    assert_eq!(2, Arc::strong_count(&five));
    +    Arc::decrement_strong_count_in(ptr, System);
    +    assert_eq!(1, Arc::strong_count(&five));
    +}
    +
    1.17.0 · source

    pub fn ptr_eq(this: &Arc<T, A>, other: &Arc<T, A>) -> bool

    Returns true if the two Arcs point to the same allocation in a vein similar to +ptr::eq. This function ignores the metadata of dyn Trait pointers.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +let same_five = Arc::clone(&five);
    +let other_five = Arc::new(5);
    +
    +assert!(Arc::ptr_eq(&five, &same_five));
    +assert!(!Arc::ptr_eq(&five, &other_five));
    +
    source§

    impl<T, A> Arc<T, A>where + T: Clone, + A: Allocator + Clone,

    1.4.0 · source

    pub fn make_mut(this: &mut Arc<T, A>) -> &mut T

    Makes a mutable reference into the given Arc.

    +

    If there are other Arc pointers to the same allocation, then make_mut will +clone the inner value to a new allocation to ensure unique ownership. This is also +referred to as clone-on-write.

    +

    However, if there are no other Arc pointers to this allocation, but some Weak +pointers, then the Weak pointers will be dissociated and the inner value will not +be cloned.

    +

    See also get_mut, which will fail rather than cloning the inner value +or dissociating Weak pointers.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let mut data = Arc::new(5);
    +
    +*Arc::make_mut(&mut data) += 1;         // Won't clone anything
    +let mut other_data = Arc::clone(&data); // Won't clone inner data
    +*Arc::make_mut(&mut data) += 1;         // Clones inner data
    +*Arc::make_mut(&mut data) += 1;         // Won't clone anything
    +*Arc::make_mut(&mut other_data) *= 2;   // Won't clone anything
    +
    +// Now `data` and `other_data` point to different allocations.
    +assert_eq!(*data, 8);
    +assert_eq!(*other_data, 12);
    +

    Weak pointers will be dissociated:

    + +
    use std::sync::Arc;
    +
    +let mut data = Arc::new(75);
    +let weak = Arc::downgrade(&data);
    +
    +assert!(75 == *data);
    +assert!(75 == *weak.upgrade().unwrap());
    +
    +*Arc::make_mut(&mut data) += 1;
    +
    +assert!(76 == *data);
    +assert!(weak.upgrade().is_none());
    +
    source

    pub fn unwrap_or_clone(this: Arc<T, A>) -> T

    🔬This is a nightly-only experimental API. (arc_unwrap_or_clone)

    If we have the only reference to T then unwrap it. Otherwise, clone T and return the +clone.

    +

    Assuming arc_t is of type Arc<T>, this function is functionally equivalent to +(*arc_t).clone(), but will avoid cloning the inner value where possible.

    +
    Examples
    +
    #![feature(arc_unwrap_or_clone)]
    +let inner = String::from("test");
    +let ptr = inner.as_ptr();
    +
    +let arc = Arc::new(inner);
    +let inner = Arc::unwrap_or_clone(arc);
    +// The inner value was not cloned
    +assert!(ptr::eq(ptr, inner.as_ptr()));
    +
    +let arc = Arc::new(inner);
    +let arc2 = arc.clone();
    +let inner = Arc::unwrap_or_clone(arc);
    +// Because there were 2 references, we had to clone the inner value.
    +assert!(!ptr::eq(ptr, inner.as_ptr()));
    +// `arc2` is the last reference, so when we unwrap it we get back
    +// the original `String`.
    +let inner = Arc::unwrap_or_clone(arc2);
    +assert!(ptr::eq(ptr, inner.as_ptr()));
    +
    source§

    impl<T, A> Arc<T, A>where + A: Allocator, + T: ?Sized,

    1.4.0 · source

    pub fn get_mut(this: &mut Arc<T, A>) -> Option<&mut T>

    Returns a mutable reference into the given Arc, if there are +no other Arc or Weak pointers to the same allocation.

    +

    Returns None otherwise, because it is not safe to +mutate a shared value.

    +

    See also make_mut, which will clone +the inner value when there are other Arc pointers.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let mut x = Arc::new(3);
    +*Arc::get_mut(&mut x).unwrap() = 4;
    +assert_eq!(*x, 4);
    +
    +let _y = Arc::clone(&x);
    +assert!(Arc::get_mut(&mut x).is_none());
    +
    source

    pub unsafe fn get_mut_unchecked(this: &mut Arc<T, A>) -> &mut T

    🔬This is a nightly-only experimental API. (get_mut_unchecked)

    Returns a mutable reference into the given Arc, +without any check.

    +

    See also get_mut, which is safe and does appropriate checks.

    +
    Safety
    +

    If any other Arc or Weak pointers to the same allocation exist, then +they must not be dereferenced or have active borrows for the duration +of the returned borrow, and their inner type must be exactly the same as the +inner type of this Rc (including lifetimes). This is trivially the case if no +such pointers exist, for example immediately after Arc::new.

    +
    Examples
    +
    #![feature(get_mut_unchecked)]
    +
    +use std::sync::Arc;
    +
    +let mut x = Arc::new(String::new());
    +unsafe {
    +    Arc::get_mut_unchecked(&mut x).push_str("foo")
    +}
    +assert_eq!(*x, "foo");
    +

    Other Arc pointers to the same allocation must be to the same type.

    + +
    #![feature(get_mut_unchecked)]
    +
    +use std::sync::Arc;
    +
    +let x: Arc<str> = Arc::from("Hello, world!");
    +let mut y: Arc<[u8]> = x.clone().into();
    +unsafe {
    +    // this is Undefined Behavior, because x's inner type is str, not [u8]
    +    Arc::get_mut_unchecked(&mut y).fill(0xff); // 0xff is invalid in UTF-8
    +}
    +println!("{}", &*x); // Invalid UTF-8 in a str
    +

    Other Arc pointers to the same allocation must be to the exact same type, including lifetimes.

    + +
    #![feature(get_mut_unchecked)]
    +
    +use std::sync::Arc;
    +
    +let x: Arc<&str> = Arc::new("Hello, world!");
    +{
    +    let s = String::from("Oh, no!");
    +    let mut y: Arc<&str> = x.clone().into();
    +    unsafe {
    +        // this is Undefined Behavior, because x's inner type
    +        // is &'long str, not &'short str
    +        *Arc::get_mut_unchecked(&mut y) = &s;
    +    }
    +}
    +println!("{}", &*x); // Use-after-free
    +

    Trait Implementations§

    1.64.0 · source§

    impl<T> AsFd for Arc<T, Global>where + T: AsFd,

    This impl allows implementing traits that require AsFd on Arc.

    + +
    use std::net::UdpSocket;
    +use std::sync::Arc;
    +
    +trait MyTrait: AsFd {}
    +impl MyTrait for Arc<UdpSocket> {}
    +impl MyTrait for Box<UdpSocket> {}
    +
    source§

    fn as_fd(&self) -> BorrowedFd<'_>

    Borrows the file descriptor. Read more
    1.63.0 · source§

    impl<T> AsRawFd for Arc<T, Global>where + T: AsRawFd,

    This impl allows implementing traits that require AsRawFd on Arc.

    + +
    use std::net::UdpSocket;
    +use std::sync::Arc;
    +trait MyTrait: AsRawFd {
    +}
    +impl MyTrait for Arc<UdpSocket> {}
    +impl MyTrait for Box<UdpSocket> {}
    +
    source§

    fn as_raw_fd(&self) -> i32

    Extracts the raw file descriptor. Read more
    1.5.0 · source§

    impl<T, A> AsRef<T> for Arc<T, A>where + A: Allocator, + T: ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    1.0.0 · source§

    impl<T, A> Borrow<T> for Arc<T, A>where + A: Allocator, + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    1.0.0 · source§

    impl<T, A> Clone for Arc<T, A>where + A: Allocator + Clone, + T: ?Sized,

    source§

    fn clone(&self) -> Arc<T, A>

    Makes a clone of the Arc pointer.

    +

    This creates another pointer to the same allocation, increasing the +strong reference count.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +let _ = Arc::clone(&five);
    +
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    1.0.0 · source§

    impl<T, A> Debug for Arc<T, A>where + T: Debug + ?Sized, + A: Allocator,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    1.0.0 · source§

    impl<T> Default for Arc<T, Global>where + T: Default,

    source§

    fn default() -> Arc<T, Global>

    Creates a new Arc<T>, with the Default value for T.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let x: Arc<i32> = Default::default();
    +assert_eq!(*x, 0);
    +
    1.0.0 · source§

    impl<T, A> Deref for Arc<T, A>where + A: Allocator, + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    source§

    impl<'de, T> Deserialize<'de> for Arc<T, Global>where + Box<T, Global>: Deserialize<'de>, + T: ?Sized,

    This impl requires the "rc" Cargo feature of Serde.

    +

    Deserializing a data structure containing Arc will not attempt to +deduplicate Arc references to the same data. Every deserialized Arc +will end up with a strong count of 1.

    +
    source§

    fn deserialize<D>( + deserializer: D +) -> Result<Arc<T, Global>, <D as Deserializer<'de>>::Error>where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    1.0.0 · source§

    impl<T, A> Display for Arc<T, A>where + T: Display + ?Sized, + A: Allocator,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    1.0.0 · source§

    impl<T, A> Drop for Arc<T, A>where + A: Allocator, + T: ?Sized,

    source§

    fn drop(&mut self)

    Drops the Arc.

    +

    This will decrement the strong reference count. If the strong reference +count reaches zero then the only other references (if any) are +Weak, so we drop the inner value.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +struct Foo;
    +
    +impl Drop for Foo {
    +    fn drop(&mut self) {
    +        println!("dropped!");
    +    }
    +}
    +
    +let foo  = Arc::new(Foo);
    +let foo2 = Arc::clone(&foo);
    +
    +drop(foo);    // Doesn't print anything
    +drop(foo2);   // Prints "dropped!"
    +
    1.52.0 · source§

    impl<T> Error for Arc<T, Global>where + T: Error + ?Sized,

    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    source§

    fn provide<'a>(&'a self, req: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    1.21.0 · source§

    impl<T, A> From<Box<T, A>> for Arc<T, A>where + A: Allocator, + T: ?Sized,

    source§

    fn from(v: Box<T, A>) -> Arc<T, A>

    Move a boxed object to a new, reference-counted allocation.

    +
    Example
    +
    let unique: Box<str> = Box::from("eggplant");
    +let shared: Arc<str> = Arc::from(unique);
    +assert_eq!("eggplant", &shared[..]);
    +
    1.45.0 · source§

    impl<'a, B> From<Cow<'a, B>> for Arc<B, Global>where + B: ToOwned + ?Sized, + Arc<B, Global>: From<&'a B> + From<<B as ToOwned>::Owned>,

    source§

    fn from(cow: Cow<'a, B>) -> Arc<B, Global>

    Create an atomically reference-counted pointer from +a clone-on-write pointer by copying its content.

    +
    Example
    +
    let cow: Cow<'_, str> = Cow::Borrowed("eggplant");
    +let shared: Arc<str> = Arc::from(cow);
    +assert_eq!("eggplant", &shared[..]);
    +
    1.6.0 · source§

    impl<T> From<T> for Arc<T, Global>

    source§

    fn from(t: T) -> Arc<T, Global>

    Converts a T into an Arc<T>

    +

    The conversion moves the value into a +newly allocated Arc. It is equivalent to +calling Arc::new(t).

    +
    Example
    +
    let x = 5;
    +let arc = Arc::new(5);
    +
    +assert_eq!(Arc::from(x), arc);
    +
    1.0.0 · source§

    impl<T, A> Hash for Arc<T, A>where + T: Hash + ?Sized, + A: Allocator,

    source§

    fn hash<H>(&self, state: &mut H)where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<Sp> LocalSpawn for Arc<Sp, Global>where + Sp: LocalSpawn + ?Sized,

    §

    fn spawn_local_obj( + &self, + future: LocalFutureObj<'static, ()> +) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status_local(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    source§

    impl<T> Log for Arc<T, Global>where + T: Log + ?Sized,

    source§

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be +logged. Read more
    source§

    fn log(&self, record: &Record<'_>)

    Logs the Record. Read more
    source§

    fn flush(&self)

    Flushes any buffered records.
    §

    impl<M> Message for Arc<M, Global>where + M: Message,

    Allow users to use Arc<M> as a message without having to re-impl Message

    +
    §

    type Result = <M as Message>::Result

    The type of value that this message will resolved with if it is +successful.
    §

    impl<A, M, I> MessageResponse<A, M> for Arc<I, Global>where + A: Actor, + M: Message<Result = Arc<I, Global>>, + I: 'static,

    §

    fn handle( + self, + _: &mut <A as Actor>::Context, + tx: Option<Sender<Arc<I, Global>>> +)

    1.0.0 · source§

    impl<T, A> Ord for Arc<T, A>where + T: Ord + ?Sized, + A: Allocator,

    source§

    fn cmp(&self, other: &Arc<T, A>) -> Ordering

    Comparison for two Arcs.

    +

    The two are compared by calling cmp() on their inner values.

    +
    Examples
    +
    use std::sync::Arc;
    +use std::cmp::Ordering;
    +
    +let five = Arc::new(5);
    +
    +assert_eq!(Ordering::Less, five.cmp(&Arc::new(6)));
    +
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    1.0.0 · source§

    impl<T, A> PartialEq<Arc<T, A>> for Arc<T, A>where + T: PartialEq<T> + ?Sized, + A: Allocator,

    source§

    fn eq(&self, other: &Arc<T, A>) -> bool

    Equality for two Arcs.

    +

    Two Arcs are equal if their inner values are equal, even if they are +stored in different allocation.

    +

    If T also implements Eq (implying reflexivity of equality), +two Arcs that point to the same allocation are always equal.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +assert!(five == Arc::new(5));
    +
    source§

    fn ne(&self, other: &Arc<T, A>) -> bool

    Inequality for two Arcs.

    +

    Two Arcs are not equal if their inner values are not equal.

    +

    If T also implements Eq (implying reflexivity of equality), +two Arcs that point to the same value are always equal.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +assert!(five != Arc::new(6));
    +
    1.0.0 · source§

    impl<T, A> PartialOrd<Arc<T, A>> for Arc<T, A>where + T: PartialOrd<T> + ?Sized, + A: Allocator,

    source§

    fn partial_cmp(&self, other: &Arc<T, A>) -> Option<Ordering>

    Partial comparison for two Arcs.

    +

    The two are compared by calling partial_cmp() on their inner values.

    +
    Examples
    +
    use std::sync::Arc;
    +use std::cmp::Ordering;
    +
    +let five = Arc::new(5);
    +
    +assert_eq!(Some(Ordering::Less), five.partial_cmp(&Arc::new(6)));
    +
    source§

    fn lt(&self, other: &Arc<T, A>) -> bool

    Less-than comparison for two Arcs.

    +

    The two are compared by calling < on their inner values.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +assert!(five < Arc::new(6));
    +
    source§

    fn le(&self, other: &Arc<T, A>) -> bool

    ‘Less than or equal to’ comparison for two Arcs.

    +

    The two are compared by calling <= on their inner values.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +assert!(five <= Arc::new(5));
    +
    source§

    fn gt(&self, other: &Arc<T, A>) -> bool

    Greater-than comparison for two Arcs.

    +

    The two are compared by calling > on their inner values.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +assert!(five > Arc::new(4));
    +
    source§

    fn ge(&self, other: &Arc<T, A>) -> bool

    ‘Greater than or equal to’ comparison for two Arcs.

    +

    The two are compared by calling >= on their inner values.

    +
    Examples
    +
    use std::sync::Arc;
    +
    +let five = Arc::new(5);
    +
    +assert!(five >= Arc::new(5));
    +
    1.0.0 · source§

    impl<T, A> Pointer for Arc<T, A>where + A: Allocator, + T: ?Sized,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.
    §

    impl<T> RefCnt for Arc<T, Global>

    §

    type Base = T

    The base type the pointer points to.
    §

    fn into_ptr(me: Arc<T, Global>) -> *mut T

    Converts the smart pointer into a raw pointer, without affecting the reference count. Read more
    §

    fn as_ptr(me: &Arc<T, Global>) -> *mut T

    Provides a view into the smart pointer as a raw pointer. Read more
    §

    unsafe fn from_ptr(ptr: *const T) -> Arc<T, Global>

    Converts a raw pointer back into the smart pointer, without affecting the reference count. Read more
    §

    fn inc(me: &Self) -> *mut Self::Base

    Increments the reference count by one. Read more
    §

    unsafe fn dec(ptr: *const Self::Base)

    Decrements the reference count by one. Read more
    §

    impl<T> Render for Arc<T, Global>where + T: Render + ?Sized,

    §

    fn render(&self, b: &mut Buffer) -> Result<(), RenderError>

    render to Buffer without escaping
    §

    fn render_escaped(&self, b: &mut Buffer) -> Result<(), RenderError>

    render to Buffer with HTML escaping
    source§

    impl<T> Serialize for Arc<T, Global>where + T: Serialize + ?Sized,

    This impl requires the "rc" Cargo feature of Serde.

    +

    Serializing a data structure containing Arc will serialize a copy of +the contents of the Arc each time the Arc is referenced within the +data structure. Serialization will not attempt to deduplicate these +repeated data.

    +
    source§

    fn serialize<S>( + &self, + serializer: S +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<S, Req> ServiceFactory<Req> for Arc<S, Global>where + S: ServiceFactory<Req>,

    §

    type Response = <S as ServiceFactory<Req>>::Response

    Responses given by the created services.
    §

    type Error = <S as ServiceFactory<Req>>::Error

    Errors produced by the created services.
    §

    type Config = <S as ServiceFactory<Req>>::Config

    Service factory configuration.
    §

    type Service = <S as ServiceFactory<Req>>::Service

    The kind of Service created by this factory.
    §

    type InitError = <S as ServiceFactory<Req>>::InitError

    Errors potentially raised while building a service.
    §

    type Future = <S as ServiceFactory<Req>>::Future

    The future of the Service instance.g
    §

    fn new_service( + &self, + cfg: <S as ServiceFactory<Req>>::Config +) -> <S as ServiceFactory<Req>>::Future

    Create and return a new service asynchronously.
    §

    impl<Sp> Spawn for Arc<Sp, Global>where + Sp: Spawn + ?Sized,

    §

    fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    §

    impl<S> Subscriber for Arc<S, Global>where + S: Subscriber + ?Sized,

    §

    fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest

    Registers a new callsite with this subscriber, returning whether or not +the subscriber is interested in being notified about the callsite. Read more
    §

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Returns true if a span or event with the specified metadata would be +recorded. Read more
    §

    fn max_level_hint(&self) -> Option<LevelFilter>

    Returns the highest verbosity level that this Subscriber will +enable, or None, if the subscriber does not implement level-based +filtering or chooses not to implement this method. Read more
    §

    fn new_span(&self, span: &Attributes<'_>) -> Id

    Visit the construction of a new span, returning a new span ID for the +span being constructed. Read more
    §

    fn record(&self, span: &Id, values: &Record<'_>)

    Record a set of values on a span. Read more
    §

    fn record_follows_from(&self, span: &Id, follows: &Id)

    Adds an indication that span follows from the span with the id +follows. Read more
    §

    fn event_enabled(&self, event: &Event<'_>) -> bool

    Determine if an [Event] should be recorded. Read more
    §

    fn event(&self, event: &Event<'_>)

    Records that an Event has occurred. Read more
    §

    fn enter(&self, span: &Id)

    Records that a span has been entered. Read more
    §

    fn exit(&self, span: &Id)

    Records that a span has been exited. Read more
    §

    fn clone_span(&self, id: &Id) -> Id

    Notifies the subscriber that a span ID has been cloned. Read more
    §

    fn try_close(&self, id: Id) -> bool

    Notifies the subscriber that a span ID has been dropped, and returns +true if there are now 0 IDs that refer to that span. Read more
    §

    fn drop_span(&self, id: Id)

    👎Deprecated since 0.1.2: use Subscriber::try_close instead
    This method is deprecated. Read more
    §

    fn current_span(&self) -> Current

    Returns a type representing this subscriber’s view of the current span. Read more
    §

    unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>

    If self is the same type as the provided TypeId, returns an untyped +*const pointer to that type. Otherwise, returns None. Read more
    §

    fn on_register_dispatch(&self, subscriber: &Dispatch)

    Invoked when this subscriber becomes a [Dispatch]. Read more
    §

    impl<T, S, Req> Transform<S, Req> for Arc<T, Global>where + T: Transform<S, Req>,

    §

    type Response = <T as Transform<S, Req>>::Response

    Responses produced by the service.
    §

    type Error = <T as Transform<S, Req>>::Error

    Errors produced by the service.
    §

    type Transform = <T as Transform<S, Req>>::Transform

    The TransformService value created by this factory
    §

    type InitError = <T as Transform<S, Req>>::InitError

    Errors produced while building a transform service.
    §

    type Future = <T as Transform<S, Req>>::Future

    The future response value.
    §

    fn new_transform(&self, service: S) -> <T as Transform<S, Req>>::Future

    Creates and returns a new Transform component, asynchronously
    source§

    impl<T, U, A> CoerceUnsized<Arc<U, A>> for Arc<T, A>where + T: Unsize<U> + ?Sized, + A: Allocator, + U: ?Sized,

    source§

    impl<T, U> DispatchFromDyn<Arc<U, Global>> for Arc<T, Global>where + T: Unsize<U> + ?Sized, + U: ?Sized,

    1.0.0 · source§

    impl<T, A> Eq for Arc<T, A>where + T: Eq + ?Sized, + A: Allocator,

    1.0.0 · source§

    impl<T, A> Send for Arc<T, A>where + T: Sync + Send + ?Sized, + A: Allocator + Send,

    1.0.0 · source§

    impl<T, A> Sync for Arc<T, A>where + T: Sync + Send + ?Sized, + A: Allocator + Sync,

    1.33.0 · source§

    impl<T, A> Unpin for Arc<T, A>where + A: Allocator, + T: ?Sized,

    1.9.0 · source§

    impl<T, A> UnwindSafe for Arc<T, A>where + T: RefUnwindSafe + ?Sized, + A: Allocator + UnwindSafe,

    \ No newline at end of file diff --git a/mcaptcha/widget/constant.PAGE.html b/mcaptcha/widget/constant.PAGE.html index 8a192f86..0cd85aed 100644 --- a/mcaptcha/widget/constant.PAGE.html +++ b/mcaptcha/widget/constant.PAGE.html @@ -1 +1 @@ -PAGE in mcaptcha::widget - Rust

    Constant mcaptcha::widget::PAGE

    source ·
    const PAGE: &str = "mCaptcha CAPTCHA verification";
    \ No newline at end of file +PAGE in mcaptcha::widget - Rust

    Constant mcaptcha::widget::PAGE

    source ·
    const PAGE: &str = "mCaptcha CAPTCHA verification";
    \ No newline at end of file diff --git a/mcaptcha/widget/constant.WIDGET_ROUTES.html b/mcaptcha/widget/constant.WIDGET_ROUTES.html index fa249278..69fb5069 100644 --- a/mcaptcha/widget/constant.WIDGET_ROUTES.html +++ b/mcaptcha/widget/constant.WIDGET_ROUTES.html @@ -1 +1 @@ -WIDGET_ROUTES in mcaptcha::widget - Rust

    Constant mcaptcha::widget::WIDGET_ROUTES

    source ·
    pub const WIDGET_ROUTES: Widget;
    \ No newline at end of file +WIDGET_ROUTES in mcaptcha::widget - Rust

    Constant mcaptcha::widget::WIDGET_ROUTES

    source ·
    pub const WIDGET_ROUTES: Widget;
    \ No newline at end of file diff --git a/mcaptcha/widget/fn.services.html b/mcaptcha/widget/fn.services.html index bdfd8066..425c11f1 100644 --- a/mcaptcha/widget/fn.services.html +++ b/mcaptcha/widget/fn.services.html @@ -1,2 +1,2 @@ -services in mcaptcha::widget - Rust

    Function mcaptcha::widget::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    Expand description

    widget services

    +services in mcaptcha::widget - Rust

    Function mcaptcha::widget::services

    source ·
    pub fn services(cfg: &mut ServiceConfig)
    Expand description

    widget services

    \ No newline at end of file diff --git a/mcaptcha/widget/index.html b/mcaptcha/widget/index.html index 5c7a63ff..26d4300e 100644 --- a/mcaptcha/widget/index.html +++ b/mcaptcha/widget/index.html @@ -1,2 +1,2 @@ -mcaptcha::widget - Rust

    Module mcaptcha::widget

    source ·
    Expand description

    User facing CAPTCHA widget

    +mcaptcha::widget - Rust

    Module mcaptcha::widget

    source ·
    Expand description

    User facing CAPTCHA widget

    Modules

    Structs

    Constants

    Functions

    \ No newline at end of file diff --git a/mcaptcha/widget/routes/index.html b/mcaptcha/widget/routes/index.html index 52130e3e..e77ef019 100644 --- a/mcaptcha/widget/routes/index.html +++ b/mcaptcha/widget/routes/index.html @@ -1 +1 @@ -mcaptcha::widget::routes - Rust
    \ No newline at end of file +mcaptcha::widget::routes - Rust
    \ No newline at end of file diff --git a/mcaptcha/widget/routes/struct.Widget.html b/mcaptcha/widget/routes/struct.Widget.html index 7ad8cfe6..3c14e67e 100644 --- a/mcaptcha/widget/routes/struct.Widget.html +++ b/mcaptcha/widget/routes/struct.Widget.html @@ -1,19 +1,19 @@ -Widget in mcaptcha::widget::routes - Rust

    Struct mcaptcha::widget::routes::Widget

    source ·
    pub struct Widget {
    -    pub verification_widget: &'static str,
    -}

    Fields§

    §verification_widget: &'static str

    Implementations§

    source§

    impl Widget

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +Widget in mcaptcha::widget::routes - Rust

    Struct mcaptcha::widget::routes::Widget

    source ·
    pub struct Widget {
    +    pub verification_widget: &'static str,
    +}

    Fields§

    §verification_widget: &'static str

    Implementations§

    source§

    impl Widget

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/widget/struct.INDEX_PAGE.html b/mcaptcha/widget/struct.INDEX_PAGE.html index 42e7a966..f64ddaab 100644 --- a/mcaptcha/widget/struct.INDEX_PAGE.html +++ b/mcaptcha/widget/struct.INDEX_PAGE.html @@ -1,22 +1,22 @@ -INDEX_PAGE in mcaptcha::widget - Rust

    Struct mcaptcha::widget::INDEX_PAGE

    source ·
    struct INDEX_PAGE {
    -    __private_field: (),
    -}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    +INDEX_PAGE in mcaptcha::widget - Rust

    Struct mcaptcha::widget::INDEX_PAGE

    source ·
    struct INDEX_PAGE {
    +    __private_field: (),
    +}

    Fields§

    §__private_field: ()

    Methods from Deref<Target = String>§

    1.7.0 · source

    pub fn as_str(&self) -> &str

    Extracts a string slice containing the entire String.

    Examples
    let s = String::from("foo");
     
     assert_eq!("foo", s.as_str());
    -
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    +
    1.0.0 · source

    pub fn capacity(&self) -> usize

    Returns this String’s capacity, in bytes.

    Examples
    let s = String::with_capacity(10);
     
     assert!(s.capacity() >= 10);
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    -

    The inverse of this method is from_utf8.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Returns a byte slice of this String’s contents.

    +

    The inverse of this method is from_utf8.

    Examples
    let s = String::from("hello");
     
     assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
    -
    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or +

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of this String, in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    @@ -26,15 +26,15 @@ length of the string.

    let fancy_f = String::from("ƒoo"); assert_eq!(fancy_f.len(), 4); assert_eq!(fancy_f.chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if this String has a length of zero, and false otherwise.

    Examples
    let mut v = String::new();
     assert!(v.is_empty());
     
     v.push('a');
     assert!(!v.is_empty());
    -

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    -

    This length is in bytes, not chars or graphemes. In other words, +

    Methods from Deref<Target = str>§

    1.0.0 · source

    pub fn len(&self) -> usize

    Returns the length of self.

    +

    This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.

    Examples
    let len = "foo".len();
    @@ -42,14 +42,14 @@ it might not be what a human considers the length of the string.

    assert_eq!("ƒoo".len(), 4); // fancy f! assert_eq!("ƒoo".chars().count(), 3);
    -
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    +
    1.0.0 · source

    pub fn is_empty(&self) -> bool

    Returns true if self has a length of zero bytes.

    Examples
    let s = "";
     assert!(s.is_empty());
     
     let s = "not empty";
     assert!(!s.is_empty());
    -
    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point +

    1.9.0 · source

    pub fn is_char_boundary(&self, index: usize) -> bool

    Checks that index-th byte is the first byte in a UTF-8 code point sequence or the end of the string.

    The start and end of the string (when index == self.len()) are considered to be boundaries.

    @@ -66,7 +66,7 @@ considered to be boundaries.

    // third byte of `老` assert!(!s.is_char_boundary(8));
    -
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    +
    source

    pub fn floor_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not exceeding index where is_char_boundary(x) is true.

    This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t exceed a given number of bytes. Note that this is done purely at the character level and can still visually split graphemes, even though the underlying characters aren’t @@ -81,9 +81,9 @@ includes 🧑 (person) instead.

    let closest = s.floor_char_boundary(13); assert_eq!(closest, 10); assert_eq!(&s[..closest], "❤️🧡");
    -
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    +
    source

    pub fn ceil_char_boundary(&self, index: usize) -> usize

    🔬This is a nightly-only experimental API. (round_char_boundary)

    Finds the closest x not below index where is_char_boundary(x) is true.

    If index is greater than the length of the string, this returns the length of the string.

    -

    This method is the natural complement to floor_char_boundary. See that method +

    This method is the natural complement to floor_char_boundary. See that method for more details.

    Examples
    #![feature(round_char_boundary)]
    @@ -94,12 +94,12 @@ for more details.

    let closest = s.ceil_char_boundary(13); assert_eq!(closest, 14); assert_eq!(&s[..closest], "❤️🧡💛");
    -
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back -into a string slice, use the from_utf8 function.

    +
    1.0.0 · source

    pub fn as_bytes(&self) -> &[u8]

    Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

    Examples
    let bytes = "bors".as_bytes();
     assert_eq!(b"bors", bytes);
    -
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    +
    1.20.0 · source

    pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8]

    Converts a mutable string slice to a mutable byte slice.

    Safety

    The caller must ensure that the content of the slice is valid UTF-8 before the borrow ends and the underlying str is used.

    @@ -125,25 +125,25 @@ before the borrow ends and the underlying str is used.

    } assert_eq!("🍔∈🌏", s);
    -
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    +
    1.0.0 · source

    pub fn as_ptr(&self) -> *const u8

    Converts a string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    The caller must ensure that the returned pointer is never written to. -If you need to mutate the contents of the string slice, use as_mut_ptr.

    +If you need to mutate the contents of the string slice, use as_mut_ptr.

    Examples
    let s = "Hello";
     let ptr = s.as_ptr();
    -
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    +
    1.36.0 · source

    pub fn as_mut_ptr(&mut self) -> *mut u8

    Converts a mutable string slice to a raw pointer.

    As string slices are a slice of bytes, the raw pointer points to a -u8. This pointer will be pointing to the first byte of the string +u8. This pointer will be pointing to the first byte of the string slice.

    It is your responsibility to make sure that the string slice only gets modified in a way that it remains valid UTF-8.

    -
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a subslice of str.

    +
    1.20.0 · source

    pub fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let v = String::from("🗻∈🌏");
     
    @@ -155,13 +155,13 @@ modified in a way that it remains valid UTF-8.

    // out of bounds assert!(v.get(..42).is_none());
    -
    1.20.0 · source

    pub fn get_mut<I>( +

    1.20.0 · source

    pub fn get_mut<I>( &mut self, i: I -) -> Option<&mut <I as SliceIndex<str>>::Output>where - I: SliceIndex<str>,

    Returns a mutable subslice of str.

    +) -> Option<&mut <I as SliceIndex<str>>::Output>where + I: SliceIndex<str>,

    Returns a mutable subslice of str.

    This is the non-panicking alternative to indexing the str. Returns -None whenever equivalent indexing operation would panic.

    +None whenever equivalent indexing operation would panic.

    Examples
    let mut v = String::from("hello");
     // correct length
    @@ -180,8 +180,8 @@ modified in a way that it remains valid UTF-8.

    assert_eq!(Some("HE"), s); } assert_eq!("HEllo", v);
    -
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    +
    1.20.0 · source

    pub unsafe fn get_unchecked<I>(&self, i: I) -> &<I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns an unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -200,11 +200,11 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked(4..7)); assert_eq!("🌏", v.get_unchecked(7..11)); }
    -
    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( +

    1.20.0 · source

    pub unsafe fn get_unchecked_mut<I>( &mut self, i: I -) -> &mut <I as SliceIndex<str>>::Outputwhere - I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    +) -> &mut <I as SliceIndex<str>>::Outputwhere + I: SliceIndex<str>,

    Returns a mutable, unchecked subslice of str.

    This is the unchecked alternative to indexing the str.

    Safety

    Callers of this function are responsible that these preconditions are @@ -223,14 +223,14 @@ violate the invariants communicated by the str type.

    assert_eq!("∈", v.get_unchecked_mut(4..7)); assert_eq!("🌏", v.get_unchecked_mut(7..11)); }
    -
    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety +

    1.0.0 · source

    pub unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str

    👎Deprecated since 1.29.0: use get_unchecked(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks.

    This is generally not recommended, use with caution! For a safe -alternative see str and Index.

    +alternative see str and Index.

    This new slice goes from begin to end, including begin but excluding end.

    To get a mutable string slice instead, see the -slice_mut_unchecked method.

    +slice_mut_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -251,18 +251,18 @@ satisfied:

    unsafe { assert_eq!("world", s.slice_unchecked(7, 12)); }
    -
    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( +

    1.5.0 · source

    pub unsafe fn slice_mut_unchecked( &mut self, - begin: usize, - end: usize -) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety + begin: usize, + end: usize +) -> &mut str

    👎Deprecated since 1.29.0: use get_unchecked_mut(begin..end) instead

    Creates a string slice from another string slice, bypassing safety checks. This is generally not recommended, use with caution! For a safe -alternative see str and IndexMut.

    +alternative see str and IndexMut.

    This new slice goes from begin to end, including begin but excluding end.

    To get an immutable string slice instead, see the -slice_unchecked method.

    +slice_unchecked method.

    Safety

    Callers of this function are responsible that three preconditions are satisfied:

    @@ -271,12 +271,12 @@ satisfied:

  • begin and end must be byte positions within the string slice.
  • begin and end must lie on UTF-8 sequence boundaries.
  • -
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at(&self, mid: usize) -> (&str, &str)

    Divide one string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get mutable string slices instead, see the split_at_mut +

    To get mutable string slices instead, see the split_at_mut method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is @@ -288,12 +288,12 @@ past the end of the last code point of the string slice.

    assert_eq!("Per", first); assert_eq!(" Martin-Löf", last);
    -
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    +
    1.4.0 · source

    pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str)

    Divide one mutable string slice into two at an index.

    The argument, mid, should be a byte offset from the start of the string. It must also be on the boundary of a UTF-8 code point.

    The two slices returned go from the start of the string slice to mid, and from mid to the end of the string slice.

    -

    To get immutable string slices instead, see the split_at method.

    +

    To get immutable string slices instead, see the split_at method.

    Panics

    Panics if mid is not on a UTF-8 code point boundary, or if it is past the end of the last code point of the string slice.

    @@ -306,10 +306,10 @@ past the end of the last code point of the string slice.

    assert_eq!(" Martin-Löf", last); } assert_eq!("PER Martin-Löf", s);
    -
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    +
    1.0.0 · source

    pub fn chars(&self) -> Chars<'_>

    Returns an iterator over the chars of a string slice.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns such an iterator.

    -

    It’s important to remember that char represents a Unicode Scalar +string slice by char. This method returns such an iterator.

    +

    It’s important to remember that char represents a Unicode Scalar Value, and might not match your idea of what a ‘character’ is. Iteration over grapheme clusters may be what you actually want. This functionality is not provided by Rust’s standard library, check crates.io instead.

    @@ -332,7 +332,7 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('e'), chars.next()); assert_eq!(None, chars.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let y = "y̆";
     
    @@ -342,12 +342,12 @@ is not provided by Rust’s standard library, check crates.io instead.

    assert_eq!(Some('\u{0306}'), chars.next()); assert_eq!(None, chars.next());
    -
    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their +

    1.0.0 · source

    pub fn char_indices(&self) -> CharIndices<'_>

    Returns an iterator over the chars of a string slice, and their positions.

    As a string slice consists of valid UTF-8, we can iterate through a -string slice by char. This method returns an iterator of both -these chars, as well as their byte positions.

    -

    The iterator yields tuples. The position is first, the char is +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

    +

    The iterator yields tuples. The position is first, the char is second.

    Examples

    Basic usage:

    @@ -368,7 +368,7 @@ second.

    assert_eq!(Some((6, 'e')), char_indices.next()); assert_eq!(None, char_indices.next());
    -

    Remember, chars might not match your intuition about characters:

    +

    Remember, chars might not match your intuition about characters:

    let yes = "y̆es";
     
    @@ -382,7 +382,7 @@ second.

    assert_eq!(Some((4, 's')), char_indices.next()); assert_eq!(None, char_indices.next());
    -
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    +
    1.0.0 · source

    pub fn bytes(&self) -> Bytes<'_>

    An iterator over the bytes of a string slice.

    As a string slice consists of a sequence of bytes, we can iterate through a string slice by byte. This method returns such an iterator.

    Examples
    @@ -394,12 +394,12 @@ through a string slice by byte. This method returns such an iterator.

    assert_eq!(Some(b's'), bytes.next()); assert_eq!(None, bytes.next());
    -
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    +
    1.1.0 · source

    pub fn split_whitespace(&self) -> SplitWhitespace<'_>

    Splits a string slice by whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of whitespace.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space. If you only want to split on ASCII whitespace -instead, use split_ascii_whitespace.

    +instead, use split_ascii_whitespace.

    Examples

    Basic usage:

    @@ -424,10 +424,10 @@ instead, use
    assert_eq!("".split_whitespace().next(), None);
     assert_eq!("   ".split_whitespace().next(), None);
    -
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    +
    1.34.0 · source

    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace<'_>

    Splits a string slice by ASCII whitespace.

    The iterator returned will return string slices that are sub-slices of the original string slice, separated by any amount of ASCII whitespace.

    -

    To split by Unicode Whitespace instead, use split_whitespace.

    +

    To split by Unicode Whitespace instead, use split_whitespace.

    Examples

    Basic usage:

    @@ -452,7 +452,7 @@ the original string slice, separated by any amount of ASCII whitespace.

    assert_eq!("".split_ascii_whitespace().next(), None);
     assert_eq!("   ".split_ascii_whitespace().next(), None);
    -
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    +
    1.0.0 · source

    pub fn lines(&self) -> Lines<'_>

    An iterator over the lines of a string, as string slices.

    Lines are split at line endings that are either newlines (\n) or sequences of a carriage return followed by a line feed (\r\n).

    Line terminators are not included in the lines returned by the iterator.

    @@ -486,8 +486,8 @@ without a final line ending.

    assert_eq!(Some("baz"), lines.next()); assert_eq!(None, lines.next());
    -
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    -
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    +
    1.0.0 · source

    pub fn lines_any(&self) -> LinesAny<'_>

    👎Deprecated since 1.4.0: use lines() instead now

    An iterator over the lines of a string.

    +
    1.8.0 · source

    pub fn encode_utf16(&self) -> EncodeUtf16<'_>

    Returns an iterator of u16 over the string encoded as UTF-16.

    Examples
    let text = "Zażółć gęślą jaźń";
     
    @@ -495,45 +495,45 @@ without a final line ending.

    let utf16_len = text.encode_utf16().count(); assert!(utf16_len <= utf8_len);
    -
    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of +

    1.0.0 · source

    pub fn contains<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a sub-slice of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.contains("nana"));
     assert!(!bananas.contains("apples"));
    -
    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this +

    1.0.0 · source

    pub fn starts_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>,

    Returns true if the given pattern matches a prefix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.starts_with("bana"));
     assert!(!bananas.starts_with("nana"));
    -
    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this +

    1.0.0 · source

    pub fn ends_with<'a, P>(&'a self, pat: P) -> boolwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns true if the given pattern matches a suffix of this string slice.

    Returns false if it does not.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let bananas = "bananas";
     
     assert!(bananas.ends_with("anas"));
     assert!(!bananas.ends_with("nana"));
    -
    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that +

    1.0.0 · source

    pub fn find<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>,

    Returns the byte index of the first character of this string slice that matches the pattern.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -557,12 +557,12 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.find(x), None);
    -
    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in +

    1.0.0 · source

    pub fn rfind<'a, P>(&'a self, pat: P) -> Option<usize>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns the byte index for the first character of the last match of the pattern in this string slice.

    -

    Returns None if the pattern doesn’t match.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    Returns None if the pattern doesn’t match.

    +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -584,17 +584,17 @@ function or closure that determines if a character matches.

    let x: &[_] = &['1', '2']; assert_eq!(s.rfind(x), None);
    -
    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    1.0.0 · source

    pub fn split<'a, P>(&'a self, pat: P) -> Split<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit method can be used.

    +from a forward search, the rsplit method can be used.

    Examples

    Simple patterns:

    @@ -657,13 +657,13 @@ when whitespace is used as the separator. This code is correct:

    It does not give you:

    assert_eq!(d, &["a", "b", "c"]);
    -

    Use split_whitespace for this behavior.

    -
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by +

    Use split_whitespace for this behavior.

    +
    1.51.0 · source

    pub fn split_inclusive<'a, P>(&'a self, pat: P) -> SplitInclusive<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of this string slice, separated by characters matched by a pattern. Differs from the iterator produced by split in that split_inclusive leaves the matched part as the terminator of the substring.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
    @@ -676,17 +676,17 @@ That substring will be the last item returned by the iterator.

    let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
         .split_inclusive('\n').collect();
     assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
    -
    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn rsplit<'a, P>(&'a self, pat: P) -> RSplit<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split method can be used.

    +

    For iterating from the front, the split method can be used.

    Examples

    Simple patterns:

    @@ -705,21 +705,21 @@ search yields the same elements.

    let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "def", "abc"]);
    -
    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by +

    1.0.0 · source

    pub fn split_terminator<'a, P>(&'a self, pat: P) -> SplitTerminator<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by characters matched by a pattern.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rsplit_terminator method can be used.

    +from a forward search, the rsplit_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".split_terminator('.').collect();
     assert_eq!(v, ["A", "B"]);
    @@ -729,13 +729,13 @@ from a forward search, the let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
     assert_eq!(v, ["A", "B", "C", "D"]);
    -
    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters +

    1.0.0 · source

    pub fn rsplit_terminator<'a, P>(&'a self, pat: P) -> RSplitTerminator<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of self, separated by characters matched by a pattern and yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    -

    Equivalent to split, except that the trailing substring is +

    Equivalent to split, except that the trailing substring is skipped if empty.

    This method can be used for string data that is terminated, rather than separated by a pattern.

    @@ -743,7 +743,7 @@ rather than separated by a pattern.

    The returned iterator requires that the pattern supports a reverse search, and it will be double ended if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the split_terminator method can be +

    For iterating from the front, the split_terminator method can be used.

    Examples
    let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
    @@ -754,17 +754,17 @@ used.

    let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect(); assert_eq!(v, ["D", "C", "B", "A"]);
    -
    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where - P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a +

    1.0.0 · source

    pub fn splitn<'a, P>(&'a self, n: usize, pat: P) -> SplitN<'a, P>where + P: Pattern<'a>,

    An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    If the pattern allows a reverse search, the rsplitn method can be +

    If the pattern allows a reverse search, the rsplitn method can be used.

    Examples

    Simple patterns:

    @@ -784,19 +784,19 @@ used.

    let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["abc", "defXghi"]);
    -
    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a +

    1.0.0 · source

    pub fn rsplitn<'a, P>(&'a self, n: usize, pat: P) -> RSplitN<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over substrings of this string slice, separated by a pattern, starting from the end of the string, restricted to returning at most n items.

    If n substrings are returned, the last substring (the nth substring) will contain the remainder of the string.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator will not be double ended, because it is not efficient to support.

    -

    For splitting from the front, the splitn method can be used.

    +

    For splitting from the front, the splitn method can be used.

    Examples

    Simple patterns:

    @@ -812,69 +812,69 @@ efficient to support.

    let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
     assert_eq!(v, ["ghi", "abc1def"]);
    -
    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn split_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>,

    Splits the string on the first occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".split_once('='), None);
     assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
     assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
    -
    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and +

    1.52.0 · source

    pub fn rsplit_once<'a, P>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Splits the string on the last occurrence of the specified delimiter and returns prefix before delimiter and suffix after delimiter.

    Examples
    assert_eq!("cfg".rsplit_once('='), None);
     assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
     assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
    -
    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string +

    1.2.0 · source

    pub fn matches<'a, P>(&'a self, pat: P) -> Matches<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within the given string slice.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatches method can be used.

    +from a forward search, the rmatches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
     assert_eq!(v, ["1", "2", "3"]);
    -
    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, +

    1.2.0 · source

    pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within this string slice, yielded in reverse order.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the matches method can be used.

    +

    For iterating from the front, the matches method can be used.

    Examples
    let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
     assert_eq!(v, ["abc", "abc", "abc"]);
     
     let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
     assert_eq!(v, ["3", "2", "1"]);
    -
    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where - P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string +

    1.5.0 · source

    pub fn match_indices<'a, P>(&'a self, pat: P) -> MatchIndices<'a, P>where + P: Pattern<'a>,

    An iterator over the disjoint matches of a pattern within this string slice as well as the index that the match starts at.

    For matches of pat within self that overlap, only the indices corresponding to the first match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior
    -

    The returned iterator will be a DoubleEndedIterator if the pattern +

    The returned iterator will be a DoubleEndedIterator if the pattern allows a reverse search and forward/reverse search yields the same -elements. This is true for, e.g., char, but not for &str.

    +elements. This is true for, e.g., char, but not for &str.

    If the pattern allows a reverse search but its results might differ -from a forward search, the rmatch_indices method can be used.

    +from a forward search, the rmatch_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
     assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
    @@ -884,19 +884,19 @@ from a forward search, the let v: Vec<_> = "ababa".match_indices("aba").collect();
     assert_eq!(v, [(0, "aba")]); // only the first `aba`
    -
    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, +

    1.5.0 · source

    pub fn rmatch_indices<'a, P>(&'a self, pat: P) -> RMatchIndices<'a, P>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    An iterator over the disjoint matches of a pattern within self, yielded in reverse order along with the index of the match.

    For matches of pat within self that overlap, only the indices corresponding to the last match are returned.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Iterator behavior

    The returned iterator requires that the pattern supports a reverse -search, and it will be a DoubleEndedIterator if a forward/reverse +search, and it will be a DoubleEndedIterator if a forward/reverse search yields the same elements.

    -

    For iterating from the front, the match_indices method can be used.

    +

    For iterating from the front, the match_indices method can be used.

    Examples
    let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
     assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
    @@ -906,14 +906,14 @@ search yields the same elements.

    let v: Vec<_> = "ababa".rmatch_indices("aba").collect(); assert_eq!(v, [(2, "aba")]); // only the last `aba`
    -
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim(&self) -> &str

    Returns a string slice with leading and trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Examples
    let s = "\n Hello\tworld\t\n";
     
     assert_eq!("Hello\tworld", s.trim());
    -
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    +
    1.30.0 · source

    pub fn trim_start(&self) -> &str

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -933,7 +933,7 @@ Arabic or Hebrew, this will be the right side.

    let s = " עברית "; assert!(Some('ע') == s.trim_start().chars().next());
    -
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    +
    1.30.0 · source

    pub fn trim_end(&self) -> &str

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.

    Text directionality
    @@ -953,7 +953,7 @@ Arabic or Hebrew, this will be the left side.

    let s = " עברית "; assert!(Some('ת') == s.trim_end().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    +
    1.0.0 · source

    pub fn trim_left(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_start

    Returns a string slice with leading whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -974,7 +974,7 @@ the right side, not the left.

    let s = " עברית"; assert!(Some('ע') == s.trim_left().chars().next());
    -
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    +
    1.0.0 · source

    pub fn trim_right(&self) -> &str

    👎Deprecated since 1.33.0: superseded by trim_end

    Returns a string slice with trailing whitespace removed.

    ‘Whitespace’ is defined according to the terms of the Unicode Derived Core Property White_Space.

    Text directionality
    @@ -995,11 +995,11 @@ the left side, not the right.

    let s = "עברית "; assert!(Some('ת') == s.trim_right().chars().rev().next());
    -
    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a +

    1.0.0 · source

    pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,

    Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a char, a slice of chars, or a function +

    The pattern can be a char, a slice of chars, or a function or closure that determines if a character matches.

    Examples

    Simple patterns:

    @@ -1012,10 +1012,10 @@ or closure that determines if a character matches.

    A more complex pattern, using a closure:

    assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
    -
    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern +

    1.30.0 · source

    pub fn trim_start_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. start in this context means the first @@ -1028,34 +1028,34 @@ Arabic or Hebrew, this will be the right side.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
    -
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where - P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    +
    1.45.0 · source

    pub fn strip_prefix<'a, P>(&'a self, prefix: P) -> Option<&'a str>where + P: Pattern<'a>,

    Returns a string slice with the prefix removed.

    If the string starts with the pattern prefix, returns substring after the prefix, wrapped in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

    If the string does not start with prefix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
     assert_eq!("foo:bar".strip_prefix("bar"), None);
     assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
    -
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    +
    1.45.0 · source

    pub fn strip_suffix<'a, P>(&'a self, suffix: P) -> Option<&'a str>where + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with the suffix removed.

    If the string ends with the pattern suffix, returns the substring before the suffix, wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

    If the string does not end with suffix, returns None.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Examples
    assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
     assert_eq!("bar:foo".strip_suffix("bar"), None);
     assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
    -
    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern +

    1.30.0 · source

    pub fn trim_end_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. end in this context means the last @@ -1073,10 +1073,10 @@ Arabic or Hebrew, this will be the left side.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern +

    1.0.0 · source

    pub fn trim_left_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>,

    👎Deprecated since 1.33.0: superseded by trim_start_matches

    Returns a string slice with all prefixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Left’ in this context means the first @@ -1089,11 +1089,11 @@ the right side, not the left.

    let x: &[_] = &['1', '2']; assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
    -
    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere - P: Pattern<'a>, - <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern +

    1.0.0 · source

    pub fn trim_right_matches<'a, P>(&'a self, pat: P) -> &'a strwhere + P: Pattern<'a>, + <P as Pattern<'a>>::Searcher: ReverseSearcher<'a>,

    👎Deprecated since 1.33.0: superseded by trim_end_matches

    Returns a string slice with all suffixes that match a pattern repeatedly removed.

    -

    The pattern can be a &str, char, a slice of chars, or a +

    The pattern can be a &str, char, a slice of chars, or a function or closure that determines if a character matches.

    Text directionality

    A string is a sequence of bytes. ‘Right’ in this context means the last @@ -1111,16 +1111,16 @@ the left side, not the right.

    A more complex pattern, using a closure:

    assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
    -
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where - F: FromStr,

    Parses this string slice into another type.

    +
    1.0.0 · source

    pub fn parse<F>(&self) -> Result<F, <F as FromStr>::Err>where + F: FromStr,

    Parses this string slice into another type.

    Because parse is so general, it can cause problems with type inference. As such, parse is one of the few times you’ll see the syntax affectionately known as the ‘turbofish’: ::<>. This helps the inference algorithm understand specifically which type you’re trying to parse into.

    -

    parse can parse into any type that implements the FromStr trait.

    +

    parse can parse into any type that implements the FromStr trait.

    Errors
    -

    Will return Err if it’s not possible to parse this string slice into +

    Will return Err if it’s not possible to parse this string slice into the desired type.

    Examples

    Basic usage

    @@ -1138,23 +1138,23 @@ the desired type.

    let nope = "j".parse::<u32>();
     
     assert!(nope.is_err());
    -
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    +
    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all characters in this string are within the ASCII range.

    Examples
    let ascii = "hello!\n";
     let non_ascii = "Grüße, Jürgen ❤";
     
     assert!(ascii.is_ascii());
     assert!(!non_ascii.is_ascii());
    -
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice -of ASCII characters, otherwise returns None.

    -
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    +
    source

    pub fn as_ascii(&self) -> Option<&[AsciiChar]>

    🔬This is a nightly-only experimental API. (ascii_char)

    If this string slice is_ascii, returns it as a slice +of ASCII characters, otherwise returns None.

    +
    1.23.0 · source

    pub fn eq_ignore_ascii_case(&self, other: &str) -> bool

    Checks that two strings are an ASCII case-insensitive match.

    Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

    Examples
    assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
     assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
     assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
    -
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_uppercase(&mut self)

    Converts this string to its ASCII upper case equivalent in-place.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    To return a new uppercased value without modifying the existing one, use @@ -1165,7 +1165,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_uppercase(); assert_eq!("GRüßE, JüRGEN ❤", s);
    -
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    +
    1.23.0 · source

    pub fn make_ascii_lowercase(&mut self)

    Converts this string to its ASCII lower case equivalent in-place.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To return a new lowercased value without modifying the existing one, use @@ -1176,7 +1176,7 @@ but non-ASCII letters are unchanged.

    s.make_ascii_lowercase(); assert_eq!("grÜße, jÜrgen ❤", s);
    -
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    +
    1.34.0 · source

    pub fn escape_debug(&self) -> EscapeDebug<'_>

    Return an iterator that escapes each char in self with char::escape_debug.

    Note: only extended grapheme codepoints that begin the string will be escaped.

    Examples
    @@ -1195,7 +1195,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
    -
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    +
    1.34.0 · source

    pub fn escape_default(&self) -> EscapeDefault<'_>

    Return an iterator that escapes each char in self with char::escape_default.

    Examples

    As an iterator:

    @@ -1212,7 +1212,7 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
    -
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    +
    1.34.0 · source

    pub fn escape_unicode(&self) -> EscapeUnicode<'_>

    Return an iterator that escapes each char in self with char::escape_unicode.

    Examples

    As an iterator:

    @@ -1229,9 +1229,9 @@ escaped.

    Using to_string:

    assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
    -
    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere - P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    -

    replace creates a new String, and copies the data from this string slice into it. +

    1.0.0 · source

    pub fn replace<'a, P>(&'a self, from: P, to: &str) -> Stringwhere + P: Pattern<'a>,

    Replaces all matches of a pattern with another string.

    +

    replace creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice.

    Examples
    @@ -1241,13 +1241,13 @@ replaces them with the replacement string slice.

    assert_eq!("this is new", s.replace("old", "new")); assert_eq!("than an old", s.replace("is", "an"));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replace("cookie monster", "little lamb"));
    -
    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere - P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    -

    replacen creates a new String, and copies the data from this string slice into it. +

    1.16.0 · source

    pub fn replacen<'a, P>(&'a self, pat: P, to: &str, count: usize) -> Stringwhere + P: Pattern<'a>,

    Replaces first N matches of a pattern with another string.

    +

    replacen creates a new String, and copies the data from this string slice into it. While doing so, it attempts to find matches of a pattern. If it finds any, it replaces them with the replacement string slice at most count times.

    Examples
    @@ -1257,15 +1257,15 @@ replaces them with the replacement string slice at most count times assert_eq!("new new 123 foo", s.replacen("foo", "new", 2)); assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3)); assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
    -

    When the pattern doesn’t match, it returns this string slice as String:

    +

    When the pattern doesn’t match, it returns this string slice as String:

    let s = "this is old";
     assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
    -
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_lowercase(&self) -> String

    Returns the lowercase equivalent of this string slice, as a new String.

    ‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property Lowercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1288,11 +1288,11 @@ parameter in-place.

    let new_year = "农历新年";
     
     assert_eq!(new_year, new_year.to_lowercase());
    -
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    +
    1.2.0 · source

    pub fn to_uppercase(&self) -> String

    Returns the uppercase equivalent of this string slice, as a new String.

    ‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property Uppercase.

    Since some characters can expand into multiple characters when changing -the case, this function returns a String instead of modifying the +the case, this function returns a String instead of modifying the parameter in-place.

    Examples

    Basic usage:

    @@ -1310,7 +1310,7 @@ parameter in-place.

    let s = "tschüß";
     
     assert_eq!("TSCHÜSS", s.to_uppercase());
    -
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    +
    1.16.0 · source

    pub fn repeat(&self, n: usize) -> String

    Creates a new String by repeating a string n times.

    Panics

    This function will panic if the capacity would overflow.

    Examples
    @@ -1321,42 +1321,42 @@ parameter in-place.

    // this will panic at runtime
     let huge = "0123456789abcdef".repeat(usize::MAX);
    -
    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_uppercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII upper case equivalent.

    ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

    -

    To uppercase the value in-place, use make_ascii_uppercase.

    +

    To uppercase the value in-place, use make_ascii_uppercase.

    To uppercase ASCII characters in addition to non-ASCII characters, use to_uppercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
    -
    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its +

    1.23.0 · source

    pub fn to_ascii_lowercase(&self) -> String

    Returns a copy of this string where each character is mapped to its ASCII lower case equivalent.

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    -

    To lowercase the value in-place, use make_ascii_lowercase.

    +

    To lowercase the value in-place, use make_ascii_lowercase.

    To lowercase ASCII characters in addition to non-ASCII characters, use to_lowercase.

    Examples
    let s = "Grüße, Jürgen ❤";
     
     assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
    -

    Trait Implementations§

    source§

    impl Deref for INDEX_PAGE

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX_PAGE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl Deref for INDEX_PAGE

    §

    type Target = String

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &String

    Dereferences the value.
    source§

    impl LazyStatic for INDEX_PAGE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
    \ No newline at end of file +WithDispatch wrapper. Read more \ No newline at end of file diff --git a/mcaptcha/widget/struct.IndexPage.html b/mcaptcha/widget/struct.IndexPage.html index 496b17e6..49ed2d8f 100644 --- a/mcaptcha/widget/struct.IndexPage.html +++ b/mcaptcha/widget/struct.IndexPage.html @@ -1,18 +1,18 @@ -IndexPage in mcaptcha::widget - Rust

    Struct mcaptcha::widget::IndexPage

    source ·
    pub struct IndexPage;

    Implementations§

    source§

    impl IndexPage

    source

    fn new() -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +IndexPage in mcaptcha::widget - Rust

    Struct mcaptcha::widget::IndexPage

    source ·
    pub struct IndexPage;

    Implementations§

    source§

    impl IndexPage

    source

    fn new() -> Self

    Trait Implementations§

    source§

    impl Clone for IndexPage

    source§

    fn clone(&self) -> IndexPage

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl TemplateOnce for IndexPage

    source§

    fn render_once(self) -> RenderResult

    Render the template and return the rendering result as RenderResult Read more
    source§

    fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>

    Render the template and append the result to buf. Read more
    source§

    impl Sealed for IndexPage

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for Twhere + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/mcaptcha/widget/struct.show_widget.html b/mcaptcha/widget/struct.show_widget.html index 41959032..e032b7d2 100644 --- a/mcaptcha/widget/struct.show_widget.html +++ b/mcaptcha/widget/struct.show_widget.html @@ -1,18 +1,18 @@ -show_widget in mcaptcha::widget - Rust
    pub struct show_widget;
    Expand description

    render a client side widget for CAPTCHA verification

    -

    Trait Implementations§

    source§

    impl HttpServiceFactory for show_widget

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +show_widget in mcaptcha::widget - Rust
    pub struct show_widget;
    Expand description

    render a client side widget for CAPTCHA verification

    +

    Trait Implementations§

    source§

    impl HttpServiceFactory for show_widget

    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,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> Instrument for T

    source§

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
    source§

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for Twhere + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere +From<T> for U chooses to do.

    +

    source§

    impl<T> Same<T> for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

    §

    fn vzip(self) -> V

    source§

    impl<T> WithSubscriber for T

    source§

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
    source§

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
    \ No newline at end of file diff --git a/search-index.js b/search-index.js index 9aa7d6d4..5075328c 100644 --- a/search-index.js +++ b/search-index.js @@ -1,8 +1,8 @@ var searchIndex = JSON.parse('{\ -"db_core":{"doc":"mCaptcha database operations","t":"DDIDDNCDEIDDDDDDDDNKKKLKKKKKKMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKLLLLLLLLLLLLLLKLLLLLLLLLLLLLLMMMKKLLLLLLLLLKKKKMMLLLLLLLLLLLLLLAMMMMMMKLLLLLLLLLLLLLLAKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKKKKKKKKKKKMMMMMMLLLLLLLLLLLLLLMMKMMMMAMKAMKKKKMMLLLLLLLLLLLLLLMKKAMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKMMMKMLLLLLLLLLLLLLLMMXNGNNENGNNNNNLLLLLLLLLLLLQIIIIQKKKRRF","n":["AddNotification","Captcha","CloneSPDatabase","CreateCaptcha","CreatePerformanceAnalytics","Email","GetConnection","Level","Login","MCDatabase","NameHash","Notification","PerformanceAnalytics","Register","Secret","StatsUnixTimestamp","TrafficPattern","UpdateEmail","Username","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","create_captcha","create_notification","default","default","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","worker_type","worker_type","async_trait","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","borrow","borrow_mut","fmt","fmt","from","into","source","to_string","try_from","try_into","type_id","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","LEVELS","TRAFFIC_PATTERN","database_works"],"q":[[0,"db_core"],[332,"db_core::dev"],[333,"db_core::errors"],[357,"db_core::ops"],[366,"db_core::tests"]],"d":["Data required to add notification","Data representing a captcha","Trait to clone MCDatabase","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","email as login","","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","type encapsulating username and hashed password of a user","Represents notification","Proof-of-Work CAPTCHA performance analytics","Data required to register a new user","datastructure representing a user’s secret","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","data required to update them email of a user","username as login","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","create new captcha","create new notification","","","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","","","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","levels for complex captcha config","easy traffic pattern","test all database functions"],"i":[0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,13,22,22,22,22,22,22,22,22,22,22,7,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,7,22,11,12,13,14,8,2,15,16,17,18,7,19,20,21,36,11,12,13,14,8,2,15,16,17,18,7,19,20,21,16,20,16,22,22,8,15,16,17,18,7,19,20,21,22,22,22,22,19,20,11,12,13,14,8,2,15,16,17,18,7,19,20,21,0,8,2,15,19,20,11,22,11,12,13,14,8,2,15,16,17,18,7,19,20,21,0,22,22,22,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,18,22,22,22,22,22,22,22,22,22,22,22,11,14,17,18,15,17,11,12,13,14,8,2,15,16,17,18,7,19,20,21,19,20,22,17,18,17,12,0,7,22,0,17,22,22,22,22,11,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,16,22,22,0,8,15,18,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,22,22,22,22,22,22,22,11,12,14,22,2,11,12,13,14,8,2,15,16,17,18,7,19,20,21,8,15,0,33,0,33,33,0,33,0,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,37,0,0,0,0,38,38,37,39,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[1,1,[3,[2]]],[[6,[[5,[4]]]]]],[[1,1,7],[[6,[[5,[4]]]]]],[[1,8],[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[[1,9,9],[[6,[[5,[4]]]]]],[9,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[10,[1]],1],[[6,[[5,[4]]]]]],[11,11],[12,12],[13,13],[14,14],[8,8],[2,2],[15,15],[16,16],[17,17],[18,18],[7,7],[19,19],[20,20],[21,21],[[],[[5,[22]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[1,19],[[6,[[5,[4]]]]]],[18,[[6,[[5,[4]]]]]],[[],8],[[],15],[[],16],[[],17],[[],18],[[],7],[[],19],[[],20],[[],21],[[1,1],[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],0,0,[23,[[24,[11]]]],[23,[[24,[12]]]],[23,[[24,[13]]]],[23,[[24,[14]]]],[23,[[24,[8]]]],[23,[[24,[2]]]],[23,[[24,[15]]]],[23,[[24,[16]]]],[23,[[24,[17]]]],[23,[[24,[18]]]],[23,[[24,[7]]]],[23,[[24,[19]]]],[23,[[24,[20]]]],[23,[[24,[21]]]],0,0,0,0,0,0,0,[1,[[6,[[5,[4]]]]]],[[11,11],25],[[12,12],25],[[13,13],25],[[14,14],25],[[8,8],25],[[2,2],25],[[15,15],25],[[16,16],25],[[17,17],25],[[18,18],25],[[7,7],25],[[19,19],25],[[20,20],25],[[21,21],25],0,[[1,1],[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],[[11,26],27],[[12,26],27],[[13,26],27],[[14,26],27],[[8,26],27],[[2,26],[[24,[28]]]],[[15,26],27],[[16,26],27],[[17,26],27],[[18,26],27],[[7,26],27],[[19,26],27],[[20,26],27],[[21,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[[[10,[1]],1],[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[[1,29],[[6,[[5,[4]]]]]],[13,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[1,30],[[6,[[5,[4]]]]]],0,0,0,0,0,0,[[],[[6,[[5,[4]]]]]],0,0,[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[1,[[6,[[5,[4]]]]]],[11,[[6,[[5,[4]]]]]],0,0,[[11,31],24],[[12,31],24],[[13,31],24],[[14,31],24],[[8,31],24],[[2,31],24],[[15,31],24],[[16,31],24],[[17,31],24],[[18,31],24],[[7,31],24],[[19,31],24],[[20,31],24],[[21,31],24],0,[[29,29],[[6,[[5,[4]]]]]],[29,[[6,[[5,[4]]]]]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],24],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[1,1,1],[[6,[[5,[4]]]]]],[[1,19],[[6,[[5,[4]]]]]],[12,[[6,[[5,[4]]]]]],[[1,29,29],[[6,[[5,[4]]]]]],[14,[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],[[1,1],[[6,[[5,[4]]]]]],0,0,0,[1,[[6,[[5,[4]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[33,26],27],[[33,26],27],[[]],[[]],[33,[[10,[34]]]],[[],35],[[],24],[[],24],[[],32],[[]],0,0,0,0,0,0,[[],[[6,[[5,[4]]]]]],[[],[[6,[[5,[4]]]]]],[[],[[6,[[5,[4]]]]]],0,0,[[22,11,19,[3,[2]],7,18]]],"c":[],"p":[[15,"str"],[3,"Level"],[15,"slice"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[3,"CreatePerformanceAnalytics"],[15,"usize"],[4,"Option"],[3,"Register"],[3,"UpdateEmail"],[4,"Login"],[3,"NameHash"],[3,"PerformanceAnalytics"],[3,"StatsUnixTimestamp"],[3,"Notification"],[3,"AddNotification"],[3,"CreateCaptcha"],[3,"Captcha"],[3,"Secret"],[8,"MCDatabase"],[8,"Deserializer"],[4,"Result"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"Error"],[15,"u32"],[15,"i32"],[8,"Serializer"],[3,"TypeId"],[4,"DBError"],[8,"Error"],[3,"String"],[8,"CloneSPDatabase"],[8,"GetConnection"],[8,"Connect"],[8,"Migrate"]]},\ -"db_sqlx_maria":{"doc":"","t":"DEDNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAMLLALLLLLLLLLLLLLLLLLLLLMMLLLLLLMLMLMMAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLNDNGDNNINNNNQIDDENIGCNNNNEINDEIINDDNDQNNNDNDNDNDNNDNNNKKKLKKKKKKLXMLLMKKMMMKKKKKKKMMAMMMMMMKAKKKLLLLLLMKKKKKKKKKKKKMMMMMMLLMMKMMKMMAMKAMKKKKMMMLKKAMMMLLLLKKKKKKKMMMKMLMMMMMMMNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKXMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKLLLLLLLLLLLLLKLLLLLLLLLLLLLMMMKKKLLLLLLLLLKKKKMMLLLLLLLLLLLLLMMMMMMKLLLLLLLLLLLLLAKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKKKKKKKKKKKKMMMMMMLLLLLLLLLLLLLLMMKMMKMMAMKAMKKKKMMLLLLLLLLLLLLLMLKKAMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKMMMKMLLLLLLLLLLLLLLMMNGNNENGNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKMLLMKLKLMMMKKKKKKKMMLMMMMMMKLKKKLLMKKKKKKKKKKKKMMMMMMLMMKMMKMMMKMKKKKMMLMKKMMMLLLLKKKKKKKMMMKMLMMRRFNGNNENGNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKMMKKMMMKKKKKKKMMAMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKXMMKKMMMKKKKKKKMMMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMRRFFF","n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","AnyDriverError","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","worker_type","worker_type","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone_db","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","to_owned","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","map_register_err","map_row_not_found_err"],"q":[[0,"db_sqlx_maria"],[117,"db_sqlx_maria::dev"],[286,"db_sqlx_maria::dev::Error"],[291,"db_sqlx_maria::dev::dev"],[641,"db_sqlx_maria::dev::dev::errors"],[653,"db_sqlx_maria::dev::dev::ops"],[662,"db_sqlx_maria::dev::dev::prelude"],[805,"db_sqlx_maria::dev::dev::tests"],[808,"db_sqlx_maria::dev::errors"],[820,"db_sqlx_maria::dev::ops"],[829,"db_sqlx_maria::dev::prelude"],[958,"db_sqlx_maria::dev::prelude::dev"],[1087,"db_sqlx_maria::dev::tests"],[1090,"db_sqlx_maria::errors"]],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","record PoW timing","Create psuedo ID against campaign ID to publish analytics","","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Error occurred within the Any driver mapping to/from the …","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","","clone DB","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error"],"i":[0,0,0,15,0,15,0,1,1,1,1,1,1,1,1,1,44,15,45,1,12,44,15,45,1,12,1,1,12,1,1,12,15,1,1,1,1,1,1,0,45,1,12,0,1,1,1,12,44,15,45,1,12,1,1,1,1,1,1,1,1,1,1,1,12,12,44,15,45,1,12,1,12,1,12,1,1,45,0,12,1,1,1,1,1,1,1,12,44,15,45,1,12,44,15,45,1,12,44,15,45,1,12,1,1,1,1,1,1,1,45,1,44,15,45,1,12,42,0,29,0,0,42,42,0,29,29,29,29,46,0,0,0,0,42,0,0,0,29,29,22,42,0,0,29,0,0,0,0,29,0,0,42,0,47,29,29,29,0,29,0,42,0,29,0,42,29,0,22,42,29,13,13,13,13,13,13,13,13,13,13,29,0,8,29,29,8,13,48,37,39,37,47,13,13,13,13,13,13,16,39,0,9,3,36,16,39,24,13,0,13,13,13,29,29,29,29,29,29,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,29,29,16,39,13,38,17,49,38,27,0,8,13,0,38,13,13,13,13,24,40,37,29,13,13,0,9,36,17,29,29,29,29,13,13,13,13,13,13,13,24,27,28,13,3,29,9,36,50,51,50,51,52,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,0,8,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,17,8,16,39,40,8,13,24,27,22,28,9,36,37,38,17,8,16,39,40,48,24,27,22,28,9,36,37,38,17,8,16,39,40,37,39,37,47,13,13,9,36,37,38,17,8,16,39,40,13,13,13,13,16,39,24,27,22,28,9,36,37,38,17,8,16,39,40,9,3,36,16,39,24,13,24,27,22,28,9,36,37,38,17,8,16,39,40,0,13,13,13,42,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,38,17,8,16,39,40,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,42,24,27,22,28,9,36,37,38,17,8,16,39,40,16,39,13,38,17,49,38,27,0,8,13,0,38,13,13,13,13,24,40,24,27,22,28,9,36,37,38,17,8,16,39,40,37,42,13,13,0,9,36,17,24,27,22,28,9,36,37,38,17,8,16,39,40,42,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,17,8,16,39,40,13,13,13,13,13,13,13,24,27,28,13,3,42,24,27,22,28,9,36,37,38,17,8,16,39,40,9,36,42,0,42,42,0,42,0,42,42,42,42,42,46,0,0,0,0,47,47,46,49,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,8,3,3,8,13,3,48,3,37,39,37,47,13,13,13,13,13,13,16,39,3,9,3,36,16,39,24,13,3,13,13,13,3,3,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,3,16,39,13,38,17,49,38,27,8,13,38,13,13,13,13,24,40,3,37,13,13,9,36,17,3,3,3,3,13,13,13,13,13,13,13,24,27,28,13,3,3,9,36,0,0,0,42,0,42,42,0,42,0,42,42,42,42,42,46,0,0,0,0,47,47,46,49,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,8,8,13,48,37,39,37,47,13,13,13,13,13,13,16,39,0,9,3,36,16,39,24,13,13,13,13,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,16,39,13,38,17,49,38,27,8,13,38,13,13,13,13,24,40,37,13,13,9,36,17,13,13,13,13,13,13,13,24,27,28,13,3,9,36,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,0,8,8,13,48,37,39,37,47,13,13,13,13,13,13,16,39,9,3,36,16,39,24,13,13,13,13,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,16,39,13,38,17,49,38,27,8,13,38,13,13,13,13,24,40,37,13,13,9,36,17,13,13,13,13,13,13,13,24,27,28,13,3,9,36,0,0,0,0,0],"f":[0,0,0,0,0,0,0,[[1,2,2,[4,[3]]],[[7,[[6,[5]]]]]],[[1,2,2,8],[[7,[[6,[5]]]]]],[[1,2,9],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,10,10],[[7,[[6,[5]]]]]],[[1,10],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[1,1],[12,12],[[],[[6,[13,14]]]],[[]],[[]],[15,[[7,[[6,[5]]]]]],[[1,2,16],[[7,[[6,[5]]]]]],[[1,17],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],0,0,[[1,2],[[7,[[6,[5]]]]]],[[12,12],18],0,[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[12,19],20],[[]],[[]],[[]],[[]],[[]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,21],[[7,[[6,[5]]]]]],[[1,22],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[1,2,23],[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,0,0,0,[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,24],[[7,[[6,[5]]]]]],[[1,21,21],[[7,[[6,[5]]]]]],[[1,21],[[7,[[6,[5]]]]]],[[]],[[]],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],26],[[],26],[[],26],[[],26],[[],26],[[1,2,2,2],[[7,[[6,[5]]]]]],[[1,2,16],[[7,[[6,[5]]]]]],[[1,27],[[7,[[6,[5]]]]]],[[1,2,21,21],[[7,[[6,[5]]]]]],[[1,28],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,[[1,2],[[7,[[6,[5]]]]]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[29,[[11,[30]]]],0,0,[[]],[[]],0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[6,[13,14]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[29,19],[[25,[31]]]],[[29,19],[[25,[31]]]],[32,29],[30,29],[33,29],[[]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,[[]],[29,[[11,[[6,[30,14]]]]]],0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,0,[[],[[7,[[6,[5,14]]]]]],0,0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,0,[29,[[11,[34]]]],[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,0,[[],35],[[],25],[[],25],[[],26],[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[24,24],[27,27],[22,22],[28,28],[9,9],[36,36],[37,37],[38,38],[17,17],[8,8],[16,16],[39,39],[40,40],[[],[[6,[13,14]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[],9],[[],36],[[],37],[[],38],[[],17],[[],8],[[],16],[[],39],[[],40],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[41,[[25,[24]]]],[41,[[25,[27]]]],[41,[[25,[22]]]],[41,[[25,[28]]]],[41,[[25,[9]]]],[41,[[25,[36]]]],[41,[[25,[37]]]],[41,[[25,[38]]]],[41,[[25,[17]]]],[41,[[25,[8]]]],[41,[[25,[16]]]],[41,[[25,[39]]]],[41,[[25,[40]]]],0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[24,24],18],[[27,27],18],[[22,22],18],[[28,28],18],[[9,9],18],[[36,36],18],[[37,37],18],[[38,38],18],[[17,17],18],[[8,8],18],[[16,16],18],[[39,39],18],[[40,40],18],0,[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[42,19],[[25,[31]]]],[[42,19],[[25,[31]]]],[[24,19],[[25,[31]]]],[[27,19],[[25,[31]]]],[[22,19],[[25,[31]]]],[[28,19],[[25,[31]]]],[[9,19],[[25,[31]]]],[[36,19],[[25,[31]]]],[[37,19],[[25,[31]]]],[[38,19],[[25,[31]]]],[[17,19],[[25,[31]]]],[[8,19],[[25,[31]]]],[[16,19],[[25,[31]]]],[[39,19],[[25,[31]]]],[[40,19],[[25,[31]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[12,38],[[]],[[]],[[]],[[]],[[]],[[]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,0,[[],[[7,[[6,[5,14]]]]]],0,0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,[[24,43],25],[[27,43],25],[[22,43],25],[[28,43],25],[[9,43],25],[[36,43],25],[[37,43],25],[[38,43],25],[[17,43],25],[[8,43],25],[[16,43],25],[[39,43],25],[[40,43],25],0,[42,[[11,[34]]]],[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],35],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,[[]],[[]],0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[3,3],[[],[[6,[13,14]]]],[[]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[41,[[25,[3]]]],0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[3,3],18],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[3,19],[[25,[31]]]],[[]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,[[]],0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,[[3,43],25],0,[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,[[]],[[],25],[[],25],[[],26],[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[]],0,0,0,0,[[13,24,16,[4,[3]],8,17],5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[6,[13,14]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,0,[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[6,[13,14]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,0,[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,[[13,24,16,[4,[3]],8,17],5],[29,42],[[29,42],42]],"c":[],"p":[[3,"Database"],[15,"str"],[3,"Level"],[15,"slice"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[3,"CreatePerformanceAnalytics"],[15,"usize"],[4,"Option"],[3,"InnerNotification"],[8,"MCDatabase"],[3,"Global"],[4,"ConnectionOptions"],[3,"CreateCaptcha"],[3,"AddNotification"],[15,"bool"],[3,"Formatter"],[6,"Result"],[15,"u32"],[4,"Login"],[15,"i32"],[3,"Register"],[4,"Result"],[3,"TypeId"],[3,"UpdateEmail"],[3,"NameHash"],[4,"Error"],[8,"DatabaseError"],[3,"Error"],[3,"Error"],[4,"MigrateError"],[8,"Error"],[3,"String"],[3,"PerformanceAnalytics"],[3,"StatsUnixTimestamp"],[3,"Notification"],[3,"Captcha"],[3,"Secret"],[8,"Deserializer"],[4,"DBError"],[8,"Serializer"],[3,"Conn"],[3,"Fresh"],[8,"GetConnection"],[8,"Connect"],[8,"CloneSPDatabase"],[8,"Migrate"],[13,"ColumnIndexOutOfBounds"],[13,"ColumnDecode"],[13,"TypeNotFound"]]},\ -"db_sqlx_postgres":{"doc":"","t":"DEDNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAMLLALLLLLLLLLLLLLLLLLLLLMMLLLLLLMLMLMMAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLNDNGDNNINNNNQIDDENIGCNNNNEINDEIINDDNDQNNNDNDNDNDNNDNNNKKKLKKKKKKLXMLLMKKMMMKKKKKKKMMAMMMMMMKAKKKLLLLLLMKKKKKKKKKKKKMMMMMMLLMMKMMKMMAMKAMKKKKMMMLKKAMMMLLLLKKKKKKKMMMKMLMMMMMMMNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKXMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKLLLLLLLLLLLLLKLLLLLLLLLLLLLMMMKKKLLLLLLLLLKKKKMMLLLLLLLLLLLLLMMMMMMKLLLLLLLLLLLLLAKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKKKKKKKKKKKKMMMMMMLLLLLLLLLLLLLLMMKMMKMMAMKAMKKKKMMLLLLLLLLLLLLLMLKKAMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKMMMKMLLLLLLLLLLLLLLMMNGNNENGNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKMLLMKLKLMMMKKKKKKKMMLMMMMMMKLKKKLLMKKKKKKKKKKKKMMMMMMLMMKMMKMMMKMKKKKMMLMKKMMMLLLLKKKKKKKMMMKMLMMRRFNGNNENGNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKMMKKMMMKKKKKKKMMAMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMNDGDNNIQIDDENIGNNIDEIIDDNDQDDNDDNDNNKKKLKKKKKKXMMKKMMMKKKKKKKMMMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMRRFFF","n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","AnyDriverError","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","worker_type","worker_type","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone_db","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","to_owned","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","NotificationNotFound","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","map_register_err","map_row_not_found_err"],"q":[[0,"db_sqlx_postgres"],[118,"db_sqlx_postgres::dev"],[287,"db_sqlx_postgres::dev::Error"],[292,"db_sqlx_postgres::dev::dev"],[642,"db_sqlx_postgres::dev::dev::errors"],[654,"db_sqlx_postgres::dev::dev::ops"],[663,"db_sqlx_postgres::dev::dev::prelude"],[806,"db_sqlx_postgres::dev::dev::tests"],[809,"db_sqlx_postgres::dev::errors"],[821,"db_sqlx_postgres::dev::ops"],[830,"db_sqlx_postgres::dev::prelude"],[959,"db_sqlx_postgres::dev::prelude::dev"],[1088,"db_sqlx_postgres::dev::tests"],[1091,"db_sqlx_postgres::errors"]],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","record PoW timing","Create psuedo ID against campaign ID to publish analytics","","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Error occurred within the Any driver mapping to/from the …","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","Returns the argument unchanged.","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","","clone DB","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Notification not found","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error"],"i":[0,0,0,15,0,15,0,1,1,1,1,1,1,1,1,1,44,15,45,1,12,44,15,45,1,12,1,1,12,1,1,12,15,1,1,12,1,1,1,1,0,45,1,12,0,1,1,1,12,44,15,45,1,12,1,1,1,1,1,1,1,1,1,1,1,12,12,44,15,45,1,12,1,12,1,12,1,1,45,0,12,1,1,1,1,1,1,1,12,44,15,45,1,12,44,15,45,1,12,44,15,45,1,12,1,1,1,1,1,1,1,45,1,44,15,45,1,12,42,0,29,0,0,42,42,0,29,29,29,29,46,0,0,0,0,42,0,0,0,29,29,22,42,0,0,29,0,0,0,0,29,0,0,42,0,47,29,29,29,0,29,0,42,0,29,0,42,29,0,22,42,29,13,13,13,13,13,13,13,13,13,13,29,0,8,29,29,8,13,48,37,39,37,47,13,13,13,13,13,13,16,39,0,9,3,36,16,39,24,13,0,13,13,13,29,29,29,29,29,29,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,29,29,16,39,13,38,17,49,38,27,0,8,13,0,38,13,13,13,13,24,40,37,29,13,13,0,9,36,17,29,29,29,29,13,13,13,13,13,13,13,24,27,28,13,3,29,9,36,50,51,50,51,52,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,0,8,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,17,8,16,39,40,8,13,24,27,22,28,9,36,37,38,17,8,16,39,40,48,24,27,22,28,9,36,37,38,17,8,16,39,40,37,39,37,47,13,13,9,36,37,38,17,8,16,39,40,13,13,13,13,16,39,24,27,22,28,9,36,37,38,17,8,16,39,40,9,3,36,16,39,24,13,24,27,22,28,9,36,37,38,17,8,16,39,40,0,13,13,13,42,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,38,17,8,16,39,40,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,42,24,27,22,28,9,36,37,38,17,8,16,39,40,16,39,13,38,17,49,38,27,0,8,13,0,38,13,13,13,13,24,40,24,27,22,28,9,36,37,38,17,8,16,39,40,37,42,13,13,0,9,36,17,24,27,22,28,9,36,37,38,17,8,16,39,40,42,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,17,8,16,39,40,42,24,27,22,28,9,36,37,38,17,8,16,39,40,13,13,13,13,13,13,13,24,27,28,13,3,42,24,27,22,28,9,36,37,38,17,8,16,39,40,9,36,42,0,42,42,0,42,0,42,42,42,42,42,46,0,0,0,0,47,47,46,49,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,8,3,3,8,13,3,48,3,37,39,37,47,13,13,13,13,13,13,16,39,3,9,3,36,16,39,24,13,3,13,13,13,3,3,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,3,16,39,13,38,17,49,38,27,8,13,38,13,13,13,13,24,40,3,37,13,13,9,36,17,3,3,3,3,13,13,13,13,13,13,13,24,27,28,13,3,3,9,36,0,0,0,42,0,42,42,0,42,0,42,42,42,42,42,46,0,0,0,0,47,47,46,49,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,8,8,13,48,37,39,37,47,13,13,13,13,13,13,16,39,0,9,3,36,16,39,24,13,13,13,13,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,16,39,13,38,17,49,38,27,8,13,38,13,13,13,13,24,40,37,13,13,9,36,17,13,13,13,13,13,13,13,24,27,28,13,3,9,36,42,0,0,0,42,42,0,46,0,0,0,0,42,0,0,22,42,0,0,0,0,0,0,0,42,0,47,0,0,42,0,0,42,0,22,42,13,13,13,13,13,13,13,13,13,13,0,8,8,13,48,37,39,37,47,13,13,13,13,13,13,16,39,9,3,36,16,39,24,13,13,13,13,17,13,13,13,13,13,46,13,13,13,13,13,13,24,28,38,17,36,38,16,39,13,38,17,49,38,27,8,13,38,13,13,13,13,24,40,37,13,13,9,36,17,13,13,13,13,13,13,13,24,27,28,13,3,9,36,0,0,0,0,0],"f":[0,0,0,0,0,0,0,[[1,2,2,[4,[3]]],[[7,[[6,[5]]]]]],[[1,2,2,8],[[7,[[6,[5]]]]]],[[1,2,9],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,10,10],[[7,[[6,[5]]]]]],[[1,10],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[1,1],[12,12],[[],[[6,[13,14]]]],[[]],[[]],[15,[[7,[[6,[5]]]]]],[[1,2,16],[[7,[[6,[5]]]]]],[[1,17],[[7,[[6,[5]]]]]],[[],12],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],0,0,[[1,2],[[7,[[6,[5]]]]]],[[12,12],18],0,[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[12,19],20],[[]],[[]],[[]],[[]],[[]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,21],[[7,[[6,[5]]]]]],[[1,22],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[1,2,23],[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,0,0,0,[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,24],[[7,[[6,[5]]]]]],[[1,21,21],[[7,[[6,[5]]]]]],[[1,21],[[7,[[6,[5]]]]]],[[]],[[]],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],26],[[],26],[[],26],[[],26],[[],26],[[1,2,2,2],[[7,[[6,[5]]]]]],[[1,2,16],[[7,[[6,[5]]]]]],[[1,27],[[7,[[6,[5]]]]]],[[1,2,21,21],[[7,[[6,[5]]]]]],[[1,28],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,[[1,2],[[7,[[6,[5]]]]]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[29,[[11,[30]]]],0,0,[[]],[[]],0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[6,[13,14]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[29,19],[[25,[31]]]],[[29,19],[[25,[31]]]],[32,29],[[]],[33,29],[30,29],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,[[]],[29,[[11,[[6,[30,14]]]]]],0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,0,[[],[[7,[[6,[5,14]]]]]],0,0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,0,[29,[[11,[34]]]],[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,0,[[],35],[[],25],[[],25],[[],26],[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[24,24],[27,27],[22,22],[28,28],[9,9],[36,36],[37,37],[38,38],[17,17],[8,8],[16,16],[39,39],[40,40],[[],[[6,[13,14]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[],9],[[],36],[[],37],[[],38],[[],17],[[],8],[[],16],[[],39],[[],40],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[41,[[25,[24]]]],[41,[[25,[27]]]],[41,[[25,[22]]]],[41,[[25,[28]]]],[41,[[25,[9]]]],[41,[[25,[36]]]],[41,[[25,[37]]]],[41,[[25,[38]]]],[41,[[25,[17]]]],[41,[[25,[8]]]],[41,[[25,[16]]]],[41,[[25,[39]]]],[41,[[25,[40]]]],0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[24,24],18],[[27,27],18],[[22,22],18],[[28,28],18],[[9,9],18],[[36,36],18],[[37,37],18],[[38,38],18],[[17,17],18],[[8,8],18],[[16,16],18],[[39,39],18],[[40,40],18],0,[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[42,19],[[25,[31]]]],[[42,19],[[25,[31]]]],[[24,19],[[25,[31]]]],[[27,19],[[25,[31]]]],[[22,19],[[25,[31]]]],[[28,19],[[25,[31]]]],[[9,19],[[25,[31]]]],[[36,19],[[25,[31]]]],[[37,19],[[25,[31]]]],[[38,19],[[25,[31]]]],[[17,19],[[25,[31]]]],[[8,19],[[25,[31]]]],[[16,19],[[25,[31]]]],[[39,19],[[25,[31]]]],[[40,19],[[25,[31]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[12,38],[[]],[[]],[[]],[[]],[[]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,0,[[],[[7,[[6,[5,14]]]]]],0,0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,[[24,43],25],[[27,43],25],[[22,43],25],[[28,43],25],[[9,43],25],[[36,43],25],[[37,43],25],[[38,43],25],[[17,43],25],[[8,43],25],[[16,43],25],[[39,43],25],[[40,43],25],0,[42,[[11,[34]]]],[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],35],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[],26],[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,[[]],[[]],0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[3,3],[[],[[6,[13,14]]]],[[]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[41,[[25,[3]]]],0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[3,3],18],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[3,19],[[25,[31]]]],[[]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,[[]],0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,[[3,43],25],0,[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,[[]],[[],25],[[],25],[[],26],[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,[[]],0,0,0,0,[[13,24,16,[4,[3]],8,17],5],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[6,[13,14]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,0,[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[2,2,[4,[3]]],[[7,[[6,[5,14]]]]]],[[2,2,8],[[7,[[6,[5,14]]]]]],[[2,9],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,10,10],[[7,[[6,[5,14]]]]]],[10,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[6,[13,14]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[17,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[[11,[2]],2],[[7,[[6,[5,14]]]]]],[[],[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,21],[[7,[[6,[5,14]]]]]],[22,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,0,0,0,0,0,[[2,23],[[7,[[6,[5,14]]]]]],0,0,[[],[[7,[[6,[5,14]]]]]],0,0,0,[[],[[7,[[6,[5,14]]]]]],0,[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[2,[[7,[[6,[5,14]]]]]],[24,[[7,[[6,[5,14]]]]]],0,0,0,[[21,21],[[7,[[6,[5,14]]]]]],[21,[[7,[[6,[5,14]]]]]],0,0,0,[[2,2,2],[[7,[[6,[5,14]]]]]],[[2,16],[[7,[[6,[5,14]]]]]],[27,[[7,[[6,[5,14]]]]]],[[2,21,21],[[7,[[6,[5,14]]]]]],[28,[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],[[2,2],[[7,[[6,[5,14]]]]]],0,0,0,[2,[[7,[[6,[5,14]]]]]],0,0,0,0,0,[[13,24,16,[4,[3]],8,17],5],[29,42],[[29,42],42]],"c":[],"p":[[3,"Database"],[15,"str"],[3,"Level"],[15,"slice"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"TrafficPattern"],[3,"CreatePerformanceAnalytics"],[15,"usize"],[4,"Option"],[3,"InnerNotification"],[8,"MCDatabase"],[3,"Global"],[4,"ConnectionOptions"],[3,"CreateCaptcha"],[3,"AddNotification"],[15,"bool"],[3,"Formatter"],[6,"Result"],[15,"u32"],[4,"Login"],[15,"i32"],[3,"Register"],[4,"Result"],[3,"TypeId"],[3,"UpdateEmail"],[3,"NameHash"],[4,"Error"],[8,"DatabaseError"],[3,"Error"],[4,"MigrateError"],[3,"Error"],[8,"Error"],[3,"String"],[3,"PerformanceAnalytics"],[3,"StatsUnixTimestamp"],[3,"Notification"],[3,"Captcha"],[3,"Secret"],[8,"Deserializer"],[4,"DBError"],[8,"Serializer"],[3,"Conn"],[3,"Fresh"],[8,"GetConnection"],[8,"Connect"],[8,"CloneSPDatabase"],[8,"Migrate"],[13,"ColumnIndexOutOfBounds"],[13,"ColumnDecode"],[13,"TypeNotFound"]]},\ -"mcaptcha":{"doc":"","t":"GGDRRDDRDDDDRDDDDDDDRRRRDDDDRDDRRMMMMMMMMMMMMMMMMMMMMALLLLLLLLLLLLLLLLMMMMAMAAMMALLLLLLLLAAALLLLLLLLFFLLLLLLLLMFAMAMAMMMAAMAMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAACDAALLLLFLAAAAMAFAALLLLDDCLLLLLLLLALLAMLLLLLLCAAALLFLLLLLLLLAMLLLLDLLLAFLLLLFDLLLLLLLLLMDLLLLLLLLLLFDLLLLLLLLLLLLLDDLLLLLLLLMMLLLLLLLLLMMMLLFLLLLLLLLLLFDLLLDLLMMLMLLLLLMMMMMLLLLLLLDLLLLFLLLLLLDLLDLLLLLLLLLLLLLLLLLLALFDLLLLLLLLLLMDLLLFLLLLLLLLLLLLDDLLLAAFDLLLLLLLLLLLLDLLLLLMMLMLLLLDDDLLLLLLLLLLLLMLLLMLLLLLLLLLMFMMMFLLLLLLLLLLLLLLLMLLLAAAAFAFAADDLLLLLLLLDMLLMLLLLLLLMMMMLALLLLLLLLLLLLLLLFDLLLLLLDLLLLLLMMLLLLLLLLLLLDDMLLLLLLLLMFLLLLDLMLLLLLLLLLLLLMMMMLLALLFLLLLLLLLLLLLLLDLLLLDLLMLLLLLLMLDDLLLLLLLLLLLLMLLLLLDLLLMLLLLLLLLLLLLLLMLLLDLLMMMLMLLMLLLMMLDLLLLLLLLLLDLLMLALLLLLLLLLLDLLLMLLLLLLDLLLLLLMLMLLLLLLMMMLLALLLLLLLLLLDDLLLFDDEDDENNNNLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLMMDLLLLLLLLLLMMLLALLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLDLLMLMLLLLLLAAAAFDDLLLLLLLLLLLLMLLMLLMLLLLLLLLLDLLLLLLLLLLLLLDMMLLMMMLLLLLLLLLLLDLLLLLLLMLLDLLLLLLLLLLDMLLLMLMLLLLLCAAFAADDLLLLLLLLLLLLMLLLLLDFLLLMMLMLLMLLLLLLLLLLLLLLDLLLLMLLOMLLLLMLMLDDLLLLLLLLLLLLLLLLLLLLMMLMLLMMLLMLLLLLLLLLDLLLMDDLLLLLLLLLLLLLLLLLLLLMLMLLLLMLLLLLLLLLMDLLLRDMMLLMLLLMLMMMMLLLLDDEDDEDDENNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLMMDLALLLFLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLDLLLLLLLLLLLLLLMLLLLLLDDMLLLLLLLLLLLLDLLLLLLLLLLLLLLMLLADMLLFLLLLLLLLLLLLLLLLLDLLMLLLLMLLLLDNGNELLLLLMMMOOLLLLLLLMLLLLLLMMMLLLLLLLLLLLRDRRRLLLLLLLLLLLMLLLLLGAAFFRRDLLLLLMLLLLLLLLDRRLLLLLLLLDLLLLLLFDLLLLLLLLLAFDLLLLLLLLLLLLLLLLDMLLLMLLMLLLLADRLLLLLLLLLLLLLFMLNNNNNNDNDNNNNEGNNNNENGDNNNNNNNLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLRAAFAAFAAAAFADDRMLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLDDRMLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLDLLLLLLMMLLLLLRDLLLLMLLLLLLLLLMLRDDRDMMLLLLLLLLLLLLDLLLLLLLLMLLLLAFMLLLLLLLLLLLLLLLLLDLLLMLLLLLMLDRLLLLLLLLLLLADLLLAFAAMLLLLLLLLLDDRLLLLLLLLLLMMLLLMMMLDLMLLLLLLLLLLLLLLLDLLLLMLLMMMLLLLDRLLLLLLLLLLDMLLLLLLLLLLLLLAMFDLLLLLLLLLLLLLDMLLLLDLLMLLMLLLLLMLAAAAAFADDDDRMMDMLLLLLLLLLLLLMLLLLLLLLDMMMMMLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLDDRDLLLLLLLLLLLLMDMLLLLLLLLMMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLDRLLLLLLLLLLDLLLLMLLLLLLLLLDMMLLMMMLLLLLLLMLLLLMLDRLLLLLLMLLLLMMMLMLLLMLLLLLLLDLLRDMMLLMMLLLMLLMMMMMLLLLDDMLLLLLLLLLLMLLLLLLLLLDLLLLLLLLLLMLLLFDERDDRNNDDDDDMMMLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLMMMMMMLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLMLLLLLLLLLMLMMMMMMMMMMMMMMLMLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMLLLLLLLLLCAFADLLMLLLLLLLLDDALLLLLLLLDLLLLLLLLFFLLLLLLLLLLDLLLLLLLLLLLLLLLLDDDDDDGDDDDMMMMMMMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDIDDILLLLLLLLLLLLKLLMMLLLLLLLKLLLLLLLLLLLKLLKLLKLLLMLLLLLLLLLLLLLLLDDIMLLLLMLLLLLLLLLLLKLLKLLKLLKLMLLLLLLLLLLDDRRMLLLLLLLLLLLLLLLLLLLAFDLLLLLLLLLLLLLDLLLLLLLLML","n":["AppData","ArcData","BAR_CHART","CACHE_AGE","COMPILED_DATE","CREDIT_CARD","CSS","DOCS","DOCS_ICON","Data","FILES","GITHUB","GIT_COMMIT_HASH","HELP_CIRCLE","HOME","JS","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","MOBILE_CSS","PAGES","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","SETTINGS","SETTINGS_ICON","SOURCE_FILES_OF_INSTANCE","Settings","V1_API_ROUTES","VERIFICATIN_WIDGET_CSS","VERIFICATIN_WIDGET_JS","VERSION","WIDGET_ROUTES","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","allow_demo","allow_registration","api","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha","captcha","commercial","creds","data","database","date","db","db","debug","demo","deref","deref","deref","deref","deref","deref","deref","deref","docs","email","errors","from","from","from","from","from","from","from","from","get_identity_service","get_json_err","into","into","into","into","into","into","into","into","mailer","main","pages","redis","routes","server","settings","settings","smtp","source_code","static_assets","stats","stats","survey","survey","survey_secrets","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","widget","v1","ROUTES","RedirectQuery","account","auth","borrow","borrow_mut","deserialize","from","get_middleware","into","mcaptcha","meta","notifications","pow","redirect_to","routes","services","stats","survey","try_from","try_into","type_id","vzip","AccountCheckPayload","AccountCheckResp","auth","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","delete","deserialize","deserialize","email","exists","fmt","fmt","from","from","into","into","mcaptcha","password","routes","secret","serialize","serialize","services","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","username","val","vzip","vzip","borrow","borrow_mut","delete_account","from","into","register","runners","services","try_from","try_into","type_id","vzip","delete_user","Email","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","email","email_exists","fmt","from","from","from","into","into","into","register","register","serialize","services","set_email","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","ChangePasswordReqest","UpdatePassword","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","confirm_new_password","confirm_new_password","deserialize","fmt","from","from","from","from","into","into","into","new_password","new_password","password","register","serialize","services","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_password_runner","update_user_password","vzip","vzip","vzip","Account","borrow","borrow_mut","delete","email_exists","from","get_secret","into","new","try_from","try_into","type_id","update_email","update_password","update_secret","update_username","username_exists","vzip","borrow","borrow","borrow_mut","borrow_mut","from","from","get_secret","into","into","register","register","services","try_from","try_from","try_into","try_into","type_id","type_id","update_user_secret","vzip","vzip","Username","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","from","into","into","into","register","register","runners","serialize","services","set_username","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","username_exists","vzip","vzip","vzip","username_exists","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","into","into","into","login","register","register","register","register","routes","runners","services","signout","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","into","login","logout","new","register","try_from","try_into","type_id","vzip","Login","Password","Register","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","confirm_password","deserialize","deserialize","deserialize","email","fmt","fmt","fmt","from","from","from","into","into","into","login","login_runner","password","password","password","register_runner","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","vzip","vzip","vzip","create","delete","easy","get","get_random","routes","services","stats","update","CreateCaptcha","MCaptchaDetails","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","create","description","deserialize","deserialize","duration","fmt","from","from","from","into","into","into","key","levels","name","publish_benchmarks","register","runner","serialize","serialize","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","create","DeleteCaptcha","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","delete","deserialize","fmt","from","from","into","into","key","password","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","TrafficPatternRequest","UpdateTrafficPattern","avg_traffic","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","calculate","clone","clone","clone_into","clone_into","create","default","description","deserialize","deserialize","fmt","fmt","from","from","from","from","into","into","into","into","key","pattern","peak_sustainable_traffic","publish_benchmarks","register","register","routes","serialize","serialize","services","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","Easy","borrow","borrow_mut","create","from","into","new","try_from","try_into","type_id","update","vzip","I32Levels","Levels","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","difficulty_factor","fmt","fmt","from","from","from","get_captcha","into","into","into","levels","register","serialize","serialize","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","visitor_threshold","vzip","vzip","vzip","Captcha","borrow","borrow_mut","create","delete","easy","from","get","into","new","stats","try_from","try_into","type_id","update","update_key","vzip","StatsPayload","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","get","into","into","key","register","routes","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Stats","borrow","borrow_mut","from","get","into","new","try_from","try_into","type_id","vzip","UpdateCaptcha","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","description","deserialize","duration","from","from","from","into","into","into","key","levels","publish_benchmarks","register","register","runner","serialize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_captcha","update_key","vzip","vzip","vzip","update_captcha","BuildDetails","BuildDetailsBuilder","BuildDetailsBuilderError","Health","HealthBuilder","HealthBuilderError","UninitializedField","UninitializedField","ValidationError","ValidationError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build_details","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","create_empty","create_empty","db","db","db","default","default","deserialize","deserialize","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","git_commit_hash","git_commit_hash","git_commit_hash","health","into","into","into","into","into","into","into","into","is_redis","redis","redis","redis","register","register","routes","serialize","serialize","services","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","add","get","mark_read","routes","services","AddNotificationRequest","add_notification","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","from","heading","into","into","message","register","serialize","to","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","NotificationResp","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","from","from","from","from_notifications","get_notification","heading","id","into","into","message","name","received","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","MarkReadReq","borrow","borrow","borrow_mut","borrow_mut","deserialize","from","from","id","into","into","mark_read","register","serialize","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Notifications","add","borrow","borrow_mut","from","get","into","mark_read","new","try_from","try_into","type_id","vzip","I32Levels","get_config","routes","services","verify_pow","verify_token","ApiPoWConfig","GetConfigPayload","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","difficulty_factor","fmt","fmt","from","from","from","get_config","init_mcaptcha","into","into","into","key","max_recorded_nonce","register","salt","serialize","serialize","string","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","PoW","borrow","borrow_mut","from","get_config","get_config","into","new","rm_scope","scope","try_from","try_into","type_id","validate_captcha_token","validate_captcha_token","verify_pow","verify_pow","vzip","ApiWork","ValidationToken","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","from","into","into","into","key","nonce","register","result","serialize","serialize","string","time","to_owned","to_owned","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","verify_pow","vzip","vzip","vzip","worker_type","CaptchaValidateResp","VerifyCaptchaResultPayload","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","from","into","into","into","key","register","secret","serialize","serialize","to_owned","to_owned","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","valid","validate_captcha_token","vzip","vzip","vzip","ROUTES","Routes","account","auth","borrow","borrow_mut","captcha","from","get_login_route","into","meta","new","notifications","pow","stats","survey","try_from","try_into","type_id","vzip","BuildDetails","BuildDetailsBuilder","BuildDetailsBuilderError","PercentileReq","PercentileReqBuilder","PercentileReqBuilderError","PercentileResp","PercentileRespBuilder","PercentileRespBuilderError","UninitializedField","UninitializedField","UninitializedField","ValidationError","ValidationError","ValidationError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","create_empty","create_empty","create_empty","default","default","default","deserialize","deserialize","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","git_commit_hash","git_commit_hash","git_commit_hash","into","into","into","into","into","into","into","into","into","into","percentile","percentile","percentile","percentile_benches","register","routes","serialize","serialize","serialize","services","time","time","time","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Stats","borrow","borrow_mut","clone","clone_into","deserialize","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","into","new","percentile_benches","serialize","to_owned","try_from","try_into","type_id","vzip","Page","SurveySecretUpload","auth_token","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","deserialize","download","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","from","from","from","into","into","into","into","page","register","register","routes","secret","secret","serialize","serialize","services","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Survey","borrow","borrow_mut","download","from","get_download_route","into","new","secret","try_from","try_into","type_id","vzip","Data","Embedded","Mailer","Redis","SystemGroup","add_site","borrow","borrow","borrow_mut","borrow_mut","captcha","creds","db","enum_system_actor","enum_system_wrapper","from","from","get_creds","get_mailer","get_pow","into","into","mailer","new","new","new_system","register_survey","remove","rename","settings","stats","survey_secrets","try_from","try_from","try_into","try_into","type_id","type_id","upload_survey_job","validate_verification_tokens","verify_pow","vzip","vzip","DAY","Date","HOUR","MINUTE","WEEK","borrow","borrow_mut","clone","clone_into","date","fmt","format","from","into","new","print_date","time","to_owned","try_from","try_into","type_id","vzip","BoxDB","maria","pg","get_data","get_data","DEMO_PASSWORD","DEMO_USER","DemoUser","abort","borrow","borrow_mut","delete_demo_user","from","handle","into","register_demo_user","run","spawn","try_from","try_into","type_id","vzip","Asset","DOCS","OPEN_API_SPEC","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","dist","from","from","from","from","get","get","handle_embedded_file","index","into","into","into","into","iter","iter","register","register","register","routes","services","spec","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Docs","assets","borrow","borrow_mut","from","home","into","new","spec","try_from","try_into","type_id","vzip","verification","IndexPage","PAGE","borrow","borrow_mut","clone","clone_into","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","verification","verification_link","vzip","AccountNotFound","BlacklistError","CaptchaError","CaptchaNotFound","ClosedForRegistration","DBError","DBErrorWrapper","EmailTaken","ErrorToResponse","InternalServerError","InternalServerError","NotAUrl","NotAnEmail","PageError","PageResult","PasswordTooLong","PasswordTooShort","PasswordsDontMatch","ProfainityError","ServiceError","ServiceError","ServiceResult","SmtpErrorWrapper","TokenNotFound","TrafficPatternNotFound","UnableToSendEmail","UsernameCaseMappedError","UsernameNotFound","UsernameTaken","WrongPassword","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deserialize","eq","eq","eq","eq","error","error_response","error_response","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","serialize","source","source","source","source","status_code","status_code","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","NAME","auth","errors","get_middleware","panel","routes","services","sitemap","login","register","routes","services","sudo","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","login","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","join","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","get_sitemap","into","join","login","new","try_from","try_into","type_id","vzip","PAGE","SudoPage","borrow","borrow_mut","clone","clone_into","data","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","url","vzip","ERROR_ROUTE","ErrorPage","INTERNAL_SERVER_ERROR_BODY","PAGE","UNKNOWN_ERROR_BODY","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","deref","error","from","from","from","from","into","into","into","into","message","new","register","render_once","render_once_to","routes","services","title","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Errors","borrow","borrow_mut","from","internal_server_error","into","new","try_from","try_into","type_id","unknown_error","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","new","notifications","panel","register","render_once","render_once_to","routes","services","settings","sitekey","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","IndexPage","Notification","PAGE","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","from","heading","id","into","into","into","message","n","name","new","notifications","print_date","received","register","render_once","render_once_to","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Panel","borrow","borrow_mut","from","get_sitemap","home","into","new","notifications","settings","sitekey","try_from","try_into","type_id","vzip","IndexPage","PAGE","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","delete_account","email","from","from","from","from","into","into","into","into","register","register","register","render_once","render_once_to","routes","secret","services","settings","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","update_secret","username","vzip","vzip","vzip","vzip","Settings","borrow","borrow_mut","delete_account","from","get_sitemap","home","into","new","try_from","try_into","type_id","update_secret","vzip","add","delete","edit","list","routes","services","view","ADVANCE_INDEX","AdvanceIndexPage","EASY_INDEX","EasyIndexPage","PAGE","__private_field","__private_field","advance","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","clone","clone","clone_into","clone_into","default","default","deref","deref","easy","form_description","form_description","form_duration","form_title","form_title","from","from","from","from","from","from","into","into","into","into","into","into","levels","peak_sustainable_traffic","register","register","render_once","render_once","render_once_to","render_once_to","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","borrow","borrow_mut","delete_sitekey","from","into","register","try_from","try_into","type_id","vzip","AdvanceEditPage","EasyEditPage","PAGE","advance","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","duration","easy","form_title","from","from","from","from","into","into","into","into","key","key","levels","name","new","new","pattern","publish_benchmarks","register","register","render_once","render_once","render_once_to","render_once_to","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","list_sitekeys","new","register","render_once","render_once_to","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Sitekey","add_advance","add_easy","borrow","borrow_mut","delete","edit_advance","edit_easy","from","get_delete","get_edit_advance","get_edit_easy","get_sitemap","get_view","into","list","new","try_from","try_into","type_id","view","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","duration","from","from","into","into","key","levels","name","new","publish_benchmarks","register","render_once","render_once_to","stats","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","view_sitekey","vzip","vzip","ROUTES","Routes","about","auth","borrow","borrow_mut","donate","errors","from","get_login_route","get_sitemap","home","into","new","panel","privacy","security","sitemap","thanks","try_from","try_into","type_id","vzip","INDEX","IndexPage","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","domain","from","from","from","into","into","into","register","render_once","render_once_to","sitemap","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","urls","vzip","vzip","vzip","services","Captcha","DBType","DEPRECATED_ENV_VARS","Database","DefaultDifficultyStrategy","ENV_VAR_CONFIG","Maria","Postgres","Redis","Server","Settings","Smtp","Survey","allow_demo","allow_registration","avg_traffic_difficulty","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic_difficulty","captcha","check_url","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","commercial","cookie_secret","database","database_type","debug","default_difficulty_strategy","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","domain","duration","enable_stats","env_override","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_url","gc","get_ip","instance_root_url","into","into","into","into","into","into","into","into","into","ip","new","nodes","password","peak_sustainable_traffic_difficulty","pool","pool","port","port","proxy_has_tls","queue_length","rate_limit","redis","reply","runners","salt","serialize","server","set_database_type","smtp","source_code","survey","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","url","url","url","url_prefix","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","FileMap","filemap","services","static_files","FileMap","borrow","borrow_mut","files","from","get","into","new","try_from","try_into","type_id","vzip","Asset","Favicons","assets","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","favicons","from","from","from","from","get","get","get","get","handle_assets","handle_favicons","into","into","into","into","iter","iter","iter","iter","register","register","static_files","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","BAR_CHART","CREDIT_CARD","DOCS_ICON","GITHUB","HELP_CIRCLE","HOME","Img","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","SETTINGS_ICON","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","CaptchaStats","CloneStats","Dummy","Real","Stats","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","clone_stats","clone_stats","clone_stats","config_fetches","confirms","default","default","default","deserialize","eq","eq","eq","fetch","fetch","fetch","fmt","fmt","fmt","from","from","from","into","into","into","record_confirm","record_confirm","record_confirm","record_fetch","record_fetch","record_fetch","record_solve","record_solve","record_solve","serialize","solves","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","SecretsStore","Survey","SurveyClientTrait","app_ctx","borrow","borrow","borrow_mut","borrow_mut","client","clone","clone","clone_into","clone_into","default","fmt","from","from","get","into","into","is_online","is_online","new","register","register","rm","schedule_upload_job","schedule_upload_job","set","start_job","start_job","store","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","INDEX_PAGE","IndexPage","PAGE","WIDGET_ROUTES","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","from","from","from","into","into","into","new","register","render_once","render_once_to","routes","services","show_widget","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Widget","borrow","borrow_mut","from","into","new","try_from","try_into","type_id","verification_widget","vzip"],"q":[[0,"mcaptcha"],[159,"mcaptcha::api"],[160,"mcaptcha::api::v1"],[183,"mcaptcha::api::v1::account"],[224,"mcaptcha::api::v1::account::delete"],[236,"mcaptcha::api::v1::account::delete::runners"],[237,"mcaptcha::api::v1::account::email"],[274,"mcaptcha::api::v1::account::password"],[316,"mcaptcha::api::v1::account::routes"],[334,"mcaptcha::api::v1::account::secret"],[355,"mcaptcha::api::v1::account::username"],[393,"mcaptcha::api::v1::account::username::runners"],[394,"mcaptcha::api::v1::auth"],[427,"mcaptcha::api::v1::auth::routes"],[441,"mcaptcha::api::v1::auth::runners"],[495,"mcaptcha::api::v1::mcaptcha"],[504,"mcaptcha::api::v1::mcaptcha::create"],[547,"mcaptcha::api::v1::mcaptcha::create::runner"],[548,"mcaptcha::api::v1::mcaptcha::delete"],[575,"mcaptcha::api::v1::mcaptcha::easy"],[636,"mcaptcha::api::v1::mcaptcha::easy::routes"],[648,"mcaptcha::api::v1::mcaptcha::get"],[691,"mcaptcha::api::v1::mcaptcha::routes"],[708,"mcaptcha::api::v1::mcaptcha::stats"],[735,"mcaptcha::api::v1::mcaptcha::stats::routes"],[746,"mcaptcha::api::v1::mcaptcha::update"],[783,"mcaptcha::api::v1::mcaptcha::update::runner"],[784,"mcaptcha::api::v1::meta"],[911,"mcaptcha::api::v1::meta::routes"],[923,"mcaptcha::api::v1::notifications"],[928,"mcaptcha::api::v1::notifications::add"],[958,"mcaptcha::api::v1::notifications::get"],[991,"mcaptcha::api::v1::notifications::mark_read"],[1013,"mcaptcha::api::v1::notifications::routes"],[1026,"mcaptcha::api::v1::pow"],[1032,"mcaptcha::api::v1::pow::get_config"],[1078,"mcaptcha::api::v1::pow::routes"],[1096,"mcaptcha::api::v1::pow::verify_pow"],[1143,"mcaptcha::api::v1::pow::verify_token"],[1187,"mcaptcha::api::v1::routes"],[1207,"mcaptcha::api::v1::stats"],[1372,"mcaptcha::api::v1::stats::routes"],[1394,"mcaptcha::api::v1::survey"],[1450,"mcaptcha::api::v1::survey::routes"],[1463,"mcaptcha::data"],[1506,"mcaptcha::date"],[1528,"mcaptcha::db"],[1531,"mcaptcha::db::maria"],[1532,"mcaptcha::db::pg"],[1533,"mcaptcha::demo"],[1550,"mcaptcha::docs"],[1598,"mcaptcha::docs::routes"],[1611,"mcaptcha::email"],[1612,"mcaptcha::email::verification"],[1630,"mcaptcha::errors"],[1737,"mcaptcha::pages"],[1745,"mcaptcha::pages::auth"],[1750,"mcaptcha::pages::auth::login"],[1787,"mcaptcha::pages::auth::register"],[1824,"mcaptcha::pages::auth::routes"],[1838,"mcaptcha::pages::auth::sudo"],[1856,"mcaptcha::pages::errors"],[1909,"mcaptcha::pages::errors::routes"],[1921,"mcaptcha::pages::panel"],[1953,"mcaptcha::pages::panel::notifications"],[1993,"mcaptcha::pages::panel::routes"],[2008,"mcaptcha::pages::panel::settings"],[2058,"mcaptcha::pages::panel::settings::routes"],[2072,"mcaptcha::pages::panel::sitekey"],[2079,"mcaptcha::pages::panel::sitekey::add"],[2161,"mcaptcha::pages::panel::sitekey::delete"],[2171,"mcaptcha::pages::panel::sitekey::edit"],[2230,"mcaptcha::pages::panel::sitekey::list"],[2257,"mcaptcha::pages::panel::sitekey::routes"],[2279,"mcaptcha::pages::panel::sitekey::view"],[2311,"mcaptcha::pages::routes"],[2334,"mcaptcha::pages::sitemap"],[2372,"mcaptcha::routes"],[2373,"mcaptcha::settings"],[2598,"mcaptcha::static_assets"],[2602,"mcaptcha::static_assets::filemap"],[2614,"mcaptcha::static_assets::static_files"],[2663,"mcaptcha::static_assets::static_files::assets"],[2774,"mcaptcha::stats"],[2841,"mcaptcha::survey"],[2883,"mcaptcha::widget"],[2923,"mcaptcha::widget::routes"]],"d":["","","","","","","","","","App data","","","","","","","","","","","","","","","","","points to source files matching build commit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mCaptcha system: Redis cache, etc.","","","credential management configuration","App data: redis cache, database connections, etc.","","","","database ops defined by db crates","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","email client","","","","","","","app settings","","","","","stats recorder","","","survey secret store","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","User facing CAPTCHA widget","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","update email","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","update username","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","returns Ok(()) when everything checks out and the user is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","User’s traffic pattern; used in generating a captcha …","","average traffic of user’s website","","","","","","","","","traffic that bought the user’s website down; optional","","","","","","","","Captcha description","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","the peak traffic that the user’s website can handle","publish benchmarks","","","","","","","","","","","","","","","","","","","","","","","","","","","","","easy is using defaults","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Builder for BuildDetails.","Error type for BuildDetailsBuilder","Health check return datatype","Builder for Health.","Error type for HealthBuilder","Uninitialized field","Uninitialized field","Custom validation error","Custom validation error","","","","","","","","","","","","","","","","","Builds a new BuildDetails.","Builds a new Health.","emits build details of the bninary","","","","","","","","","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","checks all components of the system","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","route handler that adds a notification message","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","route handler that gets all unread notifications","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","route handler that marks a notification read","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","PoW Verification module","PoW success token module","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get PoW configuration for an mcaptcha key","Call this when MCaptcha is not in master.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","remove scope for $name route","","Calls U::from(self).","","","","","","","remove scope for $name route","","remove scope for $name route","","","","validation token that clients receive as proof for …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","route handler that verifies PoW and issues a solution token","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","route handler that validates a PoW solution token","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","Builder for BuildDetails.","Error type for BuildDetailsBuilder","Health check return datatype","Builder for PercentileReq.","Error type for PercentileReqBuilder","Health check return datatype","Builder for PercentileResp.","Error type for PercentileRespBuilder","Uninitialized field","Uninitialized field","Uninitialized field","Custom validation error","Custom validation error","Custom validation error","","","","","","","","","","","","","","","","","","","","","Builds a new BuildDetails.","Builds a new PercentileReq.","Builds a new PercentileResp.","","","","","","","","","","","","","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","Get difficulty factor with max time limit for percentile …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","emits build details of the bninary","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","mCaptcha/survey upload secret route","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","App data","","Mailer data type AsyncSmtpTransport","","Represents mCaptcha cache and master system. When Redis is …","","","","","","mCaptcha system: Redis cache, etc.","credential management configuration","database ops defined by db crates","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Calls U::from(self).","Calls U::from(self).","email client","","create new instance of app data","","","","","app settings","stats recorder","survey secret store","","","","","","","","","","","","","","","","","","","","","print date","","","Returns the argument unchanged.","Calls U::from(self).","","print relative time from date","","","","","","","","","","","","Demo password","Demo username","","","","","","Returns the argument unchanged.","","Calls U::from(self).","register demo user runner","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Get an embedded file and its metadata.","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","Email operations: verification, notification, etc","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","when the value passed contains blacklisted words see …","","captcha not found","","","","email is already taken","","","","","","","","","","","when the value passed contains profainity","","","","","token not found","Traffic pattern not found","Unable to send email","when the value passed contains characters not present in …","","when the a username is already taken","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","notifications","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","render a list of all sitekeys that a user has","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Get an embedded file and its metadata.","","","Get an embedded file and its metadata.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Iterates over the file paths in the folder.","","","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Trait to clone MCDatabase","","","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","fetch stats","fetch stats","fetch stats","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig solves","record PoWConfig solves","record PoWConfig solves","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","widget services","render a client side widget for CAPTCHA verification","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,241,242,243,244,245,246,247,248,249,1,3,5,7,8,9,10,11,2,2,0,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,39,2,2,39,0,2,0,0,39,2,0,1,3,5,7,8,9,10,11,0,0,0,1,3,5,7,8,9,10,11,0,0,1,3,5,7,8,9,10,11,39,0,0,2,0,2,0,39,2,2,0,0,39,0,2,39,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,0,0,0,0,0,0,20,20,20,20,0,20,0,0,0,0,20,0,0,0,0,20,20,20,20,0,0,0,24,25,24,25,24,25,24,25,0,24,25,0,25,24,25,24,25,24,25,0,0,0,0,24,25,0,24,25,24,25,24,25,24,25,0,24,24,25,29,29,0,29,29,29,0,0,29,29,29,29,0,0,33,34,35,33,34,35,33,33,33,33,0,33,33,34,35,33,34,35,34,35,33,0,0,33,33,34,35,33,34,35,33,34,35,33,34,35,0,0,37,36,38,37,36,38,36,36,37,36,36,36,37,37,36,38,37,36,38,37,36,36,38,36,0,36,37,36,38,37,36,38,37,36,38,0,0,37,36,38,0,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,41,42,41,42,41,42,0,41,42,41,42,0,41,42,41,42,41,42,0,41,42,0,44,43,45,44,43,45,43,43,43,43,44,43,45,44,43,45,44,45,0,43,0,0,43,44,43,45,44,43,45,44,43,45,43,0,44,43,45,0,46,47,48,46,47,48,46,47,48,46,47,48,0,0,46,47,48,0,0,0,0,46,47,48,46,47,48,46,47,48,46,47,48,0,49,49,49,49,49,49,49,49,49,49,49,49,49,0,0,0,51,52,53,51,52,53,51,52,53,51,52,53,51,51,52,53,51,51,52,53,51,52,53,51,52,53,52,0,51,52,53,0,51,52,53,51,52,53,51,52,53,51,52,53,51,52,53,51,51,52,53,0,0,0,0,0,0,0,0,0,0,0,56,55,57,56,55,57,55,55,0,56,56,55,56,55,56,55,57,56,55,57,55,56,55,56,57,0,56,55,55,56,55,57,56,55,57,56,55,57,56,55,57,0,0,58,59,58,59,58,58,0,58,58,58,59,58,59,58,58,59,58,58,58,59,58,59,58,59,58,59,0,0,64,64,66,65,67,64,66,65,67,64,0,64,65,64,65,0,64,64,64,65,64,65,64,66,65,67,64,66,65,67,65,65,64,64,66,67,0,64,65,0,64,65,64,66,65,67,64,66,65,67,64,66,65,67,0,64,66,65,67,0,68,68,68,68,68,68,68,68,68,68,68,0,0,71,69,70,71,69,70,69,70,69,70,69,70,70,69,70,71,69,70,0,71,69,70,69,71,69,70,69,70,71,69,70,71,69,70,71,69,70,70,71,69,70,0,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,0,73,74,73,74,73,73,73,73,73,74,0,73,74,73,74,0,73,73,73,74,73,74,73,74,73,74,0,75,75,75,75,75,75,75,75,75,75,0,77,76,78,77,76,78,76,76,76,77,76,78,77,76,78,76,76,76,77,78,0,76,77,76,78,77,76,78,77,76,78,0,0,77,76,78,0,0,0,0,0,0,0,81,84,81,84,80,79,81,87,83,82,84,88,80,79,81,87,83,82,84,88,79,82,0,80,79,83,82,80,79,83,82,79,82,82,83,82,79,82,80,83,80,81,81,83,84,84,80,79,81,81,81,87,83,82,84,84,84,88,79,80,79,0,80,79,81,87,83,82,84,88,83,82,83,82,87,88,0,80,83,0,80,79,83,82,81,84,80,79,81,87,83,82,84,88,80,79,81,87,83,82,84,88,80,79,81,87,83,82,84,88,79,80,79,80,79,81,87,83,82,84,88,0,89,89,89,89,89,89,89,89,89,89,89,0,0,0,0,0,0,0,90,91,90,91,90,90,90,90,90,90,90,91,90,90,91,90,91,90,90,90,90,91,90,91,90,91,90,91,0,92,94,92,94,92,92,92,92,92,92,92,94,92,0,92,92,92,94,92,92,92,94,92,92,92,94,92,94,92,94,92,94,0,95,96,95,96,95,95,96,95,95,96,0,96,95,95,96,95,96,95,96,95,96,0,97,97,97,97,97,97,97,97,97,97,97,97,0,0,0,0,0,0,0,0,98,99,100,98,99,100,98,99,98,99,98,99,99,98,99,98,99,100,0,0,98,99,100,98,99,100,99,98,99,99,98,99,98,99,100,98,99,100,98,99,100,98,99,100,0,101,101,101,101,101,101,101,0,101,101,101,101,101,101,101,101,101,0,0,102,103,104,102,103,104,102,103,102,103,102,103,102,103,102,103,104,102,103,104,103,103,104,103,102,103,103,103,102,103,102,102,103,104,102,103,104,102,103,104,0,102,103,104,103,0,0,105,106,107,105,106,107,105,106,105,106,105,106,105,106,105,106,107,105,106,107,106,107,106,105,106,105,106,106,105,106,107,105,106,107,105,106,107,105,0,105,106,107,0,0,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,0,0,0,0,0,0,0,0,0,110,113,116,110,113,116,109,108,110,119,112,111,113,115,114,116,109,108,110,119,112,111,113,115,114,116,108,111,114,109,108,112,111,115,114,109,108,112,111,115,114,108,111,114,108,111,114,109,112,115,114,115,114,109,110,110,112,113,113,115,116,116,109,108,110,110,110,119,112,111,113,113,113,115,114,116,116,116,108,109,108,109,108,110,119,112,111,113,115,114,116,111,112,111,0,119,0,109,112,115,0,111,112,111,109,108,112,111,115,114,110,113,116,109,108,110,119,112,111,113,115,114,116,109,108,110,119,112,111,113,115,114,116,109,108,110,119,112,111,113,115,114,116,108,109,108,109,108,110,119,112,111,113,115,114,116,0,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,0,0,122,121,123,122,124,121,123,122,124,121,121,121,122,0,121,121,121,121,121,121,121,123,122,124,121,123,122,124,121,123,124,0,0,122,121,122,0,121,121,123,122,124,121,123,122,124,121,123,122,124,121,123,122,124,0,125,125,125,125,125,125,125,125,125,125,125,125,0,126,0,126,0,126,126,39,126,39,39,39,39,0,0,126,39,39,39,126,126,39,39,126,39,126,39,126,126,39,39,39,126,39,126,39,126,39,39,126,126,126,39,0,0,0,0,0,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,0,0,0,0,0,0,0,0,148,148,148,148,148,148,148,148,148,148,148,148,148,148,0,0,0,261,155,156,157,261,155,156,157,0,261,155,156,157,261,261,0,0,261,155,156,157,261,261,155,156,157,0,0,0,261,155,156,157,261,155,156,157,261,155,156,157,261,155,156,157,0,158,158,158,158,158,158,158,158,158,158,158,158,0,0,0,159,159,159,159,159,159,159,159,159,159,159,159,159,0,159,159,32,32,32,32,32,32,0,32,0,32,166,32,32,0,0,32,32,32,32,0,166,0,0,32,32,32,32,32,32,32,164,165,32,163,166,164,165,32,163,166,163,164,165,32,166,163,32,166,164,164,165,165,32,32,166,166,164,165,32,32,32,32,32,32,32,32,32,163,166,166,166,164,165,32,163,166,163,164,165,32,166,32,166,164,165,32,166,164,165,32,163,166,164,165,32,163,166,164,165,32,163,166,164,165,32,163,166,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,179,178,179,180,178,179,180,178,178,178,179,178,179,180,178,179,180,0,180,178,178,178,178,179,180,178,179,180,178,179,180,178,179,180,0,0,0,182,181,182,183,181,182,183,181,181,181,182,181,182,183,181,182,183,0,183,181,181,181,181,182,183,181,182,183,181,182,183,181,182,183,0,184,184,184,184,184,184,184,184,184,184,184,184,184,0,0,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,0,0,0,0,0,191,192,190,191,192,193,190,191,192,193,190,190,191,192,0,190,191,192,193,190,191,192,193,190,190,193,190,190,0,0,190,190,190,191,192,193,190,191,192,193,190,191,192,193,190,191,192,193,0,194,194,194,194,194,194,194,194,194,194,194,0,0,195,197,195,197,195,195,195,197,195,197,195,0,0,197,195,195,0,0,0,0,195,195,195,197,195,197,195,197,195,197,0,0,0,198,199,200,198,199,200,198,198,199,200,198,198,198,199,200,198,199,198,199,0,198,198,200,199,199,198,199,200,198,199,200,198,199,200,198,199,200,0,201,201,201,201,201,201,201,201,201,201,201,201,201,201,0,0,202,203,204,205,202,203,204,205,202,202,0,202,202,203,204,205,202,203,204,205,203,204,205,202,202,0,202,0,0,202,202,203,204,205,202,203,204,205,202,203,204,205,0,202,202,203,204,205,0,206,206,206,206,206,206,206,206,206,206,206,206,206,0,0,0,0,0,0,0,0,0,0,0,0,209,210,0,208,209,210,207,211,208,212,209,210,207,211,208,212,208,207,208,207,208,207,208,209,210,0,207,208,207,207,208,209,210,207,211,208,212,209,210,207,211,208,212,207,208,211,212,207,208,207,208,207,208,209,210,207,211,208,212,209,210,207,211,208,212,209,210,207,211,208,212,209,210,207,211,208,212,213,213,0,213,213,213,213,213,213,213,0,0,0,0,214,216,215,217,214,216,215,217,214,215,214,215,214,0,215,214,216,215,217,214,216,215,217,214,215,214,214,214,215,215,214,216,217,214,215,214,215,214,215,214,216,215,217,214,216,215,217,214,216,215,217,214,216,215,217,0,0,218,219,218,219,218,218,218,219,218,219,0,218,219,218,218,218,218,218,219,218,219,218,219,218,219,0,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,220,0,0,221,223,221,223,221,221,221,221,223,221,223,221,221,221,221,221,223,221,221,221,221,221,223,221,223,221,223,0,221,223,0,0,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,0,0,225,224,225,226,224,225,226,224,224,224,225,224,224,225,226,224,225,226,226,224,224,0,224,224,225,226,224,225,226,224,225,226,224,224,225,226,0,0,0,0,0,0,0,230,230,0,0,0,0,0,2,2,61,227,228,61,229,230,231,232,233,2,227,228,61,229,230,231,232,233,2,61,2,2,227,228,61,229,230,231,232,233,2,227,228,61,229,230,231,232,233,2,2,227,2,231,2,228,227,228,61,229,230,231,232,233,2,227,61,228,2,227,228,61,229,230,231,232,233,2,227,227,227,227,228,228,228,228,61,61,61,61,229,229,229,229,230,230,230,230,231,231,231,231,232,232,232,232,233,233,233,233,2,2,2,2,227,228,61,229,230,230,231,232,233,2,227,228,61,229,230,231,232,233,2,229,230,228,227,233,227,228,61,229,230,231,232,233,2,227,2,233,229,61,231,232,227,229,227,228,233,2,229,228,228,230,2,2,2,2,2,227,228,61,229,230,231,232,233,2,230,227,228,61,229,230,231,232,233,2,227,228,61,229,230,231,232,233,2,227,228,61,229,230,231,232,233,2,229,231,232,227,229,227,228,61,229,230,231,232,233,2,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,262,238,263,239,262,238,263,239,0,262,238,263,239,262,262,263,263,0,0,262,238,263,239,262,262,263,263,238,239,0,262,238,263,239,262,238,263,239,262,238,263,239,262,238,263,239,0,0,0,0,0,0,0,0,0,0,0,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,240,241,242,243,244,245,246,247,248,249,0,0,0,0,0,222,250,251,222,250,251,222,250,251,222,250,251,264,250,251,222,222,222,250,251,222,222,250,251,252,250,251,222,250,251,222,250,251,222,250,251,252,250,251,252,250,251,252,250,251,222,222,222,250,251,222,250,251,222,250,251,222,250,251,222,250,251,0,0,0,256,133,256,133,256,256,133,256,133,256,133,133,133,256,133,133,256,265,256,256,265,256,133,265,256,133,265,256,133,133,256,133,256,133,256,133,256,133,256,0,0,0,0,258,257,258,259,257,258,259,257,257,258,257,258,259,257,258,259,257,259,257,257,0,0,0,257,257,258,259,257,258,259,257,258,259,257,258,259,0,260,260,260,260,260,260,260,260,260,260],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[5,6],[7,6],[8,6],[9,6],[10,6],[11,12],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,[[14,[13]]]],[[],15],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],16],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[]],[[]],[19,[[17,[20]]]],[[]],[[],[[22,[21]]]],[[]],0,0,0,0,0,0,[23],0,0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[24,24],[25,25],[[]],[[]],0,[19,[[17,[24]]]],[19,[[17,[25]]]],0,0,[[24,26],27],[[25,26],27],[[]],[[]],[[]],[[]],0,0,0,0,[[24,28],17],[[25,28],17],[23],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,0,[[]],[[]],[[]],[[]],0,[[]],[[]],[[29,30]],0,[23],[[],17],[[],17],[[],18],[[]],[[6,31],[[17,[32]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[33,33],[[]],[19,[[17,[33]]]],0,0,[[33,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[34,30]],[[35,30]],[[33,28],17],[23],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[36,36],[[]],0,0,[19,[[17,[36]]]],[[36,26],27],[[]],[36,37],[[]],[[]],[[]],[[]],[[]],0,0,0,[[38,30]],[[36,28],17],[23],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[6,37,39],[[17,[32]]]],0,[[]],[[]],[[]],0,[[]],[[]],0,0,[[]],0,[[]],[[],40],[[],17],[[],17],[[],18],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[41,30]],[[42,30]],[23],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],[43,43],[[]],[19,[[17,[43]]]],[[43,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[44,30]],[[45,30]],0,[[43,28],17],[23],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[24,31],[[17,[25,32]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[46,30]],[[47,30]],[[48,30]],0,0,[23],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[49,[50,[6]]],12],[[]],0,0,[[],49],0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[51,51],[52,52],[53,53],[[]],[[]],[[]],0,[19,[[17,[51]]]],[19,[[17,[52]]]],[19,[[17,[53]]]],0,[[51,26],27],[[52,26],27],[[53,26],27],[[]],[[]],[[]],[[]],[[]],[[]],0,[[52,31],[[17,[12,32]]]],0,0,0,[[51,31],[[17,[32]]]],[[51,28],17],[[52,28],17],[[53,28],17],[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,0,0,0,[54,12],0,[23],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[55,55],[[]],0,0,[19,[[17,[56]]]],[19,[[17,[55]]]],0,[[55,26],27],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[[57,30]],0,[[56,28],17],[[55,28],17],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[56,31,6],[[17,[55,32]]]],0,[[]],[[]],[[]],[[]],[58,58],[[]],0,[19,[[17,[58]]]],[[58,26],27],[[]],[[]],[[]],[[]],0,0,[[59,30]],[[58,28],17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[60,61],[[17,[[63,[62]],32]]]],[64,64],[65,65],[[]],[[]],0,[[],64],0,[19,[[17,[64]]]],[19,[[17,[65]]]],[[64,26],27],[[65,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[[66,30]],[[67,30]],0,[[64,28],17],[[65,28],17],[23],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[]],[[],68],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[69,69],[70,70],[[]],[[]],[19,[[17,[69]]]],[19,[[17,[70]]]],0,[[69,26],27],[[70,26],27],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[71,30]],[[69,28],17],[[70,28],17],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,[[]],[[]],0,0,0,[[]],0,[[]],[[],72],0,[[],17],[[],17],[[],18],0,0,[[]],0,[[]],[[]],[[]],[[]],[73,73],[[]],[19,[[17,[73]]]],[[73,26],27],[[]],[[]],0,[[]],[[]],0,[[74,30]],0,[[73,28],17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],75],[[],17],[[],17],[[],18],[[]],0,[[]],[[]],[[]],[[]],[[]],[[]],0,[19,[[17,[76]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[77,30]],[[78,30]],0,[[76,28],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[76,31,6],[[17,[32]]]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[79,[[17,[80,81]]]],[82,[[17,[83,84]]]],0,[80,80],[79,79],[83,83],[82,82],[[]],[[]],[[]],[[]],[[],79],[[],82],[[82,85],82],0,0,[[],79],[[],82],[19,[[17,[80]]]],[19,[[17,[83]]]],[[80,26],27],[[81,26],27],[[81,26],27],[[83,26],27],[[84,26],27],[[84,26],27],[[]],[[]],[12,81],[86,81],[[]],[[]],[[]],[[]],[86,84],[12,84],[[]],[[]],[[79,6],79],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[50,[85]]],85],[[82,[50,[85]]],82],0,0,[[87,30]],[[88,30]],0,[[80,28],17],[[83,28],17],[23],[[]],[[]],[[]],[[]],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[79,6],79],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],0,[[]],[[],89],[[],17],[[],17],[[],18],[[]],0,0,0,0,[23],0,0,[[]],[[]],[[]],[[]],[90,90],[[]],[[],90],[19,[[17,[90]]]],[[90,90],85],[[90,26],27],[[]],[[]],0,[[]],[[]],0,[[91,30]],[[90,28],17],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[[]],[92,92],[[]],[[],92],[19,[[17,[92]]]],[[92,92],85],[93,92],[[]],[[]],[[[63,[93]]],[[63,[92]]]],0,0,0,[[]],[[]],0,0,0,[[94,30]],[[92,28],17],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,[[]],[[]],[[]],[[]],[19,[[17,[95]]]],[[]],[[]],0,[[]],[[]],0,[[96,30]],[[95,28],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,[[]],[[]],[[]],0,[[]],0,[[],97],[[],17],[[],17],[[],18],[[]],0,0,0,[23],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[98,98],[99,99],[[]],[[]],[19,[[17,[98]]]],[19,[[17,[99]]]],0,[[98,26],27],[[99,26],27],[[]],[[]],[[]],0,[[31,6],[[17,[32]]]],[[]],[[]],[[]],0,0,[[100,30]],0,[[98,28],17],[[99,28],17],0,[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[101,6],0,[[]],[[],101],0,0,[[],17],[[],17],[[],18],[101,6],0,[101,6],0,[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[102,102],[103,103],[[]],[[]],[19,[[17,[102]]]],[19,[[17,[103]]]],[[102,26],27],[[103,26],27],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[104,30]],0,[[102,28],17],[[103,28],17],0,0,[[]],[[]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[105,105],[106,106],[[]],[[]],[19,[[17,[105]]]],[19,[[17,[106]]]],[[105,26],27],[[106,26],27],[[]],[[]],[[]],[[]],[[]],[[]],0,[[107,30]],0,[[105,28],17],[[106,28],17],[[]],[[]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],0,0,0,0,[[]],[[]],0,[[]],[[21,[50,[6]]],12],[[]],0,[[],21],0,0,0,0,[[],17],[[],17],[[],18],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[108,[[17,[109,110]]]],[111,[[17,[112,113]]]],[114,[[17,[115,116]]]],[109,109],[108,108],[112,112],[111,111],[115,115],[114,114],[[]],[[]],[[]],[[]],[[]],[[]],[[],108],[[],111],[[],114],[[],108],[[],111],[[],114],[19,[[17,[109]]]],[19,[[17,[112]]]],[19,[[17,[115]]]],[[114,[50,[117]]],114],0,0,[[109,26],27],[[110,26],27],[[110,26],27],[[112,26],27],[[113,26],27],[[113,26],27],[[115,26],27],[[116,26],27],[[116,26],27],[[]],[[]],[86,110],[12,110],[[]],[[]],[[]],[[]],[12,113],[[]],[86,113],[[]],[[]],[86,116],[12,116],[[]],[[108,6],108],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[111,118],111],0,0,0,[[119,30]],0,[[109,28],17],[[112,28],17],[[115,28],17],[23],[[111,117],111],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[],12],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[108,6],108],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[120,120],[[]],[19,[[17,[120]]]],[[120,120],85],[[],85],[[],85],[[],85],[[],85],[[120,26],27],[[]],[[]],[[],120],0,[[120,28],17],[[]],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[121,121],[[]],[19,[[17,[121]]]],[19,[[17,[122]]]],0,[[121,121],85],[[],85],[[],85],[[],85],[[],85],[[121,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[123,30]],[[124,30]],0,0,0,[[121,28],17],[[122,28],17],[23],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[125,6,54],12],[[]],[[],125],0,[[],17],[[],17],[[],18],[[]],0,0,0,0,0,[[126,127],[[17,[32]]]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[],128],[2,[[50,[[130,[129]]]]]],[[126,12],[[132,[[50,[131]]]]]],[[]],[[]],0,[2,126],[[2,133],[[134,[39]]]],[[2,[136,[135]],[136,[137]]],[[138,[137,135]]]],[39,[[17,[32]]]],[[126,139],[[17,[32]]]],[[126,140],[[17,[32]]]],0,0,0,[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[39,[[17,[32]]]],[[126,141],[[132,[85]]]],[[126,142,12],132],[[]],[[]],0,0,0,0,0,[[]],[[]],[143,143],[[]],[143,12],[[143,26],27],[144,12],[[]],[[]],[145,143],[143,12],0,[[]],[[],17],[[],17],[[],18],[[]],0,0,0,[[[50,[2]]],[[147,[146]]]],[[[50,[2]]],[[147,[146]]]],0,0,0,[148],[[]],[[]],[31,[[17,[32]]]],[[]],0,[[]],[31,[[17,[32]]]],[[31,149],[[17,[150,32]]]],[[31,149],[[17,[148,32]]]],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[6,[[50,[151]]]],[6,[[50,[151]]]],[6,152],0,[[]],[[]],[[]],[[]],[[],153],[[],154],[[155,30]],[[156,30]],[[157,30]],0,[23],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],0,[[]],[[],158],0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[159,159],[[]],[[]],[[]],[6,159],[159,160],[[159,161],[[17,[162]]]],[[]],[[],17],[[],17],[[],18],[[39,6,6],[[17,[32]]]],0,[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[19,[[17,[163]]]],[[164,164],85],[[165,165],85],[[32,32],85],[[166,166],85],0,[32,152],[166,152],[[164,26],27],[[164,26],27],[[165,26],27],[[165,26],27],[[32,26],27],[[32,26],27],[[166,26],27],[[166,26],27],[[]],[[]],[167,32],[168,32],[[]],[169,32],[170,32],[171,32],[172,32],[173,32],[174,32],[[]],[32,166],[[]],[167,166],[[]],[[]],[[]],[[]],[[]],[[163,28],17],[164,[[50,[175]]]],[165,[[50,[175]]]],[32,[[50,[175]]]],[166,[[50,[175]]]],[32,176],[166,176],[[],12],[[],12],[[],12],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],0,0,0,[[],[[22,[177]]]],0,0,[23],0,0,0,0,[23],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[178,178],[[]],[[],178],[179,12],[[]],[[]],[[]],[[]],[[]],[[]],0,[[180,30]],[178,160],[[178,161],[[17,[162]]]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[181,181],[[]],[[],181],[182,12],[[]],[[]],[[]],[[]],[[]],[[]],0,[[183,30]],[181,160],[[181,161],[[17,[162]]]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[184,[50,[6]]],12],[[],[[185,[6]]]],[[]],0,0,[[],184],[[],17],[[],17],[[],18],[[]],0,0,[[]],[[]],[[[189,[[0,[186,187,188]],[0,[186,187,188]]]]],[[189,[[0,[186,187,188]],[0,[186,187,188]]]]]],[[]],0,[[]],[[]],[[6,[50,[63]]],[[189,[[0,[186,187]],[0,[186,187]]]]]],[[[189,[[0,[186,187]],[0,[186,187]]]]],160],[[[189,[[0,[186,187]],[0,[186,187]]]],161],[[17,[162]]]],[[]],[[],17],[[],17],[[],18],0,[[]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[190,190],[[]],[191,12],[192,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[6,6],190],[[193,30]],[190,160],[[190,161],[[17,[162]]]],0,[23],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],194],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[195,195],[[]],[[]],[[]],[[]],[[]],[[[63,[196]]],195],0,0,[[197,30]],[195,160],[[195,161],[[17,[162]]]],0,[23],0,0,0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[93,198],[[]],[[]],[[]],0,0,[[]],[[]],[[]],0,0,0,[[[63,[198]]],199],0,[198,12],0,[[200,30]],[199,160],[[199,161],[[17,[162]]]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[],[[185,[6]]]],0,[[]],[[],201],0,0,0,[[],17],[[],17],[[],18],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[202,202],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[203,30]],[[204,30]],[[205,30]],[202,160],[[202,161],[[17,[162]]]],0,0,[23],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],0,0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],[[],[[185,[6]]]],0,[[]],[[],206],[[],17],[[],17],[[],18],0,[[]],0,0,0,0,0,[23],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[207,207],[208,208],[[]],[[]],[[],207],[[],208],[209,12],[210,12],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[211,30]],[[212,30]],[207,160],[208,160],[[207,161],[[17,[162]]]],[[208,161],[[17,[162]]]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[213,30]],[[],17],[[],17],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[214,214],[215,215],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[[196,[63,[62]],12,85],214],[[12,64],215],0,0,[[216,30]],[[217,30]],[214,160],[215,160],[[214,161],[[17,[162]]]],[[215,161],[[17,[162]]]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[218,218],[[]],[[]],[[]],[[]],[[]],0,[[[63,[196]]],218],[[219,30]],[218,160],[[218,161],[[17,[162]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],0,0,0,[[]],[[220,6],12],[[220,6],12],[[220,6],12],[[],[[185,[6]]]],[[220,6],12],[[]],0,[[],220],[[],17],[[],17],[[],18],0,[[]],0,0,[[]],[[]],[[]],[[]],[221,221],[[]],0,[[]],[[]],[[]],[[]],0,0,0,[[222,196,[63,[62]],12,85],221],0,[[223,30]],[221,160],[[221,161],[[17,[162]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],0,[[]],[[]],0,0,0,0,[[]],[[]],0,0,[[]],[[177,[50,[6]]],12],[[],[[185,[6]]]],0,[[]],[[],177],0,0,0,0,0,[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[224,224],[[]],[[],224],[225,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[226,30]],[224,160],[[224,161],[[17,[162]]]],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[23],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[2],[227,227],[228,228],[61,61],[229,229],[230,230],[231,231],[232,232],[233,233],[2,2],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[19,[[17,[227]]]],[19,[[17,[228]]]],[19,[[17,[61]]]],[19,[[17,[229]]]],[19,[[17,[230]]]],[19,[[17,[231]]]],[19,[[17,[232]]]],[19,[[17,[233]]]],[19,[[17,[2]]]],0,0,0,[[[235,[234]]],[[235,[234]]]],[[227,227],85],[[228,228],85],[[61,61],85],[[229,229],85],[[230,230],85],[[231,231],85],[[232,232],85],[[233,233],85],[[2,2],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[],85],[[227,26],27],[[228,26],27],[[61,26],27],[[229,26],27],[[230,26],27],[[230,26],27],[[231,26],27],[[232,26],27],[[233,26],27],[[2,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[236,[[17,[230,237]]]],0,[227,12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[17,[2,237]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[230,28],17],0,[2],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],12],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[23],0,0,[[]],[[]],0,[[]],[[4,6],[[50,[6]]]],[[]],[[],4],[[],17],[[],17],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[6,[[50,[151]]]],[6,[[50,[151]]]],[6,[[50,[151]]]],[6,[[50,[151]]]],[6,152],[6,152],[[]],[[]],[[]],[[]],[[],153],[[],154],[[],154],[[],153],[[238,30]],[[239,30]],0,[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[240],[241],[242],[243],[244],[245],[246],[247],[248],[249],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[222,222],[250,250],[251,251],[[]],[[]],[[]],[[],[[147,[252]]]],[[],[[147,[252,253]]]],[[],[[147,[252,253]]]],0,0,[[],222],[[],250],[[],251],[19,[[17,[222]]]],[[222,222],85],[[250,250],85],[[251,251],85],[[39,6,6],[[255,[[147,[254]]]]]],[[250,39,6,6],[[255,[[147,[254]]]]]],[[251,39,6,6],[[255,[[147,[254]]]]]],[[222,26],27],[[250,26],27],[[251,26],27],[[]],[[]],[[]],[[]],[[]],[[]],[[39,6],[[255,[[147,[254]]]]]],[[250,39,6],[[255,[[147,[254]]]]]],[[251,39,6],[[255,[[147,[254]]]]]],[[39,6],[[255,[[147,[254]]]]]],[[250,39,6],[[255,[[147,[254]]]]]],[[251,39,6],[[255,[[147,[254]]]]]],[[39,6],[[255,[[147,[254]]]]]],[[250,39,6],[[255,[[147,[254]]]]]],[[251,39,6],[[255,[[147,[254]]]]]],[[222,28],17],0,[[]],[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],0,[133,133],[256,256],[[]],[[]],[[],133],[[133,26],27],[[]],[[]],[[133,6],[[50,[12]]]],[[]],[[]],[[],[[255,[[147,[254]]]]]],[256,[[255,[[147,[254]]]]]],[31,256],[[],[[255,[[147,[254]]]]]],[256,[[255,[[147,[254]]]]]],[[133,6]],[[],[[255,[[147,[254]]]]]],[256,[[255,[[147,[254]]]]]],[[133,12,12]],[[],[[255,[[147,[254]]]]]],[256,[[255,[[147,[254]]]]]],0,[[]],[[]],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[257,257],[[]],[258,12],[[]],[[]],[[]],[[]],[[]],[[]],[[],257],[[259,30]],[257,160],[[257,161],[[17,[162]]]],0,[23],0,[[]],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[],260],[[],17],[[],17],[[],18],0,[[]]],"c":[],"p":[[3,"SETTINGS"],[3,"Settings"],[3,"FILES"],[3,"FileMap"],[3,"JS"],[15,"str"],[3,"CSS"],[3,"MOBILE_CSS"],[3,"VERIFICATIN_WIDGET_JS"],[3,"VERIFICATIN_WIDGET_CSS"],[3,"SOURCE_FILES_OF_INSTANCE"],[3,"String"],[3,"CookieIdentityPolicy"],[3,"IdentityService"],[3,"JsonConfig"],[6,"Result"],[4,"Result"],[3,"TypeId"],[8,"Deserializer"],[3,"RedirectQuery"],[3,"Routes"],[3,"Authentication"],[3,"ServiceConfig"],[3,"AccountCheckPayload"],[3,"AccountCheckResp"],[3,"Formatter"],[6,"Result"],[8,"Serializer"],[3,"delete_account"],[3,"AppService"],[6,"AppData"],[4,"ServiceError"],[3,"Email"],[3,"email_exists"],[3,"set_email"],[3,"ChangePasswordReqest"],[3,"UpdatePassword"],[3,"update_user_password"],[3,"Data"],[3,"Account"],[3,"get_secret"],[3,"update_user_secret"],[3,"Username"],[3,"username_exists"],[3,"set_username"],[3,"register"],[3,"login"],[3,"signout"],[3,"Auth"],[4,"Option"],[3,"Register"],[3,"Login"],[3,"Password"],[15,"usize"],[3,"MCaptchaDetails"],[3,"CreateCaptcha"],[3,"create"],[3,"DeleteCaptcha"],[3,"delete"],[3,"TrafficPattern"],[3,"DefaultDifficultyStrategy"],[3,"Level"],[3,"Vec"],[3,"TrafficPatternRequest"],[3,"UpdateTrafficPattern"],[3,"create"],[3,"update"],[3,"Easy"],[3,"Levels"],[3,"I32Levels"],[3,"get_captcha"],[3,"Captcha"],[3,"StatsPayload"],[3,"get"],[3,"Stats"],[3,"UpdateCaptcha"],[3,"update_key"],[3,"update_captcha"],[3,"BuildDetailsBuilder"],[3,"BuildDetails"],[4,"BuildDetailsBuilderError"],[3,"HealthBuilder"],[3,"Health"],[4,"HealthBuilderError"],[15,"bool"],[3,"UninitializedFieldError"],[3,"build_details"],[3,"health"],[3,"Meta"],[3,"AddNotificationRequest"],[3,"add_notification"],[3,"NotificationResp"],[3,"Notification"],[3,"get_notification"],[3,"MarkReadReq"],[3,"mark_read"],[3,"Notifications"],[3,"GetConfigPayload"],[3,"ApiPoWConfig"],[3,"get_config"],[3,"PoW"],[3,"ValidationToken"],[3,"ApiWork"],[3,"verify_pow"],[3,"CaptchaValidateResp"],[3,"VerifyCaptchaResultPayload"],[3,"validate_captcha_token"],[3,"BuildDetailsBuilder"],[3,"BuildDetails"],[4,"BuildDetailsBuilderError"],[3,"PercentileReqBuilder"],[3,"PercentileReq"],[4,"PercentileReqBuilderError"],[3,"PercentileRespBuilder"],[3,"PercentileResp"],[4,"PercentileRespBuilderError"],[15,"u32"],[15,"f64"],[3,"percentile_benches"],[3,"Stats"],[3,"Page"],[3,"SurveySecretUpload"],[3,"download"],[3,"secret"],[3,"Survey"],[4,"SystemGroup"],[3,"AddSite"],[3,"Config"],[3,"Tokio1Executor"],[3,"AsyncSmtpTransport"],[3,"PoWConfig"],[6,"CaptchaResult"],[3,"SecretsStore"],[3,"Arc"],[8,"Master"],[3,"Addr"],[8,"Save"],[3,"System"],[3,"RemoveCaptcha"],[3,"Rename"],[3,"VerifyCaptchaResult"],[3,"Work"],[3,"Date"],[3,"OffsetDateTime"],[15,"i64"],[8,"MCDatabase"],[3,"Box"],[3,"DemoUser"],[3,"Duration"],[3,"JoinHandle"],[3,"EmbeddedFile"],[3,"HttpResponse"],[8,"Iterator"],[4,"Filenames"],[3,"dist"],[3,"spec"],[3,"index"],[3,"Docs"],[3,"IndexPage"],[6,"RenderResult"],[3,"Buffer"],[4,"RenderError"],[3,"ErrorToResponse"],[3,"SmtpErrorWrapper"],[3,"DBErrorWrapper"],[4,"PageError"],[4,"DBError"],[3,"Error"],[4,"CaptchaError"],[4,"MailboxError"],[4,"ParseError"],[3,"RecvError"],[4,"CredsError"],[3,"ValidationErrors"],[8,"Error"],[3,"StatusCode"],[3,"Routes"],[3,"IndexPage"],[3,"INDEX"],[3,"login"],[3,"IndexPage"],[3,"INDEX"],[3,"join"],[3,"Auth"],[15,"array"],[8,"Display"],[8,"Render"],[8,"Clone"],[3,"SudoPage"],[3,"ErrorPage"],[3,"INTERNAL_SERVER_ERROR_BODY"],[3,"UNKNOWN_ERROR_BODY"],[3,"error"],[3,"Errors"],[3,"IndexPage"],[3,"Captcha"],[3,"panel"],[3,"Notification"],[3,"IndexPage"],[3,"notifications"],[3,"Panel"],[3,"IndexPage"],[3,"settings"],[3,"delete_account"],[3,"update_secret"],[3,"Settings"],[3,"AdvanceIndexPage"],[3,"EasyIndexPage"],[3,"ADVANCE_INDEX"],[3,"EASY_INDEX"],[3,"advance"],[3,"easy"],[3,"delete_sitekey"],[3,"AdvanceEditPage"],[3,"EasyEditPage"],[3,"advance"],[3,"easy"],[3,"IndexPage"],[3,"list_sitekeys"],[3,"Sitekey"],[3,"IndexPage"],[3,"CaptchaStats"],[3,"view_sitekey"],[3,"IndexPage"],[3,"INDEX"],[3,"sitemap"],[3,"Server"],[3,"Captcha"],[3,"Smtp"],[4,"DBType"],[3,"Database"],[3,"Redis"],[3,"Survey"],[3,"DefaultState"],[3,"ConfigBuilder"],[3,"Url"],[4,"ConfigError"],[3,"static_files"],[3,"favicons"],[3,"KEY"],[3,"GITHUB"],[3,"HOME"],[3,"SETTINGS_ICON"],[3,"CREDIT_CARD"],[3,"HELP_CIRCLE"],[3,"MESSAGE"],[3,"DOCS_ICON"],[3,"MCAPTCHA_TRANS_ICON"],[3,"BAR_CHART"],[3,"Real"],[3,"Dummy"],[8,"Stats"],[3,"Global"],[8,"Future"],[3,"Pin"],[3,"Survey"],[3,"IndexPage"],[3,"INDEX_PAGE"],[3,"show_widget"],[3,"Widget"],[3,"Asset"],[3,"Asset"],[3,"Favicons"],[8,"CloneStats"],[8,"SurveyClientTrait"]]}\ +"db_core":{"doc":"mCaptcha database operations","t":"DDIDDNCDEIDDDDDDDDNKKKLKKKKKKMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKLLLLLLLLLLLLLLKLLLLLLLLLLLLLLMMMKKLLLLLLLLLKKKKMMLLLLLLLLLLLLLLAMMMMMMKLLLLLLLLLLLLLLAKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKKKKKKKKKKKMMMMMMLLLLLLLLLLLLLLMMKMMMMAMKAMKKKKMMLLLLLLLLLLLLLLMKKAMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKMMMKMLLLLLLLLLLLLLLMMXNGNNENGNNNNNNNLLLLLLLLLLLLQIIIIQKKKRRF","n":["AddNotification","Captcha","CloneSPDatabase","CreateCaptcha","CreatePerformanceAnalytics","Email","GetConnection","Level","Login","MCDatabase","NameHash","Notification","PerformanceAnalytics","Register","Secret","StatsUnixTimestamp","TrafficPattern","UpdateEmail","Username","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","create_captcha","create_notification","default","default","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","worker_type","worker_type","async_trait","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","Err","NotificationNotFound","Ok","SecretTaken","TrafficPatternNotFound","UsernameTaken","borrow","borrow_mut","fmt","fmt","from","into","source","to_string","try_from","try_into","type_id","vzip","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","LEVELS","TRAFFIC_PATTERN","database_works"],"q":[[0,"db_core"],[332,"db_core::dev"],[333,"db_core::errors"],[359,"db_core::ops"],[368,"db_core::tests"],[371,"core::future::future"],[372,"alloc::boxed"],[373,"core::pin"],[374,"core::option"],[375,"core::result"],[376,"serde::de"],[377,"core::fmt"],[378,"core::fmt"],[379,"core::any"],[380,"core::error"],[381,"alloc::string"]],"d":["Data required to add notification","Data representing a captcha","Trait to clone MCDatabase","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","email as login","","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","type encapsulating username and hashed password of a user","Represents notification","Proof-of-Work CAPTCHA performance analytics","Data required to register a new user","datastructure representing a user’s secret","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","data required to update them email of a user","username as login","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","create new captcha","create new notification","","","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","","","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Contains the error value","Notification not found","Contains the success value","Secret is taken","Traffic pattern not found","Username is taken","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","levels for complex captcha config","easy traffic pattern","test all database functions"],"i":[0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,13,22,22,22,22,22,22,22,22,22,22,7,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,7,22,11,12,13,14,8,2,15,16,17,18,7,19,20,21,37,11,12,13,14,8,2,15,16,17,18,7,19,20,21,16,20,16,22,22,8,15,16,17,18,7,19,20,21,22,22,22,22,19,20,11,12,13,14,8,2,15,16,17,18,7,19,20,21,0,8,2,15,19,20,11,22,11,12,13,14,8,2,15,16,17,18,7,19,20,21,0,22,22,22,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,18,22,22,22,22,22,22,22,22,22,22,22,11,14,17,18,15,17,11,12,13,14,8,2,15,16,17,18,7,19,20,21,19,20,22,17,18,17,12,0,7,22,0,17,22,22,22,22,11,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,16,22,22,0,8,15,18,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,11,12,13,14,8,2,15,16,17,18,7,19,20,21,22,22,22,22,22,22,22,11,12,14,22,2,11,12,13,14,8,2,15,16,17,18,7,19,20,21,8,15,0,34,0,34,34,0,34,0,34,38,34,38,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,39,0,0,0,0,40,40,39,41,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1,1,[3,[2]]],[[6,[[5,[4]]]]],[]],[[-1,1,1,7],[[6,[[5,[4]]]]],[]],[[-1,1,8],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1,9,9],[[6,[[5,[4]]]]],[]],[[-1,9],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[10,[1]],1],[[6,[[5,[4]]]]],[]],[11,11],[12,12],[13,13],[14,14],[8,8],[2,2],[15,15],[16,16],[17,17],[18,18],[7,7],[19,19],[20,20],[21,21],[-1,[[5,[22]]],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],[[-1,-2],23,[],[]],0,0,0,[[-1,1,19],[[6,[[5,[4]]]]],[]],[[-1,18],[[6,[[5,[4]]]]],[]],[[],8],[[],15],[[],16],[[],17],[[],18],[[],7],[[],19],[[],20],[[],21],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],0,0,[-1,[[24,[11]]],25],[-1,[[24,[12]]],25],[-1,[[24,[13]]],25],[-1,[[24,[14]]],25],[-1,[[24,[8]]],25],[-1,[[24,[2]]],25],[-1,[[24,[15]]],25],[-1,[[24,[16]]],25],[-1,[[24,[17]]],25],[-1,[[24,[18]]],25],[-1,[[24,[7]]],25],[-1,[[24,[19]]],25],[-1,[[24,[20]]],25],[-1,[[24,[21]]],25],0,0,0,0,0,0,0,[[-1,1],[[6,[[5,[4]]]]],[]],[[11,11],26],[[12,12],26],[[13,13],26],[[14,14],26],[[8,8],26],[[2,2],26],[[15,15],26],[[16,16],26],[[17,17],26],[[18,18],26],[[7,7],26],[[19,19],26],[[20,20],26],[[21,21],26],0,[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[11,27],28],[[12,27],28],[[13,27],28],[[14,27],28],[[8,27],28],[[2,27],[[24,[23,29]]]],[[15,27],28],[[16,27],28],[[17,27],28],[[18,27],28],[[7,27],28],[[19,27],28],[[20,27],28],[[21,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,[10,[1]],1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1,30],[[6,[[5,[4]]]]],[]],[[-1,13],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[-1,1,31],[[6,[[5,[4]]]]],[]],0,0,0,0,0,0,[-1,[[6,[[5,[4]]]]],[]],0,0,[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,1],[[6,[[5,[4]]]]],[]],[[-1,11],[[6,[[5,[4]]]]],[]],0,0,[[11,-1],24,32],[[12,-1],24,32],[[13,-1],24,32],[[14,-1],24,32],[[8,-1],24,32],[[2,-1],24,32],[[15,-1],24,32],[[16,-1],24,32],[[17,-1],24,32],[[18,-1],24,32],[[7,-1],24,32],[[19,-1],24,32],[[20,-1],24,32],[[21,-1],24,32],0,[[-1,30,30],[[6,[[5,[4]]]]],[]],[[-1,30],[[6,[[5,[4]]]]],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[-1,33,[]],[[-1,1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1,19],[[6,[[5,[4]]]]],[]],[[-1,12],[[6,[[5,[4]]]]],[]],[[-1,1,30,30],[[6,[[5,[4]]]]],[]],[[-1,14],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],[[-1,1,1],[[6,[[5,[4]]]]],[]],0,0,0,[[-1,1],[[6,[[5,[4]]]]],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[34,27],28],[[34,27],28],[-1,-1,[]],[-1,-2,[],[]],[34,[[10,[35]]]],[-1,36,[]],[-1,[[24,[-2]]],[],[]],[-1,[[24,[-2]]],[],[]],[-1,33,[]],[-1,-2,[],[]],0,0,0,0,0,0,[-1,[[6,[[5,[4]]]]],[]],[-1,[[6,[[5,[4]]]]],[]],[-1,[[6,[[5,[4]]]]],[]],0,0,[[-1,11,19,[3,[2]],7,18],23,22]],"c":[],"p":[[15,"str"],[3,"Level",0],[15,"slice"],[8,"Future",371],[3,"Box",372],[3,"Pin",373],[3,"TrafficPattern",0],[3,"CreatePerformanceAnalytics",0],[15,"usize"],[4,"Option",374],[3,"Register",0],[3,"UpdateEmail",0],[4,"Login",0],[3,"NameHash",0],[3,"PerformanceAnalytics",0],[3,"StatsUnixTimestamp",0],[3,"Notification",0],[3,"AddNotification",0],[3,"CreateCaptcha",0],[3,"Captcha",0],[3,"Secret",0],[8,"MCDatabase",0],[15,"tuple"],[4,"Result",375],[8,"Deserializer",376],[15,"bool"],[3,"Formatter",377],[6,"Result",377],[3,"Error",377],[15,"u32"],[15,"i32"],[8,"Serializer",378],[3,"TypeId",379],[4,"DBError",333],[8,"Error",380],[3,"String",381],[8,"CloneSPDatabase",0],[6,"DBResult",333],[8,"GetConnection",359],[8,"Connect",359],[8,"Migrate",359]]},\ +"db_sqlx_maria":{"doc":"","t":"DEDNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAMLLALLLLLLLLLLLLLLLLLLLLMMLLLLLLMLMLMMAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLNDNGDNNINNNNQIDDENIGCNNNNNEINDEIINDDNNDQNNNDNDNDNDNNDNNNKKKLKKKKKKLXMLLMKKMMMKKKKKKKMMAMMMMMMKAKKKLLLLLLMKKKKKKKKKKKKMMMMMMLLMMKMMKMMAMKAMKKKKMMMLKKAMMMLLLLKKKKKKKMMMKMLMMMMMMMNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKXMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKLLLLLLLLLLLLLKLLLLLLLLLLLLLMMMKKKLLLLLLLLLKKKKMMLLLLLLLLLLLLLMMMMMMKLLLLLLLLLLLLLAKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKKKKKKKKKKKKMMMMMMLLLLLLLLLLLLLLMMKMMKMMAMKAMKKKKMMLLLLLLLLLLLLLMLKKAMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKMMMKMLLLLLLLLLLLLLLMMNGNNENGNNNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKMLLMKLKLMMMKKKKKKKMMLMMMMMMKLKKKLLMKKKKKKKKKKKKMMMMMMLMMKMMKMMMKMKKKKMMLMKKMMMLLLLKKKKKKKMMMKMLMMRRFNGNNENGNNNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKMMKKMMMKKKKKKKMMAMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKXMMKKMMMKKKKKKKMMMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMRRFFF","n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","AnyDriverError","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Err","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","worker_type","worker_type","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","Err","NotificationNotFound","Ok","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone_db","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","to_owned","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","Err","NotificationNotFound","Ok","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","map_register_err","map_row_not_found_err"],"q":[[0,"db_sqlx_maria"],[117,"db_sqlx_maria::dev"],[288,"db_sqlx_maria::dev::Error"],[293,"db_sqlx_maria::dev::dev"],[645,"db_sqlx_maria::dev::dev::errors"],[659,"db_sqlx_maria::dev::dev::ops"],[668,"db_sqlx_maria::dev::dev::prelude"],[813,"db_sqlx_maria::dev::dev::tests"],[816,"db_sqlx_maria::dev::errors"],[830,"db_sqlx_maria::dev::ops"],[839,"db_sqlx_maria::dev::prelude"],[970,"db_sqlx_maria::dev::prelude::dev"],[1101,"db_sqlx_maria::dev::tests"],[1104,"db_sqlx_maria::errors"],[1106,"core::future::future"],[1107,"alloc::boxed"],[1108,"core::pin"],[1109,"core::option"],[1110,"alloc::alloc"],[1111,"core::fmt"],[1112,"core::fmt"],[1113,"core::any"],[1114,"sqlx_core::error"],[1115,"core::fmt"],[1116,"std::io::error"],[1117,"core::error"],[1118,"alloc::string"],[1119,"serde::de"],[1120,"serde::ser"]],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","record PoW timing","Create psuedo ID against campaign ID to publish analytics","","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Error occurred within the Any driver mapping to/from the …","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Contains the error value","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","Returns the argument unchanged.","","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Contains the error value","Notification not found","Contains the success value","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","","clone DB","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Contains the error value","Notification not found","Contains the success value","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error"],"i":[0,0,0,16,0,16,0,1,1,1,1,1,1,1,1,1,45,16,46,1,12,45,16,46,1,12,1,1,12,1,1,12,16,1,1,1,1,1,1,0,46,1,12,0,1,1,1,12,45,16,46,1,12,1,1,1,1,1,1,1,1,1,1,1,12,12,45,16,46,1,12,1,12,1,12,1,1,46,0,12,1,1,1,1,1,1,1,12,45,16,46,1,12,45,16,46,1,12,45,16,46,1,12,1,1,1,1,1,1,1,46,1,45,16,46,1,12,43,0,30,0,0,43,43,0,30,30,30,30,47,0,0,0,0,43,0,0,0,30,30,23,43,48,0,0,30,0,0,0,0,30,0,0,43,48,0,49,30,30,30,0,30,0,43,0,30,0,43,30,0,23,43,30,13,13,13,13,13,13,13,13,13,13,30,0,8,30,30,8,13,50,38,40,38,49,13,13,13,13,13,13,17,40,0,9,3,37,17,40,25,13,0,13,13,13,30,30,30,30,30,30,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,30,30,17,40,13,39,18,51,39,28,0,8,13,0,39,13,13,13,13,25,41,38,30,13,13,0,9,37,18,30,30,30,30,13,13,13,13,13,13,13,25,28,29,13,3,30,9,37,52,53,52,53,54,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,0,8,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,18,8,17,40,41,8,13,25,28,23,29,9,37,38,39,18,8,17,40,41,50,25,28,23,29,9,37,38,39,18,8,17,40,41,38,40,38,49,13,13,9,37,38,39,18,8,17,40,41,13,13,13,13,17,40,25,28,23,29,9,37,38,39,18,8,17,40,41,9,3,37,17,40,25,13,25,28,23,29,9,37,38,39,18,8,17,40,41,0,13,13,13,43,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,39,18,8,17,40,41,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,43,25,28,23,29,9,37,38,39,18,8,17,40,41,17,40,13,39,18,51,39,28,0,8,13,0,39,13,13,13,13,25,41,25,28,23,29,9,37,38,39,18,8,17,40,41,38,43,13,13,0,9,37,18,25,28,23,29,9,37,38,39,18,8,17,40,41,43,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,18,8,17,40,41,13,13,13,13,13,13,13,25,28,29,13,3,43,25,28,23,29,9,37,38,39,18,8,17,40,41,9,37,43,0,43,43,0,43,0,43,48,43,48,43,43,43,47,0,0,0,0,49,49,47,51,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,8,3,3,8,13,3,50,3,38,40,38,49,13,13,13,13,13,13,17,40,3,9,3,37,17,40,25,13,3,13,13,13,3,3,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,3,17,40,13,39,18,51,39,28,8,13,39,13,13,13,13,25,41,3,38,13,13,9,37,18,3,3,3,3,13,13,13,13,13,13,13,25,28,29,13,3,3,9,37,0,0,0,43,0,43,43,0,43,0,43,48,43,48,43,43,43,47,0,0,0,0,49,49,47,51,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,8,8,13,50,38,40,38,49,13,13,13,13,13,13,17,40,0,9,3,37,17,40,25,13,13,13,13,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,17,40,13,39,18,51,39,28,8,13,39,13,13,13,13,25,41,38,13,13,9,37,18,13,13,13,13,13,13,13,25,28,29,13,3,9,37,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,0,8,8,13,50,38,40,38,49,13,13,13,13,13,13,17,40,9,3,37,17,40,25,13,13,13,13,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,17,40,13,39,18,51,39,28,8,13,39,13,13,13,13,25,41,38,13,13,9,37,18,13,13,13,13,13,13,13,25,28,29,13,3,9,37,0,0,0,0,0],"f":[0,0,0,0,0,0,0,[[1,2,2,[4,[3]]],[[7,[[6,[5]]]]]],[[1,2,2,8],[[7,[[6,[5]]]]]],[[1,2,9],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,10,10],[[7,[[6,[5]]]]]],[[1,10],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[1,1],[12,12],[-1,[[6,[13,14]]],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[16,[[7,[[6,[5]]]]]],[[1,2,17],[[7,[[6,[5]]]]]],[[1,18],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],0,0,[[1,2],[[7,[[6,[5]]]]]],[[12,12],19],0,[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[12,20],21],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,22],[[7,[[6,[5]]]]]],[[1,23],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,2,24],[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,0,0,0,[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,25],[[7,[[6,[5]]]]]],[[1,22,22],[[7,[[6,[5]]]]]],[[1,22],[[7,[[6,[5]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[[1,2,2,2],[[7,[[6,[5]]]]]],[[1,2,17],[[7,[[6,[5]]]]]],[[1,28],[[7,[[6,[5]]]]]],[[1,2,22,22],[[7,[[6,[5]]]]]],[[1,29],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,[[1,2],[[7,[[6,[5]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[30,[[11,[31]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[6,[13,14]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[30,20],[[26,[15,32]]]],[[30,20],[[26,[15,32]]]],[-1,-1,[]],[33,30],[-1,30,31],[34,30],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],[30,[[11,[[6,[31,14]]]]]],0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,0,[30,[[11,[35]]]],[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,36,[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[25,25],[28,28],[23,23],[29,29],[9,9],[37,37],[38,38],[39,39],[18,18],[8,8],[17,17],[40,40],[41,41],[-1,[[6,[13,14]]],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[],9],[[],37],[[],38],[[],39],[[],18],[[],8],[[],17],[[],40],[[],41],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[26,[25]]],42],[-1,[[26,[28]]],42],[-1,[[26,[23]]],42],[-1,[[26,[29]]],42],[-1,[[26,[9]]],42],[-1,[[26,[37]]],42],[-1,[[26,[38]]],42],[-1,[[26,[39]]],42],[-1,[[26,[18]]],42],[-1,[[26,[8]]],42],[-1,[[26,[17]]],42],[-1,[[26,[40]]],42],[-1,[[26,[41]]],42],0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[25,25],19],[[28,28],19],[[23,23],19],[[29,29],19],[[9,9],19],[[37,37],19],[[38,38],19],[[39,39],19],[[18,18],19],[[8,8],19],[[17,17],19],[[40,40],19],[[41,41],19],0,[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[43,20],[[26,[15,32]]]],[[43,20],[[26,[15,32]]]],[[25,20],[[26,[15,32]]]],[[28,20],[[26,[15,32]]]],[[23,20],[[26,[15,32]]]],[[29,20],[[26,[15,32]]]],[[9,20],[[26,[15,32]]]],[[37,20],[[26,[15,32]]]],[[38,20],[[26,[15,32]]]],[[39,20],[[26,[15,32]]]],[[18,20],[[26,[15,32]]]],[[8,20],[[26,[15,32]]]],[[17,20],[[26,[15,32]]]],[[40,20],[[26,[15,32]]]],[[41,20],[[26,[15,32]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[12,39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,[[25,-1],26,44],[[28,-1],26,44],[[23,-1],26,44],[[29,-1],26,44],[[9,-1],26,44],[[37,-1],26,44],[[38,-1],26,44],[[39,-1],26,44],[[18,-1],26,44],[[8,-1],26,44],[[17,-1],26,44],[[40,-1],26,44],[[41,-1],26,44],0,[43,[[11,[35]]]],[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,36,[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[3,3],[-1,[[6,[13,14]]],[]],[[-1,-2],15,[],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[26,[3]]],42],0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[3,3],19],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[3,20],[[26,[15,32]]]],[-1,-1,[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,[[3,-1],26,44],0,[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,-2,[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],0,0,0,0,[[-1,25,17,[4,[3]],8,18],15,13],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[6,[13,14]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[6,[13,14]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,[[-1,25,17,[4,[3]],8,18],15,13],[30,43],[[30,43],43]],"c":[],"p":[[3,"Database",0],[15,"str"],[3,"Level",668],[15,"slice"],[8,"Future",1106],[3,"Box",1107],[3,"Pin",1108],[3,"TrafficPattern",293],[3,"CreatePerformanceAnalytics",293],[15,"usize"],[4,"Option",1109],[3,"InnerNotification",0],[8,"MCDatabase",293],[3,"Global",1110],[15,"tuple"],[4,"ConnectionOptions",0],[3,"CreateCaptcha",293],[3,"AddNotification",293],[15,"bool"],[3,"Formatter",1111],[6,"Result",1111],[15,"u32"],[4,"Login",293],[15,"i32"],[3,"Register",293],[4,"Result",1112],[3,"TypeId",1113],[3,"UpdateEmail",293],[3,"NameHash",293],[4,"Error",117],[8,"DatabaseError",1114],[3,"Error",1111],[4,"MigrateError",1115],[3,"Error",1116],[8,"Error",1117],[3,"String",1118],[3,"PerformanceAnalytics",293],[3,"StatsUnixTimestamp",293],[3,"Notification",293],[3,"Captcha",293],[3,"Secret",293],[8,"Deserializer",1119],[4,"DBError",293],[8,"Serializer",1120],[3,"Conn",0],[3,"Fresh",0],[8,"GetConnection",293],[6,"DBResult",668],[8,"Connect",293],[8,"CloneSPDatabase",293],[8,"Migrate",293],[13,"ColumnIndexOutOfBounds",288],[13,"ColumnDecode",288],[13,"TypeNotFound",288]]},\ +"db_sqlx_postgres":{"doc":"","t":"DEDNDNDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAMLLALLLLLLLLLLLLLLLLLLLLMMLLLLLLMLMLMMAMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLNDNGDNNINNNNQIDDENIGCNNNNNEINDEIINDDNNDQNNNDNDNDNDNNDNNNKKKLKKKKKKLXMLLMKKMMMKKKKKKKMMAMMMMMMKAKKKLLLLLLMKKKKKKKKKKKKMMMMMMLLMMKMMKMMAMKAMKKKKMMMLKKAMMMLLLLKKKKKKKMMMKMLMMMMMMMNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKXMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKLLLLLLLLLLLLLKLLLLLLLLLLLLLMMMKKKLLLLLLLLLKKKKMMLLLLLLLLLLLLLMMMMMMKLLLLLLLLLLLLLAKKKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMKKKKKKKKKKKKMMMMMMLLLLLLLLLLLLLLMMKMMKMMAMKAMKKKKMMLLLLLLLLLLLLLMLKKAMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKKKKKKKMMMKMLLLLLLLLLLLLLLMMNGNNENGNNNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKMLLMKLKLMMMKKKKKKKMMLMMMMMMKLKKKLLMKKKKKKKKKKKKMMMMMMLMMKMMKMMMKMKKKKMMLMKKMMMLLLLKKKKKKKMMMKMLMMRRFNGNNENGNNNNNNNQIIIIQKKKNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKMMKKMMMKKKKKKKMMAMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMNDGDNNIQIDDENIGNNNIDEIIDDNNDQDDNDDNDNNKKKLKKKKKKXMMKKMMMKKKKKKKMMMMMMMMKKKKMKKKKKKKKKKKKMMMMMMMMKMMKMMMKMKKKKMMMKKMMMKKKKKKKMMMKMMMRRFFF","n":["Conn","ConnectionOptions","Database","Existing","Fresh","Fresh","InnerNotification","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha_exists","clone","clone","clone_db","clone_into","clone_into","connect","create_captcha","create_notification","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","dev","disable_logging","email_exists","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","heading","id","into","into","into","into","into","mark_notification_read","message","migrate","name","ping","pool","pool_options","prelude","received","record_confirm","record_fetch","record_solve","register","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","url","username_exists","vzip","vzip","vzip","vzip","vzip","AccountNotFound","AddNotification","AnyDriverError","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","ColumnDecode","ColumnIndexOutOfBounds","ColumnNotFound","Configuration","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Database","Database","Decode","Email","EmailTaken","Err","Error","GetConnection","Io","Level","Login","MCDatabase","Migrate","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","PoolClosed","PoolTimedOut","Protocol","Register","RowNotFound","Secret","SecretTaken","StatsUnixTimestamp","Tls","TrafficPattern","TrafficPatternNotFound","TypeNotFound","UpdateEmail","Username","UsernameTaken","WorkerCrashed","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","as_database_error","async_trait","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into_database_error","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_string","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","index","index","len","source","type_name","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_db","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","default","default","default","default","default","default","default","default","default","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","errors","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","key","key","mark_notification_read","message","message","migrate","name","new_email","ops","peak_sustainable_traffic","ping","prelude","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","solves","source","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","tests","time","time","to","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","worker_type","worker_type","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","Err","NotificationNotFound","Ok","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","borrow","borrow_mut","broke_my_site_traffic","captcha_exists","clone","clone_db","clone_into","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","eq","fetch_config_fetched","fetch_confirm","fetch_solve","fmt","from","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","into","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","serialize","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","to_owned","try_from","try_into","type_id","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","vzip","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","AccountNotFound","BoxDynError","CaptchaKeyTaken","CaptchaNotFound","DBError","DBError","DBResult","EmailTaken","Err","NotificationNotFound","Ok","SecretTaken","TrafficPatternNotFound","UsernameTaken","Conn","Connect","DBOps","GetConnection","Migrate","Pool","connect","get_conn","migrate","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","dev","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","AccountNotFound","AddNotification","BoxDynError","Captcha","CaptchaKeyTaken","CaptchaNotFound","CloneSPDatabase","Conn","Connect","CreateCaptcha","CreatePerformanceAnalytics","DBError","DBError","DBOps","DBResult","Email","EmailTaken","Err","GetConnection","Level","Login","MCDatabase","Migrate","NameHash","Notification","NotificationNotFound","Ok","PerformanceAnalytics","Pool","Register","Secret","SecretTaken","StatsUnixTimestamp","TrafficPattern","TrafficPatternNotFound","UpdateEmail","Username","UsernameTaken","add_captcha_levels","add_traffic_pattern","analysis_save","analytics_captcha_is_published","analytics_create_psuedo_id_if_not_exists","analytics_delete_all_records_for_campaign","analytics_fetch","analytics_get_all_psuedo_ids","analytics_get_capmaign_id_from_psuedo_id","analytics_get_psuedo_id_from_capmaign_id","async_trait","avg_traffic","broke_my_site_traffic","captcha_exists","clone_db","config_fetches","config_id","confirms","connect","create_captcha","create_notification","delete_captcha","delete_captcha_levels","delete_traffic_pattern","delete_user","description","description","difficulty_factor","difficulty_factor","difficulty_factor","duration","duration","email","email_exists","fetch_config_fetched","fetch_confirm","fetch_solve","from","get_all_unread_notifications","get_all_user_captchas","get_captcha_config","get_captcha_cooldown","get_captcha_levels","get_conn","get_email","get_max_nonce_for_level","get_password","get_secret","get_secret_from_captcha","get_traffic_pattern","hash","hash","heading","heading","id","id","key","key","mark_notification_read","message","message","migrate","name","new_email","peak_sustainable_traffic","ping","received","record_confirm","record_fetch","record_solve","register","secret","secret","solves","stats_get_entry_at_location_for_time_limit_asc","stats_get_num_logs_under_time","time","time","to","update_captcha_key","update_captcha_metadata","update_email","update_max_nonce_for_level","update_password","update_secret","update_username","username","username","username","username_exists","visitor_threshold","worker_type","worker_type","LEVELS","TRAFFIC_PATTERN","database_works","map_register_err","map_row_not_found_err"],"q":[[0,"db_sqlx_postgres"],[118,"db_sqlx_postgres::dev"],[289,"db_sqlx_postgres::dev::Error"],[294,"db_sqlx_postgres::dev::dev"],[646,"db_sqlx_postgres::dev::dev::errors"],[660,"db_sqlx_postgres::dev::dev::ops"],[669,"db_sqlx_postgres::dev::dev::prelude"],[814,"db_sqlx_postgres::dev::dev::tests"],[817,"db_sqlx_postgres::dev::errors"],[831,"db_sqlx_postgres::dev::ops"],[840,"db_sqlx_postgres::dev::prelude"],[971,"db_sqlx_postgres::dev::prelude::dev"],[1102,"db_sqlx_postgres::dev::tests"],[1105,"db_sqlx_postgres::errors"],[1107,"core::future::future"],[1108,"alloc::boxed"],[1109,"core::pin"],[1110,"core::option"],[1111,"alloc::alloc"],[1112,"core::fmt"],[1113,"core::fmt"],[1114,"core::any"],[1115,"sqlx_core::error"],[1116,"core::fmt"],[1117,"sqlx_core::migrate::error"],[1118,"core::error"],[1119,"alloc::string"],[1120,"serde::de"],[1121,"serde::ser"]],"d":["Use an existing database pool","Connect to database","","existing connection","","fresh connection","Represents notification","Add levels to captcha","Add traffic configuration","record PoW timing","Create psuedo ID against campaign ID to publish analytics","","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","","","","","","","","","check if captcha exists","","","","","","","create new captcha","create new notification","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","","","check if email exists","","Error-handling utilities","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","heading of the notification","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","mark a notification read","message of the notification","","receiver name of the notification","ping DB","","","","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","","check if username exists","","","","","","Account not found","Data required to add notification","Error occurred within the Any driver mapping to/from the …","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","Error occurred while decoding a value from a specific …","Column index was out of bounds.","No column found for the given name.","Error occurred while parsing a connection string.","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","","Error returned from the database.","Error occurred while decoding a value.","email as login","Email is taken","Contains the error value","Represents all the ways a method can fail within SQLx.","Get database connection","Error communicating with the database backend.","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Pool::close was called while we were waiting in …","A Pool::acquire timed out due to connections not becoming …","Unexpected or invalid data encountered while communicating …","Data required to register a new user","No rows returned by a query that expected to return at …","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","Error occurred while attempting to establish a TLS …","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","Type in query doesn’t exist. Likely due to typo or …","data required to update them email of a user","username as login","Username is taken","A background worker has crashed.","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","Returns the argument unchanged.","","","","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","","","","","","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","","","","","","","","","","","","","","","","","","","","","","","","","","","","","traffic that bought the user’s website down; optional","check if captcha exists","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","","","","","","","","","","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","","","","","","","","","","","","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","represents all the ways a trait can fail using this crate","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","meta operations like migration and connecting to a database","the peak traffic that the user’s website can handle","ping DB","useful imports for users working with a supported database","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","","","","","","","","","","","","","times at which the PoW was solved","","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","Test utilities","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Contains the error value","Notification not found","Contains the success value","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","","","traffic that bought the user’s website down; optional","check if captcha exists","","clone DB","","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","","Returns the argument unchanged.","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","Calls U::from(self).","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","","","","","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","Account not found","Convenience type alias for grouping driver-specific errors","Captcha key is taken","Captcha not found","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Generic result data structure","Email is taken","Contains the error value","Notification not found","Contains the success value","Secret is taken","Traffic pattern not found","Username is taken","database connection type","Create database connection","Database operations trait(migrations, pool creation and …","Get database connection","database migrations","database specific pool-type","database specific error-type create connection pool","database specific error-type get connection from …","database specific error-type run migrations","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","useful imports for supporting a new database","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","Account not found","Data required to add notification","Convenience type alias for grouping driver-specific errors","Data representing a captcha","Captcha key is taken","Captcha not found","Trait to clone MCDatabase","database connection type","Create database connection","data required to create new captcha","Log Proof-of-Work CAPTCHA performance analytics","Error data structure grouping various error subtypes","errors that are specific to a database implementation","Database operations trait(migrations, pool creation and …","Generic result data structure","email as login","Email is taken","Contains the error value","Get database connection","Level struct that describes threshold-difficulty factor …","types of credentials used as identifiers during login","mCaptcha’s database requirements. To implement support …","database migrations","type encapsulating username and hashed password of a user","Represents notification","Notification not found","Contains the success value","Proof-of-Work CAPTCHA performance analytics","database specific pool-type","Data required to register a new user","datastructure representing a user’s secret","Secret is taken","Captcha statistics with time recorded in UNIX epoch formats","User’s traffic pattern; used in generating a captcha …","Traffic pattern not found","data required to update them email of a user","username as login","Username is taken","Add levels to captcha","Add traffic configuration","record PoW timing","Get publishing status of pow analytics for captcha ID/ …","Create psuedo ID against campaign ID to publish analytics","Delete all records for campaign","fetch PoW analytics","Get all psuedo IDs","Get campaign ID from psuedo ID","Get psuedo ID from campaign ID","","average traffic of user’s website","traffic that bought the user’s website down; optional","check if captcha exists","clone DB","times at which the configuration were fetched","Database assigned ID","times at which the PoW token was verified","database specific error-type create connection pool","create new captcha","create new notification","Delete captcha","Delete all levels of a captcha","Delete traffic configuration","delete a user","description of the captcha","description of the captcha","difficulty factor for which the proof was generated","","difficulty factor for which the proof was generated","cool down duration","cool down duration","Optionally, email of new use","check if email exists","fetch PoWConfig fetches","fetch PoWConfig confirms","fetch PoWConfig solves","notification sender","get all unread notifications","Get all captchas belonging to user","Get captcha config","Get captcha’s cooldown period","Get captcha levels","database specific error-type get connection from …","get user email","Get maximum nonce tracked so far for captcha levels","get a user’s password","get a user’s secret","get a user’s secret from a captcha key","Get traffic configuration","hashed password of new use","hashed password","heading of the notification","heading of the notification","log ID","db assigned ID of the notification","secret key of the captcha","secret key of the captcha","mark a notification read","message of the notification","message of the notification","database specific error-type run migrations","receiver name of the notification","new email address of the user","the peak traffic that the user’s website can handle","ping DB","when notification was received","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig solves","register a new user","secret of new user","user’s secret","times at which the PoW was solved","Get the entry at a location in the list of analytics …","Get number of analytics entries that are under a certain …","time taken to generate proof","time taken to generate proof","who is the notification addressed to?","update captcha key; doesn’t change metadata","update captcha metadata; doesn’t change captcha key","update a user’s email","Track maximum nonce received against captcha levels","update user’s password","update a user’s secret","update username","username of new user","username of the user","username","check if username exists","","worker/client type: wasm, javascript, python, etc.","worker/client type: wasm, javascript, python, etc.","levels for complex captcha config","easy traffic pattern","test all database functions","map postgres errors to DBError types","map custom row not found error to DB error"],"i":[0,0,0,16,0,16,0,1,1,1,1,1,1,1,1,1,45,16,46,1,12,45,16,46,1,12,1,1,12,1,1,12,16,1,1,12,1,1,1,1,0,46,1,12,0,1,1,1,12,45,16,46,1,12,1,1,1,1,1,1,1,1,1,1,1,12,12,45,16,46,1,12,1,12,1,12,1,1,46,0,12,1,1,1,1,1,1,1,12,45,16,46,1,12,45,16,46,1,12,45,16,46,1,12,1,1,1,1,1,1,1,46,1,45,16,46,1,12,43,0,30,0,0,43,43,0,30,30,30,30,47,0,0,0,0,43,0,0,0,30,30,23,43,48,0,0,30,0,0,0,0,30,0,0,43,48,0,49,30,30,30,0,30,0,43,0,30,0,43,30,0,23,43,30,13,13,13,13,13,13,13,13,13,13,30,0,8,30,30,8,13,50,38,40,38,49,13,13,13,13,13,13,17,40,0,9,3,37,17,40,25,13,0,13,13,13,30,30,30,30,30,30,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,30,30,17,40,13,39,18,51,39,28,0,8,13,0,39,13,13,13,13,25,41,38,30,13,13,0,9,37,18,30,30,30,30,13,13,13,13,13,13,13,25,28,29,13,3,30,9,37,52,53,52,53,54,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,0,8,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,18,8,17,40,41,8,13,25,28,23,29,9,37,38,39,18,8,17,40,41,50,25,28,23,29,9,37,38,39,18,8,17,40,41,38,40,38,49,13,13,9,37,38,39,18,8,17,40,41,13,13,13,13,17,40,25,28,23,29,9,37,38,39,18,8,17,40,41,9,3,37,17,40,25,13,25,28,23,29,9,37,38,39,18,8,17,40,41,0,13,13,13,43,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,39,18,8,17,40,41,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,43,25,28,23,29,9,37,38,39,18,8,17,40,41,17,40,13,39,18,51,39,28,0,8,13,0,39,13,13,13,13,25,41,25,28,23,29,9,37,38,39,18,8,17,40,41,38,43,13,13,0,9,37,18,25,28,23,29,9,37,38,39,18,8,17,40,41,43,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,18,8,17,40,41,43,25,28,23,29,9,37,38,39,18,8,17,40,41,13,13,13,13,13,13,13,25,28,29,13,3,43,25,28,23,29,9,37,38,39,18,8,17,40,41,9,37,43,0,43,43,0,43,0,43,48,43,48,43,43,43,47,0,0,0,0,49,49,47,51,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,8,3,3,8,13,3,50,3,38,40,38,49,13,13,13,13,13,13,17,40,3,9,3,37,17,40,25,13,3,13,13,13,3,3,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,3,17,40,13,39,18,51,39,28,8,13,39,13,13,13,13,25,41,3,38,13,13,9,37,18,3,3,3,3,13,13,13,13,13,13,13,25,28,29,13,3,3,9,37,0,0,0,43,0,43,43,0,43,0,43,48,43,48,43,43,43,47,0,0,0,0,49,49,47,51,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,8,8,13,50,38,40,38,49,13,13,13,13,13,13,17,40,0,9,3,37,17,40,25,13,13,13,13,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,17,40,13,39,18,51,39,28,8,13,39,13,13,13,13,25,41,38,13,13,9,37,18,13,13,13,13,13,13,13,25,28,29,13,3,9,37,43,0,0,0,43,43,0,47,0,0,0,0,43,0,0,23,43,48,0,0,0,0,0,0,0,43,48,0,49,0,0,43,0,0,43,0,23,43,13,13,13,13,13,13,13,13,13,13,0,8,8,13,50,38,40,38,49,13,13,13,13,13,13,17,40,9,3,37,17,40,25,13,13,13,13,18,13,13,13,13,13,47,13,13,13,13,13,13,25,29,39,18,37,39,17,40,13,39,18,51,39,28,8,13,39,13,13,13,13,25,41,38,13,13,9,37,18,13,13,13,13,13,13,13,25,28,29,13,3,9,37,0,0,0,0,0],"f":[0,0,0,0,0,0,0,[[1,2,2,[4,[3]]],[[7,[[6,[5]]]]]],[[1,2,2,8],[[7,[[6,[5]]]]]],[[1,2,9],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,10,10],[[7,[[6,[5]]]]]],[[1,10],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[1,1],[12,12],[-1,[[6,[13,14]]],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[16,[[7,[[6,[5]]]]]],[[1,2,17],[[7,[[6,[5]]]]]],[[1,18],[[7,[[6,[5]]]]]],[[],12],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],0,0,[[1,2],[[7,[[6,[5]]]]]],[[12,12],19],0,[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[12,20],21],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,[11,[2]],2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,22],[[7,[[6,[5]]]]]],[[1,23],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[1,2,24],[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,[1,[[7,[[6,[5]]]]]],0,0,0,0,[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,2],[[7,[[6,[5]]]]]],[[1,25],[[7,[[6,[5]]]]]],[[1,22,22],[[7,[[6,[5]]]]]],[[1,22],[[7,[[6,[5]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[[1,2,2,2],[[7,[[6,[5]]]]]],[[1,2,17],[[7,[[6,[5]]]]]],[[1,28],[[7,[[6,[5]]]]]],[[1,2,22,22],[[7,[[6,[5]]]]]],[[1,29],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],[[1,2,2],[[7,[[6,[5]]]]]],0,[[1,2],[[7,[[6,[5]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[30,[[11,[31]]]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[6,[13,14]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[30,20],[[26,[15,32]]]],[[30,20],[[26,[15,32]]]],[-1,-1,[]],[33,30],[-1,30,31],[34,30],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],[30,[[11,[[6,[31,14]]]]]],0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,0,[30,[[11,[35]]]],[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,36,[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[25,25],[28,28],[23,23],[29,29],[9,9],[37,37],[38,38],[39,39],[18,18],[8,8],[17,17],[40,40],[41,41],[-1,[[6,[13,14]]],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],[[-1,-2],15,[],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[],9],[[],37],[[],38],[[],39],[[],18],[[],8],[[],17],[[],40],[[],41],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[26,[25]]],42],[-1,[[26,[28]]],42],[-1,[[26,[23]]],42],[-1,[[26,[29]]],42],[-1,[[26,[9]]],42],[-1,[[26,[37]]],42],[-1,[[26,[38]]],42],[-1,[[26,[39]]],42],[-1,[[26,[18]]],42],[-1,[[26,[8]]],42],[-1,[[26,[17]]],42],[-1,[[26,[40]]],42],[-1,[[26,[41]]],42],0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[25,25],19],[[28,28],19],[[23,23],19],[[29,29],19],[[9,9],19],[[37,37],19],[[38,38],19],[[39,39],19],[[18,18],19],[[8,8],19],[[17,17],19],[[40,40],19],[[41,41],19],0,[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[43,20],[[26,[15,32]]]],[[43,20],[[26,[15,32]]]],[[25,20],[[26,[15,32]]]],[[28,20],[[26,[15,32]]]],[[23,20],[[26,[15,32]]]],[[29,20],[[26,[15,32]]]],[[9,20],[[26,[15,32]]]],[[37,20],[[26,[15,32]]]],[[38,20],[[26,[15,32]]]],[[39,20],[[26,[15,32]]]],[[18,20],[[26,[15,32]]]],[[8,20],[[26,[15,32]]]],[[17,20],[[26,[15,32]]]],[[40,20],[[26,[15,32]]]],[[41,20],[[26,[15,32]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[12,39],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,[[25,-1],26,44],[[28,-1],26,44],[[23,-1],26,44],[[29,-1],26,44],[[9,-1],26,44],[[37,-1],26,44],[[38,-1],26,44],[[39,-1],26,44],[[18,-1],26,44],[[8,-1],26,44],[[17,-1],26,44],[[40,-1],26,44],[[41,-1],26,44],0,[43,[[11,[35]]]],[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,36,[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[3,3],[-1,[[6,[13,14]]],[]],[[-1,-2],15,[],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[26,[3]]],42],0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[3,3],19],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[3,20],[[26,[15,32]]]],[-1,-1,[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,[-1,-2,[],[]],0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,[[3,-1],26,44],0,[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,-2,[],[]],[-1,[[26,[-2]]],[],[]],[-1,[[26,[-2]]],[],[]],[-1,27,[]],[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,[-1,-2,[],[]],0,0,0,0,[[-1,25,17,[4,[3]],8,18],15,13],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[6,[13,14]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,2,2,[4,[3]]],[[7,[[6,[5,14]]]]],[]],[[-1,2,2,8],[[7,[[6,[5,14]]]]],[]],[[-1,2,9],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,10,10],[[7,[[6,[5,14]]]]],[]],[[-1,10],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[6,[13,14]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,18],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,[11,[2]],2],[[7,[[6,[5,14]]]]],[]],[-1,[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,22],[[7,[[6,[5,14]]]]],[]],[[-1,23],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,0,0,0,[[-1,2,24],[[7,[[6,[5,14]]]]],[]],0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,0,0,[-1,[[7,[[6,[5,14]]]]],[]],0,[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,2],[[7,[[6,[5,14]]]]],[]],[[-1,25],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,22],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,17],[[7,[[6,[5,14]]]]],[]],[[-1,28],[[7,[[6,[5,14]]]]],[]],[[-1,2,22,22],[[7,[[6,[5,14]]]]],[]],[[-1,29],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],[[-1,2,2],[[7,[[6,[5,14]]]]],[]],0,0,0,[[-1,2],[[7,[[6,[5,14]]]]],[]],0,0,0,0,0,[[-1,25,17,[4,[3]],8,18],15,13],[30,43],[[30,43],43]],"c":[],"p":[[3,"Database",0],[15,"str"],[3,"Level",669],[15,"slice"],[8,"Future",1107],[3,"Box",1108],[3,"Pin",1109],[3,"TrafficPattern",294],[3,"CreatePerformanceAnalytics",294],[15,"usize"],[4,"Option",1110],[3,"InnerNotification",0],[8,"MCDatabase",294],[3,"Global",1111],[15,"tuple"],[4,"ConnectionOptions",0],[3,"CreateCaptcha",294],[3,"AddNotification",294],[15,"bool"],[3,"Formatter",1112],[6,"Result",1112],[15,"u32"],[4,"Login",294],[15,"i32"],[3,"Register",294],[4,"Result",1113],[3,"TypeId",1114],[3,"UpdateEmail",294],[3,"NameHash",294],[4,"Error",118],[8,"DatabaseError",1115],[3,"Error",1112],[3,"Error",1116],[4,"MigrateError",1117],[8,"Error",1118],[3,"String",1119],[3,"PerformanceAnalytics",294],[3,"StatsUnixTimestamp",294],[3,"Notification",294],[3,"Captcha",294],[3,"Secret",294],[8,"Deserializer",1120],[4,"DBError",294],[8,"Serializer",1121],[3,"Conn",0],[3,"Fresh",0],[8,"GetConnection",294],[6,"DBResult",669],[8,"Connect",294],[8,"CloneSPDatabase",294],[8,"Migrate",294],[13,"ColumnIndexOutOfBounds",289],[13,"ColumnDecode",289],[13,"TypeNotFound",289]]},\ +"mcaptcha":{"doc":"","t":"GGDRRDDRDDDDRDDDDDDDRRRRDDDDRDDRRMMMMMMMMMMMMMMMMMMMMMALLLLLLLLLLLLLLLLMMMMAMAAMMALLLLLLLLAAALLLLLLLLFFLLLLLLLLMFAMMMAMAMMMAAMAMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAACDAALLLLFLAAAAMAFAALLLLDDCLLLLLLLLALLAMLLLLLLCAAALLFLLLLLLLLAMLLLLDLLLAFLLLLFDLLLLLLLLLMDLLLLLLLLLLFDLLLLLLLLLLLLLDDLLLLLLLLMMLLLLLLLLLMMMLLFLLLLLLLLLLFDLLLDLLMMLMLLLLLMMMMMLLLLLLLDLLLLFLLLLLLDLLDLLLLLLLLLLLLLLLLLLALFDLLLLLLLLLLMDLLLFLLLLLLLLLLLLDDLLLAAFDLLLLLLLLLLLLDLLLLLMMLMLLLLDDDLLLLLLLLLLLLMLLLMLLLLLLLLLMFMMMFLLLLLLLLLLLLLLLMLLLAAAAFAFAADDLLLLLLLLDMLLMLLLLLLLMMMMLALLLLLLLLLLLLLLLFDLLLLLLDLLLLLLMMLLLLLLLLLLLDDMLLLLLLLLMFLLLLDLMLLLLLLLLLLLLMMMMLLALLFLLLLLLLLLLLLLLDLLLLDLLMLLLLLLMLDDLLLLLLLLLLLLMLLLLLDLLLMLLLLLLLLLLLLLLMLLLDLLMMMLMLLMLLLMMLDLLLLLLLLLLDLLMLALLLLLLLLLLDLLLMLLLLLLDLLLLLLMLMLLLLLLMMMLLALLLLLLLLLLDDLLLFDDEDDENNNNLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLMMDLLLLLLLLLLMMLLALLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLDLLMLMLLLLLLAAAAFDDLLLLLLLLLLLLMLLMLLMLLLLLLLLLDLLLLLLLLLLLLLDMMLLMMMLLLLLLLLLLLDLLLLLLLMLLDLLLLLLLLLLDMLLLMLMLLLLLCAAFAADDLLLLLLLLLLLLMLLLLLDFLLLMMLMLLMLLLLLLLLLLLLLLDLLLLMLLOMLLLLMLMLDDLLLLLLLLLLLLLLLLLLLLMMLMLLMMLLMLLLLLLLLLDLLLMDDLLLLLLLLLLLLLLLLLLLLMLMLLLLMLLLLLLLLLMDLLLRDMMLLMLLLMLMMMMLLLLDDEDDEDDENNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLMMDLALLLFLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLDLLLLLLLLLLLLLLMLLLLLLDDMLLLLLLLLLLLLDLLLLLLLLLLLLLLMLLADMLLFLLLLLLLLLLLLLLLLLDLLMLLLLMLLLLDNGNELLLLLMMMOOLLLLLMLLMLLLLLLMMMLLLLLLLLLLLRDRRRLLLLLLLLLLLMLLLLLGAAFFRRDLLLLLMLLLLLLLLDRRLLLLLLLLDLLLLLLFDLLLLLLLLLAFDLLLLLLLLLLLLLLLLDMLLLMLLMLLLLADRLLLLLLLLLLLLLFMLNNNNNNDNNNDNNNNNNEGNNNNENGDNNNNNNNLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLRAAFAAFAAAAFADDRMLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLDDRMLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLLLDLLLLLLMMLLLLLRDLLLLMLLLLLLLLLMLRDDRDMMLLLLLLLLLLLLDLLLLLLLLMLLLLAFMLLLLLLLLLLLLLLLLLDLLLMLLLLLMLDRLLLLLLLLLLLADLLLAFAAMLLLLLLLLLDDRLLLLLLLLLLMMLLLMMMLDLMLLLLLLLLLLLLLLLDLLLLMLLMMMLLLLDRLLLLLLLLLLDMLLLLLLLLLLLLLAMFDLLLLLLLLLLLLLDMLLLLDLLMLLMLLLLLMLAAAAAFADDDDRMMDMLLLLLLLLLLLLMLLLLLLLLDMMMMMLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLLLLLLLDDRDLLLLLLLLLLLLMDMLLLLLLLLMMMMLLMMLLLLLLLLLLLLLLLLLLLLLLLLDRLLLLLLLLLLDLLLLMLLLLLLLLLDMMLLMMMLLLLLLLMLLLLMLDRLLLLLLMLLLLMMMLMLLLMLLLLLLLDLLRDMMLLMMLLLMLLMMMMMLLLLDDMLLLLLLLLLLMLLLLLLLLLDLLLLLLLLLLMLLLFDERDDRNNDDDDDMMMLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLMMMMMMLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLMLMLLLLLLLLLMLMMMMMMMMMMMMMMLMLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMLLLLLLLLLCAFADLLMLLLLLLLLDDALLLLLLLLDLLLLLLLLFFLLLLLLLLLLDLLLLLLLLLLLLLLLLDDDDDDGDDDDMMMMMMMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDIDDILLLLLLLLLLLLKLLMMLLLLLLLKLLLLLLLLLLLKLLKLLKLLLMLLLLLLLLLLLLLLLDDIMLLLLMLLLLLLLLLLLKLLKLLKLLKLMLLLLLLLLLLDDRRMLLLLLLLLLLLLLLLLLLLAFDLLLLLLLLLLLLLDLLLLLLLLML","n":["AppData","ArcData","BAR_CHART","CACHE_AGE","COMPILED_DATE","CREDIT_CARD","CSS","DOCS","DOCS_ICON","Data","FILES","GITHUB","GIT_COMMIT_HASH","HELP_CIRCLE","HOME","JS","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","MOBILE_CSS","PAGES","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","SETTINGS","SETTINGS_ICON","SOURCE_FILES_OF_INSTANCE","Settings","V1_API_ROUTES","VERIFICATIN_WIDGET_CSS","VERIFICATIN_WIDGET_JS","VERSION","WIDGET_ROUTES","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","alloc","allow_demo","allow_registration","api","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","captcha","captcha","commercial","creds","data","database","date","db","db","debug","demo","deref","deref","deref","deref","deref","deref","deref","deref","docs","email","errors","from","from","from","from","from","from","from","from","get_identity_service","get_json_err","into","into","into","into","into","into","into","into","mailer","main","pages","phantom","ptr","redis","routes","server","settings","settings","smtp","source_code","static_assets","stats","stats","survey","survey","survey_secrets","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","widget","v1","ROUTES","RedirectQuery","account","auth","borrow","borrow_mut","deserialize","from","get_middleware","into","mcaptcha","meta","notifications","pow","redirect_to","routes","services","stats","survey","try_from","try_into","type_id","vzip","AccountCheckPayload","AccountCheckResp","auth","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","delete","deserialize","deserialize","email","exists","fmt","fmt","from","from","into","into","mcaptcha","password","routes","secret","serialize","serialize","services","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","username","val","vzip","vzip","borrow","borrow_mut","delete_account","from","into","register","runners","services","try_from","try_into","type_id","vzip","delete_user","Email","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","email","email_exists","fmt","from","from","from","into","into","into","register","register","serialize","services","set_email","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","ChangePasswordReqest","UpdatePassword","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","confirm_new_password","confirm_new_password","deserialize","fmt","from","from","from","from","into","into","into","new_password","new_password","password","register","serialize","services","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_password_runner","update_user_password","vzip","vzip","vzip","Account","borrow","borrow_mut","delete","email_exists","from","get_secret","into","new","try_from","try_into","type_id","update_email","update_password","update_secret","update_username","username_exists","vzip","borrow","borrow","borrow_mut","borrow_mut","from","from","get_secret","into","into","register","register","services","try_from","try_from","try_into","try_into","type_id","type_id","update_user_secret","vzip","vzip","Username","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","from","into","into","into","register","register","runners","serialize","services","set_username","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","username_exists","vzip","vzip","vzip","username_exists","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","into","into","into","login","register","register","register","register","routes","runners","services","signout","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","into","login","logout","new","register","try_from","try_into","type_id","vzip","Login","Password","Register","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","confirm_password","deserialize","deserialize","deserialize","email","fmt","fmt","fmt","from","from","from","into","into","into","login","login_runner","password","password","password","register_runner","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","vzip","vzip","vzip","create","delete","easy","get","get_random","routes","services","stats","update","CreateCaptcha","MCaptchaDetails","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","create","description","deserialize","deserialize","duration","fmt","from","from","from","into","into","into","key","levels","name","publish_benchmarks","register","runner","serialize","serialize","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","create","DeleteCaptcha","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","delete","deserialize","fmt","from","from","into","into","key","password","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","TrafficPatternRequest","UpdateTrafficPattern","avg_traffic","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","calculate","clone","clone","clone_into","clone_into","create","default","description","deserialize","deserialize","fmt","fmt","from","from","from","from","into","into","into","into","key","pattern","peak_sustainable_traffic","publish_benchmarks","register","register","routes","serialize","serialize","services","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","Easy","borrow","borrow_mut","create","from","into","new","try_from","try_into","type_id","update","vzip","I32Levels","Levels","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","difficulty_factor","fmt","fmt","from","from","from","get_captcha","into","into","into","levels","register","serialize","serialize","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","visitor_threshold","vzip","vzip","vzip","Captcha","borrow","borrow_mut","create","delete","easy","from","get","into","new","stats","try_from","try_into","type_id","update","update_key","vzip","StatsPayload","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deserialize","fmt","from","from","get","into","into","key","register","routes","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Stats","borrow","borrow_mut","from","get","into","new","try_from","try_into","type_id","vzip","UpdateCaptcha","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","description","deserialize","duration","from","from","from","into","into","into","key","levels","publish_benchmarks","register","register","runner","serialize","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_captcha","update_key","vzip","vzip","vzip","update_captcha","BuildDetails","BuildDetailsBuilder","BuildDetailsBuilderError","Health","HealthBuilder","HealthBuilderError","UninitializedField","UninitializedField","ValidationError","ValidationError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build_details","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","create_empty","create_empty","db","db","db","default","default","deserialize","deserialize","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","git_commit_hash","git_commit_hash","git_commit_hash","health","into","into","into","into","into","into","into","into","is_redis","redis","redis","redis","register","register","routes","serialize","serialize","services","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","add","get","mark_read","routes","services","AddNotificationRequest","add_notification","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","fmt","from","from","heading","into","into","message","register","serialize","to","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","NotificationResp","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","deserialize","eq","from","from","from","from_notifications","get_notification","heading","id","into","into","message","name","received","register","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","MarkReadReq","borrow","borrow","borrow_mut","borrow_mut","deserialize","from","from","id","into","into","mark_read","register","serialize","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Notifications","add","borrow","borrow_mut","from","get","into","mark_read","new","try_from","try_into","type_id","vzip","I32Levels","get_config","routes","services","verify_pow","verify_token","ApiPoWConfig","GetConfigPayload","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","difficulty_factor","fmt","fmt","from","from","from","get_config","init_mcaptcha","into","into","into","key","max_recorded_nonce","register","salt","serialize","serialize","string","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","PoW","borrow","borrow_mut","from","get_config","get_config","into","new","rm_scope","scope","try_from","try_into","type_id","validate_captcha_token","validate_captcha_token","verify_pow","verify_pow","vzip","ApiWork","ValidationToken","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","from","into","into","into","key","nonce","register","result","serialize","serialize","string","time","to_owned","to_owned","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","verify_pow","vzip","vzip","vzip","worker_type","CaptchaValidateResp","VerifyCaptchaResultPayload","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","from","into","into","into","key","register","secret","serialize","serialize","to_owned","to_owned","token","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","valid","validate_captcha_token","vzip","vzip","vzip","ROUTES","Routes","account","auth","borrow","borrow_mut","captcha","from","get_login_route","into","meta","new","notifications","pow","stats","survey","try_from","try_into","type_id","vzip","BuildDetails","BuildDetailsBuilder","BuildDetailsBuilderError","PercentileReq","PercentileReqBuilder","PercentileReqBuilderError","PercentileResp","PercentileRespBuilder","PercentileRespBuilderError","UninitializedField","UninitializedField","UninitializedField","ValidationError","ValidationError","ValidationError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","create_empty","create_empty","create_empty","default","default","default","deserialize","deserialize","deserialize","difficulty_factor","difficulty_factor","difficulty_factor","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","git_commit_hash","git_commit_hash","git_commit_hash","into","into","into","into","into","into","into","into","into","into","percentile","percentile","percentile","percentile_benches","register","routes","serialize","serialize","serialize","services","time","time","time","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Stats","borrow","borrow_mut","clone","clone_into","deserialize","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","into","new","percentile_benches","serialize","to_owned","try_from","try_into","type_id","vzip","Page","SurveySecretUpload","auth_token","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deserialize","deserialize","download","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","from","from","from","into","into","into","into","page","register","register","routes","secret","secret","serialize","serialize","services","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Survey","borrow","borrow_mut","download","from","get_download_route","into","new","secret","try_from","try_into","type_id","vzip","Data","Embedded","Mailer","Redis","SystemGroup","add_site","borrow","borrow","borrow_mut","borrow_mut","captcha","creds","db","enum_system_actor","enum_system_wrapper","from","from","get_creds","get_mailer","get_pow","inner","into","into","mailer","new","new","new_system","register_survey","remove","rename","settings","stats","survey_secrets","try_from","try_from","try_into","try_into","type_id","type_id","upload_survey_job","validate_verification_tokens","verify_pow","vzip","vzip","DAY","Date","HOUR","MINUTE","WEEK","borrow","borrow_mut","clone","clone_into","date","fmt","format","from","into","new","print_date","time","to_owned","try_from","try_into","type_id","vzip","BoxDB","maria","pg","get_data","get_data","DEMO_PASSWORD","DEMO_USER","DemoUser","abort","borrow","borrow_mut","delete_demo_user","from","handle","into","register_demo_user","run","spawn","try_from","try_into","type_id","vzip","Asset","DOCS","OPEN_API_SPEC","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","dist","from","from","from","from","get","get","handle_embedded_file","index","into","into","into","into","iter","iter","register","register","register","routes","services","spec","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Docs","assets","borrow","borrow_mut","from","home","into","new","spec","try_from","try_into","type_id","vzip","verification","IndexPage","PAGE","borrow","borrow_mut","clone","clone_into","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","verification","verification_link","vzip","AccountNotFound","BlacklistError","CaptchaError","CaptchaNotFound","ClosedForRegistration","DBError","DBErrorWrapper","EmailTaken","Err","Err","ErrorToResponse","InternalServerError","InternalServerError","NotAUrl","NotAnEmail","Ok","Ok","PageError","PageResult","PasswordTooLong","PasswordTooShort","PasswordsDontMatch","ProfainityError","ServiceError","ServiceError","ServiceResult","SmtpErrorWrapper","TokenNotFound","TrafficPatternNotFound","UnableToSendEmail","UsernameCaseMappedError","UsernameNotFound","UsernameTaken","WrongPassword","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deserialize","eq","eq","eq","eq","error","error_response","error_response","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","serialize","source","source","source","source","status_code","status_code","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","NAME","auth","errors","get_middleware","panel","routes","services","sitemap","login","register","routes","services","sudo","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","login","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","INDEX","IndexPage","PAGE","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","from","from","from","into","into","into","join","register","render_once","render_once_to","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Auth","borrow","borrow_mut","from","get_login_route","get_sitemap","into","join","login","new","try_from","try_into","type_id","vzip","PAGE","SudoPage","borrow","borrow_mut","clone","clone_into","data","from","into","new","render_once","render_once_to","to_owned","try_from","try_into","type_id","url","vzip","ERROR_ROUTE","ErrorPage","INTERNAL_SERVER_ERROR_BODY","PAGE","UNKNOWN_ERROR_BODY","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","deref","error","from","from","from","from","into","into","into","into","message","new","register","render_once","render_once_to","routes","services","title","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","Errors","borrow","borrow_mut","from","internal_server_error","into","new","try_from","try_into","type_id","unknown_error","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","new","notifications","panel","register","render_once","render_once_to","routes","services","settings","sitekey","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","IndexPage","Notification","PAGE","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","from","heading","id","into","into","into","message","n","name","new","notifications","print_date","received","register","render_once","render_once_to","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Panel","borrow","borrow_mut","from","get_sitemap","home","into","new","notifications","settings","sitekey","try_from","try_into","type_id","vzip","IndexPage","PAGE","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","delete_account","email","from","from","from","from","into","into","into","into","register","register","register","render_once","render_once_to","routes","secret","services","settings","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","update_secret","username","vzip","vzip","vzip","vzip","Settings","borrow","borrow_mut","delete_account","from","get_sitemap","home","into","new","try_from","try_into","type_id","update_secret","vzip","add","delete","edit","list","routes","services","view","ADVANCE_INDEX","AdvanceIndexPage","EASY_INDEX","EasyIndexPage","PAGE","__private_field","__private_field","advance","avg_traffic","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic","clone","clone","clone_into","clone_into","default","default","deref","deref","easy","form_description","form_description","form_duration","form_title","form_title","from","from","from","from","from","from","into","into","into","into","into","into","levels","peak_sustainable_traffic","register","register","render_once","render_once","render_once_to","render_once_to","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","borrow","borrow_mut","delete_sitekey","from","into","register","try_from","try_into","type_id","vzip","AdvanceEditPage","EasyEditPage","PAGE","advance","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","duration","easy","form_title","from","from","from","from","into","into","into","into","key","key","levels","name","new","new","pattern","publish_benchmarks","register","register","render_once","render_once","render_once_to","render_once_to","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","from","from","into","into","list_sitekeys","new","register","render_once","render_once_to","sitekeys","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Sitekey","add_advance","add_easy","borrow","borrow_mut","delete","edit_advance","edit_easy","from","get_delete","get_edit_advance","get_edit_easy","get_sitemap","get_view","into","list","new","try_from","try_into","type_id","view","vzip","IndexPage","PAGE","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","duration","from","from","into","into","key","levels","name","new","publish_benchmarks","register","render_once","render_once_to","stats","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","view_sitekey","vzip","vzip","ROUTES","Routes","about","auth","borrow","borrow_mut","donate","errors","from","get_login_route","get_sitemap","home","into","new","panel","privacy","security","sitemap","thanks","try_from","try_into","type_id","vzip","INDEX","IndexPage","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","default","deref","domain","from","from","from","into","into","into","register","render_once","render_once_to","sitemap","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","urls","vzip","vzip","vzip","services","Captcha","DBType","DEPRECATED_ENV_VARS","Database","DefaultDifficultyStrategy","ENV_VAR_CONFIG","Maria","Postgres","Redis","Server","Settings","Smtp","Survey","allow_demo","allow_registration","avg_traffic_difficulty","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broke_my_site_traffic_difficulty","captcha","check_url","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","commercial","cookie_secret","database","database_type","debug","default_difficulty_strategy","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","domain","duration","enable_stats","env_override","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_url","gc","get_ip","instance_root_url","into","into","into","into","into","into","into","into","into","ip","new","nodes","password","peak_sustainable_traffic_difficulty","pool","pool","port","port","proxy_has_tls","queue_length","rate_limit","redis","reply","runners","salt","serialize","server","set_database_type","smtp","source_code","survey","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","url","url","url","url_prefix","username","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","FileMap","filemap","services","static_files","FileMap","borrow","borrow_mut","files","from","get","into","new","try_from","try_into","type_id","vzip","Asset","Favicons","assets","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","favicons","from","from","from","from","get","get","get","get","handle_assets","handle_favicons","into","into","into","into","iter","iter","iter","iter","register","register","static_files","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","BAR_CHART","CREDIT_CARD","DOCS_ICON","GITHUB","HELP_CIRCLE","HOME","Img","KEY","MCAPTCHA_TRANS_ICON","MESSAGE","SETTINGS_ICON","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","from","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","CaptchaStats","CloneStats","Dummy","Real","Stats","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","clone_stats","clone_stats","clone_stats","config_fetches","confirms","default","default","default","deserialize","eq","eq","eq","fetch","fetch","fetch","fmt","fmt","fmt","from","from","from","into","into","into","record_confirm","record_confirm","record_confirm","record_fetch","record_fetch","record_fetch","record_solve","record_solve","record_solve","serialize","solves","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","SecretsStore","Survey","SurveyClientTrait","app_ctx","borrow","borrow","borrow_mut","borrow_mut","client","clone","clone","clone_into","clone_into","default","fmt","from","from","get","into","into","is_online","is_online","new","register","register","rm","schedule_upload_job","schedule_upload_job","set","start_job","start_job","store","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","INDEX_PAGE","IndexPage","PAGE","WIDGET_ROUTES","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","deref","from","from","from","into","into","into","new","register","render_once","render_once_to","routes","services","show_widget","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Widget","borrow","borrow_mut","from","into","new","try_from","try_into","type_id","verification_widget","vzip"],"q":[[0,"mcaptcha"],[162,"mcaptcha::api"],[163,"mcaptcha::api::v1"],[186,"mcaptcha::api::v1::account"],[227,"mcaptcha::api::v1::account::delete"],[239,"mcaptcha::api::v1::account::delete::runners"],[240,"mcaptcha::api::v1::account::email"],[277,"mcaptcha::api::v1::account::password"],[319,"mcaptcha::api::v1::account::routes"],[337,"mcaptcha::api::v1::account::secret"],[358,"mcaptcha::api::v1::account::username"],[396,"mcaptcha::api::v1::account::username::runners"],[397,"mcaptcha::api::v1::auth"],[430,"mcaptcha::api::v1::auth::routes"],[444,"mcaptcha::api::v1::auth::runners"],[498,"mcaptcha::api::v1::mcaptcha"],[507,"mcaptcha::api::v1::mcaptcha::create"],[550,"mcaptcha::api::v1::mcaptcha::create::runner"],[551,"mcaptcha::api::v1::mcaptcha::delete"],[578,"mcaptcha::api::v1::mcaptcha::easy"],[639,"mcaptcha::api::v1::mcaptcha::easy::routes"],[651,"mcaptcha::api::v1::mcaptcha::get"],[694,"mcaptcha::api::v1::mcaptcha::routes"],[711,"mcaptcha::api::v1::mcaptcha::stats"],[738,"mcaptcha::api::v1::mcaptcha::stats::routes"],[749,"mcaptcha::api::v1::mcaptcha::update"],[786,"mcaptcha::api::v1::mcaptcha::update::runner"],[787,"mcaptcha::api::v1::meta"],[914,"mcaptcha::api::v1::meta::routes"],[926,"mcaptcha::api::v1::notifications"],[931,"mcaptcha::api::v1::notifications::add"],[961,"mcaptcha::api::v1::notifications::get"],[994,"mcaptcha::api::v1::notifications::mark_read"],[1016,"mcaptcha::api::v1::notifications::routes"],[1029,"mcaptcha::api::v1::pow"],[1035,"mcaptcha::api::v1::pow::get_config"],[1081,"mcaptcha::api::v1::pow::routes"],[1099,"mcaptcha::api::v1::pow::verify_pow"],[1146,"mcaptcha::api::v1::pow::verify_token"],[1190,"mcaptcha::api::v1::routes"],[1210,"mcaptcha::api::v1::stats"],[1375,"mcaptcha::api::v1::stats::routes"],[1397,"mcaptcha::api::v1::survey"],[1453,"mcaptcha::api::v1::survey::routes"],[1466,"mcaptcha::data"],[1510,"mcaptcha::date"],[1532,"mcaptcha::db"],[1535,"mcaptcha::db::maria"],[1536,"mcaptcha::db::pg"],[1537,"mcaptcha::demo"],[1554,"mcaptcha::docs"],[1602,"mcaptcha::docs::routes"],[1615,"mcaptcha::email"],[1616,"mcaptcha::email::verification"],[1634,"mcaptcha::errors"],[1745,"mcaptcha::pages"],[1753,"mcaptcha::pages::auth"],[1758,"mcaptcha::pages::auth::login"],[1795,"mcaptcha::pages::auth::register"],[1832,"mcaptcha::pages::auth::routes"],[1846,"mcaptcha::pages::auth::sudo"],[1864,"mcaptcha::pages::errors"],[1917,"mcaptcha::pages::errors::routes"],[1929,"mcaptcha::pages::panel"],[1961,"mcaptcha::pages::panel::notifications"],[2001,"mcaptcha::pages::panel::routes"],[2016,"mcaptcha::pages::panel::settings"],[2066,"mcaptcha::pages::panel::settings::routes"],[2080,"mcaptcha::pages::panel::sitekey"],[2087,"mcaptcha::pages::panel::sitekey::add"],[2169,"mcaptcha::pages::panel::sitekey::delete"],[2179,"mcaptcha::pages::panel::sitekey::edit"],[2238,"mcaptcha::pages::panel::sitekey::list"],[2265,"mcaptcha::pages::panel::sitekey::routes"],[2287,"mcaptcha::pages::panel::sitekey::view"],[2319,"mcaptcha::pages::routes"],[2342,"mcaptcha::pages::sitemap"],[2380,"mcaptcha::routes"],[2381,"mcaptcha::settings"],[2606,"mcaptcha::static_assets"],[2610,"mcaptcha::static_assets::filemap"],[2622,"mcaptcha::static_assets::static_files"],[2671,"mcaptcha::static_assets::static_files::assets"],[2782,"mcaptcha::stats"],[2849,"mcaptcha::survey"],[2891,"mcaptcha::widget"],[2931,"mcaptcha::widget::routes"],[2942,"alloc::string"],[2943,"actix_identity::cookie"],[2944,"actix_identity::middleware"],[2945,"actix_web::types::json"],[2946,"std::io::error"],[2947,"core::result"],[2948,"core::any"],[2949,"serde::de"],[2950,"actix_auth_middleware"],[2951,"actix_web::config"],[2952,"core::fmt"],[2953,"core::fmt"],[2954,"actix_web::config"],[2955,"db_core"],[2956,"libmcaptcha::defense"],[2957,"alloc::vec"],[2958,"derive_builder::error"],[2959,"db_core"],[2960,"argon2_creds::config"],[2961,"lettre::executor"],[2962,"lettre::transport::smtp::async_transport"],[2963,"libmcaptcha::pow"],[2964,"libmcaptcha::errors"],[2965,"alloc::sync"],[2966,"actix::address"],[2967,"libmcaptcha::system"],[2968,"libmcaptcha::master"],[2969,"libmcaptcha::cache"],[2970,"libmcaptcha::master::messages"],[2971,"libmcaptcha::pow"],[2972,"db_core"],[2973,"core::time"],[2974,"tokio::runtime::task::join"],[2975,"rust_embed_utils"],[2976,"actix_web::response::response"],[2977,"core::iter::traits::iterator"],[2978,"rust_embed"],[2979,"sailfish::runtime::render"],[2980,"sailfish::runtime::buffer"],[2981,"sailfish::runtime::render"],[2982,"url::parser"],[2983,"lettre::transport::smtp::error"],[2984,"tokio::sync::oneshot::error"],[2985,"argon2_creds::errors"],[2986,"validator::types"],[2987,"libmcaptcha::errors"],[2988,"http::status"],[2989,"core::fmt"],[2990,"db_core"],[2991,"config::builder"],[2992,"config::error"],[2993,"alloc::alloc"],[2994,"core::future::future"],[2995,"core::pin"]],"d":["","","","","","","","","","App data","","","","","","","","","","","","","","","","","points to source files matching build commit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mCaptcha system: Redis cache, etc.","","","credential management configuration","App data: redis cache, database connections, etc.","","","","database ops defined by db crates","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","email client","","","","","","","","","app settings","","","","","stats recorder","","","survey secret store","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","User facing CAPTCHA widget","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","update email","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","update username","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","returns Ok(()) when everything checks out and the user is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","User’s traffic pattern; used in generating a captcha …","","average traffic of user’s website","","","","","","","","","traffic that bought the user’s website down; optional","","","","","","","","Captcha description","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","the peak traffic that the user’s website can handle","publish benchmarks","","","","","","","","","","","","","","","","","","","","","","","","","","","","","easy is using defaults","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Builder for BuildDetails.","Error type for BuildDetailsBuilder","Health check return datatype","Builder for Health.","Error type for HealthBuilder","Uninitialized field","Uninitialized field","Custom validation error","Custom validation error","","","","","","","","","","","","","","","","","Builds a new BuildDetails.","Builds a new Health.","emits build details of the bninary","","","","","","","","","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","checks all components of the system","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","route handler that adds a notification message","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","route handler that gets all unread notifications","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","route handler that marks a notification read","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","PoW Verification module","PoW success token module","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","get PoW configuration for an mcaptcha key","Call this when MCaptcha is not in master.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","remove scope for $name route","","Calls U::from(self).","","","","","","","remove scope for $name route","","remove scope for $name route","","","","validation token that clients receive as proof for …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","route handler that verifies PoW and issues a solution token","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","route handler that validates a PoW solution token","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","Builder for BuildDetails.","Error type for BuildDetailsBuilder","Health check return datatype","Builder for PercentileReq.","Error type for PercentileReqBuilder","Health check return datatype","Builder for PercentileResp.","Error type for PercentileRespBuilder","Uninitialized field","Uninitialized field","Uninitialized field","Custom validation error","Custom validation error","Custom validation error","","","","","","","","","","","","","","","","","","","","","Builds a new BuildDetails.","Builds a new PercentileReq.","Builds a new PercentileResp.","","","","","","","","","","","","","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","Create an empty builder, with all fields set to None or …","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","Get difficulty factor with max time limit for percentile …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","emits build details of the bninary","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","mCaptcha/survey upload secret route","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","App data","","Mailer data type AsyncSmtpTransport","","Represents mCaptcha cache and master system. When Redis is …","","","","","","mCaptcha system: Redis cache, etc.","credential management configuration","database ops defined by db crates","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","email client","","create new instance of app data","","","","","app settings","stats recorder","survey secret store","","","","","","","","","","","","","","","","","","","","","print date","","","Returns the argument unchanged.","Calls U::from(self).","","print relative time from date","","","","","","","","","","","","Demo password","Demo username","","","","","","Returns the argument unchanged.","","Calls U::from(self).","register demo user runner","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get an embedded file and its metadata.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","Email operations: verification, notification, etc","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","when the value passed contains blacklisted words see …","","captcha not found","","","","email is already taken","Contains the error value","Contains the error value","","","","","","Contains the success value","Contains the success value","","","","","","when the value passed contains profainity","","","","","token not found","Traffic pattern not found","Unable to send email","when the value passed contains characters not present in …","","when the a username is already taken","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","notifications","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","render a list of all sitekeys that a user has","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","route handler that renders individual views for sitekeys","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Get an embedded file and its metadata.","","","Get an embedded file and its metadata.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Iterates over the file paths in the folder.","","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Trait to clone MCDatabase","","","","","","","","","","","","","","","","clone DB","","","","","","","","","","","","fetch stats","fetch stats","fetch stats","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig confirms","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig fetches","record PoWConfig solves","record PoWConfig solves","record PoWConfig solves","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","widget services","render a client side widget for CAPTCHA verification","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,241,242,243,244,245,246,247,248,249,250,1,3,5,7,8,9,10,11,262,2,2,0,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,40,2,2,40,0,2,0,0,40,2,0,1,3,5,7,8,9,10,11,0,0,0,1,3,5,7,8,9,10,11,0,0,1,3,5,7,8,9,10,11,40,0,0,262,262,2,0,2,0,40,2,2,0,0,40,0,2,40,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,1,3,5,7,8,9,10,11,0,0,0,0,0,0,20,20,20,20,0,20,0,0,0,0,20,0,0,0,0,20,20,20,20,0,0,0,25,26,25,26,25,26,25,26,0,25,26,0,26,25,26,25,26,25,26,0,0,0,0,25,26,0,25,26,25,26,25,26,25,26,0,25,25,26,30,30,0,30,30,30,0,0,30,30,30,30,0,0,34,35,36,34,35,36,34,34,34,34,0,34,34,35,36,34,35,36,35,36,34,0,0,34,34,35,36,34,35,36,34,35,36,34,35,36,0,0,38,37,39,38,37,39,37,37,38,37,37,37,38,38,37,39,38,37,39,38,37,37,39,37,0,37,38,37,39,38,37,39,38,37,39,0,0,38,37,39,0,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,42,43,42,43,42,43,0,42,43,42,43,0,42,43,42,43,42,43,0,42,43,0,45,44,46,45,44,46,44,44,44,44,45,44,46,45,44,46,45,46,0,44,0,0,44,45,44,46,45,44,46,45,44,46,44,0,45,44,46,0,47,48,49,47,48,49,47,48,49,47,48,49,0,0,47,48,49,0,0,0,0,47,48,49,47,48,49,47,48,49,47,48,49,0,50,50,50,50,50,50,50,50,50,50,50,50,50,0,0,0,52,53,54,52,53,54,52,53,54,52,53,54,52,52,53,54,52,52,53,54,52,53,54,52,53,54,53,0,52,53,54,0,52,53,54,52,53,54,52,53,54,52,53,54,52,53,54,52,52,53,54,0,0,0,0,0,0,0,0,0,0,0,57,56,58,57,56,58,56,56,0,57,57,56,57,56,57,56,58,57,56,58,56,57,56,57,58,0,57,56,56,57,56,58,57,56,58,57,56,58,57,56,58,0,0,59,60,59,60,59,59,0,59,59,59,60,59,60,59,59,60,59,59,59,60,59,60,59,60,59,60,0,0,65,65,67,66,68,65,67,66,68,65,0,65,66,65,66,0,65,65,65,66,65,66,65,67,66,68,65,67,66,68,66,66,65,65,67,68,0,65,66,0,65,66,65,67,66,68,65,67,66,68,65,67,66,68,0,65,67,66,68,0,69,69,69,69,69,69,69,69,69,69,69,0,0,72,70,71,72,70,71,70,71,70,71,70,71,71,70,71,72,70,71,0,72,70,71,70,72,70,71,70,71,72,70,71,72,70,71,72,70,71,71,72,70,71,0,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,0,74,75,74,75,74,74,74,74,74,75,0,74,75,74,75,0,74,74,74,75,74,75,74,75,74,75,0,76,76,76,76,76,76,76,76,76,76,0,78,77,79,78,77,79,77,77,77,78,77,79,78,77,79,77,77,77,78,79,0,77,78,77,79,78,77,79,78,77,79,0,0,78,77,79,0,0,0,0,0,0,0,82,85,82,85,81,80,82,88,84,83,85,89,81,80,82,88,84,83,85,89,80,83,0,81,80,84,83,81,80,84,83,80,83,83,84,83,80,83,81,84,81,82,82,84,85,85,81,80,82,82,82,88,84,83,85,85,85,89,80,81,80,0,81,80,82,88,84,83,85,89,84,83,84,83,88,89,0,81,84,0,81,80,84,83,82,85,81,80,82,88,84,83,85,89,81,80,82,88,84,83,85,89,81,80,82,88,84,83,85,89,80,81,80,81,80,82,88,84,83,85,89,0,90,90,90,90,90,90,90,90,90,90,90,0,0,0,0,0,0,0,91,92,91,92,91,91,91,91,91,91,91,92,91,91,92,91,92,91,91,91,91,92,91,92,91,92,91,92,0,93,95,93,95,93,93,93,93,93,93,93,95,93,0,93,93,93,95,93,93,93,95,93,93,93,95,93,95,93,95,93,95,0,96,97,96,97,96,96,97,96,96,97,0,97,96,96,97,96,97,96,97,96,97,0,98,98,98,98,98,98,98,98,98,98,98,98,0,0,0,0,0,0,0,0,99,100,101,99,100,101,99,100,99,100,99,100,100,99,100,99,100,101,0,0,99,100,101,99,100,101,100,99,100,100,99,100,99,100,101,99,100,101,99,100,101,99,100,101,0,102,102,102,102,102,102,102,0,102,102,102,102,102,102,102,102,102,0,0,103,104,105,103,104,105,103,104,103,104,103,104,103,104,103,104,105,103,104,105,104,104,105,104,103,104,104,104,103,104,103,103,104,105,103,104,105,103,104,105,0,103,104,105,104,0,0,106,107,108,106,107,108,106,107,106,107,106,107,106,107,106,107,108,106,107,108,107,108,107,106,107,106,107,107,106,107,108,106,107,108,106,107,108,106,0,106,107,108,0,0,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,0,0,0,0,0,0,0,0,0,111,114,117,111,114,117,110,109,111,120,113,112,114,116,115,117,110,109,111,120,113,112,114,116,115,117,109,112,115,110,109,113,112,116,115,110,109,113,112,116,115,109,112,115,109,112,115,110,113,116,115,116,115,110,111,111,113,114,114,116,117,117,110,109,111,111,111,120,113,112,114,114,114,116,115,117,117,117,109,110,109,110,109,111,120,113,112,114,116,115,117,112,113,112,0,120,0,110,113,116,0,112,113,112,110,109,113,112,116,115,111,114,117,110,109,111,120,113,112,114,116,115,117,110,109,111,120,113,112,114,116,115,117,110,109,111,120,113,112,114,116,115,117,109,110,109,110,109,111,120,113,112,114,116,115,117,0,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,0,0,123,122,124,123,125,122,124,123,125,122,122,122,123,0,122,122,122,122,122,122,122,124,123,125,122,124,123,125,122,124,125,0,0,123,122,123,0,122,122,124,123,125,122,124,123,125,122,124,123,125,122,124,123,125,0,126,126,126,126,126,126,126,126,126,126,126,126,0,127,0,127,0,127,127,40,127,40,40,40,40,0,0,127,40,40,40,127,263,127,40,40,127,40,127,40,127,127,40,40,40,127,40,127,40,127,40,40,127,127,127,40,0,0,0,0,0,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144,0,0,0,0,0,0,0,0,149,149,149,149,149,149,149,149,149,149,149,149,149,149,0,0,0,264,156,157,158,264,156,157,158,0,264,156,157,158,264,264,0,0,264,156,157,158,264,264,156,157,158,0,0,0,264,156,157,158,264,156,157,158,264,156,157,158,264,156,157,158,0,159,159,159,159,159,159,159,159,159,159,159,159,0,0,0,160,160,160,160,160,160,160,160,160,160,160,160,160,0,160,160,33,33,33,33,33,33,0,33,265,266,0,33,167,33,33,265,266,0,0,33,33,33,33,0,167,0,0,33,33,33,33,33,33,33,165,166,33,164,167,165,166,33,164,167,164,165,166,33,167,164,33,167,165,165,166,166,33,33,167,167,165,166,33,33,33,33,33,33,33,33,33,164,167,167,167,165,166,33,164,167,164,165,166,33,167,33,167,165,166,33,167,165,166,33,164,167,165,166,33,164,167,165,166,33,164,167,165,166,33,164,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,180,179,180,181,179,180,181,179,179,179,180,179,180,181,179,180,181,0,181,179,179,179,179,180,181,179,180,181,179,180,181,179,180,181,0,0,0,183,182,183,184,182,183,184,182,182,182,183,182,183,184,182,183,184,0,184,182,182,182,182,183,184,182,183,184,182,183,184,182,183,184,0,185,185,185,185,185,185,185,185,185,185,185,185,185,0,0,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,0,0,0,0,0,192,193,191,192,193,194,191,192,193,194,191,191,192,193,0,191,192,193,194,191,192,193,194,191,191,194,191,191,0,0,191,191,191,192,193,194,191,192,193,194,191,192,193,194,191,192,193,194,0,195,195,195,195,195,195,195,195,195,195,195,0,0,196,198,196,198,196,196,196,198,196,198,196,0,0,198,196,196,0,0,0,0,196,196,196,198,196,198,196,198,196,198,0,0,0,199,200,201,199,200,201,199,199,200,201,199,199,199,200,201,199,200,199,200,0,199,199,201,200,200,199,200,201,199,200,201,199,200,201,199,200,201,0,202,202,202,202,202,202,202,202,202,202,202,202,202,202,0,0,203,204,205,206,203,204,205,206,203,203,0,203,203,204,205,206,203,204,205,206,204,205,206,203,203,0,203,0,0,203,203,204,205,206,203,204,205,206,203,204,205,206,0,203,203,204,205,206,0,207,207,207,207,207,207,207,207,207,207,207,207,207,0,0,0,0,0,0,0,0,0,0,0,0,210,211,0,209,210,211,208,212,209,213,210,211,208,212,209,213,209,208,209,208,209,208,209,210,211,0,208,209,208,208,209,210,211,208,212,209,213,210,211,208,212,209,213,208,209,212,213,208,209,208,209,208,209,210,211,208,212,209,213,210,211,208,212,209,213,210,211,208,212,209,213,210,211,208,212,209,213,214,214,0,214,214,214,214,214,214,214,0,0,0,0,215,217,216,218,215,217,216,218,215,216,215,216,215,0,216,215,217,216,218,215,217,216,218,215,216,215,215,215,216,216,215,217,218,215,216,215,216,215,216,215,217,216,218,215,217,216,218,215,217,216,218,215,217,216,218,0,0,219,220,219,220,219,219,219,220,219,220,0,219,220,219,219,219,219,219,220,219,220,219,220,219,220,0,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,0,0,222,224,222,224,222,222,222,222,224,222,224,222,222,222,222,222,224,222,222,222,222,222,224,222,224,222,224,0,222,224,0,0,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,0,0,226,225,226,227,225,226,227,225,225,225,226,225,225,226,227,225,226,227,227,225,225,0,225,225,226,227,225,226,227,225,226,227,225,225,226,227,0,0,0,0,0,0,0,231,231,0,0,0,0,0,2,2,62,228,229,62,230,231,232,233,234,2,228,229,62,230,231,232,233,234,2,62,2,2,228,229,62,230,231,232,233,234,2,228,229,62,230,231,232,233,234,2,2,228,2,232,2,229,228,229,62,230,231,232,233,234,2,228,62,229,2,228,229,62,230,231,232,233,234,2,228,228,228,228,229,229,229,229,62,62,62,62,230,230,230,230,231,231,231,231,232,232,232,232,233,233,233,233,234,234,234,234,2,2,2,2,228,229,62,230,231,231,232,233,234,2,228,229,62,230,231,232,233,234,2,230,231,229,228,234,228,229,62,230,231,232,233,234,2,228,2,234,230,62,232,233,228,230,228,229,234,2,230,229,229,231,2,2,2,2,2,228,229,62,230,231,232,233,234,2,231,228,229,62,230,231,232,233,234,2,228,229,62,230,231,232,233,234,2,228,229,62,230,231,232,233,234,2,230,232,233,228,230,228,229,62,230,231,232,233,234,2,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,267,239,268,240,267,239,268,240,0,267,239,268,240,267,267,268,268,0,0,267,239,268,240,267,267,268,268,239,240,0,267,239,268,240,267,239,268,240,267,239,268,240,267,239,268,240,0,0,0,0,0,0,0,0,0,0,0,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,241,242,243,244,245,246,247,248,249,250,0,0,0,0,0,223,251,252,223,251,252,223,251,252,223,251,252,269,251,252,223,223,223,251,252,223,223,251,252,253,251,252,223,251,252,223,251,252,223,251,252,253,251,252,253,251,252,253,251,252,223,223,223,251,252,223,251,252,223,251,252,223,251,252,223,251,252,0,0,0,257,134,257,134,257,257,134,257,134,257,134,134,134,257,134,134,257,270,257,257,270,257,134,270,257,134,270,257,134,134,257,134,257,134,257,134,257,134,257,0,0,0,0,259,258,259,260,258,259,260,258,258,259,258,259,260,258,259,260,258,260,258,258,0,0,0,258,258,259,260,258,259,260,258,259,260,258,259,260,0,261,261,261,261,261,261,261,261,261,261],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,[1,2],[3,4],[5,6],[7,6],[8,6],[9,6],[10,6],[11,12],0,0,0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[2,[[14,[13]]]],[[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[17,[16]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[20]]],21],[-1,-1,[]],[[],[[23,[22]]]],[-1,-2,[],[]],0,0,0,0,0,0,[24,16],0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25,25],[26,26],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],0,[-1,[[18,[25]]],21],[-1,[[18,[26]]],21],0,0,[[25,27],28],[[26,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[[25,-1],18,29],[[26,-1],18,29],[24,16],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[-1,-2,[],[]],[[30,31],16],0,[24,16],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],[[6,32],[[18,[16,33]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[34,34],[[-1,-2],16,[],[]],[-1,[[18,[34]]],21],0,0,[[34,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[35,31],16],[[36,31],16],[[34,-1],18,29],[24,16],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[37,37],[[-1,-2],16,[],[]],0,0,[-1,[[18,[37]]],21],[[37,27],28],[-1,-1,[]],[37,38],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[39,31],16],[[37,-1],18,29],[24,16],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[[6,38,40],[[18,[16,33]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-1,[]],0,[-1,-2,[],[]],[[],41],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[42,31],16],[[43,31],16],[24,16],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[44,44],[[-1,-2],16,[],[]],[-1,[[18,[44]]],21],[[44,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[45,31],16],[[46,31],16],0,[[44,-1],18,29],[24,16],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[25,32],[[18,[26,33]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[47,31],16],[[48,31],16],[[49,31],16],0,0,[24,16],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[[50,[51,[6]]],12],[-1,-2,[],[]],0,0,[[],50],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[52,52],[53,53],[54,54],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],0,[-1,[[18,[52]]],21],[-1,[[18,[53]]],21],[-1,[[18,[54]]],21],0,[[52,27],28],[[53,27],28],[[54,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[53,32],[[18,[12,33]]]],0,0,0,[[52,32],[[18,[16,33]]]],[[52,-1],18,29],[[53,-1],18,29],[[54,-1],18,29],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[55,12],0,[24,16],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[56,56],[[-1,-2],16,[],[]],0,0,[-1,[[18,[57]]],21],[-1,[[18,[56]]],21],0,[[56,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[[58,31],16],0,[[57,-1],18,29],[[56,-1],18,29],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[57,32,6],[[18,[56,33]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[59,59],[[-1,-2],16,[],[]],0,[-1,[[18,[59]]],21],[[59,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[60,31],16],[[59,-1],18,29],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[61,62],[[18,[[64,[63]],33]]]],[65,65],[66,66],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],0,[[],65],0,[-1,[[18,[65]]],21],[-1,[[18,[66]]],21],[[65,27],28],[[66,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[[67,31],16],[[68,31],16],0,[[65,-1],18,29],[[66,-1],18,29],[24,16],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[-1,-2,[],[]],[[],69],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[70,70],[71,71],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[18,[70]]],21],[-1,[[18,[71]]],21],0,[[70,27],28],[[71,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[72,31],16],[[70,-1],18,29],[[71,-1],18,29],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-1,[]],0,[-1,-2,[],[]],[[],73],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,0,[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[74,74],[[-1,-2],16,[],[]],[-1,[[18,[74]]],21],[[74,27],28],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[75,31],16],0,[[74,-1],18,29],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],0,[-1,-2,[],[]],[[],76],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[18,[77]]],21],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[78,31],16],[[79,31],16],0,[[77,-1],18,29],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[77,32,6],[[18,[16,33]]]],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[80,[[18,[81,82]]]],[83,[[18,[84,85]]]],0,[81,81],[80,80],[84,84],[83,83],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[],80],[[],83],[[83,86],83],0,0,[[],80],[[],83],[-1,[[18,[81]]],21],[-1,[[18,[84]]],21],[[81,27],28],[[82,27],28],[[82,27],28],[[84,27],28],[[85,27],28],[[85,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[12,82],[87,82],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[87,85],[12,85],[-1,-1,[]],[-1,-1,[]],[[80,6],80],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[51,[86]]],86],[[83,[51,[86]]],83],0,0,[[88,31],16],[[89,31],16],0,[[81,-1],18,29],[[84,-1],18,29],[24,16],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,12,[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[[80,6],80],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],0,[-1,-2,[],[]],[[],90],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,0,[24,16],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[91,91],[[-1,-2],16,[],[]],[[],91],[-1,[[18,[91]]],21],[[91,91],86],[[91,27],28],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[92,31],16],[[91,-1],18,29],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[93,93],[[-1,-2],16,[],[]],[[],93],[-1,[[18,[93]]],21],[[93,93],86],[-1,-1,[]],[94,93],[-1,-1,[]],[[[64,[94]]],[[64,[93]]]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[95,31],16],[[93,-1],18,29],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[96]]],21],[-1,-1,[]],[-1,-1,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[[97,31],16],[[96,-1],18,29],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],0,[-1,-2,[],[]],0,[[],98],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[24,16],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[99,99],[100,100],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[18,[99]]],21],[-1,[[18,[100]]],21],0,[[99,27],28],[[100,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[[32,6],[[18,[16,33]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[101,31],16],0,[[99,-1],18,29],[[100,-1],18,29],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[102,6],0,[-1,-2,[],[]],[[],102],0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[102,6],0,[102,6],0,[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[103,103],[104,104],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[18,[103]]],21],[-1,[[18,[104]]],21],[[103,27],28],[[104,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[105,31],16],0,[[103,-1],18,29],[[104,-1],18,29],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[106,106],[107,107],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[18,[106]]],21],[-1,[[18,[107]]],21],[[106,27],28],[[107,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[108,31],16],0,[[106,-1],18,29],[[107,-1],18,29],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[[22,[51,[6]]],12],[-1,-2,[],[]],0,[[],22],0,0,0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[109,[[18,[110,111]]]],[112,[[18,[113,114]]]],[115,[[18,[116,117]]]],[110,110],[109,109],[113,113],[112,112],[116,116],[115,115],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[],109],[[],112],[[],115],[[],109],[[],112],[[],115],[-1,[[18,[110]]],21],[-1,[[18,[113]]],21],[-1,[[18,[116]]],21],[[115,[51,[118]]],115],0,0,[[110,27],28],[[111,27],28],[[111,27],28],[[113,27],28],[[114,27],28],[[114,27],28],[[116,27],28],[[117,27],28],[[117,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[12,111],[87,111],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[87,114],[12,114],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[12,117],[87,117],[[109,6],109],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[112,119],112],0,0,0,[[120,31],16],0,[[110,-1],18,29],[[113,-1],18,29],[[116,-1],18,29],[24,16],[[112,118],112],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[[109,6],109],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[121,121],[[-1,-2],16,[],[]],[-1,[[18,[121]]],21],[[121,121],86],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[121,27],28],[-1,-1,[]],[-1,-2,[],[]],[[],121],0,[[121,-1],18,29],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[122,122],[[-1,-2],16,[],[]],[-1,[[18,[122]]],21],[-1,[[18,[123]]],21],0,[[122,122],86],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[122,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[124,31],16],[[125,31],16],0,0,0,[[122,-1],18,29],[[123,-1],18,29],[24,16],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[[126,6,55],12],[-1,-2,[],[]],[[],126],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,0,0,[[127,128],[[18,[16,33]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-1,[]],[-1,-1,[]],[[],129],[2,[[51,[[131,[130]]]]]],[[127,12],[[133,[[51,[132]]]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[2,127],[[2,134],[[135,[40]]]],[[2,[136,[-1]],[136,[-2]]],[[137,[-2,-1]]],138,139],[40,[[18,[16,33]]]],[[127,140],[[18,[16,33]]]],[[127,141],[[18,[16,33]]]],0,0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[40,[[18,[16,33]]]],[[127,142],[[133,[86]]]],[[127,143,12],[[133,[[16,[12,118]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[144,144],[[-1,-2],16,[],[]],[144,12],[[144,27],28],[145,12],[-1,-1,[]],[-1,-2,[],[]],[146,144],[144,12],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[[[51,[2]]],[[148,[147]]]],[[[51,[2]]],[[148,[147]]]],0,0,0,[149,16],[-1,-2,[],[]],[-1,-2,[],[]],[32,[[18,[16,33]]]],[-1,-1,[]],0,[-1,-2,[],[]],[32,[[18,[16,33]]]],[[32,150],[[18,[[151,[16]],33]]]],[[32,150],[[18,[149,33]]]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[6,[[51,[152]]]],[6,[[51,[152]]]],[6,153],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],[[0,[154]]]],[[],155],[[156,31],16],[[157,31],16],[[158,31],16],0,[24,16],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],0,[-1,-2,[],[]],[[],159],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[160,160],[[-1,-2],16,[],[]],[-1,-1,[]],[-1,-2,[],[]],[6,160],[160,161],[[160,162],[[18,[16,163]]]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[[40,6,6],[[18,[16,33]]]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[164]]],21],[[165,165],86],[[166,166],86],[[33,33],86],[[167,167],86],0,[33,153],[167,153],[[165,27],28],[[165,27],28],[[166,27],28],[[166,27],28],[[33,27],28],[[33,27],28],[[167,27],28],[[167,27],28],[-1,-1,[]],[-1,-1,[]],[168,33],[169,33],[170,33],[171,33],[172,33],[-1,-1,[]],[173,33],[174,33],[175,33],[-1,-1,[]],[169,167],[-1,-1,[]],[33,167],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[164,-1],18,29],[165,[[51,[176]]]],[166,[[51,[176]]]],[33,[[51,[176]]]],[167,[[51,[176]]]],[33,177],[167,177],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,12,[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[],[[23,[178]]]],0,0,[24,16],0,0,0,0,[24,16],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[179,179],[[-1,-2],16,[],[]],[[],179],[180,12],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[181,31],16],[179,161],[[179,162],[[18,[16,163]]]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[182,182],[[-1,-2],16,[],[]],[[],182],[183,12],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[184,31],16],[182,161],[[182,162],[[18,[16,163]]]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[[185,[51,[6]]],12],[[],[[186,[6]]]],[-1,-2,[],[]],0,0,[[],185],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[[[187,[-1,-2]]],[[187,[-1,-2]]],[188,189,190],[188,189,190]],[[-1,-2],16,[],[]],0,[-1,-1,[]],[-1,-2,[],[]],[[6,[51,[[64,[[16,[-1,-2]]]]]]],[[187,[-1,-2]]],[188,189],[188,189]],[[[187,[-1,-2]]],161,[188,189],[188,189]],[[[187,[-1,-2]],162],[[18,[16,163]]],[188,189],[188,189]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,[-1,-2,[],[]],0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[191,191],[[-1,-2],16,[],[]],[192,12],[193,12],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[6,6],191],[[194,31],16],[191,161],[[191,162],[[18,[16,163]]]],0,[24,16],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],0,[-1,-2,[],[]],[[],195],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[196,196],[[-1,-2],16,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[64,[197]]],196],0,0,[[198,31],16],[196,161],[[196,162],[[18,[16,163]]]],0,[24,16],0,0,0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[94,199],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[[64,[199]]],200],0,[199,12],0,[[201,31],16],[200,161],[[200,162],[[18,[16,163]]]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[[],[[186,[6]]]],0,[-1,-2,[],[]],[[],202],0,0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[203,203],[[-1,-2],16,[],[]],0,0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[204,31],16],[[205,31],16],[[206,31],16],[203,161],[[203,162],[[18,[16,163]]]],0,0,[24,16],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[[],[[186,[6]]]],0,[-1,-2,[],[]],[[],207],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,[-1,-2,[],[]],0,0,0,0,0,[24,16],0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[208,208],[209,209],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[],208],[[],209],[210,12],[211,12],0,0,0,0,0,0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[212,31],16],[[213,31],16],[208,161],[209,161],[[208,162],[[18,[16,163]]]],[[209,162],[[18,[16,163]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[-1,-2,[],[]],[[214,31],16],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[215,215],[216,216],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],0,0,0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[[197,[64,[63]],12,86],215],[[12,65],216],0,0,[[217,31],16],[[218,31],16],[215,161],[216,161],[[215,162],[[18,[16,163]]]],[[216,162],[[18,[16,163]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[219,219],[[-1,-2],16,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[64,[197]]],219],[[220,31],16],[219,161],[[219,162],[[18,[16,163]]]],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-1,[]],[[221,6],12],[[221,6],12],[[221,6],12],[[],[[186,[6]]]],[[221,6],12],[-1,-2,[],[]],0,[[],221],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[222,222],[[-1,-2],16,[],[]],0,[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[[223,197,[64,[63]],12,86],222],0,[[224,31],16],[222,161],[[222,162],[[18,[16,163]]]],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,0,[-1,-1,[]],[[178,[51,[6]]],12],[[],[[186,[6]]]],0,[-1,-2,[],[]],[[],178],0,0,0,0,0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[225,225],[[-1,-2],16,[],[]],[[],225],[226,12],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[227,31],16],[225,161],[[225,162],[[18,[16,163]]]],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[24,16],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[2,16],[228,228],[229,229],[62,62],[230,230],[231,231],[232,232],[233,233],[234,234],[2,2],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],0,0,0,0,0,0,[-1,[[18,[228]]],21],[-1,[[18,[229]]],21],[-1,[[18,[62]]],21],[-1,[[18,[230]]],21],[-1,[[18,[231]]],21],[-1,[[18,[232]]],21],[-1,[[18,[233]]],21],[-1,[[18,[234]]],21],[-1,[[18,[2]]],21],0,0,0,[[[236,[235]]],[[236,[235]]]],[[228,228],86],[[229,229],86],[[62,62],86],[[230,230],86],[[231,231],86],[[232,232],86],[[233,233],86],[[234,234],86],[[2,2],86],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[-1,-2],86,[],[]],[[228,27],28],[[229,27],28],[[62,27],28],[[230,27],28],[[231,27],28],[[231,27],28],[[232,27],28],[[233,27],28],[[234,27],28],[[2,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,[237,[[18,[231,238]]]],0,[228,12],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[],[[18,[2,238]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[231,-1],18,29],0,[2,16],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,12,[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[24,16],0,0,[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[[4,6],[[51,[6]]]],[-1,-2,[],[]],[[],4],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[6,[[51,[152]]]],[6,[[51,[152]]]],[6,[[51,[152]]]],[6,[[51,[152]]]],[6,153],[6,153],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],[[0,[154]]]],[[],155],[[],[[0,[154]]]],[[],155],[[239,31],16],[[240,31],16],0,[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[241,[[16,[6,6]]]],[242,[[16,[6,6]]]],[243,[[16,[6,6]]]],[244,[[16,[6,6]]]],[245,[[16,[6,6]]]],[246,[[16,[6,6]]]],[247,[[16,[6,6]]]],[248,[[16,[6,6]]]],[249,[[16,[6,6]]]],[250,[[16,[6,6]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[223,223],[251,251],[252,252],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[-1,[[148,[253]]],[]],[-1,[[148,[253,254]]],[]],[-1,[[148,[253,254]]],[]],0,0,[[],223],[[],251],[[],252],[-1,[[18,[223]]],21],[[223,223],86],[[251,251],86],[[252,252],86],[[-1,40,6,6],[[256,[[148,[255]]]]],[]],[[251,40,6,6],[[256,[[148,[255]]]]]],[[252,40,6,6],[[256,[[148,[255]]]]]],[[223,27],28],[[251,27],28],[[252,27],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,40,6],[[256,[[148,[255]]]]],[]],[[251,40,6],[[256,[[148,[255]]]]]],[[252,40,6],[[256,[[148,[255]]]]]],[[-1,40,6],[[256,[[148,[255]]]]],[]],[[251,40,6],[[256,[[148,[255]]]]]],[[252,40,6],[[256,[[148,[255]]]]]],[[-1,40,6],[[256,[[148,[255]]]]],[]],[[251,40,6],[[256,[[148,[255]]]]]],[[252,40,6],[[256,[[148,[255]]]]]],[[223,-1],18,29],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[134,134],[257,257],[[-1,-2],16,[],[]],[[-1,-2],16,[],[]],[[],134],[[134,27],28],[-1,-1,[]],[-1,-1,[]],[[134,6],[[51,[12]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[256,[[148,[255]]]]],[]],[257,[[256,[[148,[255]]]]]],[32,257],[-1,[[256,[[148,[255]]]]],[]],[257,[[256,[[148,[255]]]]]],[[134,6],16],[-1,[[256,[[148,[255]]]]],[]],[257,[[256,[[148,[255]]]]]],[[134,12,12],16],[-1,[[256,[[148,[255]]]]],[]],[257,[[256,[[148,[255]]]]]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[258,258],[[-1,-2],16,[],[]],[259,12],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],258],[[260,31],16],[258,161],[[258,162],[[18,[16,163]]]],0,[24,16],0,[-1,-2,[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],[-1,19,[]],[-1,19,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[[],261],[-1,[[18,[-2]]],[],[]],[-1,[[18,[-2]]],[],[]],[-1,19,[]],0,[-1,-2,[],[]]],"c":[],"p":[[3,"SETTINGS",0],[3,"Settings",2381],[3,"FILES",0],[3,"FileMap",2610],[3,"JS",0],[15,"str"],[3,"CSS",0],[3,"MOBILE_CSS",0],[3,"VERIFICATIN_WIDGET_JS",0],[3,"VERIFICATIN_WIDGET_CSS",0],[3,"SOURCE_FILES_OF_INSTANCE",0],[3,"String",2942],[3,"CookieIdentityPolicy",2943],[3,"IdentityService",2944],[3,"JsonConfig",2945],[15,"tuple"],[6,"Result",2946],[4,"Result",2947],[3,"TypeId",2948],[3,"RedirectQuery",163],[8,"Deserializer",2949],[3,"Routes",1190],[3,"Authentication",2950],[3,"ServiceConfig",2951],[3,"AccountCheckPayload",186],[3,"AccountCheckResp",186],[3,"Formatter",2952],[6,"Result",2952],[8,"Serializer",2953],[3,"delete_account",227],[3,"AppService",2951],[6,"AppData",0],[4,"ServiceError",1634],[3,"Email",240],[3,"email_exists",240],[3,"set_email",240],[3,"ChangePasswordReqest",277],[3,"UpdatePassword",277],[3,"update_user_password",277],[3,"Data",1466],[3,"Account",319],[3,"get_secret",337],[3,"update_user_secret",337],[3,"Username",358],[3,"username_exists",358],[3,"set_username",358],[3,"register",397],[3,"login",397],[3,"signout",397],[3,"Auth",430],[4,"Option",2954],[3,"Register",444],[3,"Login",444],[3,"Password",444],[15,"usize"],[3,"MCaptchaDetails",507],[3,"CreateCaptcha",507],[3,"create",507],[3,"DeleteCaptcha",551],[3,"delete",551],[3,"TrafficPattern",2955],[3,"DefaultDifficultyStrategy",2381],[3,"Level",2956],[3,"Vec",2957],[3,"TrafficPatternRequest",578],[3,"UpdateTrafficPattern",578],[3,"create",578],[3,"update",578],[3,"Easy",639],[3,"Levels",651],[3,"I32Levels",651],[3,"get_captcha",651],[3,"Captcha",694],[3,"StatsPayload",711],[3,"get",711],[3,"Stats",738],[3,"UpdateCaptcha",749],[3,"update_key",749],[3,"update_captcha",749],[3,"BuildDetailsBuilder",787],[3,"BuildDetails",787],[4,"BuildDetailsBuilderError",787],[3,"HealthBuilder",787],[3,"Health",787],[4,"HealthBuilderError",787],[15,"bool"],[3,"UninitializedFieldError",2958],[3,"build_details",787],[3,"health",787],[3,"Meta",914],[3,"AddNotificationRequest",931],[3,"add_notification",931],[3,"NotificationResp",961],[3,"Notification",2955],[3,"get_notification",961],[3,"MarkReadReq",994],[3,"mark_read",994],[3,"Notifications",1016],[3,"GetConfigPayload",1035],[3,"ApiPoWConfig",1035],[3,"get_config",1035],[3,"PoW",1081],[3,"ValidationToken",1099],[3,"ApiWork",1099],[3,"verify_pow",1099],[3,"CaptchaValidateResp",1146],[3,"VerifyCaptchaResultPayload",1146],[3,"validate_captcha_token",1146],[3,"BuildDetailsBuilder",1210],[3,"BuildDetails",1210],[4,"BuildDetailsBuilderError",1210],[3,"PercentileReqBuilder",1210],[3,"PercentileReq",1210],[4,"PercentileReqBuilderError",1210],[3,"PercentileRespBuilder",1210],[3,"PercentileResp",1210],[4,"PercentileRespBuilderError",1210],[15,"u32"],[15,"f64"],[3,"percentile_benches",1210],[3,"Stats",1375],[3,"Page",1397],[3,"SurveySecretUpload",1397],[3,"download",1397],[3,"secret",1397],[3,"Survey",1453],[4,"SystemGroup",1466],[3,"AddSite",2959],[3,"Config",2960],[3,"Tokio1Executor",2961],[3,"AsyncSmtpTransport",2962],[3,"PoWConfig",2963],[6,"CaptchaResult",2964],[3,"SecretsStore",2849],[3,"Arc",2965],[3,"Addr",2966],[3,"System",2967],[8,"Master",2968],[8,"Save",2969],[3,"RemoveCaptcha",2959],[3,"Rename",2959],[3,"VerifyCaptchaResult",2970],[3,"Work",2963],[3,"Date",1510],[3,"OffsetDateTime",2971],[15,"i64"],[8,"MCDatabase",2955],[3,"Box",2972],[3,"DemoUser",1537],[3,"Duration",2973],[3,"JoinHandle",2974],[3,"EmbeddedFile",2975],[3,"HttpResponse",2976],[8,"Iterator",2977],[4,"Filenames",2978],[3,"dist",1554],[3,"spec",1554],[3,"index",1554],[3,"Docs",1602],[3,"IndexPage",1616],[6,"RenderResult",2979],[3,"Buffer",2980],[4,"RenderError",2979],[3,"ErrorToResponse",1634],[3,"SmtpErrorWrapper",1634],[3,"DBErrorWrapper",1634],[4,"PageError",1634],[4,"MailboxError",2966],[4,"DBError",2981],[4,"ParseError",2982],[3,"Error",2983],[3,"RecvError",2984],[4,"CredsError",2985],[3,"ValidationErrors",2986],[4,"CaptchaError",2964],[8,"Error",2987],[3,"StatusCode",2988],[3,"Routes",2319],[3,"IndexPage",1758],[3,"INDEX",1758],[3,"login",1758],[3,"IndexPage",1795],[3,"INDEX",1795],[3,"join",1795],[3,"Auth",1832],[15,"array"],[3,"SudoPage",1846],[8,"Display",2952],[8,"Render",2979],[8,"Clone",2989],[3,"ErrorPage",1864],[3,"INTERNAL_SERVER_ERROR_BODY",1864],[3,"UNKNOWN_ERROR_BODY",1864],[3,"error",1864],[3,"Errors",1917],[3,"IndexPage",1929],[3,"Captcha",2955],[3,"panel",1929],[3,"Notification",1961],[3,"IndexPage",1961],[3,"notifications",1961],[3,"Panel",2001],[3,"IndexPage",2016],[3,"settings",2016],[3,"delete_account",2016],[3,"update_secret",2016],[3,"Settings",2066],[3,"AdvanceIndexPage",2087],[3,"EasyIndexPage",2087],[3,"ADVANCE_INDEX",2087],[3,"EASY_INDEX",2087],[3,"advance",2087],[3,"easy",2087],[3,"delete_sitekey",2169],[3,"AdvanceEditPage",2179],[3,"EasyEditPage",2179],[3,"advance",2179],[3,"easy",2179],[3,"IndexPage",2238],[3,"list_sitekeys",2238],[3,"Sitekey",2265],[3,"IndexPage",2287],[3,"CaptchaStats",2782],[3,"view_sitekey",2287],[3,"IndexPage",2342],[3,"INDEX",2342],[3,"sitemap",2342],[3,"Server",2381],[3,"Captcha",2381],[3,"Smtp",2381],[4,"DBType",2381],[3,"Database",2381],[3,"Redis",2381],[3,"Survey",2381],[3,"DefaultState",2990],[3,"ConfigBuilder",2990],[3,"Url",2991],[4,"ConfigError",2992],[3,"static_files",2622],[3,"favicons",2622],[3,"KEY",2671],[3,"GITHUB",2671],[3,"HOME",2671],[3,"SETTINGS_ICON",2671],[3,"CREDIT_CARD",2671],[3,"HELP_CIRCLE",2671],[3,"MESSAGE",2671],[3,"DOCS_ICON",2671],[3,"MCAPTCHA_TRANS_ICON",2671],[3,"BAR_CHART",2671],[3,"Real",2782],[3,"Dummy",2782],[8,"Stats",2782],[3,"Global",2993],[8,"Future",2994],[3,"Pin",2995],[3,"Survey",2849],[3,"IndexPage",2891],[3,"INDEX_PAGE",2891],[3,"show_widget",2891],[3,"Widget",2931],[6,"ArcData",0],[6,"Mailer",1466],[3,"Asset",1554],[6,"ServiceResult",1634],[6,"PageResult",1634],[3,"Asset",2622],[3,"Favicons",2622],[8,"CloneStats",2782],[8,"SurveyClientTrait",2849]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/settings.html b/settings.html index a55c4d68..0aba6875 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file +Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/src/db_core/errors.rs.html b/src/db_core/errors.rs.html index afa3ecdb..416b3c11 100644 --- a/src/db_core/errors.rs.html +++ b/src/db_core/errors.rs.html @@ -1,4 +1,4 @@ -errors.rs - source
    1
    +errors.rs - source
    1
     2
     3
     4
    diff --git a/src/db_core/lib.rs.html b/src/db_core/lib.rs.html
    index e7e0df72..e57af3c1 100644
    --- a/src/db_core/lib.rs.html
    +++ b/src/db_core/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source
    1
    +lib.rs - source
    1
     2
     3
     4
    diff --git a/src/db_core/ops.rs.html b/src/db_core/ops.rs.html
    index e7b7726a..82f4a5d1 100644
    --- a/src/db_core/ops.rs.html
    +++ b/src/db_core/ops.rs.html
    @@ -1,4 +1,4 @@
    -ops.rs - source
    1
    +ops.rs - source
    1
     2
     3
     4
    diff --git a/src/db_core/tests.rs.html b/src/db_core/tests.rs.html
    index f0aad876..e0aa7a92 100644
    --- a/src/db_core/tests.rs.html
    +++ b/src/db_core/tests.rs.html
    @@ -1,4 +1,4 @@
    -tests.rs - source
    1
    +tests.rs - source
    1
     2
     3
     4
    diff --git a/src/db_sqlx_maria/errors.rs.html b/src/db_sqlx_maria/errors.rs.html
    index 80a7caa7..e9d81d00 100644
    --- a/src/db_sqlx_maria/errors.rs.html
    +++ b/src/db_sqlx_maria/errors.rs.html
    @@ -1,4 +1,4 @@
    -errors.rs - source
    1
    +errors.rs - source
    1
     2
     3
     4
    diff --git a/src/db_sqlx_maria/lib.rs.html b/src/db_sqlx_maria/lib.rs.html
    index be95ff12..bd1718ee 100644
    --- a/src/db_sqlx_maria/lib.rs.html
    +++ b/src/db_sqlx_maria/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source
    1
    +lib.rs - source
    1
     2
     3
     4
    diff --git a/src/db_sqlx_postgres/errors.rs.html b/src/db_sqlx_postgres/errors.rs.html
    index 41126054..49cf7b65 100644
    --- a/src/db_sqlx_postgres/errors.rs.html
    +++ b/src/db_sqlx_postgres/errors.rs.html
    @@ -1,4 +1,4 @@
    -errors.rs - source
    1
    +errors.rs - source
    1
     2
     3
     4
    diff --git a/src/db_sqlx_postgres/lib.rs.html b/src/db_sqlx_postgres/lib.rs.html
    index d877583d..605f4d2f 100644
    --- a/src/db_sqlx_postgres/lib.rs.html
    +++ b/src/db_sqlx_postgres/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source
    1
    +lib.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/mod.rs.html b/src/mcaptcha/api/mod.rs.html
    index fa93700c..ca6c713f 100644
    --- a/src/mcaptcha/api/mod.rs.html
    +++ b/src/mcaptcha/api/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/account/delete.rs.html b/src/mcaptcha/api/v1/account/delete.rs.html
    index 409b5091..458a2144 100644
    --- a/src/mcaptcha/api/v1/account/delete.rs.html
    +++ b/src/mcaptcha/api/v1/account/delete.rs.html
    @@ -1,4 +1,4 @@
    -delete.rs - source
    1
    +delete.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/account/email.rs.html b/src/mcaptcha/api/v1/account/email.rs.html
    index accc1990..29d58e4b 100644
    --- a/src/mcaptcha/api/v1/account/email.rs.html
    +++ b/src/mcaptcha/api/v1/account/email.rs.html
    @@ -1,4 +1,4 @@
    -email.rs - source
    1
    +email.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/account/mod.rs.html b/src/mcaptcha/api/v1/account/mod.rs.html
    index e5fd8a8f..62356b75 100644
    --- a/src/mcaptcha/api/v1/account/mod.rs.html
    +++ b/src/mcaptcha/api/v1/account/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/account/password.rs.html b/src/mcaptcha/api/v1/account/password.rs.html
    index 5bef9513..3a0d3416 100644
    --- a/src/mcaptcha/api/v1/account/password.rs.html
    +++ b/src/mcaptcha/api/v1/account/password.rs.html
    @@ -1,4 +1,4 @@
    -password.rs - source
    1
    +password.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/account/secret.rs.html b/src/mcaptcha/api/v1/account/secret.rs.html
    index 9c9579db..49f1aed8 100644
    --- a/src/mcaptcha/api/v1/account/secret.rs.html
    +++ b/src/mcaptcha/api/v1/account/secret.rs.html
    @@ -1,4 +1,4 @@
    -secret.rs - source
    1
    +secret.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/account/username.rs.html b/src/mcaptcha/api/v1/account/username.rs.html
    index ec9ec10b..96975d09 100644
    --- a/src/mcaptcha/api/v1/account/username.rs.html
    +++ b/src/mcaptcha/api/v1/account/username.rs.html
    @@ -1,4 +1,4 @@
    -username.rs - source
    1
    +username.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/auth.rs.html b/src/mcaptcha/api/v1/auth.rs.html
    index 94ac6d0d..1534c473 100644
    --- a/src/mcaptcha/api/v1/auth.rs.html
    +++ b/src/mcaptcha/api/v1/auth.rs.html
    @@ -1,4 +1,4 @@
    -auth.rs - source
    1
    +auth.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/create.rs.html b/src/mcaptcha/api/v1/mcaptcha/create.rs.html
    index ef74a9ae..9b542d3d 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/create.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/create.rs.html
    @@ -1,4 +1,4 @@
    -create.rs - source
    1
    +create.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/delete.rs.html b/src/mcaptcha/api/v1/mcaptcha/delete.rs.html
    index 0cc04f46..e62f850d 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/delete.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/delete.rs.html
    @@ -1,4 +1,4 @@
    -delete.rs - source
    1
    +delete.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/easy.rs.html b/src/mcaptcha/api/v1/mcaptcha/easy.rs.html
    index 3b4747d5..a267183f 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/easy.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/easy.rs.html
    @@ -1,4 +1,4 @@
    -easy.rs - source
    1
    +easy.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/get.rs.html b/src/mcaptcha/api/v1/mcaptcha/get.rs.html
    index f02fcc96..d766fbb0 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/get.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/get.rs.html
    @@ -1,4 +1,4 @@
    -get.rs - source
    1
    +get.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/mod.rs.html b/src/mcaptcha/api/v1/mcaptcha/mod.rs.html
    index ccec610a..75d0338e 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/mod.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/stats.rs.html b/src/mcaptcha/api/v1/mcaptcha/stats.rs.html
    index 31dea9c7..cf43d1e7 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/stats.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/stats.rs.html
    @@ -1,4 +1,4 @@
    -stats.rs - source
    1
    +stats.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/mcaptcha/update.rs.html b/src/mcaptcha/api/v1/mcaptcha/update.rs.html
    index ec747373..6d4eb1cc 100644
    --- a/src/mcaptcha/api/v1/mcaptcha/update.rs.html
    +++ b/src/mcaptcha/api/v1/mcaptcha/update.rs.html
    @@ -1,4 +1,4 @@
    -update.rs - source
    1
    +update.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/meta.rs.html b/src/mcaptcha/api/v1/meta.rs.html
    index 77827da3..56f639bf 100644
    --- a/src/mcaptcha/api/v1/meta.rs.html
    +++ b/src/mcaptcha/api/v1/meta.rs.html
    @@ -1,4 +1,4 @@
    -meta.rs - source
    1
    +meta.rs - source
    1
     2
     3
     4
    @@ -139,6 +139,7 @@
     139
     140
     141
    +142
     
    // Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
     // SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
     //
    @@ -203,6 +204,7 @@
     #[my_codegen::get(path = "crate::V1_API_ROUTES.meta.health")]
     async fn health(data: AppData) -> impl Responder {
         let mut resp_builder = HealthBuilder::default();
    +    resp_builder.redis(None);
     
         resp_builder.db(data.db.ping().await);
     
    diff --git a/src/mcaptcha/api/v1/mod.rs.html b/src/mcaptcha/api/v1/mod.rs.html
    index cc15d481..432003f7 100644
    --- a/src/mcaptcha/api/v1/mod.rs.html
    +++ b/src/mcaptcha/api/v1/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/notifications/add.rs.html b/src/mcaptcha/api/v1/notifications/add.rs.html
    index 9f183046..8bf10217 100644
    --- a/src/mcaptcha/api/v1/notifications/add.rs.html
    +++ b/src/mcaptcha/api/v1/notifications/add.rs.html
    @@ -1,4 +1,4 @@
    -add.rs - source
    1
    +add.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/notifications/get.rs.html b/src/mcaptcha/api/v1/notifications/get.rs.html
    index ed522358..d72460f6 100644
    --- a/src/mcaptcha/api/v1/notifications/get.rs.html
    +++ b/src/mcaptcha/api/v1/notifications/get.rs.html
    @@ -1,4 +1,4 @@
    -get.rs - source
    1
    +get.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/notifications/mark_read.rs.html b/src/mcaptcha/api/v1/notifications/mark_read.rs.html
    index 4d4e1505..be1ff8c6 100644
    --- a/src/mcaptcha/api/v1/notifications/mark_read.rs.html
    +++ b/src/mcaptcha/api/v1/notifications/mark_read.rs.html
    @@ -1,4 +1,4 @@
    -mark_read.rs - source
    1
    +mark_read.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/notifications/mod.rs.html b/src/mcaptcha/api/v1/notifications/mod.rs.html
    index e6256b1b..cfcde509 100644
    --- a/src/mcaptcha/api/v1/notifications/mod.rs.html
    +++ b/src/mcaptcha/api/v1/notifications/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/pow/get_config.rs.html b/src/mcaptcha/api/v1/pow/get_config.rs.html
    index ab9d7123..e3503a02 100644
    --- a/src/mcaptcha/api/v1/pow/get_config.rs.html
    +++ b/src/mcaptcha/api/v1/pow/get_config.rs.html
    @@ -1,4 +1,4 @@
    -get_config.rs - source
    1
    +get_config.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/pow/mod.rs.html b/src/mcaptcha/api/v1/pow/mod.rs.html
    index a4ccc789..a21c3527 100644
    --- a/src/mcaptcha/api/v1/pow/mod.rs.html
    +++ b/src/mcaptcha/api/v1/pow/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/pow/verify_pow.rs.html b/src/mcaptcha/api/v1/pow/verify_pow.rs.html
    index f4c992ec..d96e286d 100644
    --- a/src/mcaptcha/api/v1/pow/verify_pow.rs.html
    +++ b/src/mcaptcha/api/v1/pow/verify_pow.rs.html
    @@ -1,4 +1,4 @@
    -verify_pow.rs - source
    1
    +verify_pow.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/pow/verify_token.rs.html b/src/mcaptcha/api/v1/pow/verify_token.rs.html
    index 43900470..5d456f6f 100644
    --- a/src/mcaptcha/api/v1/pow/verify_token.rs.html
    +++ b/src/mcaptcha/api/v1/pow/verify_token.rs.html
    @@ -1,4 +1,4 @@
    -verify_token.rs - source
    1
    +verify_token.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/routes.rs.html b/src/mcaptcha/api/v1/routes.rs.html
    index 7bb7b5d5..af53c2e8 100644
    --- a/src/mcaptcha/api/v1/routes.rs.html
    +++ b/src/mcaptcha/api/v1/routes.rs.html
    @@ -1,4 +1,4 @@
    -routes.rs - source
    1
    +routes.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/stats.rs.html b/src/mcaptcha/api/v1/stats.rs.html
    index 6cbcbea4..adce5dc4 100644
    --- a/src/mcaptcha/api/v1/stats.rs.html
    +++ b/src/mcaptcha/api/v1/stats.rs.html
    @@ -1,4 +1,4 @@
    -stats.rs - source
    1
    +stats.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/api/v1/survey.rs.html b/src/mcaptcha/api/v1/survey.rs.html
    index 5e0b0077..e087430c 100644
    --- a/src/mcaptcha/api/v1/survey.rs.html
    +++ b/src/mcaptcha/api/v1/survey.rs.html
    @@ -1,4 +1,4 @@
    -survey.rs - source
    1
    +survey.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/data.rs.html b/src/mcaptcha/data.rs.html
    index fbff39af..02741d4e 100644
    --- a/src/mcaptcha/data.rs.html
    +++ b/src/mcaptcha/data.rs.html
    @@ -1,4 +1,4 @@
    -data.rs - source
    1
    +data.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/date.rs.html b/src/mcaptcha/date.rs.html
    index d62504e9..3cea4353 100644
    --- a/src/mcaptcha/date.rs.html
    +++ b/src/mcaptcha/date.rs.html
    @@ -1,4 +1,4 @@
    -date.rs - source
    1
    +date.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/db.rs.html b/src/mcaptcha/db.rs.html
    index bb33a65a..efd83afa 100644
    --- a/src/mcaptcha/db.rs.html
    +++ b/src/mcaptcha/db.rs.html
    @@ -1,4 +1,4 @@
    -db.rs - source
    1
    +db.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/demo.rs.html b/src/mcaptcha/demo.rs.html
    index b80056dd..8cb197fd 100644
    --- a/src/mcaptcha/demo.rs.html
    +++ b/src/mcaptcha/demo.rs.html
    @@ -1,4 +1,4 @@
    -demo.rs - source
    1
    +demo.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/docs.rs.html b/src/mcaptcha/docs.rs.html
    index a339b139..4b5affdb 100644
    --- a/src/mcaptcha/docs.rs.html
    +++ b/src/mcaptcha/docs.rs.html
    @@ -1,4 +1,4 @@
    -docs.rs - source
    1
    +docs.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/email/mod.rs.html b/src/mcaptcha/email/mod.rs.html
    index cc9be580..b712d4a8 100644
    --- a/src/mcaptcha/email/mod.rs.html
    +++ b/src/mcaptcha/email/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/email/verification.rs.html b/src/mcaptcha/email/verification.rs.html
    index 1ca963b8..40e08656 100644
    --- a/src/mcaptcha/email/verification.rs.html
    +++ b/src/mcaptcha/email/verification.rs.html
    @@ -1,4 +1,4 @@
    -verification.rs - source
    1
    +verification.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/errors.rs.html b/src/mcaptcha/errors.rs.html
    index 2fbc48c1..ca803ff4 100644
    --- a/src/mcaptcha/errors.rs.html
    +++ b/src/mcaptcha/errors.rs.html
    @@ -1,4 +1,4 @@
    -errors.rs - source
    1
    +errors.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/main.rs.html b/src/mcaptcha/main.rs.html
    index 84a0bc6d..3440f32a 100644
    --- a/src/mcaptcha/main.rs.html
    +++ b/src/mcaptcha/main.rs.html
    @@ -1,4 +1,4 @@
    -main.rs - source
    1
    +main.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/auth/login.rs.html b/src/mcaptcha/pages/auth/login.rs.html
    index ff7e61e3..55c372b6 100644
    --- a/src/mcaptcha/pages/auth/login.rs.html
    +++ b/src/mcaptcha/pages/auth/login.rs.html
    @@ -1,4 +1,4 @@
    -login.rs - source
    1
    +login.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/auth/mod.rs.html b/src/mcaptcha/pages/auth/mod.rs.html
    index 2bae9b68..56b4d4b9 100644
    --- a/src/mcaptcha/pages/auth/mod.rs.html
    +++ b/src/mcaptcha/pages/auth/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/auth/register.rs.html b/src/mcaptcha/pages/auth/register.rs.html
    index 0fa456ab..4e84d261 100644
    --- a/src/mcaptcha/pages/auth/register.rs.html
    +++ b/src/mcaptcha/pages/auth/register.rs.html
    @@ -1,4 +1,4 @@
    -register.rs - source
    1
    +register.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/auth/sudo.rs.html b/src/mcaptcha/pages/auth/sudo.rs.html
    index 84fb1c59..316674fe 100644
    --- a/src/mcaptcha/pages/auth/sudo.rs.html
    +++ b/src/mcaptcha/pages/auth/sudo.rs.html
    @@ -1,4 +1,4 @@
    -sudo.rs - source
    1
    +sudo.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/errors.rs.html b/src/mcaptcha/pages/errors.rs.html
    index 7a485ded..db9a93c8 100644
    --- a/src/mcaptcha/pages/errors.rs.html
    +++ b/src/mcaptcha/pages/errors.rs.html
    @@ -1,4 +1,4 @@
    -errors.rs - source
    1
    +errors.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/mod.rs.html b/src/mcaptcha/pages/mod.rs.html
    index 4ea9d9d0..c440ec8b 100644
    --- a/src/mcaptcha/pages/mod.rs.html
    +++ b/src/mcaptcha/pages/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/mod.rs.html b/src/mcaptcha/pages/panel/mod.rs.html
    index 5db71426..79aedd3a 100644
    --- a/src/mcaptcha/pages/panel/mod.rs.html
    +++ b/src/mcaptcha/pages/panel/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/notifications.rs.html b/src/mcaptcha/pages/panel/notifications.rs.html
    index af2bb4fc..6e9bfbc7 100644
    --- a/src/mcaptcha/pages/panel/notifications.rs.html
    +++ b/src/mcaptcha/pages/panel/notifications.rs.html
    @@ -1,4 +1,4 @@
    -notifications.rs - source
    1
    +notifications.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/settings.rs.html b/src/mcaptcha/pages/panel/settings.rs.html
    index 8b2b5fea..523b2ec5 100644
    --- a/src/mcaptcha/pages/panel/settings.rs.html
    +++ b/src/mcaptcha/pages/panel/settings.rs.html
    @@ -1,4 +1,4 @@
    -settings.rs - source
    1
    +settings.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/sitekey/add.rs.html b/src/mcaptcha/pages/panel/sitekey/add.rs.html
    index 763936ab..accca214 100644
    --- a/src/mcaptcha/pages/panel/sitekey/add.rs.html
    +++ b/src/mcaptcha/pages/panel/sitekey/add.rs.html
    @@ -1,4 +1,4 @@
    -add.rs - source
    1
    +add.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/sitekey/delete.rs.html b/src/mcaptcha/pages/panel/sitekey/delete.rs.html
    index 9ada92dc..5d0c710f 100644
    --- a/src/mcaptcha/pages/panel/sitekey/delete.rs.html
    +++ b/src/mcaptcha/pages/panel/sitekey/delete.rs.html
    @@ -1,4 +1,4 @@
    -delete.rs - source
    1
    +delete.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/sitekey/edit.rs.html b/src/mcaptcha/pages/panel/sitekey/edit.rs.html
    index 2d540fe2..c2fb5c70 100644
    --- a/src/mcaptcha/pages/panel/sitekey/edit.rs.html
    +++ b/src/mcaptcha/pages/panel/sitekey/edit.rs.html
    @@ -1,4 +1,4 @@
    -edit.rs - source
    1
    +edit.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/sitekey/list.rs.html b/src/mcaptcha/pages/panel/sitekey/list.rs.html
    index 55941d86..995906ef 100644
    --- a/src/mcaptcha/pages/panel/sitekey/list.rs.html
    +++ b/src/mcaptcha/pages/panel/sitekey/list.rs.html
    @@ -1,4 +1,4 @@
    -list.rs - source
    1
    +list.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/sitekey/mod.rs.html b/src/mcaptcha/pages/panel/sitekey/mod.rs.html
    index 5f01646a..5541b846 100644
    --- a/src/mcaptcha/pages/panel/sitekey/mod.rs.html
    +++ b/src/mcaptcha/pages/panel/sitekey/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/panel/sitekey/view.rs.html b/src/mcaptcha/pages/panel/sitekey/view.rs.html
    index 52123e9e..77236299 100644
    --- a/src/mcaptcha/pages/panel/sitekey/view.rs.html
    +++ b/src/mcaptcha/pages/panel/sitekey/view.rs.html
    @@ -1,4 +1,4 @@
    -view.rs - source
    1
    +view.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/routes.rs.html b/src/mcaptcha/pages/routes.rs.html
    index 54cb9e26..6a18d92e 100644
    --- a/src/mcaptcha/pages/routes.rs.html
    +++ b/src/mcaptcha/pages/routes.rs.html
    @@ -1,4 +1,4 @@
    -routes.rs - source
    1
    +routes.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/pages/sitemap.rs.html b/src/mcaptcha/pages/sitemap.rs.html
    index dfd75a21..ef686e26 100644
    --- a/src/mcaptcha/pages/sitemap.rs.html
    +++ b/src/mcaptcha/pages/sitemap.rs.html
    @@ -1,4 +1,4 @@
    -sitemap.rs - source
    1
    +sitemap.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/routes.rs.html b/src/mcaptcha/routes.rs.html
    index c9477cdd..93db9ab7 100644
    --- a/src/mcaptcha/routes.rs.html
    +++ b/src/mcaptcha/routes.rs.html
    @@ -1,4 +1,4 @@
    -routes.rs - source
    1
    +routes.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/settings.rs.html b/src/mcaptcha/settings.rs.html
    index 17685851..d646b09e 100644
    --- a/src/mcaptcha/settings.rs.html
    +++ b/src/mcaptcha/settings.rs.html
    @@ -1,4 +1,4 @@
    -settings.rs - source
    1
    +settings.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/static_assets/filemap.rs.html b/src/mcaptcha/static_assets/filemap.rs.html
    index 0b07fe6f..e63ccd37 100644
    --- a/src/mcaptcha/static_assets/filemap.rs.html
    +++ b/src/mcaptcha/static_assets/filemap.rs.html
    @@ -1,4 +1,4 @@
    -filemap.rs - source
    1
    +filemap.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/static_assets/mod.rs.html b/src/mcaptcha/static_assets/mod.rs.html
    index f82c86ac..90237886 100644
    --- a/src/mcaptcha/static_assets/mod.rs.html
    +++ b/src/mcaptcha/static_assets/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/static_assets/static_files.rs.html b/src/mcaptcha/static_assets/static_files.rs.html
    index e84088f8..9e2775ed 100644
    --- a/src/mcaptcha/static_assets/static_files.rs.html
    +++ b/src/mcaptcha/static_assets/static_files.rs.html
    @@ -1,4 +1,4 @@
    -static_files.rs - source
    1
    +static_files.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/stats.rs.html b/src/mcaptcha/stats.rs.html
    index 67d8726c..3aa91494 100644
    --- a/src/mcaptcha/stats.rs.html
    +++ b/src/mcaptcha/stats.rs.html
    @@ -1,4 +1,4 @@
    -stats.rs - source
    1
    +stats.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/survey.rs.html b/src/mcaptcha/survey.rs.html
    index faa02ef0..5132fdf2 100644
    --- a/src/mcaptcha/survey.rs.html
    +++ b/src/mcaptcha/survey.rs.html
    @@ -1,4 +1,4 @@
    -survey.rs - source
    1
    +survey.rs - source
    1
     2
     3
     4
    diff --git a/src/mcaptcha/widget/mod.rs.html b/src/mcaptcha/widget/mod.rs.html
    index e0dc530d..009955e0 100644
    --- a/src/mcaptcha/widget/mod.rs.html
    +++ b/src/mcaptcha/widget/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source
    1
    +mod.rs - source
    1
     2
     3
     4
    diff --git a/static.files/ayu-fd19013d6ce078bf.css b/static.files/ayu-fd19013d6ce078bf.css
    deleted file mode 100644
    index ba3aa60e..00000000
    --- a/static.files/ayu-fd19013d6ce078bf.css
    +++ /dev/null
    @@ -1 +0,0 @@
    - :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}h1,h2,h3,h4,h1 a,.sidebar h2 a,.sidebar h3 a,#src-sidebar>.title{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.docblock a>code{color:#39AFD7 !important;}.code-header,.docblock pre>code,pre,pre>code,.item-info code,.rustdoc.src .example-wrap{color:#e6e1cf;}.sidebar .current,.sidebar a:hover,#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus,#src-sidebar div.files>a.selected{color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}.search-results a:hover,.search-results a:focus{color:#fff !important;background-color:#3c3c3c;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}#search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}#search-tabs>button:not(.selected){border:none;background-color:transparent !important;}#search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#settings-menu>a img{filter:invert(100);}
    \ No newline at end of file
    diff --git a/static.files/dark-0a43001d3fc2282c.css b/static.files/dark-0a43001d3fc2282c.css
    deleted file mode 100644
    index 81032b2f..00000000
    --- a/static.files/dark-0a43001d3fc2282c.css
    +++ /dev/null
    @@ -1 +0,0 @@
    -:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2A2A2A;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}
    \ No newline at end of file
    diff --git a/static.files/light-1596385f77d47ef2.css b/static.files/light-1596385f77d47ef2.css
    deleted file mode 100644
    index 50adde5b..00000000
    --- a/static.files/light-1596385f77d47ef2.css
    +++ /dev/null
    @@ -1 +0,0 @@
    -:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#F5F5F5;--sidebar-background-color-hover:#E0E0E0;--code-block-background-color:#F5F5F5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#ffffff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#F5F5F5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}
    \ No newline at end of file
    diff --git a/static.files/main-0795b7d26be81095.js b/static.files/main-0795b7d26be81095.js
    deleted file mode 100644
    index 87b43389..00000000
    --- a/static.files/main-0795b7d26be81095.js
    +++ /dev/null
    @@ -1,12 +0,0 @@
    -"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"));preLoadCss(getVar("static-root-path")+getVar("theme-light-css"));preLoadCss(getVar("static-root-path")+getVar("theme-dark-css"));preLoadCss(getVar("static-root-path")+getVar("theme-ayu-css"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
    "+window.NOTABLE_TRAITS[notable_ty]+"
    "}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=function(){this.TOOLTIP_FORCE_VISIBLE=this.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!this.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(this);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(this,true)};e.onpointermove=function(ev){if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(this,true)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ -the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
    "+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
    "+x[1]+"
    ").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

    Keyboard Shortcuts

    "+shortcuts+"
    ";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ - restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ - enum, trait, type, macro, \ - and const.","Search functions by type signature (e.g., vec -> usize or \ - -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for functions that accept or return \ - slices and \ - arrays by writing \ - square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

    "+x+"

    ").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

    Search Tricks

    "+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=function(switchFocus){hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=function(){onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static.files/main-c5bd66d33317d69f.js b/static.files/main-c5bd66d33317d69f.js new file mode 100644 index 00000000..43133d66 --- /dev/null +++ b/static.files/main-c5bd66d33317d69f.js @@ -0,0 +1,12 @@ +"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileTopbar=document.querySelector(".mobile-topbar");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileTopbar&&locationTitle){const mobileTitle=document.createElement("h2");mobileTitle.innerHTML=locationTitle.innerHTML;mobileTopbar.appendChild(mobileTitle)}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
    "+window.NOTABLE_TRAITS[notable_ty]+"
    "}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ +the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
    "+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
    "+x[1]+"
    ").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

    Keyboard Shortcuts

    "+shortcuts+"
    ";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ + restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ + enum, trait, type, macro, \ + and const.","Search functions by type signature (e.g., vec -> usize or \ + -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ + your request: \"string\"","Look for functions that accept or return \ + slices and \ + arrays by writing \ + square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

    "+x+"

    ").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

    Search Tricks

    "+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static.files/noscript-5d8b3c7633ad77ba.css b/static.files/noscript-5d8b3c7633ad77ba.css new file mode 100644 index 00000000..8c63ef06 --- /dev/null +++ b/static.files/noscript-5d8b3c7633ad77ba.css @@ -0,0 +1 @@ + #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}@media (prefers-color-scheme:dark){:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}} \ No newline at end of file diff --git a/static.files/noscript-cffde32267a19fd6.css b/static.files/noscript-cffde32267a19fd6.css deleted file mode 100644 index 12d3f6dd..00000000 --- a/static.files/noscript-cffde32267a19fd6.css +++ /dev/null @@ -1 +0,0 @@ - #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;} \ No newline at end of file diff --git a/static.files/rustdoc-cb6f1f67f1bcd037.css b/static.files/rustdoc-cb6f1f67f1bcd037.css deleted file mode 100644 index ac787240..00000000 --- a/static.files/rustdoc-cb6f1f67f1bcd037.css +++ /dev/null @@ -1,8 +0,0 @@ - :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}p:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ - ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/static.files/rustdoc-fa3bb1812debf86c.css b/static.files/rustdoc-fa3bb1812debf86c.css new file mode 100644 index 00000000..2dd5cebc --- /dev/null +++ b/static.files/rustdoc-fa3bb1812debf86c.css @@ -0,0 +1,10 @@ + :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ + ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ + \ + ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:850px){#search-tabs .count{display:block;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}:root[data-theme="light"]{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}:root[data-theme="dark"]{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}:root[data-theme="ayu"]{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}:root[data-theme="ayu"] h1,:root[data-theme="ayu"] h2,:root[data-theme="ayu"] h3,:root[data-theme="ayu"] h4,:where(:root[data-theme="ayu"]) h1 a,:root[data-theme="ayu"] .sidebar h2 a,:root[data-theme="ayu"] .sidebar h3 a,:root[data-theme="ayu"] #source-sidebar>.title{color:#fff;}:root[data-theme="ayu"] .docblock code{color:#ffb454;}:root[data-theme="ayu"] .docblock a>code{color:#39AFD7 !important;}:root[data-theme="ayu"] .code-header,:root[data-theme="ayu"] .docblock pre>code,:root[data-theme="ayu"] pre,:root[data-theme="ayu"] pre>code,:root[data-theme="ayu"] .item-info code,:root[data-theme="ayu"] .rustdoc.source .example-wrap{color:#e6e1cf;}:root[data-theme="ayu"] .sidebar .current,:root[data-theme="ayu"] .sidebar a:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:hover,:root[data-theme="ayu"] details.dir-entry summary:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:focus,:root[data-theme="ayu"] details.dir-entry summary:focus,:root[data-theme="ayu"] #src-sidebar div.files>a.selected{color:#ffb44c;}:root[data-theme="ayu"] .sidebar-elems .location{color:#ff7733;}:root[data-theme="ayu"] .src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}:root[data-theme="ayu"] .search-results a:hover,:root[data-theme="ayu"] .search-results a:focus{color:#fff !important;background-color:#3c3c3c;}:root[data-theme="ayu"] .search-results a{color:#0096cf;}:root[data-theme="ayu"] .search-results a div.desc{color:#c5c5c5;}:root[data-theme="ayu"] .result-name .primitive>i,:root[data-theme="ayu"] .result-name .keyword>i{color:#788797;}:root[data-theme="ayu"] #search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}:root[data-theme="ayu"] #search-tabs>button:not(.selected){border:none;background-color:transparent !important;}:root[data-theme="ayu"] #search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}:root[data-theme="ayu"] #settings-menu>a img{filter:invert(100);} \ No newline at end of file diff --git a/static.files/search-6dfdfced5eff6596.js b/static.files/search-6dfdfced5eff6596.js deleted file mode 100644 index 90d0eb75..00000000 --- a/static.files/search-6dfdfced5eff6596.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return-1}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:-1,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:-1,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,literalSearch:false,error:null,correction:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem){return unifyFunctionTypes(fnType.generics,queryElem.generics)}function unifyFunctionTypes(fnTypes,queryElems){if(queryElems.length===0){return true}if(!fnTypes||fnTypes.length===0){return false}const queryElemSet=new Map();const addQueryElemToQueryElemSet=function addQueryElemToQueryElemSet(queryElem){let currentQueryElemList;if(queryElemSet.has(queryElem.id)){currentQueryElemList=queryElemSet.get(queryElem.id)}else{currentQueryElemList=[];queryElemSet.set(queryElem.id,currentQueryElemList)}currentQueryElemList.push(queryElem)};for(const queryElem of queryElems){addQueryElemToQueryElemSet(queryElem)}const fnTypeSet=new Map();const addFnTypeToFnTypeSet=function addFnTypeToFnTypeSet(fnType){const queryContainsArrayOrSliceElem=queryElemSet.has(typeNameIdOfArrayOrSlice);if(fnType.id===-1||!(queryElemSet.has(fnType.id)||(fnType.id===typeNameIdOfSlice&&queryContainsArrayOrSliceElem)||(fnType.id===typeNameIdOfArray&&queryContainsArrayOrSliceElem))){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentQueryElemList=queryElemSet.get(fnType.id)||[];let matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)});if(matchIdx===-1&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)&&queryContainsArrayOrSliceElem){currentQueryElemList=queryElemSet.get(typeNameIdOfArrayOrSlice)||[];matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)})}if(matchIdx===-1){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentFnTypeList;if(fnTypeSet.has(fnType.id)){currentFnTypeList=fnTypeSet.get(fnType.id)}else{currentFnTypeList=[];fnTypeSet.set(fnType.id,currentFnTypeList)}currentFnTypeList.push(fnType)};for(const fnType of fnTypes){addFnTypeToFnTypeSet(fnType)}const doHandleQueryElemList=(currentFnTypeList,queryElemList)=>{if(queryElemList.length===0){return true}const queryElem=queryElemList.pop();const l=currentFnTypeList.length;for(let i=0;i{if(!fnTypeSet.has(id)){if(id===typeNameIdOfArrayOrSlice){return handleQueryElemList(typeNameIdOfSlice,queryElemList)||handleQueryElemList(typeNameIdOfArray,queryElemList)}return false}const currentFnTypeList=fnTypeSet.get(id);if(currentFnTypeList.length0?checkIfInList(row.generics,elem):false}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem)}return true}return checkIfInList(row.generics,elem)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems)){return}if(!unifyFunctionTypes(row.type.output,parsedQuery.returned)){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);function convertNameToId(elem){if(typeNameIdMap.has(elem.name)){elem.id=typeNameIdMap.get(elem.name)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.name,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
    \ -${item.alias} - see \ -
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ -${item.displayPath}${name}\ -
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
    "}let output=`

    Results${crates}

    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;typeNameIdOfArray=buildTypeMapIndex("array");typeNameIdOfSlice=buildTypeMapIndex("slice");typeNameIdOfArrayOrSlice=buildTypeMapIndex("[]");for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file diff --git a/static.files/search-8be46b629f5f14a8.js b/static.files/search-8be46b629f5f14a8.js new file mode 100644 index 00000000..4ecf5c55 --- /dev/null +++ b/static.files/search-8be46b629f5f14a8.js @@ -0,0 +1,5 @@ +"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias","generic",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const TY_GENERIC=itemTypes.indexOf("generic");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return null}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:null,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem,whereClause,mgensInout){return unifyFunctionTypes(fnType.generics,queryElem.generics,whereClause,mgensInout,mgens=>{if(mgensInout){for(const[fid,qid]of mgens.entries()){mgensInout.set(fid,qid)}}return true})}function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb){let mgens=new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;let fl=fnTypesIn.length;let fnTypes=fnTypesIn.slice();const backtracking=[];let i=0;let j=0;const backtrack=()=>{while(backtracking.length!==0){const{fnTypesScratch,mgensScratch,queryElemsOffset,fnTypesOffset,unbox,}=backtracking.pop();mgens=new Map(mgensScratch);const fnType=fnTypesScratch[fnTypesOffset];const queryElem=queryElems[queryElemsOffset];if(unbox){if(fnType.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}mgens.set(fnType.id,0)}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;fnTypes=fnTypesScratch.toSpliced(fnTypesOffset,1,...generics);fl=fnTypes.length;i=queryElemsOffset-1}else{if(fnType.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}mgens.set(fnType.id,queryElem.id)}fnTypes=fnTypesScratch.slice();fl=fnTypes.length;const tmp=fnTypes[queryElemsOffset];fnTypes[queryElemsOffset]=fnTypes[fnTypesOffset];fnTypes[fnTypesOffset]=tmp;i=queryElemsOffset}return true}return false};for(i=0;i!==ql;++i){const queryElem=queryElems[i];const matchCandidates=[];let fnTypesScratch=null;let mgensScratch=null;for(j=i;j!==fl;++j){const fnType=fnTypes[j];if(unifyFunctionTypeIsMatchCandidate(fnType,queryElem,whereClause,mgens)){if(!fnTypesScratch){fnTypesScratch=fnTypes.slice()}unifyFunctionTypes(fnType.generics,queryElem.generics,whereClause,mgens,mgensScratch=>{matchCandidates.push({fnTypesScratch,mgensScratch,queryElemsOffset:i,fnTypesOffset:j,unbox:false,});return false})}if(unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens)){if(!fnTypesScratch){fnTypesScratch=fnTypes.slice()}if(!mgensScratch){mgensScratch=new Map(mgens)}backtracking.push({fnTypesScratch,mgensScratch,queryElemsOffset:i,fnTypesOffset:j,unbox:true,})}}if(matchCandidates.length===0){if(backtrack()){continue}else{return false}}const{fnTypesOffset:candidate,mgensScratch:mgensNew}=matchCandidates.pop();if(fnTypes[candidate].id<0&&queryElems[i].id<0){mgens.set(fnTypes[candidate].id,queryElems[i].id)}for(const[fid,qid]of mgensNew){mgens.set(fid,qid)}const tmp=fnTypes[candidate];fnTypes[candidate]=fnTypes[i];fnTypes[i]=tmp;for(const otherCandidate of matchCandidates){backtracking.push(otherCandidate)}while(i===(ql-1)&&solutionCb&&!solutionCb(mgens)){if(!backtrack()){return false}}}return true}function unifyFunctionTypeIsMatchCandidate(fnType,queryElem,whereClause,mgens){if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgens.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}else if(fnType.id!==null){if(queryElem.id===typeNameIdOfArrayOrSlice&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)){}else if(fnType.id!==queryElem.id){return false}if(fnType.generics.length===0&&queryElem.generics.length!==0){return false}const queryElemPathLength=queryElem.pathWithoutLast.length;if(queryElemPathLength>0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i=0){if(!whereClause){return false}if(mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause)}else if(fnType.generics&&fnType.generics.length>0){return checkIfInList(fnType.generics,queryElem,whereClause)}return false}function checkIfInList(list,elem,whereClause){for(const entry of list){if(checkType(entry,elem,whereClause)){return true}}return false}function checkType(row,elem,whereClause){if(row.id===null){return row.generics.length>0?checkIfInList(row.generics,elem,whereClause):false}if(row.id<0&&elem.id>=0){const gid=(-row.id)-1;return checkIfInList(whereClause[gid],elem,whereClause)}if(row.id<0&&elem.id<0){return true}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem,whereClause,new Map())}return true}return checkIfInList(row.generics,elem,whereClause)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens)})){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();function convertNameToId(elem){if(typeNameIdMap.has(elem.pathLast)){elem.id=typeNameIdMap.get(elem.pathLast)}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.pathLast,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
    \ +${item.alias} - see \ +
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ +${item.displayPath}${name}\ +
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
    "}let output=`

    Results${crates}

    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){return types.map(type=>buildItemSearchType(type,lowercasePaths))}function buildItemSearchType(type,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}if(pathIndex<0){return{id:pathIndex,ty:TY_GENERIC,path:null,generics,}}if(pathIndex===0){return{id:null,ty:null,path:null,generics,}}const item=lowercasePaths[pathIndex-1];return{id:buildTypeMapIndex(item.name),ty:item.ty,path:item.path,generics,}}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths)]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths)]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}lowercasePaths.push({ty:ty,name:name.toLowerCase(),path:path});paths[i]={ty:ty,name:name,path:path}}lastPath="";len=itemTypes.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file diff --git a/static.files/settings-de11bff964e9d4e5.js b/static.files/settings-74424d7eec62a23e.js similarity index 70% rename from static.files/settings-de11bff964e9d4e5.js rename to static.files/settings-74424d7eec62a23e.js index cc508a86..3014f75c 100644 --- a/static.files/settings-de11bff964e9d4e5.js +++ b/static.files/settings-74424d7eec62a23e.js @@ -1,4 +1,4 @@ -"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\ +"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=()=>{changeSetting(toggle.id,toggle.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\
    ${setting_name}
    `;onEach(setting["options"],option=>{const checked=option===setting["default"]?" checked":"";const full=`${js_data_name}-${option.replace(/ /g,"-")}`;output+=`\ @@ -14,4 +14,4 @@ \ ${setting_name}\ \ -
    `}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
    ${buildSettingsPageSections(settings)}
    `;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display=""}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=function(event){event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=function(event){if(elemIsInParent(event.target,settingsMenu)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file +
    `}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
    ${buildSettingsPageSections(settings)}
    `;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display=""}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=event=>{event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=event=>{if(elemIsInParent(event.target,settingsMenu)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file diff --git a/static.files/settings-8c76f75bfb6bd192.css b/static.files/settings-8c76f75bfb6bd192.css deleted file mode 100644 index 5241bb86..00000000 --- a/static.files/settings-8c76f75bfb6bd192.css +++ /dev/null @@ -1,3 +0,0 @@ -.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ - \ - ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;} \ No newline at end of file diff --git a/static.files/storage-db41da1a38ea3cb8.js b/static.files/storage-db41da1a38ea3cb8.js deleted file mode 100644 index b8728135..00000000 --- a/static.files/storage-db41da1a38ea3cb8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file diff --git a/static.files/storage-fec3eaa3851e447d.js b/static.files/storage-fec3eaa3851e447d.js new file mode 100644 index 00000000..a687118f --- /dev/null +++ b/static.files/storage-fec3eaa3851e447d.js @@ -0,0 +1 @@ +"use strict";const builtinThemes=["light","dark","ayu"];const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}document.documentElement.setAttribute("data-theme",newThemeName);if(builtinThemes.indexOf(newThemeName)!==-1){if(window.currentTheme){window.currentTheme.parentNode.removeChild(window.currentTheme);window.currentTheme=null}}else{const newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css";if(!window.currentTheme){if(document.readyState==="loading"){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else{window.currentTheme=document.createElement("link");window.currentTheme.rel="stylesheet";window.currentTheme.id="themeStyle";window.currentTheme.href=newHref;document.documentElement.appendChild(window.currentTheme)}}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file