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]