From 05d83fe8470a5f643d5efeef1b4ecafd0c7f4e31 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 13 Mar 2021 18:33:37 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20e5ae3?= =?UTF-8?q?8472d4da198abf02cfa5cddf72a404b025d=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guard/all.html | 2 +- guard/api/v1/auth/index.html | 2 +- guard/api/v1/fn.services.html | 2 +- guard/api/v1/index.html | 2 +- guard/api/v1/mcaptcha/fn.get_levels_util.html | 4 + guard/api/v1/mcaptcha/fn.get_random.html | 2 +- guard/api/v1/mcaptcha/index.html | 6 +- guard/api/v1/mcaptcha/sidebar-items.js | 2 +- guard/api/v1/mcaptcha/struct.AddLevels.html | 117 +++++ guard/api/v1/mcaptcha/struct.CreateToken.html | 10 +- guard/api/v1/mcaptcha/struct.Domain.html | 10 +- guard/api/v1/mcaptcha/struct.Duration.html | 117 +++++ guard/api/v1/mcaptcha/struct.GetDuration.html | 116 +++++ guard/api/v1/mcaptcha/struct.GetLevels.html | 116 +++++ guard/api/v1/mcaptcha/struct.I32Levels.html | 117 +++++ guard/api/v1/mcaptcha/struct.Levels.html | 116 +++++ .../api/v1/mcaptcha/struct.TokenKeyPair.html | 10 +- guard/api/v1/mcaptcha/struct.add_domain.html | 2 +- guard/api/v1/mcaptcha/struct.add_levels.html | 111 +++++ .../api/v1/mcaptcha/struct.add_mcaptcha.html | 2 +- .../api/v1/mcaptcha/struct.delete_domain.html | 2 +- .../api/v1/mcaptcha/struct.delete_levels.html | 111 +++++ .../v1/mcaptcha/struct.delete_mcaptcha.html | 2 +- .../api/v1/mcaptcha/struct.get_duration.html | 111 +++++ guard/api/v1/mcaptcha/struct.get_levels.html | 111 +++++ .../v1/mcaptcha/struct.update_duration.html | 111 +++++ .../api/v1/mcaptcha/struct.update_levels.html | 111 +++++ guard/errors/enum.ServiceError.html | 34 +- guard/errors/fn.dup_error.html | 2 +- guard/errors/index.html | 2 +- guard/errors/struct.ErrorToResponse.html | 6 +- guard/errors/type.ServiceResult.html | 2 +- .../service/trait.HttpServiceFactory.js | 2 +- implementors/core/convert/trait.From.js | 2 +- implementors/core/marker/trait.Freeze.js | 2 +- implementors/core/marker/trait.Send.js | 2 +- implementors/core/marker/trait.Sync.js | 2 +- implementors/core/marker/trait.Unpin.js | 2 +- implementors/serde/de/trait.Deserialize.js | 2 +- implementors/serde/ser/trait.Serialize.js | 2 +- implementors/std/panic/trait.RefUnwindSafe.js | 2 +- implementors/std/panic/trait.UnwindSafe.js | 2 +- search-index.js | 4 +- src/guard/api/v1/auth.rs.html | 226 ---------- src/guard/api/v1/mcaptcha.rs.html | 426 ++++++++++++------ src/guard/api/v1/mod.rs.html | 22 + src/guard/errors.rs.html | 38 +- 47 files changed, 1786 insertions(+), 421 deletions(-) create mode 100644 guard/api/v1/mcaptcha/fn.get_levels_util.html create mode 100644 guard/api/v1/mcaptcha/struct.AddLevels.html create mode 100644 guard/api/v1/mcaptcha/struct.Duration.html create mode 100644 guard/api/v1/mcaptcha/struct.GetDuration.html create mode 100644 guard/api/v1/mcaptcha/struct.GetLevels.html create mode 100644 guard/api/v1/mcaptcha/struct.I32Levels.html create mode 100644 guard/api/v1/mcaptcha/struct.Levels.html create mode 100644 guard/api/v1/mcaptcha/struct.add_levels.html create mode 100644 guard/api/v1/mcaptcha/struct.delete_levels.html create mode 100644 guard/api/v1/mcaptcha/struct.get_duration.html create mode 100644 guard/api/v1/mcaptcha/struct.get_levels.html create mode 100644 guard/api/v1/mcaptcha/struct.update_duration.html create mode 100644 guard/api/v1/mcaptcha/struct.update_levels.html diff --git a/guard/all.html b/guard/all.html index fe6dfa88..33ad7bab 100644 --- a/guard/all.html +++ b/guard/all.html @@ -3,4 +3,4 @@

[] - List of all items

Structs

Enums

Functions

Typedefs

\ No newline at end of file + List of all items

Structs

Enums

Functions

Typedefs

\ No newline at end of file diff --git a/guard/api/v1/auth/index.html b/guard/api/v1/auth/index.html index 2b239849..7d0dc063 100644 --- a/guard/api/v1/auth/index.html +++ b/guard/api/v1/auth/index.html @@ -1,7 +1,7 @@ guard::api::v1::auth - Rust

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

Structs

+ Change settings

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

Structs

Login
Password
Register
delete_account
signin
signout
signup

Functions

is_authenticated

Check if user is authenticated

\ No newline at end of file diff --git a/guard/api/v1/fn.services.html b/guard/api/v1/fn.services.html index 7a306557..0d3f2f89 100644 --- a/guard/api/v1/fn.services.html +++ b/guard/api/v1/fn.services.html @@ -1,4 +1,4 @@ guard::api::v1::services - Rust

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

pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file + Change settings

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

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 65771f42..a00eca0e 100644 --- a/guard/api/v1/index.html +++ b/guard/api/v1/index.html @@ -1,6 +1,6 @@ guard::api::v1 - Rust

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

Modules

+ Change settings

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

Modules

auth
mcaptcha

Functions

services
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/fn.get_levels_util.html b/guard/api/v1/mcaptcha/fn.get_levels_util.html new file mode 100644 index 00000000..8bd66196 --- /dev/null +++ b/guard/api/v1/mcaptcha/fn.get_levels_util.html @@ -0,0 +1,4 @@ +guard::api::v1::mcaptcha::get_levels_util - Rust + +

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

async fn get_levels_util(
    name: &str,
    data: &Data
) -> Result<Vec<I32Levels>, ServiceError>
\ 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 e4af1fb3..918aaf81 100644 --- a/guard/api/v1/mcaptcha/fn.get_random.html +++ b/guard/api/v1/mcaptcha/fn.get_random.html @@ -1,4 +1,4 @@ guard::api::v1::mcaptcha::get_random - Rust

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

fn get_random(len: usize) -> String
\ No newline at end of file + Change settings

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

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 2b7b7de6..bb167a60 100644 --- a/guard/api/v1/mcaptcha/index.html +++ b/guard/api/v1/mcaptcha/index.html @@ -1,6 +1,6 @@ guard::api::v1::mcaptcha - Rust

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

Structs

-
CreateToken
Domain
TokenKeyPair
add_domain
add_mcaptcha
delete_domain
delete_mcaptcha

Functions

-
get_random
\ No newline at end of file + Change settings

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

Structs

+
AddLevels
CreateToken
Domain
Duration
GetDuration
GetLevels
I32Levels
Levels
TokenKeyPair
add_domain
add_levels
add_mcaptcha
delete_domain
delete_levels
delete_mcaptcha
get_duration
get_levels
update_duration
update_levels

Functions

+
get_levels_util
get_random
\ 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 7d555adb..853c449f 100644 --- a/guard/api/v1/mcaptcha/sidebar-items.js +++ b/guard/api/v1/mcaptcha/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["get_random",""]],"struct":[["CreateToken",""],["Domain",""],["TokenKeyPair",""],["add_domain",""],["add_mcaptcha",""],["delete_domain",""],["delete_mcaptcha",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["get_levels_util",""],["get_random",""]],"struct":[["AddLevels",""],["CreateToken",""],["Domain",""],["Duration",""],["GetDuration",""],["GetLevels",""],["I32Levels",""],["Levels",""],["TokenKeyPair",""],["add_domain",""],["add_levels",""],["add_mcaptcha",""],["delete_domain",""],["delete_levels",""],["delete_mcaptcha",""],["get_duration",""],["get_levels",""],["update_duration",""],["update_levels",""]]}); \ No newline at end of file diff --git a/guard/api/v1/mcaptcha/struct.AddLevels.html b/guard/api/v1/mcaptcha/struct.AddLevels.html new file mode 100644 index 00000000..78e68d0d --- /dev/null +++ b/guard/api/v1/mcaptcha/struct.AddLevels.html @@ -0,0 +1,117 @@ +guard::api::v1::mcaptcha::AddLevels - Rust + +

[][src]Struct guard::api::v1::mcaptcha::AddLevels

pub struct AddLevels {
+    pub levels: Vec<Level>,
+    pub name: String,
+}

+ Fields

levels: Vec<Level>name: String

Trait Implementations

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

impl Serialize for AddLevels[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> 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/struct.CreateToken.html b/guard/api/v1/mcaptcha/struct.CreateToken.html index 2c0db7c2..fb1d15c3 100644 --- a/guard/api/v1/mcaptcha/struct.CreateToken.html +++ b/guard/api/v1/mcaptcha/struct.CreateToken.html @@ -1,15 +1,15 @@ guard::api::v1::mcaptcha::CreateToken - Rust

[][src]Struct guard::api::v1::mcaptcha::CreateToken

pub struct CreateToken {
+                Change settings

[][src]Struct guard::api::v1::mcaptcha::CreateToken

pub struct CreateToken {
     pub name: String,
     pub domain: String,
 }

- Fields

name: Stringdomain: String

Trait Implementations

impl Clone for CreateToken[src]