diff --git a/guard/all.html b/guard/all.html index 13bd57d9..72649311 100644 --- a/guard/all.html +++ b/guard/all.html @@ -3,5 +3,5 @@

List of all items[] -

Structs

Enums

Functions

Typedefs

Statics

+

Structs

Enums

Functions

Typedefs

Statics

\ No newline at end of file diff --git a/guard/api/v1/fn.services.html b/guard/api/v1/fn.services.html index e7bfb96c..4581b241 100644 --- a/guard/api/v1/fn.services.html +++ b/guard/api/v1/fn.services.html @@ -1,5 +1,5 @@ guard::api::v1::services - Rust

Function guard::api::v1::services[][src]

pub fn services(cfg: &mut ServiceConfig)
+ Change settings

Function guard::api::v1::services[][src]

pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/guard/api/v1/index.html b/guard/api/v1/index.html index c1df1020..dbd21a4c 100644 --- a/guard/api/v1/index.html +++ b/guard/api/v1/index.html @@ -1,7 +1,7 @@ guard::api::v1 - Rust

Module guard::api::v1[][src]

Modules

+ Change settings

Module guard::api::v1[][src]

Modules

auth
mcaptcha
meta

Functions

services
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/domains/index.html b/guard/api/v1/mcaptcha/domains/index.html index 64bf0fa9..3aa6cfc0 100644 --- a/guard/api/v1/mcaptcha/domains/index.html +++ b/guard/api/v1/mcaptcha/domains/index.html @@ -1,6 +1,6 @@ guard::api::v1::mcaptcha::domains - Rust

Module guard::api::v1::mcaptcha::domains[][src]

Structs

+ Change settings

Module guard::api::v1::mcaptcha::domains[][src]

Structs

Challenge
Domain
add_domain
delete_domain
get_challenge
verify
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/fn.get_random.html b/guard/api/v1/mcaptcha/fn.get_random.html index ebaa736f..dc262c57 100644 --- a/guard/api/v1/mcaptcha/fn.get_random.html +++ b/guard/api/v1/mcaptcha/fn.get_random.html @@ -1,5 +1,5 @@ guard::api::v1::mcaptcha::get_random - Rust

Function guard::api::v1::mcaptcha::get_random[][src]

pub fn get_random(len: usize) -> String
+ Change settings

Function guard::api::v1::mcaptcha::get_random[][src]

pub fn get_random(len: usize) -> String
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/index.html b/guard/api/v1/mcaptcha/index.html index 029b19a4..cf21195a 100644 --- a/guard/api/v1/mcaptcha/index.html +++ b/guard/api/v1/mcaptcha/index.html @@ -1,8 +1,8 @@ guard::api::v1::mcaptcha - Rust

Module guard::api::v1::mcaptcha[][src]

Re-exports

+ Change settings

Module guard::api::v1::mcaptcha[][src]

Re-exports

pub use super::auth::is_authenticated;

Modules

-
domains
duration
levels
mcaptcha

Functions

+
domains
duration
levels
mcaptcha
pow

Functions

get_random
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/pow/index.html b/guard/api/v1/mcaptcha/pow/index.html new file mode 100644 index 00000000..d7b447ca --- /dev/null +++ b/guard/api/v1/mcaptcha/pow/index.html @@ -0,0 +1,6 @@ +guard::api::v1::mcaptcha::pow - Rust + +

Module guard::api::v1::mcaptcha::pow[][src]

Structs

+
GetConfigPayload
PoWConfig
get_config
+ \ No newline at end of file diff --git a/guard/api/v1/mcaptcha/pow/sidebar-items.js b/guard/api/v1/mcaptcha/pow/sidebar-items.js new file mode 100644 index 00000000..16896c8e --- /dev/null +++ b/guard/api/v1/mcaptcha/pow/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["GetConfigPayload",""],["PoWConfig",""],["get_config",""]]}); \ No newline at end of file diff --git a/guard/api/v1/mcaptcha/pow/struct.GetConfigPayload.html b/guard/api/v1/mcaptcha/pow/struct.GetConfigPayload.html new file mode 100644 index 00000000..2f065a47 --- /dev/null +++ b/guard/api/v1/mcaptcha/pow/struct.GetConfigPayload.html @@ -0,0 +1,124 @@ +guard::api::v1::mcaptcha::pow::GetConfigPayload - Rust + +

Struct guard::api::v1::mcaptcha::pow::GetConfigPayload[][src]

pub struct GetConfigPayload {
+    pub key: String,
+}

+ Fields

key: String

Trait Implementations

impl Clone for GetConfigPayload[src]

impl Debug for GetConfigPayload[src]

impl<'de> Deserialize<'de> for GetConfigPayload[src]

impl Serialize for GetConfigPayload[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

+

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

+ \ No newline at end of file diff --git a/guard/api/v1/mcaptcha/pow/struct.PoWConfig.html b/guard/api/v1/mcaptcha/pow/struct.PoWConfig.html new file mode 100644 index 00000000..d2380c25 --- /dev/null +++ b/guard/api/v1/mcaptcha/pow/struct.PoWConfig.html @@ -0,0 +1,125 @@ +guard::api::v1::mcaptcha::pow::PoWConfig - Rust + +

Struct guard::api::v1::mcaptcha::pow::PoWConfig[][src]

pub struct PoWConfig {
+    pub name: String,
+    pub domain: String,
+}

+ Fields

name: Stringdomain: String

Trait Implementations

impl Clone for PoWConfig[src]

impl Debug for PoWConfig[src]

impl<'de> Deserialize<'de> for PoWConfig[src]

impl Serialize for PoWConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

+

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

+ \ No newline at end of file diff --git a/guard/api/v1/mcaptcha/pow/struct.get_config.html b/guard/api/v1/mcaptcha/pow/struct.get_config.html new file mode 100644 index 00000000..e9dece56 --- /dev/null +++ b/guard/api/v1/mcaptcha/pow/struct.get_config.html @@ -0,0 +1,112 @@ +guard::api::v1::mcaptcha::pow::get_config - Rust + +

Struct guard::api::v1::mcaptcha::pow::get_config[][src]

pub struct get_config;

Trait Implementations

impl HttpServiceFactory for get_config[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

+

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

+ \ No newline at end of file diff --git a/guard/api/v1/mcaptcha/sidebar-items.js b/guard/api/v1/mcaptcha/sidebar-items.js index 17330cc2..d309c9f5 100644 --- a/guard/api/v1/mcaptcha/sidebar-items.js +++ b/guard/api/v1/mcaptcha/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["get_random",""]],"mod":[["domains",""],["duration",""],["levels",""],["mcaptcha",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["get_random",""]],"mod":[["domains",""],["duration",""],["levels",""],["mcaptcha",""],["pow",""]]}); \ No newline at end of file diff --git a/guard/data/struct.Data.html b/guard/data/struct.Data.html index 00b5e0a0..3c34567f 100644 --- a/guard/data/struct.Data.html +++ b/guard/data/struct.Data.html @@ -1,12 +1,11 @@ guard::data::Data - Rust -

Function guard::errors::dup_error[][src]

pub fn dup_error(e: Error, dup_error: ServiceError) -> ServiceError
\ No newline at end of file diff --git a/guard/errors/index.html b/guard/errors/index.html index 6df6af8e..bfc683fd 100644 --- a/guard/errors/index.html +++ b/guard/errors/index.html @@ -1,7 +1,7 @@ guard::errors - Rust

Module guard::errors[][src]

Structs

+ Change settings

Module guard::errors[][src]

Structs

ErrorToResponse

Enums

ServiceError

Functions

dup_error

Type Definitions

diff --git a/guard/errors/struct.ErrorToResponse.html b/guard/errors/struct.ErrorToResponse.html index db38a88e..46360804 100644 --- a/guard/errors/struct.ErrorToResponse.html +++ b/guard/errors/struct.ErrorToResponse.html @@ -1,11 +1,11 @@ guard::errors::ErrorToResponse - Rust

Struct guard::errors::ErrorToResponse[][src]

pub struct ErrorToResponse {
+                Change settings

Struct guard::errors::ErrorToResponse[][src]

pub struct ErrorToResponse {
     pub error: String,
 }

- Fields

error: String

Trait Implementations

impl<'de> Deserialize<'de> for ErrorToResponse[src]

impl Serialize for ErrorToResponse[src]

Function guard::main[][src]

pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/guard/index.html b/guard/index.html index 5e447dac..68a29a4e 100644 --- a/guard/index.html +++ b/guard/index.html @@ -1,7 +1,7 @@ guard - Rust

Crate guard[][src]

Modules

+ Change settings

Crate guard[][src]

Modules

api
data
errors
settings

Structs

Data
GIT_COMMIT_HASH
SETTINGS
Settings

Statics

PKG_DESCRIPTION
PKG_HOMEPAGE
PKG_NAME
VERIFICATION_PATH
VERSION

Functions

diff --git a/guard/static.PKG_DESCRIPTION.html b/guard/static.PKG_DESCRIPTION.html index 3b2e8d4c..25292e5d 100644 --- a/guard/static.PKG_DESCRIPTION.html +++ b/guard/static.PKG_DESCRIPTION.html @@ -1,5 +1,5 @@ guard::PKG_DESCRIPTION - Rust

Static guard::PKG_DESCRIPTION[][src]

pub static PKG_DESCRIPTION: &str
+ Change settings

Static guard::PKG_DESCRIPTION[][src]

pub static PKG_DESCRIPTION: &str
\ No newline at end of file diff --git a/guard/static.PKG_HOMEPAGE.html b/guard/static.PKG_HOMEPAGE.html index f1ac7e21..918e888f 100644 --- a/guard/static.PKG_HOMEPAGE.html +++ b/guard/static.PKG_HOMEPAGE.html @@ -1,5 +1,5 @@ guard::PKG_HOMEPAGE - Rust

Static guard::PKG_HOMEPAGE[][src]

pub static PKG_HOMEPAGE: &str
+ Change settings

Static guard::PKG_HOMEPAGE[][src]

pub static PKG_HOMEPAGE: &str
\ No newline at end of file diff --git a/guard/static.PKG_NAME.html b/guard/static.PKG_NAME.html index 14db2ebd..ee7c7606 100644 --- a/guard/static.PKG_NAME.html +++ b/guard/static.PKG_NAME.html @@ -1,5 +1,5 @@ guard::PKG_NAME - Rust

Static guard::PKG_NAME[][src]

pub static PKG_NAME: &str
+ Change settings

Static guard::PKG_NAME[][src]

pub static PKG_NAME: &str
\ No newline at end of file diff --git a/guard/static.VERIFICATION_PATH.html b/guard/static.VERIFICATION_PATH.html index 636d7b6d..8b7f50b5 100644 --- a/guard/static.VERIFICATION_PATH.html +++ b/guard/static.VERIFICATION_PATH.html @@ -1,5 +1,5 @@ guard::VERIFICATION_PATH - Rust

Static guard::VERIFICATION_PATH[][src]

pub static VERIFICATION_PATH: &str
+ Change settings

Static guard::VERIFICATION_PATH[][src]

pub static VERIFICATION_PATH: &str
\ No newline at end of file diff --git a/guard/static.VERSION.html b/guard/static.VERSION.html index 1869067d..a3bd9867 100644 --- a/guard/static.VERSION.html +++ b/guard/static.VERSION.html @@ -1,5 +1,5 @@ guard::VERSION - Rust

Static guard::VERSION[][src]

pub static VERSION: &str
+ Change settings

Static guard::VERSION[][src]

pub static VERSION: &str
\ No newline at end of file diff --git a/guard/struct.Data.html b/guard/struct.Data.html index 9dd803fd..4ce8755e 100644 --- a/guard/struct.Data.html +++ b/guard/struct.Data.html @@ -1,12 +1,11 @@ guard::Data - Rust -

Struct guard::GIT_COMMIT_HASH[][src]

pub struct GIT_COMMIT_HASH {
     __private_field: (),
 }

Fields

__private_field: ()

Methods from Deref<Target = String>

pub fn as_str(&self) -> &str1.7.0[src]

Extracts a string slice containing the entire String.

@@ -1442,9 +1442,9 @@ but non-ASCII letters are unchanged.

let s = "Grüße, Jürgen ❤"; assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
-

Trait Implementations

impl Deref for GIT_COMMIT_HASH[src]

type Target = String

The resulting type after dereferencing.

-

impl LazyStatic for GIT_COMMIT_HASH[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

Trait Implementations

impl Deref for GIT_COMMIT_HASH[src]

type Target = String

The resulting type after dereferencing.

+

impl LazyStatic for GIT_COMMIT_HASH[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T