diff --git a/guard/all.html b/guard/all.html index 6adb2ecc..502be0c6 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/mcaptcha/domains/struct.verify.html b/guard/api/v1/mcaptcha/domains/struct.verify.html index 48d5afba..7058116c 100644 --- a/guard/api/v1/mcaptcha/domains/struct.verify.html +++ b/guard/api/v1/mcaptcha/domains/struct.verify.html @@ -1,7 +1,7 @@ guard::api::v1::mcaptcha::domains::verify - Rust

Struct guard::api::v1::mcaptcha::domains::verify[][src]

pub struct verify;

Trait Implementations

impl HttpServiceFactory for verify[src]

Auto Trait Implementations

impl RefUnwindSafe for verify[src]

impl Send for verify[src]

impl Sync for verify[src]

impl Unpin for verify[src]

impl UnwindSafe for verify[src]

Blanket Implementations

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

Struct guard::api::v1::mcaptcha::domains::verify[][src]

pub struct verify;

Trait Implementations

impl HttpServiceFactory for verify[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

Function guard::get_identity_service[][src]

pub fn get_identity_service() -> IdentityService<CookieIdentityPolicy>
\ No newline at end of file diff --git a/guard/fn.get_json_err.html b/guard/fn.get_json_err.html index 7ce5d907..4f85dcde 100644 --- a/guard/fn.get_json_err.html +++ b/guard/fn.get_json_err.html @@ -1,5 +1,5 @@ guard::get_json_err - Rust

Function guard::get_json_err[][src]

pub fn get_json_err() -> JsonConfig
+ Change settings

Function guard::get_json_err[][src]

pub fn get_json_err() -> JsonConfig
\ No newline at end of file diff --git a/guard/fn.main.html b/guard/fn.main.html index 065ed23b..6c1b306e 100644 --- a/guard/fn.main.html +++ b/guard/fn.main.html @@ -1,5 +1,5 @@ guard::main - Rust

Function guard::main[][src]

pub(crate) fn main() -> Result<()>
+ Change settings

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 b7c83621..5e447dac 100644 --- a/guard/index.html +++ b/guard/index.html @@ -1,9 +1,9 @@ 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
VERSION

Functions

+
PKG_DESCRIPTION
PKG_HOMEPAGE
PKG_NAME
VERIFICATION_PATH
VERSION

Functions

get_identity_service
get_json_err
main
\ No newline at end of file diff --git a/guard/sidebar-items.js b/guard/sidebar-items.js index f91e7b17..1f0d79f6 100644 --- a/guard/sidebar-items.js +++ b/guard/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["get_identity_service",""],["get_json_err",""],["main",""]],"mod":[["api",""],["data",""],["errors",""],["settings",""]],"static":[["PKG_DESCRIPTION",""],["PKG_HOMEPAGE",""],["PKG_NAME",""],["VERSION",""]],"struct":[["Data",""],["GIT_COMMIT_HASH",""],["SETTINGS",""],["Settings",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["get_identity_service",""],["get_json_err",""],["main",""]],"mod":[["api",""],["data",""],["errors",""],["settings",""]],"static":[["PKG_DESCRIPTION",""],["PKG_HOMEPAGE",""],["PKG_NAME",""],["VERIFICATION_PATH",""],["VERSION",""]],"struct":[["Data",""],["GIT_COMMIT_HASH",""],["SETTINGS",""],["Settings",""]]}); \ No newline at end of file diff --git a/guard/static.VERIFICATION_PATH.html b/guard/static.VERIFICATION_PATH.html new file mode 100644 index 00000000..636d7b6d --- /dev/null +++ b/guard/static.VERIFICATION_PATH.html @@ -0,0 +1,5 @@ +guard::VERIFICATION_PATH - Rust + +

Static guard::VERIFICATION_PATH[][src]

pub static VERIFICATION_PATH: &str
+ \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 0793b72b..4f50b76d 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Clone for Data","synthetic":false,"types":["guard::data::Data"]},{"text":"impl Clone for ServiceError","synthetic":false,"types":["guard::errors::ServiceError"]},{"text":"impl Clone for Register","synthetic":false,"types":["guard::api::v1::auth::Register"]},{"text":"impl Clone for Login","synthetic":false,"types":["guard::api::v1::auth::Login"]},{"text":"impl Clone for Domain","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Clone for Challenge","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Clone for MCaptchaID","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Clone for MCaptchaDetails","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Clone for Health","synthetic":false,"types":["guard::api::v1::meta::Health"]},{"text":"impl Clone for HealthBuilder","synthetic":false,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl Clone for Server","synthetic":false,"types":["guard::settings::Server"]},{"text":"impl Clone for Captcha","synthetic":false,"types":["guard::settings::Captcha"]},{"text":"impl Clone for DatabaseBuilder","synthetic":false,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl Clone for Database","synthetic":false,"types":["guard::settings::Database"]},{"text":"impl Clone for Settings","synthetic":false,"types":["guard::settings::Settings"]}]; -implementors["kv_test_util"] = [{"text":"impl Clone for Challenge","synthetic":false,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl Clone for Data","synthetic":false,"types":["tests_migrate::data::Data"]},{"text":"impl Clone for Server","synthetic":false,"types":["tests_migrate::settings::Server"]},{"text":"impl Clone for Captcha","synthetic":false,"types":["tests_migrate::settings::Captcha"]},{"text":"impl Clone for DatabaseBuilder","synthetic":false,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl Clone for Database","synthetic":false,"types":["tests_migrate::settings::Database"]},{"text":"impl Clone for Settings","synthetic":false,"types":["tests_migrate::settings::Settings"]}]; 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 6c53dd5f..640bd88f 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Debug for ServiceError","synthetic":false,"types":["guard::errors::ServiceError"]},{"text":"impl Debug for Register","synthetic":false,"types":["guard::api::v1::auth::Register"]},{"text":"impl Debug for Login","synthetic":false,"types":["guard::api::v1::auth::Login"]},{"text":"impl Debug for Domain","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Debug for Challenge","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Debug for MCaptchaID","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Debug for MCaptchaDetails","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Debug for Health","synthetic":false,"types":["guard::api::v1::meta::Health"]},{"text":"impl Debug for Server","synthetic":false,"types":["guard::settings::Server"]},{"text":"impl Debug for Captcha","synthetic":false,"types":["guard::settings::Captcha"]},{"text":"impl Debug for DatabaseBuilder","synthetic":false,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl Debug for Database","synthetic":false,"types":["guard::settings::Database"]},{"text":"impl Debug for Settings","synthetic":false,"types":["guard::settings::Settings"]}]; -implementors["kv_test_util"] = [{"text":"impl Debug for Challenge","synthetic":false,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl Debug for Server","synthetic":false,"types":["tests_migrate::settings::Server"]},{"text":"impl Debug for Captcha","synthetic":false,"types":["tests_migrate::settings::Captcha"]},{"text":"impl Debug for DatabaseBuilder","synthetic":false,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl Debug for Database","synthetic":false,"types":["tests_migrate::settings::Database"]},{"text":"impl Debug for Settings","synthetic":false,"types":["tests_migrate::settings::Settings"]}]; 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 6ddbbe88..c9f6a6cf 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Freeze for Data","synthetic":true,"types":["guard::data::Data"]},{"text":"impl Freeze for ServiceError","synthetic":true,"types":["guard::errors::ServiceError"]},{"text":"impl Freeze for ErrorToResponse","synthetic":true,"types":["guard::errors::ErrorToResponse"]},{"text":"impl Freeze for Register","synthetic":true,"types":["guard::api::v1::auth::Register"]},{"text":"impl Freeze for Login","synthetic":true,"types":["guard::api::v1::auth::Login"]},{"text":"impl Freeze for Password","synthetic":true,"types":["guard::api::v1::auth::Password"]},{"text":"impl Freeze for signup","synthetic":true,"types":["guard::api::v1::auth::signup"]},{"text":"impl Freeze for signin","synthetic":true,"types":["guard::api::v1::auth::signin"]},{"text":"impl Freeze for signout","synthetic":true,"types":["guard::api::v1::auth::signout"]},{"text":"impl Freeze for delete_account","synthetic":true,"types":["guard::api::v1::auth::delete_account"]},{"text":"impl Freeze for Domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Freeze for add_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::add_domain"]},{"text":"impl Freeze for Challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Freeze for get_challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::get_challenge"]},{"text":"impl Freeze for verify","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::verify"]},{"text":"impl Freeze for delete_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::delete_domain"]},{"text":"impl Freeze for UpdateDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl Freeze for update_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::update_duration"]},{"text":"impl Freeze for GetDurationResp","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl Freeze for GetDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl Freeze for get_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::get_duration"]},{"text":"impl Freeze for AddLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl Freeze for add_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::add_levels"]},{"text":"impl Freeze for update_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::update_levels"]},{"text":"impl Freeze for delete_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::delete_levels"]},{"text":"impl Freeze for GetLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl Freeze for get_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::get_levels"]},{"text":"impl Freeze for Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl Freeze for I32Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl Freeze for MCaptchaID","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Freeze for MCaptchaDetails","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Freeze for add_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::add_mcaptcha"]},{"text":"impl Freeze for delete_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::delete_mcaptcha"]},{"text":"impl Freeze for build_details","synthetic":true,"types":["guard::api::v1::meta::build_details"]},{"text":"impl Freeze for Health","synthetic":true,"types":["guard::api::v1::meta::Health"]},{"text":"impl Freeze for HealthBuilder","synthetic":true,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl Freeze for health","synthetic":true,"types":["guard::api::v1::meta::health"]},{"text":"impl Freeze for Server","synthetic":true,"types":["guard::settings::Server"]},{"text":"impl Freeze for Captcha","synthetic":true,"types":["guard::settings::Captcha"]},{"text":"impl Freeze for DatabaseBuilder","synthetic":true,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl Freeze for Database","synthetic":true,"types":["guard::settings::Database"]},{"text":"impl Freeze for Settings","synthetic":true,"types":["guard::settings::Settings"]},{"text":"impl Freeze for SETTINGS","synthetic":true,"types":["guard::SETTINGS"]},{"text":"impl Freeze for GIT_COMMIT_HASH","synthetic":true,"types":["guard::GIT_COMMIT_HASH"]}]; -implementors["kv_test_util"] = [{"text":"impl Freeze for Challenge","synthetic":true,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl Freeze for Data","synthetic":true,"types":["tests_migrate::data::Data"]},{"text":"impl Freeze for Server","synthetic":true,"types":["tests_migrate::settings::Server"]},{"text":"impl Freeze for Captcha","synthetic":true,"types":["tests_migrate::settings::Captcha"]},{"text":"impl Freeze for DatabaseBuilder","synthetic":true,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl Freeze for Database","synthetic":true,"types":["tests_migrate::settings::Database"]},{"text":"impl Freeze for Settings","synthetic":true,"types":["tests_migrate::settings::Settings"]},{"text":"impl Freeze for SETTINGS","synthetic":true,"types":["tests_migrate::SETTINGS"]}]; 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 8519fdb3..50747b19 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Send for Data","synthetic":true,"types":["guard::data::Data"]},{"text":"impl Send for ServiceError","synthetic":true,"types":["guard::errors::ServiceError"]},{"text":"impl Send for ErrorToResponse","synthetic":true,"types":["guard::errors::ErrorToResponse"]},{"text":"impl Send for Register","synthetic":true,"types":["guard::api::v1::auth::Register"]},{"text":"impl Send for Login","synthetic":true,"types":["guard::api::v1::auth::Login"]},{"text":"impl Send for Password","synthetic":true,"types":["guard::api::v1::auth::Password"]},{"text":"impl Send for signup","synthetic":true,"types":["guard::api::v1::auth::signup"]},{"text":"impl Send for signin","synthetic":true,"types":["guard::api::v1::auth::signin"]},{"text":"impl Send for signout","synthetic":true,"types":["guard::api::v1::auth::signout"]},{"text":"impl Send for delete_account","synthetic":true,"types":["guard::api::v1::auth::delete_account"]},{"text":"impl Send for Domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Send for add_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::add_domain"]},{"text":"impl Send for Challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Send for get_challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::get_challenge"]},{"text":"impl Send for verify","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::verify"]},{"text":"impl Send for delete_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::delete_domain"]},{"text":"impl Send for UpdateDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl Send for update_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::update_duration"]},{"text":"impl Send for GetDurationResp","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl Send for GetDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl Send for get_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::get_duration"]},{"text":"impl Send for AddLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl Send for add_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::add_levels"]},{"text":"impl Send for update_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::update_levels"]},{"text":"impl Send for delete_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::delete_levels"]},{"text":"impl Send for GetLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl Send for get_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::get_levels"]},{"text":"impl Send for Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl Send for I32Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl Send for MCaptchaID","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Send for MCaptchaDetails","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Send for add_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::add_mcaptcha"]},{"text":"impl Send for delete_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::delete_mcaptcha"]},{"text":"impl Send for build_details","synthetic":true,"types":["guard::api::v1::meta::build_details"]},{"text":"impl Send for Health","synthetic":true,"types":["guard::api::v1::meta::Health"]},{"text":"impl Send for HealthBuilder","synthetic":true,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl Send for health","synthetic":true,"types":["guard::api::v1::meta::health"]},{"text":"impl Send for Server","synthetic":true,"types":["guard::settings::Server"]},{"text":"impl Send for Captcha","synthetic":true,"types":["guard::settings::Captcha"]},{"text":"impl Send for DatabaseBuilder","synthetic":true,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl Send for Database","synthetic":true,"types":["guard::settings::Database"]},{"text":"impl Send for Settings","synthetic":true,"types":["guard::settings::Settings"]},{"text":"impl Send for SETTINGS","synthetic":true,"types":["guard::SETTINGS"]},{"text":"impl Send for GIT_COMMIT_HASH","synthetic":true,"types":["guard::GIT_COMMIT_HASH"]}]; -implementors["kv_test_util"] = [{"text":"impl Send for Challenge","synthetic":true,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl Send for Data","synthetic":true,"types":["tests_migrate::data::Data"]},{"text":"impl Send for Server","synthetic":true,"types":["tests_migrate::settings::Server"]},{"text":"impl Send for Captcha","synthetic":true,"types":["tests_migrate::settings::Captcha"]},{"text":"impl Send for DatabaseBuilder","synthetic":true,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl Send for Database","synthetic":true,"types":["tests_migrate::settings::Database"]},{"text":"impl Send for Settings","synthetic":true,"types":["tests_migrate::settings::Settings"]},{"text":"impl Send for SETTINGS","synthetic":true,"types":["tests_migrate::SETTINGS"]}]; 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 32e4b047..f652f5e4 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Sync for Data","synthetic":true,"types":["guard::data::Data"]},{"text":"impl Sync for ServiceError","synthetic":true,"types":["guard::errors::ServiceError"]},{"text":"impl Sync for ErrorToResponse","synthetic":true,"types":["guard::errors::ErrorToResponse"]},{"text":"impl Sync for Register","synthetic":true,"types":["guard::api::v1::auth::Register"]},{"text":"impl Sync for Login","synthetic":true,"types":["guard::api::v1::auth::Login"]},{"text":"impl Sync for Password","synthetic":true,"types":["guard::api::v1::auth::Password"]},{"text":"impl Sync for signup","synthetic":true,"types":["guard::api::v1::auth::signup"]},{"text":"impl Sync for signin","synthetic":true,"types":["guard::api::v1::auth::signin"]},{"text":"impl Sync for signout","synthetic":true,"types":["guard::api::v1::auth::signout"]},{"text":"impl Sync for delete_account","synthetic":true,"types":["guard::api::v1::auth::delete_account"]},{"text":"impl Sync for Domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Sync for add_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::add_domain"]},{"text":"impl Sync for Challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Sync for get_challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::get_challenge"]},{"text":"impl Sync for verify","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::verify"]},{"text":"impl Sync for delete_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::delete_domain"]},{"text":"impl Sync for UpdateDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl Sync for update_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::update_duration"]},{"text":"impl Sync for GetDurationResp","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl Sync for GetDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl Sync for get_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::get_duration"]},{"text":"impl Sync for AddLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl Sync for add_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::add_levels"]},{"text":"impl Sync for update_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::update_levels"]},{"text":"impl Sync for delete_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::delete_levels"]},{"text":"impl Sync for GetLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl Sync for get_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::get_levels"]},{"text":"impl Sync for Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl Sync for I32Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl Sync for MCaptchaID","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Sync for MCaptchaDetails","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Sync for add_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::add_mcaptcha"]},{"text":"impl Sync for delete_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::delete_mcaptcha"]},{"text":"impl Sync for build_details","synthetic":true,"types":["guard::api::v1::meta::build_details"]},{"text":"impl Sync for Health","synthetic":true,"types":["guard::api::v1::meta::Health"]},{"text":"impl Sync for HealthBuilder","synthetic":true,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl Sync for health","synthetic":true,"types":["guard::api::v1::meta::health"]},{"text":"impl Sync for Server","synthetic":true,"types":["guard::settings::Server"]},{"text":"impl Sync for Captcha","synthetic":true,"types":["guard::settings::Captcha"]},{"text":"impl Sync for DatabaseBuilder","synthetic":true,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl Sync for Database","synthetic":true,"types":["guard::settings::Database"]},{"text":"impl Sync for Settings","synthetic":true,"types":["guard::settings::Settings"]},{"text":"impl Sync for SETTINGS","synthetic":true,"types":["guard::SETTINGS"]},{"text":"impl Sync for GIT_COMMIT_HASH","synthetic":true,"types":["guard::GIT_COMMIT_HASH"]}]; -implementors["kv_test_util"] = [{"text":"impl Sync for Challenge","synthetic":true,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl Sync for Data","synthetic":true,"types":["tests_migrate::data::Data"]},{"text":"impl Sync for Server","synthetic":true,"types":["tests_migrate::settings::Server"]},{"text":"impl Sync for Captcha","synthetic":true,"types":["tests_migrate::settings::Captcha"]},{"text":"impl Sync for DatabaseBuilder","synthetic":true,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl Sync for Database","synthetic":true,"types":["tests_migrate::settings::Database"]},{"text":"impl Sync for Settings","synthetic":true,"types":["tests_migrate::settings::Settings"]},{"text":"impl Sync for SETTINGS","synthetic":true,"types":["tests_migrate::SETTINGS"]}]; 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 3baf4a03..6e8bd920 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Unpin for Data","synthetic":true,"types":["guard::data::Data"]},{"text":"impl Unpin for ServiceError","synthetic":true,"types":["guard::errors::ServiceError"]},{"text":"impl Unpin for ErrorToResponse","synthetic":true,"types":["guard::errors::ErrorToResponse"]},{"text":"impl Unpin for Register","synthetic":true,"types":["guard::api::v1::auth::Register"]},{"text":"impl Unpin for Login","synthetic":true,"types":["guard::api::v1::auth::Login"]},{"text":"impl Unpin for Password","synthetic":true,"types":["guard::api::v1::auth::Password"]},{"text":"impl Unpin for signup","synthetic":true,"types":["guard::api::v1::auth::signup"]},{"text":"impl Unpin for signin","synthetic":true,"types":["guard::api::v1::auth::signin"]},{"text":"impl Unpin for signout","synthetic":true,"types":["guard::api::v1::auth::signout"]},{"text":"impl Unpin for delete_account","synthetic":true,"types":["guard::api::v1::auth::delete_account"]},{"text":"impl Unpin for Domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Unpin for add_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::add_domain"]},{"text":"impl Unpin for Challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Unpin for get_challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::get_challenge"]},{"text":"impl Unpin for verify","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::verify"]},{"text":"impl Unpin for delete_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::delete_domain"]},{"text":"impl Unpin for UpdateDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl Unpin for update_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::update_duration"]},{"text":"impl Unpin for GetDurationResp","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl Unpin for GetDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl Unpin for get_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::get_duration"]},{"text":"impl Unpin for AddLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl Unpin for add_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::add_levels"]},{"text":"impl Unpin for update_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::update_levels"]},{"text":"impl Unpin for delete_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::delete_levels"]},{"text":"impl Unpin for GetLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl Unpin for get_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::get_levels"]},{"text":"impl Unpin for Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl Unpin for I32Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl Unpin for MCaptchaID","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Unpin for MCaptchaDetails","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Unpin for add_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::add_mcaptcha"]},{"text":"impl Unpin for delete_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::delete_mcaptcha"]},{"text":"impl Unpin for build_details","synthetic":true,"types":["guard::api::v1::meta::build_details"]},{"text":"impl Unpin for Health","synthetic":true,"types":["guard::api::v1::meta::Health"]},{"text":"impl Unpin for HealthBuilder","synthetic":true,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl Unpin for health","synthetic":true,"types":["guard::api::v1::meta::health"]},{"text":"impl Unpin for Server","synthetic":true,"types":["guard::settings::Server"]},{"text":"impl Unpin for Captcha","synthetic":true,"types":["guard::settings::Captcha"]},{"text":"impl Unpin for DatabaseBuilder","synthetic":true,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl Unpin for Database","synthetic":true,"types":["guard::settings::Database"]},{"text":"impl Unpin for Settings","synthetic":true,"types":["guard::settings::Settings"]},{"text":"impl Unpin for SETTINGS","synthetic":true,"types":["guard::SETTINGS"]},{"text":"impl Unpin for GIT_COMMIT_HASH","synthetic":true,"types":["guard::GIT_COMMIT_HASH"]}]; -implementors["kv_test_util"] = [{"text":"impl Unpin for Challenge","synthetic":true,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl Unpin for Data","synthetic":true,"types":["tests_migrate::data::Data"]},{"text":"impl Unpin for Server","synthetic":true,"types":["tests_migrate::settings::Server"]},{"text":"impl Unpin for Captcha","synthetic":true,"types":["tests_migrate::settings::Captcha"]},{"text":"impl Unpin for DatabaseBuilder","synthetic":true,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl Unpin for Database","synthetic":true,"types":["tests_migrate::settings::Database"]},{"text":"impl Unpin for Settings","synthetic":true,"types":["tests_migrate::settings::Settings"]},{"text":"impl Unpin for SETTINGS","synthetic":true,"types":["tests_migrate::SETTINGS"]}]; 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 b60e7ec9..86e8c0f6 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl<'de> Deserialize<'de> for ErrorToResponse","synthetic":false,"types":["guard::errors::ErrorToResponse"]},{"text":"impl<'de> Deserialize<'de> for Register","synthetic":false,"types":["guard::api::v1::auth::Register"]},{"text":"impl<'de> Deserialize<'de> for Login","synthetic":false,"types":["guard::api::v1::auth::Login"]},{"text":"impl<'de> Deserialize<'de> for Domain","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl<'de> Deserialize<'de> for Challenge","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl<'de> Deserialize<'de> for UpdateDuration","synthetic":false,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl<'de> Deserialize<'de> for GetDurationResp","synthetic":false,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl<'de> Deserialize<'de> for GetDuration","synthetic":false,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl<'de> Deserialize<'de> for AddLevels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl<'de> Deserialize<'de> for GetLevels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl<'de> Deserialize<'de> for Levels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl<'de> Deserialize<'de> for I32Levels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl<'de> Deserialize<'de> for MCaptchaID","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl<'de> Deserialize<'de> for MCaptchaDetails","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl<'de> Deserialize<'de> for Health","synthetic":false,"types":["guard::api::v1::meta::Health"]},{"text":"impl<'de> Deserialize<'de> for Server","synthetic":false,"types":["guard::settings::Server"]},{"text":"impl<'de> Deserialize<'de> for Captcha","synthetic":false,"types":["guard::settings::Captcha"]},{"text":"impl<'de> Deserialize<'de> for DatabaseBuilder","synthetic":false,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl<'de> Deserialize<'de> for Database","synthetic":false,"types":["guard::settings::Database"]},{"text":"impl<'de> Deserialize<'de> for Settings","synthetic":false,"types":["guard::settings::Settings"]}]; -implementors["kv_test_util"] = [{"text":"impl<'de> Deserialize<'de> for Challenge","synthetic":false,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl<'de> Deserialize<'de> for Server","synthetic":false,"types":["tests_migrate::settings::Server"]},{"text":"impl<'de> Deserialize<'de> for Captcha","synthetic":false,"types":["tests_migrate::settings::Captcha"]},{"text":"impl<'de> Deserialize<'de> for DatabaseBuilder","synthetic":false,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl<'de> Deserialize<'de> for Database","synthetic":false,"types":["tests_migrate::settings::Database"]},{"text":"impl<'de> Deserialize<'de> for Settings","synthetic":false,"types":["tests_migrate::settings::Settings"]}]; 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 4f83596e..28034754 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,4 +1,3 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl Serialize for ErrorToResponse","synthetic":false,"types":["guard::errors::ErrorToResponse"]},{"text":"impl Serialize for Register","synthetic":false,"types":["guard::api::v1::auth::Register"]},{"text":"impl Serialize for Login","synthetic":false,"types":["guard::api::v1::auth::Login"]},{"text":"impl Serialize for Domain","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl Serialize for Challenge","synthetic":false,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl Serialize for UpdateDuration","synthetic":false,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl Serialize for GetDurationResp","synthetic":false,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl Serialize for GetDuration","synthetic":false,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl Serialize for AddLevels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl Serialize for GetLevels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl Serialize for Levels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl Serialize for I32Levels","synthetic":false,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl Serialize for MCaptchaID","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl Serialize for MCaptchaDetails","synthetic":false,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl Serialize for Health","synthetic":false,"types":["guard::api::v1::meta::Health"]}]; -implementors["kv_test_util"] = [{"text":"impl Serialize for Challenge","synthetic":false,"types":["kv_test_util::Challenge"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/std/panic/trait.RefUnwindSafe.js b/implementors/std/panic/trait.RefUnwindSafe.js index 35d5ccfa..0f8cbce3 100644 --- a/implementors/std/panic/trait.RefUnwindSafe.js +++ b/implementors/std/panic/trait.RefUnwindSafe.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl !RefUnwindSafe for Data","synthetic":true,"types":["guard::data::Data"]},{"text":"impl RefUnwindSafe for ServiceError","synthetic":true,"types":["guard::errors::ServiceError"]},{"text":"impl RefUnwindSafe for ErrorToResponse","synthetic":true,"types":["guard::errors::ErrorToResponse"]},{"text":"impl RefUnwindSafe for Register","synthetic":true,"types":["guard::api::v1::auth::Register"]},{"text":"impl RefUnwindSafe for Login","synthetic":true,"types":["guard::api::v1::auth::Login"]},{"text":"impl RefUnwindSafe for Password","synthetic":true,"types":["guard::api::v1::auth::Password"]},{"text":"impl RefUnwindSafe for signup","synthetic":true,"types":["guard::api::v1::auth::signup"]},{"text":"impl RefUnwindSafe for signin","synthetic":true,"types":["guard::api::v1::auth::signin"]},{"text":"impl RefUnwindSafe for signout","synthetic":true,"types":["guard::api::v1::auth::signout"]},{"text":"impl RefUnwindSafe for delete_account","synthetic":true,"types":["guard::api::v1::auth::delete_account"]},{"text":"impl RefUnwindSafe for Domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl RefUnwindSafe for add_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::add_domain"]},{"text":"impl RefUnwindSafe for Challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl RefUnwindSafe for get_challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::get_challenge"]},{"text":"impl RefUnwindSafe for verify","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::verify"]},{"text":"impl RefUnwindSafe for delete_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::delete_domain"]},{"text":"impl RefUnwindSafe for UpdateDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl RefUnwindSafe for update_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::update_duration"]},{"text":"impl RefUnwindSafe for GetDurationResp","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl RefUnwindSafe for GetDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl RefUnwindSafe for get_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::get_duration"]},{"text":"impl RefUnwindSafe for AddLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl RefUnwindSafe for add_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::add_levels"]},{"text":"impl RefUnwindSafe for update_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::update_levels"]},{"text":"impl RefUnwindSafe for delete_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::delete_levels"]},{"text":"impl RefUnwindSafe for GetLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl RefUnwindSafe for get_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::get_levels"]},{"text":"impl RefUnwindSafe for Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl RefUnwindSafe for I32Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl RefUnwindSafe for MCaptchaID","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl RefUnwindSafe for MCaptchaDetails","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl RefUnwindSafe for add_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::add_mcaptcha"]},{"text":"impl RefUnwindSafe for delete_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::delete_mcaptcha"]},{"text":"impl RefUnwindSafe for build_details","synthetic":true,"types":["guard::api::v1::meta::build_details"]},{"text":"impl RefUnwindSafe for Health","synthetic":true,"types":["guard::api::v1::meta::Health"]},{"text":"impl RefUnwindSafe for HealthBuilder","synthetic":true,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl RefUnwindSafe for health","synthetic":true,"types":["guard::api::v1::meta::health"]},{"text":"impl RefUnwindSafe for Server","synthetic":true,"types":["guard::settings::Server"]},{"text":"impl RefUnwindSafe for Captcha","synthetic":true,"types":["guard::settings::Captcha"]},{"text":"impl RefUnwindSafe for DatabaseBuilder","synthetic":true,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl RefUnwindSafe for Database","synthetic":true,"types":["guard::settings::Database"]},{"text":"impl RefUnwindSafe for Settings","synthetic":true,"types":["guard::settings::Settings"]},{"text":"impl RefUnwindSafe for SETTINGS","synthetic":true,"types":["guard::SETTINGS"]},{"text":"impl RefUnwindSafe for GIT_COMMIT_HASH","synthetic":true,"types":["guard::GIT_COMMIT_HASH"]}]; -implementors["kv_test_util"] = [{"text":"impl RefUnwindSafe for Challenge","synthetic":true,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl !RefUnwindSafe for Data","synthetic":true,"types":["tests_migrate::data::Data"]},{"text":"impl RefUnwindSafe for Server","synthetic":true,"types":["tests_migrate::settings::Server"]},{"text":"impl RefUnwindSafe for Captcha","synthetic":true,"types":["tests_migrate::settings::Captcha"]},{"text":"impl RefUnwindSafe for DatabaseBuilder","synthetic":true,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl RefUnwindSafe for Database","synthetic":true,"types":["tests_migrate::settings::Database"]},{"text":"impl RefUnwindSafe for Settings","synthetic":true,"types":["tests_migrate::settings::Settings"]},{"text":"impl RefUnwindSafe for SETTINGS","synthetic":true,"types":["tests_migrate::SETTINGS"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/std/panic/trait.UnwindSafe.js b/implementors/std/panic/trait.UnwindSafe.js index 5621d730..fdd653e3 100644 --- a/implementors/std/panic/trait.UnwindSafe.js +++ b/implementors/std/panic/trait.UnwindSafe.js @@ -1,5 +1,4 @@ (function() {var implementors = {}; implementors["guard"] = [{"text":"impl !UnwindSafe for Data","synthetic":true,"types":["guard::data::Data"]},{"text":"impl UnwindSafe for ServiceError","synthetic":true,"types":["guard::errors::ServiceError"]},{"text":"impl UnwindSafe for ErrorToResponse","synthetic":true,"types":["guard::errors::ErrorToResponse"]},{"text":"impl UnwindSafe for Register","synthetic":true,"types":["guard::api::v1::auth::Register"]},{"text":"impl UnwindSafe for Login","synthetic":true,"types":["guard::api::v1::auth::Login"]},{"text":"impl UnwindSafe for Password","synthetic":true,"types":["guard::api::v1::auth::Password"]},{"text":"impl UnwindSafe for signup","synthetic":true,"types":["guard::api::v1::auth::signup"]},{"text":"impl UnwindSafe for signin","synthetic":true,"types":["guard::api::v1::auth::signin"]},{"text":"impl UnwindSafe for signout","synthetic":true,"types":["guard::api::v1::auth::signout"]},{"text":"impl UnwindSafe for delete_account","synthetic":true,"types":["guard::api::v1::auth::delete_account"]},{"text":"impl UnwindSafe for Domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Domain"]},{"text":"impl UnwindSafe for add_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::add_domain"]},{"text":"impl UnwindSafe for Challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::Challenge"]},{"text":"impl UnwindSafe for get_challenge","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::get_challenge"]},{"text":"impl UnwindSafe for verify","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::verify"]},{"text":"impl UnwindSafe for delete_domain","synthetic":true,"types":["guard::api::v1::mcaptcha::domains::delete_domain"]},{"text":"impl UnwindSafe for UpdateDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::UpdateDuration"]},{"text":"impl UnwindSafe for update_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::update_duration"]},{"text":"impl UnwindSafe for GetDurationResp","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDurationResp"]},{"text":"impl UnwindSafe for GetDuration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::GetDuration"]},{"text":"impl UnwindSafe for get_duration","synthetic":true,"types":["guard::api::v1::mcaptcha::duration::get_duration"]},{"text":"impl UnwindSafe for AddLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::AddLevels"]},{"text":"impl UnwindSafe for add_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::add_levels"]},{"text":"impl UnwindSafe for update_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::update_levels"]},{"text":"impl UnwindSafe for delete_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::delete_levels"]},{"text":"impl UnwindSafe for GetLevels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::GetLevels"]},{"text":"impl UnwindSafe for get_levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::get_levels"]},{"text":"impl UnwindSafe for Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::Levels"]},{"text":"impl UnwindSafe for I32Levels","synthetic":true,"types":["guard::api::v1::mcaptcha::levels::I32Levels"]},{"text":"impl UnwindSafe for MCaptchaID","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaID"]},{"text":"impl UnwindSafe for MCaptchaDetails","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::MCaptchaDetails"]},{"text":"impl UnwindSafe for add_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::add_mcaptcha"]},{"text":"impl UnwindSafe for delete_mcaptcha","synthetic":true,"types":["guard::api::v1::mcaptcha::mcaptcha::delete_mcaptcha"]},{"text":"impl UnwindSafe for build_details","synthetic":true,"types":["guard::api::v1::meta::build_details"]},{"text":"impl UnwindSafe for Health","synthetic":true,"types":["guard::api::v1::meta::Health"]},{"text":"impl UnwindSafe for HealthBuilder","synthetic":true,"types":["guard::api::v1::meta::HealthBuilder"]},{"text":"impl UnwindSafe for health","synthetic":true,"types":["guard::api::v1::meta::health"]},{"text":"impl UnwindSafe for Server","synthetic":true,"types":["guard::settings::Server"]},{"text":"impl UnwindSafe for Captcha","synthetic":true,"types":["guard::settings::Captcha"]},{"text":"impl UnwindSafe for DatabaseBuilder","synthetic":true,"types":["guard::settings::DatabaseBuilder"]},{"text":"impl UnwindSafe for Database","synthetic":true,"types":["guard::settings::Database"]},{"text":"impl UnwindSafe for Settings","synthetic":true,"types":["guard::settings::Settings"]},{"text":"impl UnwindSafe for SETTINGS","synthetic":true,"types":["guard::SETTINGS"]},{"text":"impl UnwindSafe for GIT_COMMIT_HASH","synthetic":true,"types":["guard::GIT_COMMIT_HASH"]}]; -implementors["kv_test_util"] = [{"text":"impl UnwindSafe for Challenge","synthetic":true,"types":["kv_test_util::Challenge"]}]; implementors["tests_migrate"] = [{"text":"impl !UnwindSafe for Data","synthetic":true,"types":["tests_migrate::data::Data"]},{"text":"impl UnwindSafe for Server","synthetic":true,"types":["tests_migrate::settings::Server"]},{"text":"impl UnwindSafe for Captcha","synthetic":true,"types":["tests_migrate::settings::Captcha"]},{"text":"impl UnwindSafe for DatabaseBuilder","synthetic":true,"types":["tests_migrate::settings::DatabaseBuilder"]},{"text":"impl UnwindSafe for Database","synthetic":true,"types":["tests_migrate::settings::Database"]},{"text":"impl UnwindSafe for Settings","synthetic":true,"types":["tests_migrate::settings::Settings"]},{"text":"impl UnwindSafe for SETTINGS","synthetic":true,"types":["tests_migrate::SETTINGS"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/kv_test_util/all.html b/kv_test_util/all.html deleted file mode 100644 index 230a541f..00000000 --- a/kv_test_util/all.html +++ /dev/null @@ -1,7 +0,0 @@ -List of all items in this crate - -

List of all items[] - -

Structs

Functions

Typedefs

- \ No newline at end of file diff --git a/kv_test_util/fn.main.html b/kv_test_util/fn.main.html deleted file mode 100644 index ea72f6eb..00000000 --- a/kv_test_util/fn.main.html +++ /dev/null @@ -1,5 +0,0 @@ -kv_test_util::main - Rust - -

Function kv_test_util::main[][src]

pub(crate) fn main()
- \ No newline at end of file diff --git a/kv_test_util/fn.server.html b/kv_test_util/fn.server.html deleted file mode 100644 index 323db55e..00000000 --- a/kv_test_util/fn.server.html +++ /dev/null @@ -1,5 +0,0 @@ -kv_test_util::server - Rust - -

Function kv_test_util::server[][src]

pub async fn server(ip: &str, tx: Sender<Server>)
- \ No newline at end of file diff --git a/kv_test_util/fn.util_server_add.html b/kv_test_util/fn.util_server_add.html deleted file mode 100644 index 2dea7ca9..00000000 --- a/kv_test_util/fn.util_server_add.html +++ /dev/null @@ -1,5 +0,0 @@ -kv_test_util::util_server_add - Rust - -

Function kv_test_util::util_server_add[][src]

pub(crate) async fn util_server_add(
    key: Path<String>,
    payload: Json<Challenge>,
    data: Data<Arc<RwLock<HashMap<String, Challenge>>>>
) -> impl Responder
- \ No newline at end of file diff --git a/kv_test_util/fn.util_server_retrive.html b/kv_test_util/fn.util_server_retrive.html deleted file mode 100644 index cd05a08c..00000000 --- a/kv_test_util/fn.util_server_retrive.html +++ /dev/null @@ -1,5 +0,0 @@ -kv_test_util::util_server_retrive - Rust - -

Function kv_test_util::util_server_retrive[][src]

pub(crate) async fn util_server_retrive(
    key: Path<String>,
    data: Data<Arc<RwLock<HashMap<String, Challenge>>>>
) -> impl Responder
- \ No newline at end of file diff --git a/kv_test_util/index.html b/kv_test_util/index.html deleted file mode 100644 index 2c59cec5..00000000 --- a/kv_test_util/index.html +++ /dev/null @@ -1,8 +0,0 @@ -kv_test_util - Rust - -

Crate kv_test_util[][src]

Structs

-
Challenge

Functions

-
main
server
util_server_add
util_server_retrive

Type Definitions

-
UtilKVServer
- \ No newline at end of file diff --git a/kv_test_util/sidebar-items.js b/kv_test_util/sidebar-items.js deleted file mode 100644 index 2c22c71d..00000000 --- a/kv_test_util/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -initSidebarItems({"fn":[["main",""],["server",""],["util_server_add",""],["util_server_retrive",""]],"struct":[["Challenge",""]],"type":[["UtilKVServer",""]]}); \ No newline at end of file diff --git a/kv_test_util/struct.Challenge.html b/kv_test_util/struct.Challenge.html deleted file mode 100644 index 6a2e9ecd..00000000 --- a/kv_test_util/struct.Challenge.html +++ /dev/null @@ -1,124 +0,0 @@ -kv_test_util::Challenge - Rust - -

Struct kv_test_util::Challenge[][src]

pub struct Challenge {
-    verification_challenge: String,
-}

- Fields

verification_challenge: String

Trait Implementations

impl Clone for Challenge[src]

impl Debug for Challenge[src]

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

impl Serialize for Challenge[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/kv_test_util/type.UtilKVServer.html b/kv_test_util/type.UtilKVServer.html deleted file mode 100644 index f89205cd..00000000 --- a/kv_test_util/type.UtilKVServer.html +++ /dev/null @@ -1,5 +0,0 @@ -kv_test_util::UtilKVServer - Rust - -

Type Definition kv_test_util::UtilKVServer[][src]

type UtilKVServer = Arc<RwLock<HashMap<String, Challenge>>>;
- \ No newline at end of file diff --git a/search-index.js b/search-index.js index ab92dda6..504f6af1 100644 --- a/search-index.js +++ b/search-index.js @@ -1,6 +1,5 @@ var searchIndex = JSON.parse('{\ -"guard":{"doc":"","i":[[0,"data","guard","",null,null],[3,"Data","guard::data","",null,null],[12,"db","","",0,null],[12,"creds","","",0,null],[12,"captcha","","",0,null],[11,"new","","",0,[[]]],[0,"errors","guard","",null,null],[4,"ServiceError","guard::errors","",null,null],[13,"InternalServerError","","",1,null],[13,"NotAnEmail","","",1,null],[13,"NotAUrl","","",1,null],[13,"WrongPassword","","",1,null],[13,"UsernameNotFound","","",1,null],[13,"AuthorizationRequired","","",1,null],[13,"ProfainityError","","when the value passed contains profainity",1,null],[13,"BlacklistError","","when the value passed contains blacklisted words see …",1,null],[13,"UsernameCaseMappedError","","when the value passed contains characters not present in …",1,null],[13,"PasswordTooShort","","",1,null],[13,"PasswordTooLong","","",1,null],[13,"UsernameTaken","","when the a username is already taken",1,null],[13,"TokenNameTaken","","when the a token name is already taken",1,null],[13,"HostnameTaken","","when the a host name is already taken",1,null],[13,"CaptchaError","","",1,null],[13,"ClientServerUnreachable","","",1,null],[13,"ChallengeCourruption","","",1,null],[13,"ChallengeVerificationFailure","","",1,null],[3,"ErrorToResponse","","",null,null],[12,"error","","",2,null],[5,"dup_error","","",null,[[["serviceerror",4],["error",4]],["serviceerror",4]]],[6,"ServiceResult","","",null,null],[0,"api","guard","",null,null],[0,"v1","guard::api","",null,null],[0,"auth","guard::api::v1","",null,null],[3,"Register","guard::api::v1::auth","",null,null],[12,"username","","",3,null],[12,"password","","",3,null],[12,"email","","",3,null],[3,"Login","","",null,null],[12,"username","","",4,null],[12,"password","","",4,null],[3,"Password","","",null,null],[12,"password","","",5,null],[3,"signup","","",null,null],[3,"signin","","",null,null],[3,"signout","","",null,null],[5,"is_authenticated","","Check if user is authenticated",null,[[["identity",3]],[["result",4],["serviceerror",4]]]],[3,"delete_account","","",null,null],[0,"mcaptcha","guard::api::v1","",null,null],[0,"domains","guard::api::v1::mcaptcha","",null,null],[3,"Domain","guard::api::v1::mcaptcha::domains","",null,null],[12,"name","","",6,null],[3,"add_domain","","",null,null],[3,"Challenge","","",null,null],[12,"verification_challenge","","",7,null],[3,"get_challenge","","",null,null],[3,"verify","","",null,null],[3,"delete_domain","","",null,null],[0,"duration","guard::api::v1::mcaptcha","",null,null],[3,"UpdateDuration","guard::api::v1::mcaptcha::duration","",null,null],[12,"token_name","","",8,null],[12,"duration","","",8,null],[3,"update_duration","","",null,null],[3,"GetDurationResp","","",null,null],[12,"duration","","",9,null],[3,"GetDuration","","",null,null],[12,"token","","",10,null],[3,"get_duration","","",null,null],[0,"levels","guard::api::v1::mcaptcha","",null,null],[3,"AddLevels","guard::api::v1::mcaptcha::levels","",null,null],[12,"levels","","",11,null],[12,"name","","",11,null],[3,"add_levels","","",null,null],[3,"update_levels","","",null,null],[3,"delete_levels","","",null,null],[3,"GetLevels","","",null,null],[12,"token","","",12,null],[3,"get_levels","","",null,null],[3,"Levels","","",null,null],[12,"levels","","",13,null],[3,"I32Levels","","",null,null],[12,"difficulty_factor","","",14,null],[12,"visitor_threshold","","",14,null],[5,"get_levels_util","","",null,[[["data",3],["str",15]]]],[0,"mcaptcha","guard::api::v1::mcaptcha","",null,null],[3,"MCaptchaID","guard::api::v1::mcaptcha::mcaptcha","",null,null],[12,"name","","",15,null],[12,"domain","","",15,null],[3,"MCaptchaDetails","","",null,null],[12,"name","","",16,null],[12,"key","","",16,null],[3,"add_mcaptcha","","",null,null],[3,"delete_mcaptcha","","",null,null],[5,"get_random","guard::api::v1::mcaptcha","",null,[[["usize",15]],["string",3]]],[0,"meta","guard::api::v1","",null,null],[3,"build_details","guard::api::v1::meta","",null,null],[3,"Health","","Health check return datatype",null,null],[12,"db","","",17,null],[3,"HealthBuilder","","Builder for Health.",null,null],[12,"db","","",18,null],[11,"db","","",18,[[["bool",15]]]],[11,"build","","Builds a new Health.",18,[[],[["result",4],["health",3],["string",3]]]],[3,"health","","",null,null],[5,"services","guard::api::v1","",null,[[["serviceconfig",3]]]],[0,"settings","guard","",null,null],[3,"Server","guard::settings","",null,null],[12,"allow_registration","","",19,null],[12,"port","","",19,null],[12,"domain","","",19,null],[12,"cookie_secret","","",19,null],[12,"ip","","",19,null],[3,"Captcha","","",null,null],[12,"salt","","",20,null],[12,"gc","","",20,null],[11,"get_ip","","",19,[[],["string",3]]],[3,"DatabaseBuilder","","",null,null],[12,"port","","",21,null],[12,"hostname","","",21,null],[12,"username","","",21,null],[12,"password","","",21,null],[12,"name","","",21,null],[12,"url","","",21,null],[11,"extract_database_url","","",21,[[["url",3]]]],[3,"Database","","",null,null],[12,"url","","",22,null],[12,"pool","","",22,null],[3,"Settings","","",null,null],[12,"debug","","",23,null],[12,"database","","",23,null],[12,"server","","",23,null],[12,"pow","","",23,null],[11,"new","","",23,[[],[["configerror",4],["result",4]]]],[5,"set_from_database_url","","",null,[[["databasebuilder",3],["config",3]]]],[5,"set_database_url","","",null,[[["config",3]]]],[3,"Data","guard","",null,null],[12,"db","","",0,null],[12,"creds","","",0,null],[12,"captcha","","",0,null],[3,"Settings","","",null,null],[12,"debug","","",23,null],[12,"database","","",23,null],[12,"server","","",23,null],[12,"pow","","",23,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",24,null],[3,"GIT_COMMIT_HASH","","",null,null],[12,"__private_field","","",25,null],[7,"VERSION","","",null,null],[7,"PKG_NAME","","",null,null],[7,"PKG_DESCRIPTION","","",null,null],[7,"PKG_HOMEPAGE","","",null,null],[5,"main","","",null,[[],["result",6]]],[5,"get_json_err","","",null,[[],["jsonconfig",3]]],[5,"get_identity_service","","",null,[[],[["identityservice",3],["cookieidentitypolicy",3]]]],[11,"from","guard::data","",0,[[]]],[11,"into","","",0,[[]]],[11,"to_owned","","",0,[[]]],[11,"clone_into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"from","guard::errors","",1,[[]]],[11,"into","","",1,[[]]],[11,"to_owned","","",1,[[]]],[11,"clone_into","","",1,[[]]],[11,"to_string","","",1,[[],["string",3]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"from","guard::api::v1::auth","",3,[[]]],[11,"into","","",3,[[]]],[11,"to_owned","","",3,[[]]],[11,"clone_into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"to_owned","","",4,[[]]],[11,"clone_into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"from","","",26,[[]]],[11,"into","","",26,[[]]],[11,"borrow","","",26,[[]]],[11,"borrow_mut","","",26,[[]]],[11,"try_from","","",26,[[],["result",4]]],[11,"try_into","","",26,[[],["result",4]]],[11,"type_id","","",26,[[],["typeid",3]]],[11,"vzip","","",26,[[]]],[11,"from","","",27,[[]]],[11,"into","","",27,[[]]],[11,"borrow","","",27,[[]]],[11,"borrow_mut","","",27,[[]]],[11,"try_from","","",27,[[],["result",4]]],[11,"try_into","","",27,[[],["result",4]]],[11,"type_id","","",27,[[],["typeid",3]]],[11,"vzip","","",27,[[]]],[11,"from","","",28,[[]]],[11,"into","","",28,[[]]],[11,"borrow","","",28,[[]]],[11,"borrow_mut","","",28,[[]]],[11,"try_from","","",28,[[],["result",4]]],[11,"try_into","","",28,[[],["result",4]]],[11,"type_id","","",28,[[],["typeid",3]]],[11,"vzip","","",28,[[]]],[11,"from","","",29,[[]]],[11,"into","","",29,[[]]],[11,"borrow","","",29,[[]]],[11,"borrow_mut","","",29,[[]]],[11,"try_from","","",29,[[],["result",4]]],[11,"try_into","","",29,[[],["result",4]]],[11,"type_id","","",29,[[],["typeid",3]]],[11,"vzip","","",29,[[]]],[11,"from","guard::api::v1::mcaptcha::domains","",6,[[]]],[11,"into","","",6,[[]]],[11,"to_owned","","",6,[[]]],[11,"clone_into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"from","","",30,[[]]],[11,"into","","",30,[[]]],[11,"borrow","","",30,[[]]],[11,"borrow_mut","","",30,[[]]],[11,"try_from","","",30,[[],["result",4]]],[11,"try_into","","",30,[[],["result",4]]],[11,"type_id","","",30,[[],["typeid",3]]],[11,"vzip","","",30,[[]]],[11,"from","","",7,[[]]],[11,"into","","",7,[[]]],[11,"to_owned","","",7,[[]]],[11,"clone_into","","",7,[[]]],[11,"borrow","","",7,[[]]],[11,"borrow_mut","","",7,[[]]],[11,"try_from","","",7,[[],["result",4]]],[11,"try_into","","",7,[[],["result",4]]],[11,"type_id","","",7,[[],["typeid",3]]],[11,"vzip","","",7,[[]]],[11,"from","","",31,[[]]],[11,"into","","",31,[[]]],[11,"borrow","","",31,[[]]],[11,"borrow_mut","","",31,[[]]],[11,"try_from","","",31,[[],["result",4]]],[11,"try_into","","",31,[[],["result",4]]],[11,"type_id","","",31,[[],["typeid",3]]],[11,"vzip","","",31,[[]]],[11,"from","","",32,[[]]],[11,"into","","",32,[[]]],[11,"borrow","","",32,[[]]],[11,"borrow_mut","","",32,[[]]],[11,"try_from","","",32,[[],["result",4]]],[11,"try_into","","",32,[[],["result",4]]],[11,"type_id","","",32,[[],["typeid",3]]],[11,"vzip","","",32,[[]]],[11,"from","","",33,[[]]],[11,"into","","",33,[[]]],[11,"borrow","","",33,[[]]],[11,"borrow_mut","","",33,[[]]],[11,"try_from","","",33,[[],["result",4]]],[11,"try_into","","",33,[[],["result",4]]],[11,"type_id","","",33,[[],["typeid",3]]],[11,"vzip","","",33,[[]]],[11,"from","guard::api::v1::mcaptcha::duration","",8,[[]]],[11,"into","","",8,[[]]],[11,"borrow","","",8,[[]]],[11,"borrow_mut","","",8,[[]]],[11,"try_from","","",8,[[],["result",4]]],[11,"try_into","","",8,[[],["result",4]]],[11,"type_id","","",8,[[],["typeid",3]]],[11,"vzip","","",8,[[]]],[11,"from","","",34,[[]]],[11,"into","","",34,[[]]],[11,"borrow","","",34,[[]]],[11,"borrow_mut","","",34,[[]]],[11,"try_from","","",34,[[],["result",4]]],[11,"try_into","","",34,[[],["result",4]]],[11,"type_id","","",34,[[],["typeid",3]]],[11,"vzip","","",34,[[]]],[11,"from","","",9,[[]]],[11,"into","","",9,[[]]],[11,"borrow","","",9,[[]]],[11,"borrow_mut","","",9,[[]]],[11,"try_from","","",9,[[],["result",4]]],[11,"try_into","","",9,[[],["result",4]]],[11,"type_id","","",9,[[],["typeid",3]]],[11,"vzip","","",9,[[]]],[11,"from","","",10,[[]]],[11,"into","","",10,[[]]],[11,"borrow","","",10,[[]]],[11,"borrow_mut","","",10,[[]]],[11,"try_from","","",10,[[],["result",4]]],[11,"try_into","","",10,[[],["result",4]]],[11,"type_id","","",10,[[],["typeid",3]]],[11,"vzip","","",10,[[]]],[11,"from","","",35,[[]]],[11,"into","","",35,[[]]],[11,"borrow","","",35,[[]]],[11,"borrow_mut","","",35,[[]]],[11,"try_from","","",35,[[],["result",4]]],[11,"try_into","","",35,[[],["result",4]]],[11,"type_id","","",35,[[],["typeid",3]]],[11,"vzip","","",35,[[]]],[11,"from","guard::api::v1::mcaptcha::levels","",11,[[]]],[11,"into","","",11,[[]]],[11,"borrow","","",11,[[]]],[11,"borrow_mut","","",11,[[]]],[11,"try_from","","",11,[[],["result",4]]],[11,"try_into","","",11,[[],["result",4]]],[11,"type_id","","",11,[[],["typeid",3]]],[11,"vzip","","",11,[[]]],[11,"from","","",36,[[]]],[11,"into","","",36,[[]]],[11,"borrow","","",36,[[]]],[11,"borrow_mut","","",36,[[]]],[11,"try_from","","",36,[[],["result",4]]],[11,"try_into","","",36,[[],["result",4]]],[11,"type_id","","",36,[[],["typeid",3]]],[11,"vzip","","",36,[[]]],[11,"from","","",37,[[]]],[11,"into","","",37,[[]]],[11,"borrow","","",37,[[]]],[11,"borrow_mut","","",37,[[]]],[11,"try_from","","",37,[[],["result",4]]],[11,"try_into","","",37,[[],["result",4]]],[11,"type_id","","",37,[[],["typeid",3]]],[11,"vzip","","",37,[[]]],[11,"from","","",38,[[]]],[11,"into","","",38,[[]]],[11,"borrow","","",38,[[]]],[11,"borrow_mut","","",38,[[]]],[11,"try_from","","",38,[[],["result",4]]],[11,"try_into","","",38,[[],["result",4]]],[11,"type_id","","",38,[[],["typeid",3]]],[11,"vzip","","",38,[[]]],[11,"from","","",12,[[]]],[11,"into","","",12,[[]]],[11,"borrow","","",12,[[]]],[11,"borrow_mut","","",12,[[]]],[11,"try_from","","",12,[[],["result",4]]],[11,"try_into","","",12,[[],["result",4]]],[11,"type_id","","",12,[[],["typeid",3]]],[11,"vzip","","",12,[[]]],[11,"from","","",39,[[]]],[11,"into","","",39,[[]]],[11,"borrow","","",39,[[]]],[11,"borrow_mut","","",39,[[]]],[11,"try_from","","",39,[[],["result",4]]],[11,"try_into","","",39,[[],["result",4]]],[11,"type_id","","",39,[[],["typeid",3]]],[11,"vzip","","",39,[[]]],[11,"from","","",13,[[]]],[11,"into","","",13,[[]]],[11,"borrow","","",13,[[]]],[11,"borrow_mut","","",13,[[]]],[11,"try_from","","",13,[[],["result",4]]],[11,"try_into","","",13,[[],["result",4]]],[11,"type_id","","",13,[[],["typeid",3]]],[11,"vzip","","",13,[[]]],[11,"from","","",14,[[]]],[11,"into","","",14,[[]]],[11,"borrow","","",14,[[]]],[11,"borrow_mut","","",14,[[]]],[11,"try_from","","",14,[[],["result",4]]],[11,"try_into","","",14,[[],["result",4]]],[11,"type_id","","",14,[[],["typeid",3]]],[11,"vzip","","",14,[[]]],[11,"from","guard::api::v1::mcaptcha::mcaptcha","",15,[[]]],[11,"into","","",15,[[]]],[11,"to_owned","","",15,[[]]],[11,"clone_into","","",15,[[]]],[11,"borrow","","",15,[[]]],[11,"borrow_mut","","",15,[[]]],[11,"try_from","","",15,[[],["result",4]]],[11,"try_into","","",15,[[],["result",4]]],[11,"type_id","","",15,[[],["typeid",3]]],[11,"vzip","","",15,[[]]],[11,"from","","",16,[[]]],[11,"into","","",16,[[]]],[11,"to_owned","","",16,[[]]],[11,"clone_into","","",16,[[]]],[11,"borrow","","",16,[[]]],[11,"borrow_mut","","",16,[[]]],[11,"try_from","","",16,[[],["result",4]]],[11,"try_into","","",16,[[],["result",4]]],[11,"type_id","","",16,[[],["typeid",3]]],[11,"vzip","","",16,[[]]],[11,"from","","",40,[[]]],[11,"into","","",40,[[]]],[11,"borrow","","",40,[[]]],[11,"borrow_mut","","",40,[[]]],[11,"try_from","","",40,[[],["result",4]]],[11,"try_into","","",40,[[],["result",4]]],[11,"type_id","","",40,[[],["typeid",3]]],[11,"vzip","","",40,[[]]],[11,"from","","",41,[[]]],[11,"into","","",41,[[]]],[11,"borrow","","",41,[[]]],[11,"borrow_mut","","",41,[[]]],[11,"try_from","","",41,[[],["result",4]]],[11,"try_into","","",41,[[],["result",4]]],[11,"type_id","","",41,[[],["typeid",3]]],[11,"vzip","","",41,[[]]],[11,"from","guard::api::v1::meta","",42,[[]]],[11,"into","","",42,[[]]],[11,"borrow","","",42,[[]]],[11,"borrow_mut","","",42,[[]]],[11,"try_from","","",42,[[],["result",4]]],[11,"try_into","","",42,[[],["result",4]]],[11,"type_id","","",42,[[],["typeid",3]]],[11,"vzip","","",42,[[]]],[11,"from","","",17,[[]]],[11,"into","","",17,[[]]],[11,"to_owned","","",17,[[]]],[11,"clone_into","","",17,[[]]],[11,"borrow","","",17,[[]]],[11,"borrow_mut","","",17,[[]]],[11,"try_from","","",17,[[],["result",4]]],[11,"try_into","","",17,[[],["result",4]]],[11,"type_id","","",17,[[],["typeid",3]]],[11,"vzip","","",17,[[]]],[11,"from","","",18,[[]]],[11,"into","","",18,[[]]],[11,"to_owned","","",18,[[]]],[11,"clone_into","","",18,[[]]],[11,"borrow","","",18,[[]]],[11,"borrow_mut","","",18,[[]]],[11,"try_from","","",18,[[],["result",4]]],[11,"try_into","","",18,[[],["result",4]]],[11,"type_id","","",18,[[],["typeid",3]]],[11,"vzip","","",18,[[]]],[11,"from","","",43,[[]]],[11,"into","","",43,[[]]],[11,"borrow","","",43,[[]]],[11,"borrow_mut","","",43,[[]]],[11,"try_from","","",43,[[],["result",4]]],[11,"try_into","","",43,[[],["result",4]]],[11,"type_id","","",43,[[],["typeid",3]]],[11,"vzip","","",43,[[]]],[11,"from","guard::settings","",19,[[]]],[11,"into","","",19,[[]]],[11,"to_owned","","",19,[[]]],[11,"clone_into","","",19,[[]]],[11,"borrow","","",19,[[]]],[11,"borrow_mut","","",19,[[]]],[11,"try_from","","",19,[[],["result",4]]],[11,"try_into","","",19,[[],["result",4]]],[11,"type_id","","",19,[[],["typeid",3]]],[11,"vzip","","",19,[[]]],[11,"from","","",20,[[]]],[11,"into","","",20,[[]]],[11,"to_owned","","",20,[[]]],[11,"clone_into","","",20,[[]]],[11,"borrow","","",20,[[]]],[11,"borrow_mut","","",20,[[]]],[11,"try_from","","",20,[[],["result",4]]],[11,"try_into","","",20,[[],["result",4]]],[11,"type_id","","",20,[[],["typeid",3]]],[11,"vzip","","",20,[[]]],[11,"from","","",21,[[]]],[11,"into","","",21,[[]]],[11,"to_owned","","",21,[[]]],[11,"clone_into","","",21,[[]]],[11,"borrow","","",21,[[]]],[11,"borrow_mut","","",21,[[]]],[11,"try_from","","",21,[[],["result",4]]],[11,"try_into","","",21,[[],["result",4]]],[11,"type_id","","",21,[[],["typeid",3]]],[11,"vzip","","",21,[[]]],[11,"from","","",22,[[]]],[11,"into","","",22,[[]]],[11,"to_owned","","",22,[[]]],[11,"clone_into","","",22,[[]]],[11,"borrow","","",22,[[]]],[11,"borrow_mut","","",22,[[]]],[11,"try_from","","",22,[[],["result",4]]],[11,"try_into","","",22,[[],["result",4]]],[11,"type_id","","",22,[[],["typeid",3]]],[11,"vzip","","",22,[[]]],[11,"from","","",23,[[]]],[11,"into","","",23,[[]]],[11,"to_owned","","",23,[[]]],[11,"clone_into","","",23,[[]]],[11,"borrow","","",23,[[]]],[11,"borrow_mut","","",23,[[]]],[11,"try_from","","",23,[[],["result",4]]],[11,"try_into","","",23,[[],["result",4]]],[11,"type_id","","",23,[[],["typeid",3]]],[11,"vzip","","",23,[[]]],[11,"from","guard","",24,[[]]],[11,"into","","",24,[[]]],[11,"borrow","","",24,[[]]],[11,"borrow_mut","","",24,[[]]],[11,"try_from","","",24,[[],["result",4]]],[11,"try_into","","",24,[[],["result",4]]],[11,"type_id","","",24,[[],["typeid",3]]],[11,"vzip","","",24,[[]]],[11,"from","","",25,[[]]],[11,"into","","",25,[[]]],[11,"borrow","","",25,[[]]],[11,"borrow_mut","","",25,[[]]],[11,"try_from","","",25,[[],["result",4]]],[11,"try_into","","",25,[[],["result",4]]],[11,"type_id","","",25,[[],["typeid",3]]],[11,"vzip","","",25,[[]]],[11,"from","guard::errors","",1,[[["credserror",4]],["serviceerror",4]]],[11,"from","","",1,[[["validationerrors",3]],["serviceerror",4]]],[11,"from","","",1,[[["sendrequesterror",4]],["serviceerror",4]]],[11,"from","","",1,[[["parseerror",4]],["serviceerror",4]]],[11,"from","","",1,[[["captchaerror",4]],["serviceerror",4]]],[11,"from","","",1,[[["error",4]]]],[11,"clone","guard::data","",0,[[],["data",3]]],[11,"clone","guard::errors","",1,[[],["serviceerror",4]]],[11,"clone","guard::api::v1::auth","",3,[[],["register",3]]],[11,"clone","","",4,[[],["login",3]]],[11,"clone","guard::api::v1::mcaptcha::domains","",6,[[],["domain",3]]],[11,"clone","","",7,[[],["challenge",3]]],[11,"clone","guard::api::v1::mcaptcha::mcaptcha","",15,[[],["mcaptchaid",3]]],[11,"clone","","",16,[[],["mcaptchadetails",3]]],[11,"clone","guard::api::v1::meta","",17,[[],["health",3]]],[11,"clone","","",18,[[],["healthbuilder",3]]],[11,"clone","guard::settings","",19,[[],["server",3]]],[11,"clone","","",20,[[],["captcha",3]]],[11,"clone","","",21,[[],["databasebuilder",3]]],[11,"clone","","",22,[[],["database",3]]],[11,"clone","","",23,[[],["settings",3]]],[11,"default","guard::api::v1::meta","",18,[[],["healthbuilder",3]]],[11,"eq","guard::errors","",1,[[["serviceerror",4]],["bool",15]]],[11,"ne","","",1,[[["serviceerror",4]],["bool",15]]],[11,"deref","guard","",24,[[],["settings",3]]],[11,"deref","","",25,[[],["string",3]]],[11,"fmt","guard::errors","",1,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::auth","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::domains","",6,[[["formatter",3]],["result",6]]],[11,"fmt","","",7,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::mcaptcha","",15,[[["formatter",3]],["result",6]]],[11,"fmt","","",16,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::meta","",17,[[["formatter",3]],["result",6]]],[11,"fmt","guard::settings","",19,[[["formatter",3]],["result",6]]],[11,"fmt","","",20,[[["formatter",3]],["result",6]]],[11,"fmt","","",21,[[["formatter",3]],["result",6]]],[11,"fmt","","",22,[[["formatter",3]],["result",6]]],[11,"fmt","","",23,[[["formatter",3]],["result",6]]],[11,"fmt","guard::errors","",1,[[["formatter",3]],["result",6]]],[11,"source","","",1,[[],[["option",4],["error",8]]]],[11,"deserialize","","",2,[[],["result",4]]],[11,"deserialize","guard::api::v1::auth","",3,[[],["result",4]]],[11,"deserialize","","",4,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::domains","",6,[[],["result",4]]],[11,"deserialize","","",7,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::duration","",8,[[],["result",4]]],[11,"deserialize","","",9,[[],["result",4]]],[11,"deserialize","","",10,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::levels","",11,[[],["result",4]]],[11,"deserialize","","",12,[[],["result",4]]],[11,"deserialize","","",13,[[],["result",4]]],[11,"deserialize","","",14,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::mcaptcha","",15,[[],["result",4]]],[11,"deserialize","","",16,[[],["result",4]]],[11,"deserialize","guard::api::v1::meta","",17,[[],["result",4]]],[11,"deserialize","guard::settings","",19,[[],["result",4]]],[11,"deserialize","","",20,[[],["result",4]]],[11,"deserialize","","",21,[[],["result",4]]],[11,"deserialize","","",22,[[],["result",4]]],[11,"deserialize","","",23,[[],["result",4]]],[11,"serialize","guard::errors","",2,[[],["result",4]]],[11,"serialize","guard::api::v1::auth","",3,[[],["result",4]]],[11,"serialize","","",4,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::domains","",6,[[],["result",4]]],[11,"serialize","","",7,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::duration","",8,[[],["result",4]]],[11,"serialize","","",9,[[],["result",4]]],[11,"serialize","","",10,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::levels","",11,[[],["result",4]]],[11,"serialize","","",12,[[],["result",4]]],[11,"serialize","","",13,[[],["result",4]]],[11,"serialize","","",14,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::mcaptcha","",15,[[],["result",4]]],[11,"serialize","","",16,[[],["result",4]]],[11,"serialize","guard::api::v1::meta","",17,[[],["result",4]]],[11,"register","guard::api::v1::auth","",26,[[["appservice",3]]]],[11,"register","","",27,[[["appservice",3]]]],[11,"register","","",28,[[["appservice",3]]]],[11,"register","","",29,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::domains","",30,[[["appservice",3]]]],[11,"register","","",31,[[["appservice",3]]]],[11,"register","","",32,[[["appservice",3]]]],[11,"register","","",33,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::duration","",34,[[["appservice",3]]]],[11,"register","","",35,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::levels","",36,[[["appservice",3]]]],[11,"register","","",37,[[["appservice",3]]]],[11,"register","","",38,[[["appservice",3]]]],[11,"register","","",39,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::mcaptcha","",40,[[["appservice",3]]]],[11,"register","","",41,[[["appservice",3]]]],[11,"register","guard::api::v1::meta","",42,[[["appservice",3]]]],[11,"register","","",43,[[["appservice",3]]]],[11,"error_response","guard::errors","",1,[[],["httpresponse",3]]],[11,"status_code","","",1,[[],["statuscode",3]]],[11,"initialize","guard","",24,[[]]],[11,"initialize","","",25,[[]]]],"p":[[3,"Data"],[4,"ServiceError"],[3,"ErrorToResponse"],[3,"Register"],[3,"Login"],[3,"Password"],[3,"Domain"],[3,"Challenge"],[3,"UpdateDuration"],[3,"GetDurationResp"],[3,"GetDuration"],[3,"AddLevels"],[3,"GetLevels"],[3,"Levels"],[3,"I32Levels"],[3,"MCaptchaID"],[3,"MCaptchaDetails"],[3,"Health"],[3,"HealthBuilder"],[3,"Server"],[3,"Captcha"],[3,"DatabaseBuilder"],[3,"Database"],[3,"Settings"],[3,"SETTINGS"],[3,"GIT_COMMIT_HASH"],[3,"signup"],[3,"signin"],[3,"signout"],[3,"delete_account"],[3,"add_domain"],[3,"get_challenge"],[3,"verify"],[3,"delete_domain"],[3,"update_duration"],[3,"get_duration"],[3,"add_levels"],[3,"update_levels"],[3,"delete_levels"],[3,"get_levels"],[3,"add_mcaptcha"],[3,"delete_mcaptcha"],[3,"build_details"],[3,"health"]]},\ -"kv_test_util":{"doc":"","i":[[3,"Challenge","kv_test_util","",null,null],[12,"verification_challenge","","",0,null],[5,"main","","",null,[[]]],[5,"server","","",null,[[["sender",3],["server",3],["str",15]]]],[6,"UtilKVServer","","",null,null],[5,"util_server_retrive","","",null,[[["string",3],["arc",3],["data",3],["path",3]]]],[5,"util_server_add","","",null,[[["string",3],["challenge",3],["json",3],["arc",3],["data",3],["path",3]]]],[11,"from","","",0,[[]]],[11,"into","","",0,[[]]],[11,"to_owned","","",0,[[]]],[11,"clone_into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"clone","","",0,[[],["challenge",3]]],[11,"fmt","","",0,[[["formatter",3]],["result",6]]],[11,"serialize","","",0,[[],["result",4]]],[11,"deserialize","","",0,[[],["result",4]]]],"p":[[3,"Challenge"]]},\ +"guard":{"doc":"","i":[[0,"data","guard","",null,null],[3,"Data","guard::data","",null,null],[12,"db","","",0,null],[12,"creds","","",0,null],[12,"captcha","","",0,null],[11,"new","","",0,[[]]],[0,"errors","guard","",null,null],[4,"ServiceError","guard::errors","",null,null],[13,"InternalServerError","","",1,null],[13,"NotAnEmail","","",1,null],[13,"NotAUrl","","",1,null],[13,"WrongPassword","","",1,null],[13,"UsernameNotFound","","",1,null],[13,"AuthorizationRequired","","",1,null],[13,"ProfainityError","","when the value passed contains profainity",1,null],[13,"BlacklistError","","when the value passed contains blacklisted words see …",1,null],[13,"UsernameCaseMappedError","","when the value passed contains characters not present in …",1,null],[13,"PasswordTooShort","","",1,null],[13,"PasswordTooLong","","",1,null],[13,"UsernameTaken","","when the a username is already taken",1,null],[13,"TokenNameTaken","","when the a token name is already taken",1,null],[13,"HostnameTaken","","when the a host name is already taken",1,null],[13,"CaptchaError","","",1,null],[13,"ClientServerUnreachable","","",1,null],[13,"ChallengeCourruption","","",1,null],[13,"ChallengeVerificationFailure","","",1,null],[3,"ErrorToResponse","","",null,null],[12,"error","","",2,null],[5,"dup_error","","",null,[[["serviceerror",4],["error",4]],["serviceerror",4]]],[6,"ServiceResult","","",null,null],[0,"api","guard","",null,null],[0,"v1","guard::api","",null,null],[0,"auth","guard::api::v1","",null,null],[3,"Register","guard::api::v1::auth","",null,null],[12,"username","","",3,null],[12,"password","","",3,null],[12,"email","","",3,null],[3,"Login","","",null,null],[12,"username","","",4,null],[12,"password","","",4,null],[3,"Password","","",null,null],[12,"password","","",5,null],[3,"signup","","",null,null],[3,"signin","","",null,null],[3,"signout","","",null,null],[5,"is_authenticated","","Check if user is authenticated",null,[[["identity",3]],[["serviceerror",4],["result",4]]]],[3,"delete_account","","",null,null],[0,"mcaptcha","guard::api::v1","",null,null],[0,"domains","guard::api::v1::mcaptcha","",null,null],[3,"Domain","guard::api::v1::mcaptcha::domains","",null,null],[12,"name","","",6,null],[3,"add_domain","","",null,null],[3,"Challenge","","",null,null],[12,"verification_challenge","","",7,null],[3,"get_challenge","","",null,null],[3,"verify","","",null,null],[3,"delete_domain","","",null,null],[0,"duration","guard::api::v1::mcaptcha","",null,null],[3,"UpdateDuration","guard::api::v1::mcaptcha::duration","",null,null],[12,"token_name","","",8,null],[12,"duration","","",8,null],[3,"update_duration","","",null,null],[3,"GetDurationResp","","",null,null],[12,"duration","","",9,null],[3,"GetDuration","","",null,null],[12,"token","","",10,null],[3,"get_duration","","",null,null],[0,"levels","guard::api::v1::mcaptcha","",null,null],[3,"AddLevels","guard::api::v1::mcaptcha::levels","",null,null],[12,"levels","","",11,null],[12,"name","","",11,null],[3,"add_levels","","",null,null],[3,"update_levels","","",null,null],[3,"delete_levels","","",null,null],[3,"GetLevels","","",null,null],[12,"token","","",12,null],[3,"get_levels","","",null,null],[3,"Levels","","",null,null],[12,"levels","","",13,null],[3,"I32Levels","","",null,null],[12,"difficulty_factor","","",14,null],[12,"visitor_threshold","","",14,null],[5,"get_levels_util","","",null,[[["data",3],["str",15]]]],[0,"mcaptcha","guard::api::v1::mcaptcha","",null,null],[3,"MCaptchaID","guard::api::v1::mcaptcha::mcaptcha","",null,null],[12,"name","","",15,null],[12,"domain","","",15,null],[3,"MCaptchaDetails","","",null,null],[12,"name","","",16,null],[12,"key","","",16,null],[3,"add_mcaptcha","","",null,null],[3,"delete_mcaptcha","","",null,null],[5,"get_random","guard::api::v1::mcaptcha","",null,[[["usize",15]],["string",3]]],[0,"meta","guard::api::v1","",null,null],[3,"build_details","guard::api::v1::meta","",null,null],[3,"Health","","Health check return datatype",null,null],[12,"db","","",17,null],[3,"HealthBuilder","","Builder for Health.",null,null],[12,"db","","",18,null],[11,"db","","",18,[[["bool",15]]]],[11,"build","","Builds a new Health.",18,[[],[["result",4],["string",3],["health",3]]]],[3,"health","","",null,null],[5,"services","guard::api::v1","",null,[[["serviceconfig",3]]]],[0,"settings","guard","",null,null],[3,"Server","guard::settings","",null,null],[12,"allow_registration","","",19,null],[12,"port","","",19,null],[12,"domain","","",19,null],[12,"cookie_secret","","",19,null],[12,"ip","","",19,null],[3,"Captcha","","",null,null],[12,"salt","","",20,null],[12,"gc","","",20,null],[11,"get_ip","","",19,[[],["string",3]]],[3,"DatabaseBuilder","","",null,null],[12,"port","","",21,null],[12,"hostname","","",21,null],[12,"username","","",21,null],[12,"password","","",21,null],[12,"name","","",21,null],[12,"url","","",21,null],[11,"extract_database_url","","",21,[[["url",3]]]],[3,"Database","","",null,null],[12,"url","","",22,null],[12,"pool","","",22,null],[3,"Settings","","",null,null],[12,"debug","","",23,null],[12,"database","","",23,null],[12,"server","","",23,null],[12,"pow","","",23,null],[11,"new","","",23,[[],[["configerror",4],["result",4]]]],[5,"set_from_database_url","","",null,[[["config",3],["databasebuilder",3]]]],[5,"set_database_url","","",null,[[["config",3]]]],[3,"Data","guard","",null,null],[12,"db","","",0,null],[12,"creds","","",0,null],[12,"captcha","","",0,null],[3,"Settings","","",null,null],[12,"debug","","",23,null],[12,"database","","",23,null],[12,"server","","",23,null],[12,"pow","","",23,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",24,null],[3,"GIT_COMMIT_HASH","","",null,null],[12,"__private_field","","",25,null],[7,"VERSION","","",null,null],[7,"PKG_NAME","","",null,null],[7,"PKG_DESCRIPTION","","",null,null],[7,"PKG_HOMEPAGE","","",null,null],[7,"VERIFICATION_PATH","","",null,null],[5,"main","","",null,[[],["result",6]]],[5,"get_json_err","","",null,[[],["jsonconfig",3]]],[5,"get_identity_service","","",null,[[],[["identityservice",3],["cookieidentitypolicy",3]]]],[11,"from","guard::data","",0,[[]]],[11,"into","","",0,[[]]],[11,"to_owned","","",0,[[]]],[11,"clone_into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"from","guard::errors","",1,[[]]],[11,"into","","",1,[[]]],[11,"to_owned","","",1,[[]]],[11,"clone_into","","",1,[[]]],[11,"to_string","","",1,[[],["string",3]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"from","guard::api::v1::auth","",3,[[]]],[11,"into","","",3,[[]]],[11,"to_owned","","",3,[[]]],[11,"clone_into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"to_owned","","",4,[[]]],[11,"clone_into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"from","","",26,[[]]],[11,"into","","",26,[[]]],[11,"borrow","","",26,[[]]],[11,"borrow_mut","","",26,[[]]],[11,"try_from","","",26,[[],["result",4]]],[11,"try_into","","",26,[[],["result",4]]],[11,"type_id","","",26,[[],["typeid",3]]],[11,"vzip","","",26,[[]]],[11,"from","","",27,[[]]],[11,"into","","",27,[[]]],[11,"borrow","","",27,[[]]],[11,"borrow_mut","","",27,[[]]],[11,"try_from","","",27,[[],["result",4]]],[11,"try_into","","",27,[[],["result",4]]],[11,"type_id","","",27,[[],["typeid",3]]],[11,"vzip","","",27,[[]]],[11,"from","","",28,[[]]],[11,"into","","",28,[[]]],[11,"borrow","","",28,[[]]],[11,"borrow_mut","","",28,[[]]],[11,"try_from","","",28,[[],["result",4]]],[11,"try_into","","",28,[[],["result",4]]],[11,"type_id","","",28,[[],["typeid",3]]],[11,"vzip","","",28,[[]]],[11,"from","","",29,[[]]],[11,"into","","",29,[[]]],[11,"borrow","","",29,[[]]],[11,"borrow_mut","","",29,[[]]],[11,"try_from","","",29,[[],["result",4]]],[11,"try_into","","",29,[[],["result",4]]],[11,"type_id","","",29,[[],["typeid",3]]],[11,"vzip","","",29,[[]]],[11,"from","guard::api::v1::mcaptcha::domains","",6,[[]]],[11,"into","","",6,[[]]],[11,"to_owned","","",6,[[]]],[11,"clone_into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"from","","",30,[[]]],[11,"into","","",30,[[]]],[11,"borrow","","",30,[[]]],[11,"borrow_mut","","",30,[[]]],[11,"try_from","","",30,[[],["result",4]]],[11,"try_into","","",30,[[],["result",4]]],[11,"type_id","","",30,[[],["typeid",3]]],[11,"vzip","","",30,[[]]],[11,"from","","",7,[[]]],[11,"into","","",7,[[]]],[11,"to_owned","","",7,[[]]],[11,"clone_into","","",7,[[]]],[11,"borrow","","",7,[[]]],[11,"borrow_mut","","",7,[[]]],[11,"try_from","","",7,[[],["result",4]]],[11,"try_into","","",7,[[],["result",4]]],[11,"type_id","","",7,[[],["typeid",3]]],[11,"vzip","","",7,[[]]],[11,"from","","",31,[[]]],[11,"into","","",31,[[]]],[11,"borrow","","",31,[[]]],[11,"borrow_mut","","",31,[[]]],[11,"try_from","","",31,[[],["result",4]]],[11,"try_into","","",31,[[],["result",4]]],[11,"type_id","","",31,[[],["typeid",3]]],[11,"vzip","","",31,[[]]],[11,"from","","",32,[[]]],[11,"into","","",32,[[]]],[11,"borrow","","",32,[[]]],[11,"borrow_mut","","",32,[[]]],[11,"try_from","","",32,[[],["result",4]]],[11,"try_into","","",32,[[],["result",4]]],[11,"type_id","","",32,[[],["typeid",3]]],[11,"vzip","","",32,[[]]],[11,"from","","",33,[[]]],[11,"into","","",33,[[]]],[11,"borrow","","",33,[[]]],[11,"borrow_mut","","",33,[[]]],[11,"try_from","","",33,[[],["result",4]]],[11,"try_into","","",33,[[],["result",4]]],[11,"type_id","","",33,[[],["typeid",3]]],[11,"vzip","","",33,[[]]],[11,"from","guard::api::v1::mcaptcha::duration","",8,[[]]],[11,"into","","",8,[[]]],[11,"borrow","","",8,[[]]],[11,"borrow_mut","","",8,[[]]],[11,"try_from","","",8,[[],["result",4]]],[11,"try_into","","",8,[[],["result",4]]],[11,"type_id","","",8,[[],["typeid",3]]],[11,"vzip","","",8,[[]]],[11,"from","","",34,[[]]],[11,"into","","",34,[[]]],[11,"borrow","","",34,[[]]],[11,"borrow_mut","","",34,[[]]],[11,"try_from","","",34,[[],["result",4]]],[11,"try_into","","",34,[[],["result",4]]],[11,"type_id","","",34,[[],["typeid",3]]],[11,"vzip","","",34,[[]]],[11,"from","","",9,[[]]],[11,"into","","",9,[[]]],[11,"borrow","","",9,[[]]],[11,"borrow_mut","","",9,[[]]],[11,"try_from","","",9,[[],["result",4]]],[11,"try_into","","",9,[[],["result",4]]],[11,"type_id","","",9,[[],["typeid",3]]],[11,"vzip","","",9,[[]]],[11,"from","","",10,[[]]],[11,"into","","",10,[[]]],[11,"borrow","","",10,[[]]],[11,"borrow_mut","","",10,[[]]],[11,"try_from","","",10,[[],["result",4]]],[11,"try_into","","",10,[[],["result",4]]],[11,"type_id","","",10,[[],["typeid",3]]],[11,"vzip","","",10,[[]]],[11,"from","","",35,[[]]],[11,"into","","",35,[[]]],[11,"borrow","","",35,[[]]],[11,"borrow_mut","","",35,[[]]],[11,"try_from","","",35,[[],["result",4]]],[11,"try_into","","",35,[[],["result",4]]],[11,"type_id","","",35,[[],["typeid",3]]],[11,"vzip","","",35,[[]]],[11,"from","guard::api::v1::mcaptcha::levels","",11,[[]]],[11,"into","","",11,[[]]],[11,"borrow","","",11,[[]]],[11,"borrow_mut","","",11,[[]]],[11,"try_from","","",11,[[],["result",4]]],[11,"try_into","","",11,[[],["result",4]]],[11,"type_id","","",11,[[],["typeid",3]]],[11,"vzip","","",11,[[]]],[11,"from","","",36,[[]]],[11,"into","","",36,[[]]],[11,"borrow","","",36,[[]]],[11,"borrow_mut","","",36,[[]]],[11,"try_from","","",36,[[],["result",4]]],[11,"try_into","","",36,[[],["result",4]]],[11,"type_id","","",36,[[],["typeid",3]]],[11,"vzip","","",36,[[]]],[11,"from","","",37,[[]]],[11,"into","","",37,[[]]],[11,"borrow","","",37,[[]]],[11,"borrow_mut","","",37,[[]]],[11,"try_from","","",37,[[],["result",4]]],[11,"try_into","","",37,[[],["result",4]]],[11,"type_id","","",37,[[],["typeid",3]]],[11,"vzip","","",37,[[]]],[11,"from","","",38,[[]]],[11,"into","","",38,[[]]],[11,"borrow","","",38,[[]]],[11,"borrow_mut","","",38,[[]]],[11,"try_from","","",38,[[],["result",4]]],[11,"try_into","","",38,[[],["result",4]]],[11,"type_id","","",38,[[],["typeid",3]]],[11,"vzip","","",38,[[]]],[11,"from","","",12,[[]]],[11,"into","","",12,[[]]],[11,"borrow","","",12,[[]]],[11,"borrow_mut","","",12,[[]]],[11,"try_from","","",12,[[],["result",4]]],[11,"try_into","","",12,[[],["result",4]]],[11,"type_id","","",12,[[],["typeid",3]]],[11,"vzip","","",12,[[]]],[11,"from","","",39,[[]]],[11,"into","","",39,[[]]],[11,"borrow","","",39,[[]]],[11,"borrow_mut","","",39,[[]]],[11,"try_from","","",39,[[],["result",4]]],[11,"try_into","","",39,[[],["result",4]]],[11,"type_id","","",39,[[],["typeid",3]]],[11,"vzip","","",39,[[]]],[11,"from","","",13,[[]]],[11,"into","","",13,[[]]],[11,"borrow","","",13,[[]]],[11,"borrow_mut","","",13,[[]]],[11,"try_from","","",13,[[],["result",4]]],[11,"try_into","","",13,[[],["result",4]]],[11,"type_id","","",13,[[],["typeid",3]]],[11,"vzip","","",13,[[]]],[11,"from","","",14,[[]]],[11,"into","","",14,[[]]],[11,"borrow","","",14,[[]]],[11,"borrow_mut","","",14,[[]]],[11,"try_from","","",14,[[],["result",4]]],[11,"try_into","","",14,[[],["result",4]]],[11,"type_id","","",14,[[],["typeid",3]]],[11,"vzip","","",14,[[]]],[11,"from","guard::api::v1::mcaptcha::mcaptcha","",15,[[]]],[11,"into","","",15,[[]]],[11,"to_owned","","",15,[[]]],[11,"clone_into","","",15,[[]]],[11,"borrow","","",15,[[]]],[11,"borrow_mut","","",15,[[]]],[11,"try_from","","",15,[[],["result",4]]],[11,"try_into","","",15,[[],["result",4]]],[11,"type_id","","",15,[[],["typeid",3]]],[11,"vzip","","",15,[[]]],[11,"from","","",16,[[]]],[11,"into","","",16,[[]]],[11,"to_owned","","",16,[[]]],[11,"clone_into","","",16,[[]]],[11,"borrow","","",16,[[]]],[11,"borrow_mut","","",16,[[]]],[11,"try_from","","",16,[[],["result",4]]],[11,"try_into","","",16,[[],["result",4]]],[11,"type_id","","",16,[[],["typeid",3]]],[11,"vzip","","",16,[[]]],[11,"from","","",40,[[]]],[11,"into","","",40,[[]]],[11,"borrow","","",40,[[]]],[11,"borrow_mut","","",40,[[]]],[11,"try_from","","",40,[[],["result",4]]],[11,"try_into","","",40,[[],["result",4]]],[11,"type_id","","",40,[[],["typeid",3]]],[11,"vzip","","",40,[[]]],[11,"from","","",41,[[]]],[11,"into","","",41,[[]]],[11,"borrow","","",41,[[]]],[11,"borrow_mut","","",41,[[]]],[11,"try_from","","",41,[[],["result",4]]],[11,"try_into","","",41,[[],["result",4]]],[11,"type_id","","",41,[[],["typeid",3]]],[11,"vzip","","",41,[[]]],[11,"from","guard::api::v1::meta","",42,[[]]],[11,"into","","",42,[[]]],[11,"borrow","","",42,[[]]],[11,"borrow_mut","","",42,[[]]],[11,"try_from","","",42,[[],["result",4]]],[11,"try_into","","",42,[[],["result",4]]],[11,"type_id","","",42,[[],["typeid",3]]],[11,"vzip","","",42,[[]]],[11,"from","","",17,[[]]],[11,"into","","",17,[[]]],[11,"to_owned","","",17,[[]]],[11,"clone_into","","",17,[[]]],[11,"borrow","","",17,[[]]],[11,"borrow_mut","","",17,[[]]],[11,"try_from","","",17,[[],["result",4]]],[11,"try_into","","",17,[[],["result",4]]],[11,"type_id","","",17,[[],["typeid",3]]],[11,"vzip","","",17,[[]]],[11,"from","","",18,[[]]],[11,"into","","",18,[[]]],[11,"to_owned","","",18,[[]]],[11,"clone_into","","",18,[[]]],[11,"borrow","","",18,[[]]],[11,"borrow_mut","","",18,[[]]],[11,"try_from","","",18,[[],["result",4]]],[11,"try_into","","",18,[[],["result",4]]],[11,"type_id","","",18,[[],["typeid",3]]],[11,"vzip","","",18,[[]]],[11,"from","","",43,[[]]],[11,"into","","",43,[[]]],[11,"borrow","","",43,[[]]],[11,"borrow_mut","","",43,[[]]],[11,"try_from","","",43,[[],["result",4]]],[11,"try_into","","",43,[[],["result",4]]],[11,"type_id","","",43,[[],["typeid",3]]],[11,"vzip","","",43,[[]]],[11,"from","guard::settings","",19,[[]]],[11,"into","","",19,[[]]],[11,"to_owned","","",19,[[]]],[11,"clone_into","","",19,[[]]],[11,"borrow","","",19,[[]]],[11,"borrow_mut","","",19,[[]]],[11,"try_from","","",19,[[],["result",4]]],[11,"try_into","","",19,[[],["result",4]]],[11,"type_id","","",19,[[],["typeid",3]]],[11,"vzip","","",19,[[]]],[11,"from","","",20,[[]]],[11,"into","","",20,[[]]],[11,"to_owned","","",20,[[]]],[11,"clone_into","","",20,[[]]],[11,"borrow","","",20,[[]]],[11,"borrow_mut","","",20,[[]]],[11,"try_from","","",20,[[],["result",4]]],[11,"try_into","","",20,[[],["result",4]]],[11,"type_id","","",20,[[],["typeid",3]]],[11,"vzip","","",20,[[]]],[11,"from","","",21,[[]]],[11,"into","","",21,[[]]],[11,"to_owned","","",21,[[]]],[11,"clone_into","","",21,[[]]],[11,"borrow","","",21,[[]]],[11,"borrow_mut","","",21,[[]]],[11,"try_from","","",21,[[],["result",4]]],[11,"try_into","","",21,[[],["result",4]]],[11,"type_id","","",21,[[],["typeid",3]]],[11,"vzip","","",21,[[]]],[11,"from","","",22,[[]]],[11,"into","","",22,[[]]],[11,"to_owned","","",22,[[]]],[11,"clone_into","","",22,[[]]],[11,"borrow","","",22,[[]]],[11,"borrow_mut","","",22,[[]]],[11,"try_from","","",22,[[],["result",4]]],[11,"try_into","","",22,[[],["result",4]]],[11,"type_id","","",22,[[],["typeid",3]]],[11,"vzip","","",22,[[]]],[11,"from","","",23,[[]]],[11,"into","","",23,[[]]],[11,"to_owned","","",23,[[]]],[11,"clone_into","","",23,[[]]],[11,"borrow","","",23,[[]]],[11,"borrow_mut","","",23,[[]]],[11,"try_from","","",23,[[],["result",4]]],[11,"try_into","","",23,[[],["result",4]]],[11,"type_id","","",23,[[],["typeid",3]]],[11,"vzip","","",23,[[]]],[11,"from","guard","",24,[[]]],[11,"into","","",24,[[]]],[11,"borrow","","",24,[[]]],[11,"borrow_mut","","",24,[[]]],[11,"try_from","","",24,[[],["result",4]]],[11,"try_into","","",24,[[],["result",4]]],[11,"type_id","","",24,[[],["typeid",3]]],[11,"vzip","","",24,[[]]],[11,"from","","",25,[[]]],[11,"into","","",25,[[]]],[11,"borrow","","",25,[[]]],[11,"borrow_mut","","",25,[[]]],[11,"try_from","","",25,[[],["result",4]]],[11,"try_into","","",25,[[],["result",4]]],[11,"type_id","","",25,[[],["typeid",3]]],[11,"vzip","","",25,[[]]],[11,"from","guard::errors","",1,[[["credserror",4]],["serviceerror",4]]],[11,"from","","",1,[[["validationerrors",3]],["serviceerror",4]]],[11,"from","","",1,[[["sendrequesterror",4]],["serviceerror",4]]],[11,"from","","",1,[[["parseerror",4]],["serviceerror",4]]],[11,"from","","",1,[[["captchaerror",4]],["serviceerror",4]]],[11,"from","","",1,[[["error",4]]]],[11,"clone","guard::data","",0,[[],["data",3]]],[11,"clone","guard::errors","",1,[[],["serviceerror",4]]],[11,"clone","guard::api::v1::auth","",3,[[],["register",3]]],[11,"clone","","",4,[[],["login",3]]],[11,"clone","guard::api::v1::mcaptcha::domains","",6,[[],["domain",3]]],[11,"clone","","",7,[[],["challenge",3]]],[11,"clone","guard::api::v1::mcaptcha::mcaptcha","",15,[[],["mcaptchaid",3]]],[11,"clone","","",16,[[],["mcaptchadetails",3]]],[11,"clone","guard::api::v1::meta","",17,[[],["health",3]]],[11,"clone","","",18,[[],["healthbuilder",3]]],[11,"clone","guard::settings","",19,[[],["server",3]]],[11,"clone","","",20,[[],["captcha",3]]],[11,"clone","","",21,[[],["databasebuilder",3]]],[11,"clone","","",22,[[],["database",3]]],[11,"clone","","",23,[[],["settings",3]]],[11,"default","guard::api::v1::meta","",18,[[],["healthbuilder",3]]],[11,"eq","guard::errors","",1,[[["serviceerror",4]],["bool",15]]],[11,"ne","","",1,[[["serviceerror",4]],["bool",15]]],[11,"deref","guard","",24,[[],["settings",3]]],[11,"deref","","",25,[[],["string",3]]],[11,"fmt","guard::errors","",1,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::auth","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::domains","",6,[[["formatter",3]],["result",6]]],[11,"fmt","","",7,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::mcaptcha","",15,[[["formatter",3]],["result",6]]],[11,"fmt","","",16,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::meta","",17,[[["formatter",3]],["result",6]]],[11,"fmt","guard::settings","",19,[[["formatter",3]],["result",6]]],[11,"fmt","","",20,[[["formatter",3]],["result",6]]],[11,"fmt","","",21,[[["formatter",3]],["result",6]]],[11,"fmt","","",22,[[["formatter",3]],["result",6]]],[11,"fmt","","",23,[[["formatter",3]],["result",6]]],[11,"fmt","guard::errors","",1,[[["formatter",3]],["result",6]]],[11,"source","","",1,[[],[["option",4],["error",8]]]],[11,"deserialize","","",2,[[],["result",4]]],[11,"deserialize","guard::api::v1::auth","",3,[[],["result",4]]],[11,"deserialize","","",4,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::domains","",6,[[],["result",4]]],[11,"deserialize","","",7,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::duration","",8,[[],["result",4]]],[11,"deserialize","","",9,[[],["result",4]]],[11,"deserialize","","",10,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::levels","",11,[[],["result",4]]],[11,"deserialize","","",12,[[],["result",4]]],[11,"deserialize","","",13,[[],["result",4]]],[11,"deserialize","","",14,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::mcaptcha","",15,[[],["result",4]]],[11,"deserialize","","",16,[[],["result",4]]],[11,"deserialize","guard::api::v1::meta","",17,[[],["result",4]]],[11,"deserialize","guard::settings","",19,[[],["result",4]]],[11,"deserialize","","",20,[[],["result",4]]],[11,"deserialize","","",21,[[],["result",4]]],[11,"deserialize","","",22,[[],["result",4]]],[11,"deserialize","","",23,[[],["result",4]]],[11,"serialize","guard::errors","",2,[[],["result",4]]],[11,"serialize","guard::api::v1::auth","",3,[[],["result",4]]],[11,"serialize","","",4,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::domains","",6,[[],["result",4]]],[11,"serialize","","",7,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::duration","",8,[[],["result",4]]],[11,"serialize","","",9,[[],["result",4]]],[11,"serialize","","",10,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::levels","",11,[[],["result",4]]],[11,"serialize","","",12,[[],["result",4]]],[11,"serialize","","",13,[[],["result",4]]],[11,"serialize","","",14,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::mcaptcha","",15,[[],["result",4]]],[11,"serialize","","",16,[[],["result",4]]],[11,"serialize","guard::api::v1::meta","",17,[[],["result",4]]],[11,"register","guard::api::v1::auth","",26,[[["appservice",3]]]],[11,"register","","",27,[[["appservice",3]]]],[11,"register","","",28,[[["appservice",3]]]],[11,"register","","",29,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::domains","",30,[[["appservice",3]]]],[11,"register","","",31,[[["appservice",3]]]],[11,"register","","",32,[[["appservice",3]]]],[11,"register","","",33,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::duration","",34,[[["appservice",3]]]],[11,"register","","",35,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::levels","",36,[[["appservice",3]]]],[11,"register","","",37,[[["appservice",3]]]],[11,"register","","",38,[[["appservice",3]]]],[11,"register","","",39,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::mcaptcha","",40,[[["appservice",3]]]],[11,"register","","",41,[[["appservice",3]]]],[11,"register","guard::api::v1::meta","",42,[[["appservice",3]]]],[11,"register","","",43,[[["appservice",3]]]],[11,"error_response","guard::errors","",1,[[],["httpresponse",3]]],[11,"status_code","","",1,[[],["statuscode",3]]],[11,"initialize","guard","",24,[[]]],[11,"initialize","","",25,[[]]]],"p":[[3,"Data"],[4,"ServiceError"],[3,"ErrorToResponse"],[3,"Register"],[3,"Login"],[3,"Password"],[3,"Domain"],[3,"Challenge"],[3,"UpdateDuration"],[3,"GetDurationResp"],[3,"GetDuration"],[3,"AddLevels"],[3,"GetLevels"],[3,"Levels"],[3,"I32Levels"],[3,"MCaptchaID"],[3,"MCaptchaDetails"],[3,"Health"],[3,"HealthBuilder"],[3,"Server"],[3,"Captcha"],[3,"DatabaseBuilder"],[3,"Database"],[3,"Settings"],[3,"SETTINGS"],[3,"GIT_COMMIT_HASH"],[3,"signup"],[3,"signin"],[3,"signout"],[3,"delete_account"],[3,"add_domain"],[3,"get_challenge"],[3,"verify"],[3,"delete_domain"],[3,"update_duration"],[3,"get_duration"],[3,"add_levels"],[3,"update_levels"],[3,"delete_levels"],[3,"get_levels"],[3,"add_mcaptcha"],[3,"delete_mcaptcha"],[3,"build_details"],[3,"health"]]},\ "tests_migrate":{"doc":"","i":[[0,"data","tests_migrate","",null,null],[3,"Data","tests_migrate::data","",null,null],[12,"db","","",0,null],[12,"creds","","",0,null],[12,"captcha","","",0,null],[11,"new","","",0,[[]]],[0,"settings","tests_migrate","",null,null],[3,"Server","tests_migrate::settings","",null,null],[12,"allow_registration","","",1,null],[12,"port","","",1,null],[12,"domain","","",1,null],[12,"cookie_secret","","",1,null],[12,"ip","","",1,null],[3,"Captcha","","",null,null],[12,"salt","","",2,null],[12,"gc","","",2,null],[11,"get_ip","","",1,[[],["string",3]]],[3,"DatabaseBuilder","","",null,null],[12,"port","","",3,null],[12,"hostname","","",3,null],[12,"username","","",3,null],[12,"password","","",3,null],[12,"name","","",3,null],[12,"url","","",3,null],[11,"extract_database_url","","",3,[[["url",3]]]],[3,"Database","","",null,null],[12,"url","","",4,null],[12,"pool","","",4,null],[3,"Settings","","",null,null],[12,"debug","","",5,null],[12,"database","","",5,null],[12,"server","","",5,null],[12,"pow","","",5,null],[11,"new","","",5,[[],[["result",4],["configerror",4]]]],[5,"set_from_database_url","","",null,[[["config",3],["databasebuilder",3]]]],[5,"set_database_url","","",null,[[["config",3]]]],[3,"Data","tests_migrate","",null,null],[12,"db","","",0,null],[12,"creds","","",0,null],[12,"captcha","","",0,null],[3,"Settings","","",null,null],[12,"debug","","",5,null],[12,"database","","",5,null],[12,"server","","",5,null],[12,"pow","","",5,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",6,null],[5,"main","","",null,[[]]],[11,"from","tests_migrate::data","",0,[[]]],[11,"into","","",0,[[]]],[11,"to_owned","","",0,[[]]],[11,"clone_into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"from","tests_migrate::settings","",1,[[]]],[11,"into","","",1,[[]]],[11,"to_owned","","",1,[[]]],[11,"clone_into","","",1,[[]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"to_owned","","",2,[[]]],[11,"clone_into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"from","","",3,[[]]],[11,"into","","",3,[[]]],[11,"to_owned","","",3,[[]]],[11,"clone_into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"to_owned","","",4,[[]]],[11,"clone_into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"to_owned","","",5,[[]]],[11,"clone_into","","",5,[[]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"from","tests_migrate","",6,[[]]],[11,"into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"clone","tests_migrate::data","",0,[[],["data",3]]],[11,"clone","tests_migrate::settings","",1,[[],["server",3]]],[11,"clone","","",2,[[],["captcha",3]]],[11,"clone","","",3,[[],["databasebuilder",3]]],[11,"clone","","",4,[[],["database",3]]],[11,"clone","","",5,[[],["settings",3]]],[11,"deref","tests_migrate","",6,[[],["settings",3]]],[11,"fmt","tests_migrate::settings","",1,[[["formatter",3]],["result",6]]],[11,"fmt","","",2,[[["formatter",3]],["result",6]]],[11,"fmt","","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"initialize","tests_migrate","",6,[[]]],[11,"deserialize","tests_migrate::settings","",1,[[],["result",4]]],[11,"deserialize","","",2,[[],["result",4]]],[11,"deserialize","","",3,[[],["result",4]]],[11,"deserialize","","",4,[[],["result",4]]],[11,"deserialize","","",5,[[],["result",4]]]],"p":[[3,"Data"],[3,"Server"],[3,"Captcha"],[3,"DatabaseBuilder"],[3,"Database"],[3,"Settings"],[3,"SETTINGS"]]}\ }'); addSearchOptions(searchIndex);initSearch(searchIndex); \ No newline at end of file diff --git a/settings.html b/settings.html index 8cb61c75..22f530a4 100644 --- a/settings.html +++ b/settings.html @@ -1,7 +1,7 @@ Rustdoc settings -
\ No newline at end of file diff --git a/source-files.js b/source-files.js index 99dc8a22..8109ff73 100644 --- a/source-files.js +++ b/source-files.js @@ -1,5 +1,4 @@ var N = null;var sourcesIndex = {}; sourcesIndex["guard"] = {"name":"","dirs":[{"name":"api","dirs":[{"name":"v1","dirs":[{"name":"mcaptcha","files":["domains.rs","duration.rs","levels.rs","mcaptcha.rs","mod.rs"]}],"files":["auth.rs","meta.rs","mod.rs"]}],"files":["mod.rs"]}],"files":["data.rs","errors.rs","main.rs","settings.rs"]}; -sourcesIndex["kv_test_util"] = {"name":"","files":["kvserver.rs"]}; sourcesIndex["tests_migrate"] = {"name":"","files":["data.rs","settings.rs","tests-migrate.rs"]}; createSourceSidebar(); diff --git a/src/guard/api/v1/mcaptcha/domains.rs.html b/src/guard/api/v1/mcaptcha/domains.rs.html index e0f6273a..481cc1a2 100644 --- a/src/guard/api/v1/mcaptcha/domains.rs.html +++ b/src/guard/api/v1/mcaptcha/domains.rs.html @@ -393,12 +393,11 @@ payload: web::Json<Domain>, data: web::Data<Data>, id: Identity, - client: web::Data<Client>, ) -> ServiceResult<impl Responder> { is_authenticated(&id)?; let url = Url::parse(&payload.name)?; - let host = url.host_str().ok_or(ServiceError::NotAUrl).unwrap(); + let host = url.host_str().ok_or(ServiceError::NotAUrl)?; let user = id.identity().unwrap(); let res = sqlx::query_as!( Challenge, @@ -409,8 +408,7 @@ user, ) .fetch_one(&data.db) - .await - .unwrap(); + .await?; Ok(HttpResponse::Ok().json(res)) } @@ -421,56 +419,58 @@ client: web::Data<Client>, id: Identity, ) -> ServiceResult<impl Responder> { + use crate::VERIFICATION_PATH; use futures::{future::TryFutureExt, try_join}; - is_authenticated(&id).unwrap(); - //let url = Url::parse(&payload.name).unwrap(); - //let host = url.host_str().ok_or(ServiceError::NotAUrl).unwrap(); - //let user = id.identity().unwrap(); - //let challenge_fut = sqlx::query_as!( - // Challenge, - // "SELECT verification_challenge - // FROM mcaptcha_domains_unverified where - // name = $1 AND owner_id = (SELECT ID from mcaptcha_users where name = $2)", - // &host, - // &user, - //) - //.fetch_one(&data.db) - //.map_err(|e| { - // let r: ServiceError = e.into(); - // r - //}); + is_authenticated(&id)?; + let url = Url::parse(&payload.name)?; + let host = url.host_str().ok_or(ServiceError::NotAUrl)?; + let user = id.identity().unwrap(); + let challenge_fut = sqlx::query_as!( + Challenge, + "SELECT verification_challenge + FROM mcaptcha_domains_unverified where + name = $1 AND owner_id = (SELECT ID from mcaptcha_users where name = $2)", + &host, + &user, + ) + .fetch_one(&data.db) + .map_err(|e| { + let r: ServiceError = e.into(); + r + }); - //let res_fut = client.get(host).send().map_err(|e| { - // let r: ServiceError = e.into(); - // r - //}); + let res_fut = client + .get(format!("{}{}", url.to_string(), VERIFICATION_PATH)) + .send() + .map_err(|e| { + let r: ServiceError = e.into(); + r + }); - //let (challenge, mut server_res) = try_join!(challenge_fut, res_fut).unwrap(); + let (challenge, mut server_res) = try_join!(challenge_fut, res_fut)?; - //let server_resp: Challenge = server_res - // .json() - // .await - // .map_err(|_| return ServiceError::ChallengeCourruption) - // .unwrap(); + let server_resp: Challenge = server_res + .json() + .await + .map_err(|_| return ServiceError::ChallengeCourruption)?; - //if server_resp.verification_challenge == challenge.verification_challenge { - // sqlx::query!( - // "INSERT INTO mcaptcha_domains_verified (name, owner_id) VALUES - // ($1, (SELECT ID from mcaptcha_users WHERE name = $2))", - // &host, - // &user - // ) - // .execute(&data.db) - // .await - // .unwrap(); + if server_resp.verification_challenge == challenge.verification_challenge { + sqlx::query!( + "INSERT INTO mcaptcha_domains_verified (name, owner_id) VALUES + ($1, (SELECT ID from mcaptcha_users WHERE name = $2))", + &host, + &user + ) + .execute(&data.db) + .await?; - // // TODO delete staging unverified + // TODO delete staging unverified - Ok(HttpResponse::Ok()) - //} else { - // Err(ServiceError::ChallengeVerificationFailure) - //} + Ok(HttpResponse::Ok()) + } else { + Err(ServiceError::ChallengeVerificationFailure) + } } #[post("/api/v1/mcaptcha/domain/delete")] @@ -630,7 +630,7 @@ let challenge: Challenge = test::read_body_json(get_challenge_resp).await; client - .post(format!("{}/domain_verification_works/", DOMAIN)) + .post(format!("{}/{}/", DOMAIN, VERIFICATION_PATH)) .send_json(&challenge) .await .unwrap(); diff --git a/src/guard/errors.rs.html b/src/guard/errors.rs.html index 8ba58443..454ad53d 100644 --- a/src/guard/errors.rs.html +++ b/src/guard/errors.rs.html @@ -241,13 +241,13 @@ use std::convert::From; use actix_web::{ - client::SendRequestError, dev::HttpResponseBuilder, error::ResponseError, http::{header, StatusCode}, HttpResponse, }; use argon2_creds::errors::CredsError; +use awc::error::SendRequestError; use derive_more::{Display, Error}; use log::debug; use m_captcha::errors::CaptchaError; diff --git a/src/guard/main.rs.html b/src/guard/main.rs.html index 44b4219c..681f1b41 100644 --- a/src/guard/main.rs.html +++ b/src/guard/main.rs.html @@ -101,6 +101,8 @@ 98 99 100 +101 +102
 /*
 * Copyright (C) 2021  Aravinth Manivannan <realaravinth@batsense.net>
@@ -150,6 +152,8 @@
 pub static PKG_DESCRIPTION: &str = env!("CARGO_PKG_DESCRIPTION");
 pub static PKG_HOMEPAGE: &str = env!("CARGO_PKG_HOMEPAGE");
 
+pub static VERIFICATION_PATH: &str = "mcaptchaVerificationChallenge.json";
+
 #[cfg(not(tarpaulin_include))]
 #[actix_web::main]
 async fn main() -> std::io::Result<()> {
diff --git a/src/kv_test_util/kvserver.rs.html b/src/kv_test_util/kvserver.rs.html
deleted file mode 100644
index 057403b9..00000000
--- a/src/kv_test_util/kvserver.rs.html
+++ /dev/null
@@ -1,195 +0,0 @@
-kvserver.rs - source
-
-
 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-
-/*
-* Copyright (C) 2021  Aravinth Manivannan <realaravinth@batsense.net>
-*
-* This program is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Affero General Public License as
-* published by the Free Software Foundation, either version 3 of the
-* License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU Affero General Public License for more details.
-*
-* You should have received a copy of the GNU Affero General Public License
-* along with this program.  If not, see <https://www.gnu.org/licenses/>.
-*/
-use log::info;
-use std::collections::HashMap;
-use std::env;
-use std::sync::mpsc;
-use std::sync::{Arc, RwLock};
-
-use actix_web::{dev::Server, web, App, HttpResponse, HttpServer, Responder};
-use serde::{Deserialize, Serialize};
-
-// from
-// use crate::api::v1::mcaptcha::domains::Challenge;
-#[derive(Clone, Debug, Deserialize, Serialize)]
-pub struct Challenge {
-    verification_challenge: String,
-}
-
-#[cfg(not(tarpaulin_include))]
-#[actix_web::main]
-async fn main() {
-    pretty_env_logger::init();
-    let mut confif = env::args();
-    confif.next();
-    let port = confif.next().unwrap();
-    HttpServer::new(move || {
-        let store: UtilKVServer = Arc::new(RwLock::new(HashMap::new()));
-        App::new()
-            .data(store)
-            .route("/{key}/", web::post().to(util_server_add))
-            .route("/{key}/", web::get().to(util_server_retrive))
-    })
-    .bind(format!("localhost:{}", port))
-    .unwrap()
-    .run()
-    .await
-    .unwrap();
-}
-
-pub async fn server(ip: &str, tx: mpsc::Sender<Server>) {
-    pretty_env_logger::init();
-    let srv = HttpServer::new(move || {
-        let store: UtilKVServer = Arc::new(RwLock::new(HashMap::new()));
-        App::new()
-            .data(store)
-            .route("/{key}/", web::post().to(util_server_add))
-            .route("/{key}/", web::get().to(util_server_retrive))
-    })
-    .bind(ip)
-    .unwrap()
-    .run();
-
-    tx.send(srv.clone());
-}
-
-type UtilKVServer = Arc<RwLock<HashMap<String, Challenge>>>;
-
-#[cfg(not(tarpaulin_include))]
-async fn util_server_retrive(
-    key: web::Path<String>,
-    data: web::Data<UtilKVServer>,
-) -> impl Responder {
-    let key = key.into_inner();
-    let store = data.read().unwrap();
-    let resp = store.get(&key).unwrap();
-    info!("key :{}, value: {:?}", key, resp);
-    HttpResponse::Ok().json(resp)
-}
-
-#[cfg(not(tarpaulin_include))]
-async fn util_server_add(
-    key: web::Path<String>,
-    payload: web::Json<Challenge>,
-    data: web::Data<UtilKVServer>,
-) -> impl Responder {
-    info!("key :{}, value: {:?}", key, payload);
-    let mut store = data.write().unwrap();
-    store.insert(key.into_inner(), payload.into_inner());
-    HttpResponse::Ok()
-}
-
-
- \ No newline at end of file