Function guard::get_identity_service [−][src]
pub fn get_identity_service() -> IdentityService<CookieIdentityPolicy>
diff --git a/guard/fn.get_identity_service.html b/guard/fn.get_identity_service.html index f3f227c0..b5a25c82 100644 --- a/guard/fn.get_identity_service.html +++ b/guard/fn.get_identity_service.html @@ -1,5 +1,5 @@
pub fn get_identity_service() -> IdentityService<CookieIdentityPolicy>
pub fn get_identity_service() -> IdentityService<CookieIdentityPolicy>
pub fn get_json_err() -> JsonConfig
pub fn get_json_err() -> JsonConfig
pub(crate) fn main() -> Result<()>
pub(crate) fn main() -> Result<()>
api | |
data | |
docs | |
errors | |
settings | |
static_assets | |
templates |
CSS | |
Data | |
FILES | |
JS | |
S | |
SETTINGS | |
Settings |
GIT_COMMIT_HASH | |
OPEN_API_DOC | |
PKG_DESCRIPTION | |
PKG_HOMEPAGE | |
PKG_NAME | |
VERIFICATION_PATH | |
VERSION |
pub static GIT_COMMIT_HASH: &str
pub static GIT_COMMIT_HASH: &str
pub static OPEN_API_DOC: &str
pub static OPEN_API_DOC: &str
pub static PKG_DESCRIPTION: &str
pub static PKG_DESCRIPTION: &str
pub static PKG_HOMEPAGE: &str
pub static PKG_HOMEPAGE: &str
pub static PKG_NAME: &str
pub static PKG_NAME: &str
pub static VERIFICATION_PATH: &str
pub static VERIFICATION_PATH: &str
pub static VERSION: &str
pub static VERSION: &str
Asset | |
dist |
handle_embedded_file | |
services |
pub struct CSS { __private_field: (), }
__private_field: ()
pub const fn len(&self) -> usize
1.0.0 (const: 1.32.0)[src]Returns the length of self
.
impl Deref for CSS
[src]type Target = &'static str
The resulting type after dereferencing.
-fn deref(&self) -> &&'static str
[src]Dereferences the value.
-impl LazyStatic for CSS
[src]fn initialize(lazy: &Self)
[src]impl RefUnwindSafe for CSS
[src]impl Send for CSS
[src]impl Sync for CSS
[src]impl Unpin for CSS
[src]impl UnwindSafe for CSS
[src]impl<T> Any for T where
T: 'static + ?Sized,
[src]impl Deref for CSS
[src]type Target = &'static str
The resulting type after dereferencing.
+fn deref(&self) -> &&'static str
[src]Dereferences the value.
+impl LazyStatic for CSS
[src]fn initialize(lazy: &Self)
[src]impl RefUnwindSafe for CSS
[src]impl Send for CSS
[src]impl Sync for CSS
[src]impl Unpin for CSS
[src]impl UnwindSafe for CSS
[src]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]pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Conv for T
pub fn conv<T>(self) -> T where
Self: Into<T>,
Converts self
into T
using Into<T>
. Read more
pub struct FILES { +Struct guard::
FILES [−][src]pub struct FILES { __private_field: (), }Fields
__private_field: ()
Methods from Deref<Target = FileMap>
pub fn get(&'a self, path: &'a str) -> Option<&'a str>
Get relative file path
@@ -10,11 +10,9 @@ output/test.randomhash.svg
. For full path, see [get_full_path][Sel
pub fn get_full_path(&'a self, path: &'a str) -> Option<&'a String>
Get file path
If the modified filename path is
-./prod/test.randomhash.svg
, it will output/prod/test.randomhash.svg
. For relative path, see [get][Self::get].
pub fn to_env(&self)
This crate uses compile-time environment variables to transfer -data to the main program. This funtction sets that variable
-Trait Implementations
impl Deref for FILES
[src]
type Target = FileMap
The resulting type after dereferencing.
-
fn deref(&self) -> &FileMap
[src]Dereferences the value.
-
impl LazyStatic for FILES
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for FILES
[src]
impl Send for FILES
[src]
impl Sync for FILES
[src]
impl Unpin for FILES
[src]
impl UnwindSafe for FILES
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,Trait Implementations
impl Deref for FILES
[src]
type Target = FileMap
The resulting type after dereferencing.
+
fn deref(&self) -> &FileMap
[src]Dereferences the value.
+
impl LazyStatic for FILES
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for FILES
[src]
impl Send for FILES
[src]
impl Sync for FILES
[src]
impl Unpin for FILES
[src]
impl UnwindSafe for FILES
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Conv for T
pub fn conv<T>(self) -> T where
Self: Into<T>,Converts
diff --git a/guard/struct.JS.html b/guard/struct.JS.html index 6febc0f2..9fe3a2a8 100644 --- a/guard/struct.JS.html +++ b/guard/struct.JS.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::JS - Rust Struct guard::
JS [−][src]Struct guard::
JS [−][src]pub struct JS { __private_field: (), }Fields
__private_field: ()
Methods from Deref<Target = &'static str>
Trait Implementations
impl Deref for JS
[src]
type Target = &'static str
The resulting type after dereferencing.
-
fn deref(&self) -> &&'static str
[src]Dereferences the value.
-
impl LazyStatic for JS
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for JS
[src]
impl Send for JS
[src]
impl Sync for JS
[src]
impl Unpin for JS
[src]
impl UnwindSafe for JS
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,Trait Implementations
impl Deref for JS
[src]
type Target = &'static str
The resulting type after dereferencing.
+
fn deref(&self) -> &&'static str
[src]Dereferences the value.
+
impl LazyStatic for JS
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for JS
[src]
impl Send for JS
[src]
impl Sync for JS
[src]
impl Unpin for JS
[src]
impl UnwindSafe for JS
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Conv for T
pub fn conv<T>(self) -> T where
Self: Into<T>,Converts
diff --git a/guard/struct.S.html b/guard/struct.S.html index 1dbdbe0e..be5b1d1c 100644 --- a/guard/struct.S.html +++ b/guard/struct.S.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::S - Rust Struct guard::
S [−][src]Struct guard::
S [−][src]pub struct S { __private_field: (), }Fields
__private_field: ()
Methods from Deref<Target = String>
Trait Implementations
impl Deref for S
[src]
type Target = String
The resulting type after dereferencing.
-
fn deref(&self) -> &String
[src]Dereferences the value.
-
impl LazyStatic for S
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for S
[src]
impl Send for S
[src]
impl Sync for S
[src]
impl Unpin for S
[src]
impl UnwindSafe for S
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,Trait Implementations
impl Deref for S
[src]
type Target = String
The resulting type after dereferencing.
+
fn deref(&self) -> &String
[src]Dereferences the value.
+
impl LazyStatic for S
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for S
[src]
impl Send for S
[src]
impl Sync for S
[src]
impl Unpin for S
[src]
impl UnwindSafe for S
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Conv for T
pub fn conv<T>(self) -> T where
Self: Into<T>,Converts
diff --git a/guard/struct.SETTINGS.html b/guard/struct.SETTINGS.html index b9c7fe9d..f3f59182 100644 --- a/guard/struct.SETTINGS.html +++ b/guard/struct.SETTINGS.html @@ -1,12 +1,12 @@self
intoT
usingInto<T>
. Read moreguard::SETTINGS - Rust Struct guard::
SETTINGS [−][src]Struct guard::
SETTINGS [−][src]pub struct SETTINGS { __private_field: (), }- Fields
__private_field: ()
Methods from Deref<Target = Settings>
Trait Implementations
impl Deref for SETTINGS
[src]
type Target = Settings
The resulting type after dereferencing.
-
fn deref(&self) -> &Settings
[src]Dereferences the value.
-
impl LazyStatic for SETTINGS
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for SETTINGS
[src]
impl Send for SETTINGS
[src]
impl Sync for SETTINGS
[src]
impl Unpin for SETTINGS
[src]
impl UnwindSafe for SETTINGS
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+ FieldsTypeId
ofself
. Read more__private_field: ()
Methods from Deref<Target = Settings>
Trait Implementations
impl Deref for SETTINGS
[src]
type Target = Settings
The resulting type after dereferencing.
+
fn deref(&self) -> &Settings
[src]Dereferences the value.
+
impl LazyStatic for SETTINGS
[src]
fn initialize(lazy: &Self)
[src]Auto Trait Implementations
impl RefUnwindSafe for SETTINGS
[src]
impl Send for SETTINGS
[src]
impl Sync for SETTINGS
[src]
impl Unpin for SETTINGS
[src]
impl UnwindSafe for SETTINGS
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Conv for T
pub fn conv<T>(self) -> T where
Self: Into<T>,Converts
diff --git a/guard/templates/index.html b/guard/templates/index.html index dffbaf64..250d6f67 100644 --- a/guard/templates/index.html +++ b/guard/templates/index.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::templates - Rust Module guard::
templates [−][src]Modules
+\ No newline at end of file diff --git a/search-index.js b/search-index.js index 98cf48d1..5ef77ca5 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"guard":{"doc":"","i":[[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","","",0,null],[12,"password","","",0,null],[12,"email","","",0,null],[3,"Login","","",null,null],[12,"username","","",1,null],[12,"password","","",1,null],[3,"Password","","",null,null],[12,"password","","",2,null],[3,"signup","","",null,null],[3,"signin","","",null,null],[3,"Secret","","",null,null],[12,"secret","","",3,null],[3,"get_secret","","",null,null],[3,"update_user_secret","","",null,null],[3,"Email","","",null,null],[12,"email","","",4,null],[3,"set_email","","",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],[3,"AccountCheckPayload","","",null,null],[12,"val","","",5,null],[3,"AccountCheckResp","","",null,null],[12,"exists","","",6,null],[3,"username_exists","","",null,null],[3,"email_exists","","",null,null],[0,"mcaptcha","guard::api::v1","",null,null],[0,"duration","guard::api::v1::mcaptcha","",null,null],[3,"UpdateDuration","guard::api::v1::mcaptcha::duration","",null,null],[12,"key","","",7,null],[12,"duration","","",7,null],[3,"update_duration","","",null,null],[3,"GetDurationResp","","",null,null],[12,"duration","","",8,null],[3,"GetDuration","","",null,null],[12,"token","","",9,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","","",10,null],[12,"key","","",10,null],[3,"add_levels","","",null,null],[3,"update_levels","","",null,null],[3,"delete_levels","","",null,null],[3,"get_levels","","",null,null],[3,"Levels","","",null,null],[12,"levels","","",11,null],[3,"I32Levels","","",null,null],[12,"difficulty_factor","","",12,null],[12,"visitor_threshold","","",12,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","","",13,null],[3,"MCaptchaDetails","","",null,null],[12,"name","","",14,null],[12,"key","","",14,null],[3,"add_mcaptcha","","",null,null],[3,"update_token","","",null,null],[5,"update_token_helper","","",null,[[["data",3],["str",15]]]],[3,"get_token","","",null,null],[3,"delete_mcaptcha","","",null,null],[0,"stats","guard::api::v1::mcaptcha","",null,null],[5,"fetched","guard::api::v1::mcaptcha::stats","",null,[[["pgpool",6],["str",15]]]],[5,"get_random","guard::api::v1::mcaptcha","",null,[[["usize",15]],["string",3]]],[0,"meta","guard::api::v1","",null,null],[3,"BuildDetails","guard::api::v1::meta","",null,null],[12,"version","","",15,null],[12,"git_commit_hash","","",15,null],[3,"BuildDetailsBuilder","","Builder for Module guard::
templates [−][src]Modules
auth panel Functions
services BuildDetails
.",null,null],[12,"version","","",16,null],[12,"git_commit_hash","","",16,null],[11,"version","","",16,[[["str",15]]]],[11,"git_commit_hash","","",16,[[["str",15]]]],[11,"build","","Builds a newBuildDetails
.",16,[[],[["result",4],["builddetails",3],["builddetailsbuildererror",4]]]],[4,"BuildDetailsBuilderError","","Error type for BuildDetailsBuilder",null,null],[13,"UninitializedField","","Uninitialized field",17,null],[13,"ValidationError","","Custom validation error",17,null],[3,"build_details","","",null,null],[3,"Health","","Health check return datatype",null,null],[12,"db","","",18,null],[3,"HealthBuilder","","Builder forHealth
.",null,null],[12,"db","","",19,null],[11,"db","","",19,[[["bool",15]]]],[11,"build","","Builds a newHealth
.",19,[[],[["health",3],["healthbuildererror",4],["result",4]]]],[4,"HealthBuilderError","","Error type for HealthBuilder",null,null],[13,"UninitializedField","","Uninitialized field",20,null],[13,"ValidationError","","Custom validation error",20,null],[3,"health","","",null,null],[0,"pow","guard::api::v1","",null,null],[0,"get_config","guard::api::v1::pow","",null,null],[3,"PoWConfig","guard::api::v1::pow::get_config","",null,null],[12,"name","","",21,null],[12,"domain","","",21,null],[3,"GetConfigPayload","","",null,null],[12,"key","","",22,null],[3,"get_config","","",null,null],[5,"init_mcaptcha","","",null,[[["data",3],["str",15]]]],[0,"verify_pow","guard::api::v1::pow","",null,null],[3,"ValidationToken","guard::api::v1::pow::verify_pow","",null,null],[12,"token","","",23,null],[3,"verify_pow","","",null,null],[0,"verify_token","guard::api::v1::pow","",null,null],[3,"CaptchaValidateResp","guard::api::v1::pow::verify_token","",null,null],[12,"valid","","",24,null],[3,"validate_captcha_token","","",null,null],[5,"services","guard::api::v1::pow","",null,[[["serviceconfig",3]]]],[5,"intenral_services","","",null,[[["serviceconfig",3]]]],[5,"services","guard::api::v1","",null,[[["serviceconfig",3]]]],[0,"data","guard","",null,null],[3,"Data","guard::data","",null,null],[12,"db","","",25,null],[12,"creds","","",25,null],[12,"captcha","","",25,null],[11,"new","","",25,[[]]],[0,"docs","guard","",null,null],[3,"Asset","guard::docs","",null,null],[11,"get","","",26,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",26,[[]]],[5,"handle_embedded_file","","",null,[[["str",15]],["httpresponse",3]]],[3,"dist","","",null,null],[3,"spec","","",null,null],[3,"index","","",null,null],[5,"services","","",null,[[["serviceconfig",3]]]],[0,"errors","guard","",null,null],[4,"ServiceError","guard::errors","",null,null],[13,"InternalServerError","","",27,null],[13,"ClosedForRegistration","","",27,null],[13,"NotAnEmail","","",27,null],[13,"NotAUrl","","",27,null],[13,"WrongPassword","","",27,null],[13,"UsernameNotFound","","",27,null],[13,"AuthorizationRequired","","",27,null],[13,"ProfainityError","","when the value passed contains profainity",27,null],[13,"BlacklistError","","when the value passed contains blacklisted words see …",27,null],[13,"UsernameCaseMappedError","","when the value passed contains characters not present in …",27,null],[13,"PasswordTooShort","","",27,null],[13,"PasswordTooLong","","",27,null],[13,"UsernameTaken","","when the a username is already taken",27,null],[13,"EmailTaken","","email is already taken",27,null],[13,"TokenNotFound","","when the a token name is already taken token not found",27,null],[13,"CaptchaError","","",27,null],[3,"ErrorToResponse","","",null,null],[12,"error","","",28,null],[6,"ServiceResult","","",null,null],[0,"settings","guard","",null,null],[3,"Server","guard::settings","",null,null],[12,"allow_registration","","",29,null],[12,"port","","",29,null],[12,"domain","","",29,null],[12,"cookie_secret","","",29,null],[12,"ip","","",29,null],[12,"url_prefix","","",29,null],[3,"Captcha","","",null,null],[12,"salt","","",30,null],[12,"gc","","",30,null],[11,"get_ip","","",29,[[],["string",3]]],[3,"DatabaseBuilder","","",null,null],[12,"port","","",31,null],[12,"hostname","","",31,null],[12,"username","","",31,null],[12,"password","","",31,null],[12,"name","","",31,null],[12,"url","","",31,null],[11,"extract_database_url","","",31,[[["url",3]]]],[3,"Database","","",null,null],[12,"url","","",32,null],[12,"pool","","",32,null],[3,"Settings","","",null,null],[12,"debug","","",33,null],[12,"database","","",33,null],[12,"server","","",33,null],[12,"pow","","",33,null],[11,"new","","",33,[[],[["configerror",4],["result",4]]]],[5,"set_from_database_url","","",null,[[["config",3],["databasebuilder",3]]]],[5,"set_database_url","","",null,[[["config",3]]]],[0,"static_assets","guard","",null,null],[3,"Asset","guard::static_assets","",null,null],[11,"get","","",34,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",34,[[]]],[5,"handle_embedded_file","","",null,[[["str",15]],["httpresponse",3]]],[3,"dist","","",null,null],[5,"services","","",null,[[["serviceconfig",3]]]],[0,"templates","guard","",null,null],[0,"auth","guard::templates","",null,null],[0,"login","guard::templates::auth","",null,null],[3,"IndexPage","guard::templates::auth::login","",null,null],[12,"name","","",35,null],[12,"title","","",35,null],[3,"login","","",null,null],[0,"register","guard::templates::auth","",null,null],[3,"IndexPage","guard::templates::auth::register","",null,null],[12,"name","","",36,null],[12,"title","","",36,null],[3,"join","","",null,null],[0,"panel","guard::templates","",null,null],[0,"sitekey","guard::templates::panel","",null,null],[3,"IndexPage","guard::templates::panel::sitekey","",null,null],[12,"name","","",37,null],[12,"title","","",37,null],[17,"TITLE","","",null,null],[3,"add_sitekey","","",null,null],[3,"IndexPage","guard::templates::panel","",null,null],[12,"name","","",38,null],[12,"title","","",38,null],[17,"TITLE","","",null,null],[3,"panel","","",null,null],[5,"services","guard::templates","",null,[[["serviceconfig",3]]]],[3,"Data","guard","",null,null],[12,"db","","",25,null],[12,"creds","","",25,null],[12,"captcha","","",25,null],[3,"Settings","","",null,null],[12,"debug","","",33,null],[12,"database","","",33,null],[12,"server","","",33,null],[12,"pow","","",33,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",39,null],[3,"S","","",null,null],[12,"__private_field","","",40,null],[3,"FILES","","",null,null],[12,"__private_field","","",41,null],[3,"JS","","",null,null],[12,"__private_field","","",42,null],[3,"CSS","","",null,null],[12,"__private_field","","",43,null],[7,"OPEN_API_DOC","","",null,null],[7,"GIT_COMMIT_HASH","","",null,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::api::v1::auth","",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","","",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","","",44,[[]]],[11,"into","","",44,[[]]],[11,"borrow","","",44,[[]]],[11,"borrow_mut","","",44,[[]]],[11,"try_from","","",44,[[],["result",4]]],[11,"try_into","","",44,[[],["result",4]]],[11,"type_id","","",44,[[],["typeid",3]]],[11,"vzip","","",44,[[]]],[11,"from","","",45,[[]]],[11,"into","","",45,[[]]],[11,"borrow","","",45,[[]]],[11,"borrow_mut","","",45,[[]]],[11,"try_from","","",45,[[],["result",4]]],[11,"try_into","","",45,[[],["result",4]]],[11,"type_id","","",45,[[],["typeid",3]]],[11,"vzip","","",45,[[]]],[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","","",46,[[]]],[11,"into","","",46,[[]]],[11,"borrow","","",46,[[]]],[11,"borrow_mut","","",46,[[]]],[11,"try_from","","",46,[[],["result",4]]],[11,"try_into","","",46,[[],["result",4]]],[11,"type_id","","",46,[[],["typeid",3]]],[11,"vzip","","",46,[[]]],[11,"from","","",47,[[]]],[11,"into","","",47,[[]]],[11,"borrow","","",47,[[]]],[11,"borrow_mut","","",47,[[]]],[11,"try_from","","",47,[[],["result",4]]],[11,"try_into","","",47,[[],["result",4]]],[11,"type_id","","",47,[[],["typeid",3]]],[11,"vzip","","",47,[[]]],[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","","",48,[[]]],[11,"into","","",48,[[]]],[11,"borrow","","",48,[[]]],[11,"borrow_mut","","",48,[[]]],[11,"try_from","","",48,[[],["result",4]]],[11,"try_into","","",48,[[],["result",4]]],[11,"type_id","","",48,[[],["typeid",3]]],[11,"vzip","","",48,[[]]],[11,"from","","",49,[[]]],[11,"into","","",49,[[]]],[11,"borrow","","",49,[[]]],[11,"borrow_mut","","",49,[[]]],[11,"try_from","","",49,[[],["result",4]]],[11,"try_into","","",49,[[],["result",4]]],[11,"type_id","","",49,[[],["typeid",3]]],[11,"vzip","","",49,[[]]],[11,"from","","",50,[[]]],[11,"into","","",50,[[]]],[11,"borrow","","",50,[[]]],[11,"borrow_mut","","",50,[[]]],[11,"try_from","","",50,[[],["result",4]]],[11,"try_into","","",50,[[],["result",4]]],[11,"type_id","","",50,[[],["typeid",3]]],[11,"vzip","","",50,[[]]],[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","","",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","","",51,[[]]],[11,"into","","",51,[[]]],[11,"borrow","","",51,[[]]],[11,"borrow_mut","","",51,[[]]],[11,"try_from","","",51,[[],["result",4]]],[11,"try_into","","",51,[[],["result",4]]],[11,"type_id","","",51,[[],["typeid",3]]],[11,"vzip","","",51,[[]]],[11,"from","","",52,[[]]],[11,"into","","",52,[[]]],[11,"borrow","","",52,[[]]],[11,"borrow_mut","","",52,[[]]],[11,"try_from","","",52,[[],["result",4]]],[11,"try_into","","",52,[[],["result",4]]],[11,"type_id","","",52,[[],["typeid",3]]],[11,"vzip","","",52,[[]]],[11,"from","guard::api::v1::mcaptcha::duration","",7,[[]]],[11,"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","","",53,[[]]],[11,"into","","",53,[[]]],[11,"borrow","","",53,[[]]],[11,"borrow_mut","","",53,[[]]],[11,"try_from","","",53,[[],["result",4]]],[11,"try_into","","",53,[[],["result",4]]],[11,"type_id","","",53,[[],["typeid",3]]],[11,"vzip","","",53,[[]]],[11,"from","","",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","","",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","","",54,[[]]],[11,"into","","",54,[[]]],[11,"borrow","","",54,[[]]],[11,"borrow_mut","","",54,[[]]],[11,"try_from","","",54,[[],["result",4]]],[11,"try_into","","",54,[[],["result",4]]],[11,"type_id","","",54,[[],["typeid",3]]],[11,"vzip","","",54,[[]]],[11,"from","guard::api::v1::mcaptcha::levels","",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","","",55,[[]]],[11,"into","","",55,[[]]],[11,"borrow","","",55,[[]]],[11,"borrow_mut","","",55,[[]]],[11,"try_from","","",55,[[],["result",4]]],[11,"try_into","","",55,[[],["result",4]]],[11,"type_id","","",55,[[],["typeid",3]]],[11,"vzip","","",55,[[]]],[11,"from","","",56,[[]]],[11,"into","","",56,[[]]],[11,"borrow","","",56,[[]]],[11,"borrow_mut","","",56,[[]]],[11,"try_from","","",56,[[],["result",4]]],[11,"try_into","","",56,[[],["result",4]]],[11,"type_id","","",56,[[],["typeid",3]]],[11,"vzip","","",56,[[]]],[11,"from","","",57,[[]]],[11,"into","","",57,[[]]],[11,"borrow","","",57,[[]]],[11,"borrow_mut","","",57,[[]]],[11,"try_from","","",57,[[],["result",4]]],[11,"try_into","","",57,[[],["result",4]]],[11,"type_id","","",57,[[],["typeid",3]]],[11,"vzip","","",57,[[]]],[11,"from","","",58,[[]]],[11,"into","","",58,[[]]],[11,"borrow","","",58,[[]]],[11,"borrow_mut","","",58,[[]]],[11,"try_from","","",58,[[],["result",4]]],[11,"try_into","","",58,[[],["result",4]]],[11,"type_id","","",58,[[],["typeid",3]]],[11,"vzip","","",58,[[]]],[11,"from","","",11,[[]]],[11,"into","","",11,[[]]],[11,"to_owned","","",11,[[]]],[11,"clone_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","","",12,[[]]],[11,"into","","",12,[[]]],[11,"to_owned","","",12,[[]]],[11,"clone_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","guard::api::v1::mcaptcha::mcaptcha","",13,[[]]],[11,"into","","",13,[[]]],[11,"to_owned","","",13,[[]]],[11,"clone_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,"to_owned","","",14,[[]]],[11,"clone_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","","",59,[[]]],[11,"into","","",59,[[]]],[11,"borrow","","",59,[[]]],[11,"borrow_mut","","",59,[[]]],[11,"try_from","","",59,[[],["result",4]]],[11,"try_into","","",59,[[],["result",4]]],[11,"type_id","","",59,[[],["typeid",3]]],[11,"vzip","","",59,[[]]],[11,"from","","",60,[[]]],[11,"into","","",60,[[]]],[11,"borrow","","",60,[[]]],[11,"borrow_mut","","",60,[[]]],[11,"try_from","","",60,[[],["result",4]]],[11,"try_into","","",60,[[],["result",4]]],[11,"type_id","","",60,[[],["typeid",3]]],[11,"vzip","","",60,[[]]],[11,"from","","",61,[[]]],[11,"into","","",61,[[]]],[11,"borrow","","",61,[[]]],[11,"borrow_mut","","",61,[[]]],[11,"try_from","","",61,[[],["result",4]]],[11,"try_into","","",61,[[],["result",4]]],[11,"type_id","","",61,[[],["typeid",3]]],[11,"vzip","","",61,[[]]],[11,"from","","",62,[[]]],[11,"into","","",62,[[]]],[11,"borrow","","",62,[[]]],[11,"borrow_mut","","",62,[[]]],[11,"try_from","","",62,[[],["result",4]]],[11,"try_into","","",62,[[],["result",4]]],[11,"type_id","","",62,[[],["typeid",3]]],[11,"vzip","","",62,[[]]],[11,"from","guard::api::v1::meta","",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","","",17,[[]]],[11,"into","","",17,[[]]],[11,"to_string","","",17,[[],["string",3]]],[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","","",63,[[]]],[11,"into","","",63,[[]]],[11,"borrow","","",63,[[]]],[11,"borrow_mut","","",63,[[]]],[11,"try_from","","",63,[[],["result",4]]],[11,"try_into","","",63,[[],["result",4]]],[11,"type_id","","",63,[[],["typeid",3]]],[11,"vzip","","",63,[[]]],[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","","",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_string","","",20,[[],["string",3]]],[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","","",64,[[]]],[11,"into","","",64,[[]]],[11,"borrow","","",64,[[]]],[11,"borrow_mut","","",64,[[]]],[11,"try_from","","",64,[[],["result",4]]],[11,"try_into","","",64,[[],["result",4]]],[11,"type_id","","",64,[[],["typeid",3]]],[11,"vzip","","",64,[[]]],[11,"from","guard::api::v1::pow::get_config","",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","","",65,[[]]],[11,"into","","",65,[[]]],[11,"borrow","","",65,[[]]],[11,"borrow_mut","","",65,[[]]],[11,"try_from","","",65,[[],["result",4]]],[11,"try_into","","",65,[[],["result",4]]],[11,"type_id","","",65,[[],["typeid",3]]],[11,"vzip","","",65,[[]]],[11,"from","guard::api::v1::pow::verify_pow","",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","","",66,[[]]],[11,"into","","",66,[[]]],[11,"borrow","","",66,[[]]],[11,"borrow_mut","","",66,[[]]],[11,"try_from","","",66,[[],["result",4]]],[11,"try_into","","",66,[[],["result",4]]],[11,"type_id","","",66,[[],["typeid",3]]],[11,"vzip","","",66,[[]]],[11,"from","guard::api::v1::pow::verify_token","",24,[[]]],[11,"into","","",24,[[]]],[11,"to_owned","","",24,[[]]],[11,"clone_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","","",67,[[]]],[11,"into","","",67,[[]]],[11,"borrow","","",67,[[]]],[11,"borrow_mut","","",67,[[]]],[11,"try_from","","",67,[[],["result",4]]],[11,"try_into","","",67,[[],["result",4]]],[11,"type_id","","",67,[[],["typeid",3]]],[11,"vzip","","",67,[[]]],[11,"from","guard::data","",25,[[]]],[11,"into","","",25,[[]]],[11,"to_owned","","",25,[[]]],[11,"clone_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::docs","",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","","",68,[[]]],[11,"into","","",68,[[]]],[11,"borrow","","",68,[[]]],[11,"borrow_mut","","",68,[[]]],[11,"try_from","","",68,[[],["result",4]]],[11,"try_into","","",68,[[],["result",4]]],[11,"type_id","","",68,[[],["typeid",3]]],[11,"vzip","","",68,[[]]],[11,"from","","",69,[[]]],[11,"into","","",69,[[]]],[11,"borrow","","",69,[[]]],[11,"borrow_mut","","",69,[[]]],[11,"try_from","","",69,[[],["result",4]]],[11,"try_into","","",69,[[],["result",4]]],[11,"type_id","","",69,[[],["typeid",3]]],[11,"vzip","","",69,[[]]],[11,"from","","",70,[[]]],[11,"into","","",70,[[]]],[11,"borrow","","",70,[[]]],[11,"borrow_mut","","",70,[[]]],[11,"try_from","","",70,[[],["result",4]]],[11,"try_into","","",70,[[],["result",4]]],[11,"type_id","","",70,[[],["typeid",3]]],[11,"vzip","","",70,[[]]],[11,"from","guard::errors","",27,[[]]],[11,"into","","",27,[[]]],[11,"to_owned","","",27,[[]]],[11,"clone_into","","",27,[[]]],[11,"to_string","","",27,[[],["string",3]]],[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","guard::settings","",29,[[]]],[11,"into","","",29,[[]]],[11,"to_owned","","",29,[[]]],[11,"clone_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","","",30,[[]]],[11,"into","","",30,[[]]],[11,"to_owned","","",30,[[]]],[11,"clone_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","","",31,[[]]],[11,"into","","",31,[[]]],[11,"to_owned","","",31,[[]]],[11,"clone_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,"to_owned","","",32,[[]]],[11,"clone_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,"to_owned","","",33,[[]]],[11,"clone_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::static_assets","",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","","",71,[[]]],[11,"into","","",71,[[]]],[11,"borrow","","",71,[[]]],[11,"borrow_mut","","",71,[[]]],[11,"try_from","","",71,[[],["result",4]]],[11,"try_into","","",71,[[],["result",4]]],[11,"type_id","","",71,[[],["typeid",3]]],[11,"vzip","","",71,[[]]],[11,"from","guard::templates::auth::login","",35,[[]]],[11,"into","","",35,[[]]],[11,"to_owned","","",35,[[]]],[11,"clone_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","","",72,[[]]],[11,"into","","",72,[[]]],[11,"borrow","","",72,[[]]],[11,"borrow_mut","","",72,[[]]],[11,"try_from","","",72,[[],["result",4]]],[11,"try_into","","",72,[[],["result",4]]],[11,"type_id","","",72,[[],["typeid",3]]],[11,"vzip","","",72,[[]]],[11,"from","guard::templates::auth::register","",36,[[]]],[11,"into","","",36,[[]]],[11,"to_owned","","",36,[[]]],[11,"clone_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","","",73,[[]]],[11,"into","","",73,[[]]],[11,"borrow","","",73,[[]]],[11,"borrow_mut","","",73,[[]]],[11,"try_from","","",73,[[],["result",4]]],[11,"try_into","","",73,[[],["result",4]]],[11,"type_id","","",73,[[],["typeid",3]]],[11,"vzip","","",73,[[]]],[11,"from","guard::templates::panel::sitekey","",37,[[]]],[11,"into","","",37,[[]]],[11,"to_owned","","",37,[[]]],[11,"clone_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","","",74,[[]]],[11,"into","","",74,[[]]],[11,"borrow","","",74,[[]]],[11,"borrow_mut","","",74,[[]]],[11,"try_from","","",74,[[],["result",4]]],[11,"try_into","","",74,[[],["result",4]]],[11,"type_id","","",74,[[],["typeid",3]]],[11,"vzip","","",74,[[]]],[11,"from","guard::templates::panel","",38,[[]]],[11,"into","","",38,[[]]],[11,"to_owned","","",38,[[]]],[11,"clone_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","","",75,[[]]],[11,"into","","",75,[[]]],[11,"borrow","","",75,[[]]],[11,"borrow_mut","","",75,[[]]],[11,"try_from","","",75,[[],["result",4]]],[11,"try_into","","",75,[[],["result",4]]],[11,"type_id","","",75,[[],["typeid",3]]],[11,"vzip","","",75,[[]]],[11,"from","guard","",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","","",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","","",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","","",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::api::v1::meta","",17,[[["uninitializedfielderror",3]]]],[11,"from","","",17,[[["string",3]]]],[11,"from","","",20,[[["uninitializedfielderror",3]]]],[11,"from","","",20,[[["string",3]]]],[11,"from","guard::errors","",27,[[["credserror",4]],["serviceerror",4]]],[11,"from","","",27,[[["validationerrors",3]],["serviceerror",4]]],[11,"from","","",27,[[["parseerror",4]],["serviceerror",4]]],[11,"from","","",27,[[["captchaerror",4]],["serviceerror",4]]],[11,"from","","",27,[[["error",4]]]],[11,"clone","guard::api::v1::auth","",0,[[],["register",3]]],[11,"clone","","",1,[[],["login",3]]],[11,"clone","","",2,[[],["password",3]]],[11,"clone","","",3,[[],["secret",3]]],[11,"clone","","",4,[[],["email",3]]],[11,"clone","","",5,[[],["accountcheckpayload",3]]],[11,"clone","","",6,[[],["accountcheckresp",3]]],[11,"clone","guard::api::v1::mcaptcha::levels","",11,[[],["levels",3]]],[11,"clone","","",12,[[],["i32levels",3]]],[11,"clone","guard::api::v1::mcaptcha::mcaptcha","",13,[[],["mcaptchaid",3]]],[11,"clone","","",14,[[],["mcaptchadetails",3]]],[11,"clone","guard::api::v1::meta","",15,[[],["builddetails",3]]],[11,"clone","","",16,[[],["builddetailsbuilder",3]]],[11,"clone","","",18,[[],["health",3]]],[11,"clone","","",19,[[],["healthbuilder",3]]],[11,"clone","guard::api::v1::pow::get_config","",21,[[],["powconfig",3]]],[11,"clone","","",22,[[],["getconfigpayload",3]]],[11,"clone","guard::api::v1::pow::verify_pow","",23,[[],["validationtoken",3]]],[11,"clone","guard::api::v1::pow::verify_token","",24,[[],["captchavalidateresp",3]]],[11,"clone","guard::data","",25,[[],["data",3]]],[11,"clone","guard::errors","",27,[[],["serviceerror",4]]],[11,"clone","guard::settings","",29,[[],["server",3]]],[11,"clone","","",30,[[],["captcha",3]]],[11,"clone","","",31,[[],["databasebuilder",3]]],[11,"clone","","",32,[[],["database",3]]],[11,"clone","","",33,[[],["settings",3]]],[11,"clone","guard::templates::auth::login","",35,[[],["indexpage",3]]],[11,"clone","guard::templates::auth::register","",36,[[],["indexpage",3]]],[11,"clone","guard::templates::panel::sitekey","",37,[[],["indexpage",3]]],[11,"clone","guard::templates::panel","",38,[[],["indexpage",3]]],[11,"default","guard::api::v1::meta","",16,[[]]],[11,"default","","",19,[[]]],[11,"default","guard::templates::auth::login","",35,[[]]],[11,"default","guard::templates::auth::register","",36,[[]]],[11,"default","guard::templates::panel::sitekey","",37,[[]]],[11,"default","guard::templates::panel","",38,[[]]],[11,"eq","guard::errors","",27,[[["serviceerror",4]],["bool",15]]],[11,"ne","","",27,[[["serviceerror",4]],["bool",15]]],[11,"deref","guard","",39,[[],["settings",3]]],[11,"deref","","",40,[[],["string",3]]],[11,"deref","","",41,[[],["filemap",3]]],[11,"deref","","",42,[[],["str",15]]],[11,"deref","","",43,[[],["str",15]]],[11,"fmt","guard::api::v1::auth","",0,[[["formatter",3]],["result",6]]],[11,"fmt","","",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,"fmt","","",6,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::levels","",11,[[["formatter",3]],["result",6]]],[11,"fmt","","",12,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::mcaptcha","",13,[[["formatter",3]],["result",6]]],[11,"fmt","","",14,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::meta","",15,[[["formatter",3]],["result",6]]],[11,"fmt","","",17,[[["formatter",3]],["result",6]]],[11,"fmt","","",18,[[["formatter",3]],["result",6]]],[11,"fmt","","",20,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::pow::get_config","",21,[[["formatter",3]],["result",6]]],[11,"fmt","","",22,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::pow::verify_pow","",23,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::pow::verify_token","",24,[[["formatter",3]],["result",6]]],[11,"fmt","guard::errors","",27,[[["formatter",3]],["result",6]]],[11,"fmt","guard::settings","",29,[[["formatter",3]],["result",6]]],[11,"fmt","","",30,[[["formatter",3]],["result",6]]],[11,"fmt","","",31,[[["formatter",3]],["result",6]]],[11,"fmt","","",32,[[["formatter",3]],["result",6]]],[11,"fmt","","",33,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::meta","",17,[[["formatter",3]],["result",6]]],[11,"fmt","","",20,[[["formatter",3]],["result",6]]],[11,"fmt","guard::errors","",27,[[["formatter",3]],["result",6]]],[11,"source","","",27,[[],[["option",4],["error",8]]]],[11,"deserialize","guard::api::v1::auth","",0,[[],["result",4]]],[11,"deserialize","","",1,[[],["result",4]]],[11,"deserialize","","",2,[[],["result",4]]],[11,"deserialize","","",3,[[],["result",4]]],[11,"deserialize","","",4,[[],["result",4]]],[11,"deserialize","","",5,[[],["result",4]]],[11,"deserialize","","",6,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::duration","",7,[[],["result",4]]],[11,"deserialize","","",8,[[],["result",4]]],[11,"deserialize","","",9,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::levels","",10,[[],["result",4]]],[11,"deserialize","","",11,[[],["result",4]]],[11,"deserialize","","",12,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::mcaptcha","",13,[[],["result",4]]],[11,"deserialize","","",14,[[],["result",4]]],[11,"deserialize","guard::api::v1::meta","",15,[[],["result",4]]],[11,"deserialize","","",18,[[],["result",4]]],[11,"deserialize","guard::api::v1::pow::get_config","",21,[[],["result",4]]],[11,"deserialize","","",22,[[],["result",4]]],[11,"deserialize","guard::api::v1::pow::verify_pow","",23,[[],["result",4]]],[11,"deserialize","guard::api::v1::pow::verify_token","",24,[[],["result",4]]],[11,"deserialize","guard::errors","",28,[[],["result",4]]],[11,"deserialize","guard::settings","",29,[[],["result",4]]],[11,"deserialize","","",30,[[],["result",4]]],[11,"deserialize","","",31,[[],["result",4]]],[11,"deserialize","","",32,[[],["result",4]]],[11,"deserialize","","",33,[[],["result",4]]],[11,"serialize","guard::api::v1::auth","",0,[[],["result",4]]],[11,"serialize","","",1,[[],["result",4]]],[11,"serialize","","",2,[[],["result",4]]],[11,"serialize","","",3,[[],["result",4]]],[11,"serialize","","",4,[[],["result",4]]],[11,"serialize","","",5,[[],["result",4]]],[11,"serialize","","",6,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::duration","",7,[[],["result",4]]],[11,"serialize","","",8,[[],["result",4]]],[11,"serialize","","",9,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::levels","",10,[[],["result",4]]],[11,"serialize","","",11,[[],["result",4]]],[11,"serialize","","",12,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::mcaptcha","",13,[[],["result",4]]],[11,"serialize","","",14,[[],["result",4]]],[11,"serialize","guard::api::v1::meta","",15,[[],["result",4]]],[11,"serialize","","",18,[[],["result",4]]],[11,"serialize","guard::api::v1::pow::get_config","",21,[[],["result",4]]],[11,"serialize","","",22,[[],["result",4]]],[11,"serialize","guard::api::v1::pow::verify_pow","",23,[[],["result",4]]],[11,"serialize","guard::api::v1::pow::verify_token","",24,[[],["result",4]]],[11,"serialize","guard::errors","",28,[[],["result",4]]],[11,"register","guard::api::v1::auth","",44,[[["appservice",3]]]],[11,"register","","",45,[[["appservice",3]]]],[11,"register","","",46,[[["appservice",3]]]],[11,"register","","",47,[[["appservice",3]]]],[11,"register","","",48,[[["appservice",3]]]],[11,"register","","",49,[[["appservice",3]]]],[11,"register","","",50,[[["appservice",3]]]],[11,"register","","",51,[[["appservice",3]]]],[11,"register","","",52,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::duration","",53,[[["appservice",3]]]],[11,"register","","",54,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::levels","",55,[[["appservice",3]]]],[11,"register","","",56,[[["appservice",3]]]],[11,"register","","",57,[[["appservice",3]]]],[11,"register","","",58,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::mcaptcha","",59,[[["appservice",3]]]],[11,"register","","",60,[[["appservice",3]]]],[11,"register","","",61,[[["appservice",3]]]],[11,"register","","",62,[[["appservice",3]]]],[11,"register","guard::api::v1::meta","",63,[[["appservice",3]]]],[11,"register","","",64,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::get_config","",65,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_pow","",66,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_token","",67,[[["appservice",3]]]],[11,"register","guard::docs","",68,[[["appservice",3]]]],[11,"register","","",69,[[["appservice",3]]]],[11,"register","","",70,[[["appservice",3]]]],[11,"register","guard::static_assets","",71,[[["appservice",3]]]],[11,"register","guard::templates::auth::login","",72,[[["appservice",3]]]],[11,"register","guard::templates::auth::register","",73,[[["appservice",3]]]],[11,"register","guard::templates::panel::sitekey","",74,[[["appservice",3]]]],[11,"register","guard::templates::panel","",75,[[["appservice",3]]]],[11,"error_response","guard::errors","",27,[[],["httpresponse",3]]],[11,"status_code","","",27,[[],["statuscode",3]]],[11,"initialize","guard","",39,[[]]],[11,"initialize","","",40,[[]]],[11,"initialize","","",41,[[]]],[11,"initialize","","",42,[[]]],[11,"initialize","","",43,[[]]],[11,"get","guard::docs","",26,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",26,[[],["filenames",4]]],[11,"get","guard::static_assets","",34,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",34,[[],["filenames",4]]],[11,"render_once","guard::templates::auth::login","",35,[[],["renderresult",6]]],[11,"render_once_to","","",35,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::auth::register","",36,[[],["renderresult",6]]],[11,"render_once_to","","",36,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::panel::sitekey","",37,[[],["renderresult",6]]],[11,"render_once_to","","",37,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::panel","",38,[[],["renderresult",6]]],[11,"render_once_to","","",38,[[["buffer",3]],[["result",4],["rendererror",4]]]]],"p":[[3,"Register"],[3,"Login"],[3,"Password"],[3,"Secret"],[3,"Email"],[3,"AccountCheckPayload"],[3,"AccountCheckResp"],[3,"UpdateDuration"],[3,"GetDurationResp"],[3,"GetDuration"],[3,"AddLevels"],[3,"Levels"],[3,"I32Levels"],[3,"MCaptchaID"],[3,"MCaptchaDetails"],[3,"BuildDetails"],[3,"BuildDetailsBuilder"],[4,"BuildDetailsBuilderError"],[3,"Health"],[3,"HealthBuilder"],[4,"HealthBuilderError"],[3,"PoWConfig"],[3,"GetConfigPayload"],[3,"ValidationToken"],[3,"CaptchaValidateResp"],[3,"Data"],[3,"Asset"],[4,"ServiceError"],[3,"ErrorToResponse"],[3,"Server"],[3,"Captcha"],[3,"DatabaseBuilder"],[3,"Database"],[3,"Settings"],[3,"Asset"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"SETTINGS"],[3,"S"],[3,"FILES"],[3,"JS"],[3,"CSS"],[3,"signup"],[3,"signin"],[3,"get_secret"],[3,"update_user_secret"],[3,"set_email"],[3,"signout"],[3,"delete_account"],[3,"username_exists"],[3,"email_exists"],[3,"update_duration"],[3,"get_duration"],[3,"add_levels"],[3,"update_levels"],[3,"delete_levels"],[3,"get_levels"],[3,"add_mcaptcha"],[3,"update_token"],[3,"get_token"],[3,"delete_mcaptcha"],[3,"build_details"],[3,"health"],[3,"get_config"],[3,"verify_pow"],[3,"validate_captcha_token"],[3,"dist"],[3,"spec"],[3,"index"],[3,"dist"],[3,"login"],[3,"join"],[3,"add_sitekey"],[3,"panel"]]},\ -"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],[12,"url_prefix","","",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"]]}\ +"guard":{"doc":"","i":[[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","","",0,null],[12,"password","","",0,null],[12,"email","","",0,null],[3,"Login","","",null,null],[12,"username","","",1,null],[12,"password","","",1,null],[3,"Password","","",null,null],[12,"password","","",2,null],[3,"signup","","",null,null],[3,"signin","","",null,null],[3,"Secret","","",null,null],[12,"secret","","",3,null],[3,"get_secret","","",null,null],[3,"update_user_secret","","",null,null],[3,"Email","","",null,null],[12,"email","","",4,null],[3,"set_email","","",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],[3,"AccountCheckPayload","","",null,null],[12,"val","","",5,null],[3,"AccountCheckResp","","",null,null],[12,"exists","","",6,null],[3,"username_exists","","",null,null],[3,"email_exists","","",null,null],[0,"mcaptcha","guard::api::v1","",null,null],[0,"duration","guard::api::v1::mcaptcha","",null,null],[3,"UpdateDuration","guard::api::v1::mcaptcha::duration","",null,null],[12,"key","","",7,null],[12,"duration","","",7,null],[3,"update_duration","","",null,null],[3,"GetDurationResp","","",null,null],[12,"duration","","",8,null],[3,"GetDuration","","",null,null],[12,"token","","",9,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","","",10,null],[12,"key","","",10,null],[3,"add_levels","","",null,null],[3,"update_levels","","",null,null],[3,"delete_levels","","",null,null],[3,"get_levels","","",null,null],[3,"Levels","","",null,null],[12,"levels","","",11,null],[3,"I32Levels","","",null,null],[12,"difficulty_factor","","",12,null],[12,"visitor_threshold","","",12,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","","",13,null],[3,"MCaptchaDetails","","",null,null],[12,"name","","",14,null],[12,"key","","",14,null],[3,"add_mcaptcha","","",null,null],[3,"update_token","","",null,null],[5,"update_token_helper","","",null,[[["data",3],["str",15]]]],[3,"get_token","","",null,null],[3,"delete_mcaptcha","","",null,null],[0,"stats","guard::api::v1::mcaptcha","",null,null],[5,"fetched","guard::api::v1::mcaptcha::stats","",null,[[["pgpool",6],["str",15]]]],[5,"get_random","guard::api::v1::mcaptcha","",null,[[["usize",15]],["string",3]]],[0,"meta","guard::api::v1","",null,null],[3,"BuildDetails","guard::api::v1::meta","",null,null],[12,"version","","",15,null],[12,"git_commit_hash","","",15,null],[3,"BuildDetailsBuilder","","Builder forBuildDetails
.",null,null],[12,"version","","",16,null],[12,"git_commit_hash","","",16,null],[11,"version","","",16,[[["str",15]]]],[11,"git_commit_hash","","",16,[[["str",15]]]],[11,"build","","Builds a newBuildDetails
.",16,[[],[["result",4],["builddetails",3],["builddetailsbuildererror",4]]]],[4,"BuildDetailsBuilderError","","Error type for BuildDetailsBuilder",null,null],[13,"UninitializedField","","Uninitialized field",17,null],[13,"ValidationError","","Custom validation error",17,null],[3,"build_details","","",null,null],[3,"Health","","Health check return datatype",null,null],[12,"db","","",18,null],[3,"HealthBuilder","","Builder forHealth
.",null,null],[12,"db","","",19,null],[11,"db","","",19,[[["bool",15]]]],[11,"build","","Builds a newHealth
.",19,[[],[["health",3],["healthbuildererror",4],["result",4]]]],[4,"HealthBuilderError","","Error type for HealthBuilder",null,null],[13,"UninitializedField","","Uninitialized field",20,null],[13,"ValidationError","","Custom validation error",20,null],[3,"health","","",null,null],[0,"pow","guard::api::v1","",null,null],[0,"get_config","guard::api::v1::pow","",null,null],[3,"PoWConfig","guard::api::v1::pow::get_config","",null,null],[12,"name","","",21,null],[12,"domain","","",21,null],[3,"GetConfigPayload","","",null,null],[12,"key","","",22,null],[3,"get_config","","",null,null],[5,"init_mcaptcha","","",null,[[["data",3],["str",15]]]],[0,"verify_pow","guard::api::v1::pow","",null,null],[3,"ValidationToken","guard::api::v1::pow::verify_pow","",null,null],[12,"token","","",23,null],[3,"verify_pow","","",null,null],[0,"verify_token","guard::api::v1::pow","",null,null],[3,"CaptchaValidateResp","guard::api::v1::pow::verify_token","",null,null],[12,"valid","","",24,null],[3,"validate_captcha_token","","",null,null],[5,"services","guard::api::v1::pow","",null,[[["serviceconfig",3]]]],[5,"intenral_services","","",null,[[["serviceconfig",3]]]],[5,"services","guard::api::v1","",null,[[["serviceconfig",3]]]],[0,"data","guard","",null,null],[3,"Data","guard::data","",null,null],[12,"db","","",25,null],[12,"creds","","",25,null],[12,"captcha","","",25,null],[11,"new","","",25,[[]]],[0,"docs","guard","",null,null],[3,"Asset","guard::docs","",null,null],[11,"get","","",26,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",26,[[]]],[5,"handle_embedded_file","","",null,[[["str",15]],["httpresponse",3]]],[3,"dist","","",null,null],[3,"spec","","",null,null],[3,"index","","",null,null],[5,"services","","",null,[[["serviceconfig",3]]]],[0,"errors","guard","",null,null],[4,"ServiceError","guard::errors","",null,null],[13,"InternalServerError","","",27,null],[13,"ClosedForRegistration","","",27,null],[13,"NotAnEmail","","",27,null],[13,"NotAUrl","","",27,null],[13,"WrongPassword","","",27,null],[13,"UsernameNotFound","","",27,null],[13,"AuthorizationRequired","","",27,null],[13,"ProfainityError","","when the value passed contains profainity",27,null],[13,"BlacklistError","","when the value passed contains blacklisted words see …",27,null],[13,"UsernameCaseMappedError","","when the value passed contains characters not present in …",27,null],[13,"PasswordTooShort","","",27,null],[13,"PasswordTooLong","","",27,null],[13,"UsernameTaken","","when the a username is already taken",27,null],[13,"EmailTaken","","email is already taken",27,null],[13,"TokenNotFound","","when the a token name is already taken token not found",27,null],[13,"CaptchaError","","",27,null],[3,"ErrorToResponse","","",null,null],[12,"error","","",28,null],[6,"ServiceResult","","",null,null],[0,"settings","guard","",null,null],[3,"Server","guard::settings","",null,null],[12,"allow_registration","","",29,null],[12,"port","","",29,null],[12,"domain","","",29,null],[12,"cookie_secret","","",29,null],[12,"ip","","",29,null],[12,"url_prefix","","",29,null],[3,"Captcha","","",null,null],[12,"salt","","",30,null],[12,"gc","","",30,null],[11,"get_ip","","",29,[[],["string",3]]],[3,"DatabaseBuilder","","",null,null],[12,"port","","",31,null],[12,"hostname","","",31,null],[12,"username","","",31,null],[12,"password","","",31,null],[12,"name","","",31,null],[12,"url","","",31,null],[11,"extract_database_url","","",31,[[["url",3]]]],[3,"Database","","",null,null],[12,"url","","",32,null],[12,"pool","","",32,null],[3,"Settings","","",null,null],[12,"debug","","",33,null],[12,"database","","",33,null],[12,"server","","",33,null],[12,"pow","","",33,null],[11,"new","","",33,[[],[["result",4],["configerror",4]]]],[5,"set_from_database_url","","",null,[[["databasebuilder",3],["config",3]]]],[5,"set_database_url","","",null,[[["config",3]]]],[0,"static_assets","guard","",null,null],[3,"Asset","guard::static_assets","",null,null],[11,"get","","",34,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",34,[[]]],[5,"handle_embedded_file","","",null,[[["str",15]],["httpresponse",3]]],[3,"dist","","",null,null],[5,"services","","",null,[[["serviceconfig",3]]]],[0,"templates","guard","",null,null],[0,"auth","guard::templates","",null,null],[0,"login","guard::templates::auth","",null,null],[3,"IndexPage","guard::templates::auth::login","",null,null],[12,"name","","",35,null],[12,"title","","",35,null],[3,"login","","",null,null],[0,"register","guard::templates::auth","",null,null],[3,"IndexPage","guard::templates::auth::register","",null,null],[12,"name","","",36,null],[12,"title","","",36,null],[3,"join","","",null,null],[0,"panel","guard::templates","",null,null],[0,"sitekey","guard::templates::panel","",null,null],[3,"IndexPage","guard::templates::panel::sitekey","",null,null],[12,"name","","",37,null],[12,"title","","",37,null],[17,"TITLE","","",null,null],[3,"add_sitekey","","",null,null],[3,"IndexPage","guard::templates::panel","",null,null],[12,"name","","",38,null],[12,"title","","",38,null],[17,"TITLE","","",null,null],[3,"panel","","",null,null],[5,"services","guard::templates","",null,[[["serviceconfig",3]]]],[3,"Data","guard","",null,null],[12,"db","","",25,null],[12,"creds","","",25,null],[12,"captcha","","",25,null],[3,"Settings","","",null,null],[12,"debug","","",33,null],[12,"database","","",33,null],[12,"server","","",33,null],[12,"pow","","",33,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",39,null],[3,"S","","",null,null],[12,"__private_field","","",40,null],[3,"FILES","","",null,null],[12,"__private_field","","",41,null],[3,"JS","","",null,null],[12,"__private_field","","",42,null],[3,"CSS","","",null,null],[12,"__private_field","","",43,null],[7,"OPEN_API_DOC","","",null,null],[7,"GIT_COMMIT_HASH","","",null,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::api::v1::auth","",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","","",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","","",44,[[]]],[11,"into","","",44,[[]]],[11,"borrow","","",44,[[]]],[11,"borrow_mut","","",44,[[]]],[11,"try_from","","",44,[[],["result",4]]],[11,"try_into","","",44,[[],["result",4]]],[11,"type_id","","",44,[[],["typeid",3]]],[11,"vzip","","",44,[[]]],[11,"from","","",45,[[]]],[11,"into","","",45,[[]]],[11,"borrow","","",45,[[]]],[11,"borrow_mut","","",45,[[]]],[11,"try_from","","",45,[[],["result",4]]],[11,"try_into","","",45,[[],["result",4]]],[11,"type_id","","",45,[[],["typeid",3]]],[11,"vzip","","",45,[[]]],[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","","",46,[[]]],[11,"into","","",46,[[]]],[11,"borrow","","",46,[[]]],[11,"borrow_mut","","",46,[[]]],[11,"try_from","","",46,[[],["result",4]]],[11,"try_into","","",46,[[],["result",4]]],[11,"type_id","","",46,[[],["typeid",3]]],[11,"vzip","","",46,[[]]],[11,"from","","",47,[[]]],[11,"into","","",47,[[]]],[11,"borrow","","",47,[[]]],[11,"borrow_mut","","",47,[[]]],[11,"try_from","","",47,[[],["result",4]]],[11,"try_into","","",47,[[],["result",4]]],[11,"type_id","","",47,[[],["typeid",3]]],[11,"vzip","","",47,[[]]],[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","","",48,[[]]],[11,"into","","",48,[[]]],[11,"borrow","","",48,[[]]],[11,"borrow_mut","","",48,[[]]],[11,"try_from","","",48,[[],["result",4]]],[11,"try_into","","",48,[[],["result",4]]],[11,"type_id","","",48,[[],["typeid",3]]],[11,"vzip","","",48,[[]]],[11,"from","","",49,[[]]],[11,"into","","",49,[[]]],[11,"borrow","","",49,[[]]],[11,"borrow_mut","","",49,[[]]],[11,"try_from","","",49,[[],["result",4]]],[11,"try_into","","",49,[[],["result",4]]],[11,"type_id","","",49,[[],["typeid",3]]],[11,"vzip","","",49,[[]]],[11,"from","","",50,[[]]],[11,"into","","",50,[[]]],[11,"borrow","","",50,[[]]],[11,"borrow_mut","","",50,[[]]],[11,"try_from","","",50,[[],["result",4]]],[11,"try_into","","",50,[[],["result",4]]],[11,"type_id","","",50,[[],["typeid",3]]],[11,"vzip","","",50,[[]]],[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","","",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","","",51,[[]]],[11,"into","","",51,[[]]],[11,"borrow","","",51,[[]]],[11,"borrow_mut","","",51,[[]]],[11,"try_from","","",51,[[],["result",4]]],[11,"try_into","","",51,[[],["result",4]]],[11,"type_id","","",51,[[],["typeid",3]]],[11,"vzip","","",51,[[]]],[11,"from","","",52,[[]]],[11,"into","","",52,[[]]],[11,"borrow","","",52,[[]]],[11,"borrow_mut","","",52,[[]]],[11,"try_from","","",52,[[],["result",4]]],[11,"try_into","","",52,[[],["result",4]]],[11,"type_id","","",52,[[],["typeid",3]]],[11,"vzip","","",52,[[]]],[11,"from","guard::api::v1::mcaptcha::duration","",7,[[]]],[11,"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","","",53,[[]]],[11,"into","","",53,[[]]],[11,"borrow","","",53,[[]]],[11,"borrow_mut","","",53,[[]]],[11,"try_from","","",53,[[],["result",4]]],[11,"try_into","","",53,[[],["result",4]]],[11,"type_id","","",53,[[],["typeid",3]]],[11,"vzip","","",53,[[]]],[11,"from","","",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","","",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","","",54,[[]]],[11,"into","","",54,[[]]],[11,"borrow","","",54,[[]]],[11,"borrow_mut","","",54,[[]]],[11,"try_from","","",54,[[],["result",4]]],[11,"try_into","","",54,[[],["result",4]]],[11,"type_id","","",54,[[],["typeid",3]]],[11,"vzip","","",54,[[]]],[11,"from","guard::api::v1::mcaptcha::levels","",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","","",55,[[]]],[11,"into","","",55,[[]]],[11,"borrow","","",55,[[]]],[11,"borrow_mut","","",55,[[]]],[11,"try_from","","",55,[[],["result",4]]],[11,"try_into","","",55,[[],["result",4]]],[11,"type_id","","",55,[[],["typeid",3]]],[11,"vzip","","",55,[[]]],[11,"from","","",56,[[]]],[11,"into","","",56,[[]]],[11,"borrow","","",56,[[]]],[11,"borrow_mut","","",56,[[]]],[11,"try_from","","",56,[[],["result",4]]],[11,"try_into","","",56,[[],["result",4]]],[11,"type_id","","",56,[[],["typeid",3]]],[11,"vzip","","",56,[[]]],[11,"from","","",57,[[]]],[11,"into","","",57,[[]]],[11,"borrow","","",57,[[]]],[11,"borrow_mut","","",57,[[]]],[11,"try_from","","",57,[[],["result",4]]],[11,"try_into","","",57,[[],["result",4]]],[11,"type_id","","",57,[[],["typeid",3]]],[11,"vzip","","",57,[[]]],[11,"from","","",58,[[]]],[11,"into","","",58,[[]]],[11,"borrow","","",58,[[]]],[11,"borrow_mut","","",58,[[]]],[11,"try_from","","",58,[[],["result",4]]],[11,"try_into","","",58,[[],["result",4]]],[11,"type_id","","",58,[[],["typeid",3]]],[11,"vzip","","",58,[[]]],[11,"from","","",11,[[]]],[11,"into","","",11,[[]]],[11,"to_owned","","",11,[[]]],[11,"clone_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","","",12,[[]]],[11,"into","","",12,[[]]],[11,"to_owned","","",12,[[]]],[11,"clone_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","guard::api::v1::mcaptcha::mcaptcha","",13,[[]]],[11,"into","","",13,[[]]],[11,"to_owned","","",13,[[]]],[11,"clone_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,"to_owned","","",14,[[]]],[11,"clone_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","","",59,[[]]],[11,"into","","",59,[[]]],[11,"borrow","","",59,[[]]],[11,"borrow_mut","","",59,[[]]],[11,"try_from","","",59,[[],["result",4]]],[11,"try_into","","",59,[[],["result",4]]],[11,"type_id","","",59,[[],["typeid",3]]],[11,"vzip","","",59,[[]]],[11,"from","","",60,[[]]],[11,"into","","",60,[[]]],[11,"borrow","","",60,[[]]],[11,"borrow_mut","","",60,[[]]],[11,"try_from","","",60,[[],["result",4]]],[11,"try_into","","",60,[[],["result",4]]],[11,"type_id","","",60,[[],["typeid",3]]],[11,"vzip","","",60,[[]]],[11,"from","","",61,[[]]],[11,"into","","",61,[[]]],[11,"borrow","","",61,[[]]],[11,"borrow_mut","","",61,[[]]],[11,"try_from","","",61,[[],["result",4]]],[11,"try_into","","",61,[[],["result",4]]],[11,"type_id","","",61,[[],["typeid",3]]],[11,"vzip","","",61,[[]]],[11,"from","","",62,[[]]],[11,"into","","",62,[[]]],[11,"borrow","","",62,[[]]],[11,"borrow_mut","","",62,[[]]],[11,"try_from","","",62,[[],["result",4]]],[11,"try_into","","",62,[[],["result",4]]],[11,"type_id","","",62,[[],["typeid",3]]],[11,"vzip","","",62,[[]]],[11,"from","guard::api::v1::meta","",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","","",17,[[]]],[11,"into","","",17,[[]]],[11,"to_string","","",17,[[],["string",3]]],[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","","",63,[[]]],[11,"into","","",63,[[]]],[11,"borrow","","",63,[[]]],[11,"borrow_mut","","",63,[[]]],[11,"try_from","","",63,[[],["result",4]]],[11,"try_into","","",63,[[],["result",4]]],[11,"type_id","","",63,[[],["typeid",3]]],[11,"vzip","","",63,[[]]],[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","","",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_string","","",20,[[],["string",3]]],[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","","",64,[[]]],[11,"into","","",64,[[]]],[11,"borrow","","",64,[[]]],[11,"borrow_mut","","",64,[[]]],[11,"try_from","","",64,[[],["result",4]]],[11,"try_into","","",64,[[],["result",4]]],[11,"type_id","","",64,[[],["typeid",3]]],[11,"vzip","","",64,[[]]],[11,"from","guard::api::v1::pow::get_config","",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","","",65,[[]]],[11,"into","","",65,[[]]],[11,"borrow","","",65,[[]]],[11,"borrow_mut","","",65,[[]]],[11,"try_from","","",65,[[],["result",4]]],[11,"try_into","","",65,[[],["result",4]]],[11,"type_id","","",65,[[],["typeid",3]]],[11,"vzip","","",65,[[]]],[11,"from","guard::api::v1::pow::verify_pow","",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","","",66,[[]]],[11,"into","","",66,[[]]],[11,"borrow","","",66,[[]]],[11,"borrow_mut","","",66,[[]]],[11,"try_from","","",66,[[],["result",4]]],[11,"try_into","","",66,[[],["result",4]]],[11,"type_id","","",66,[[],["typeid",3]]],[11,"vzip","","",66,[[]]],[11,"from","guard::api::v1::pow::verify_token","",24,[[]]],[11,"into","","",24,[[]]],[11,"to_owned","","",24,[[]]],[11,"clone_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","","",67,[[]]],[11,"into","","",67,[[]]],[11,"borrow","","",67,[[]]],[11,"borrow_mut","","",67,[[]]],[11,"try_from","","",67,[[],["result",4]]],[11,"try_into","","",67,[[],["result",4]]],[11,"type_id","","",67,[[],["typeid",3]]],[11,"vzip","","",67,[[]]],[11,"from","guard::data","",25,[[]]],[11,"into","","",25,[[]]],[11,"to_owned","","",25,[[]]],[11,"clone_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::docs","",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","","",68,[[]]],[11,"into","","",68,[[]]],[11,"borrow","","",68,[[]]],[11,"borrow_mut","","",68,[[]]],[11,"try_from","","",68,[[],["result",4]]],[11,"try_into","","",68,[[],["result",4]]],[11,"type_id","","",68,[[],["typeid",3]]],[11,"vzip","","",68,[[]]],[11,"from","","",69,[[]]],[11,"into","","",69,[[]]],[11,"borrow","","",69,[[]]],[11,"borrow_mut","","",69,[[]]],[11,"try_from","","",69,[[],["result",4]]],[11,"try_into","","",69,[[],["result",4]]],[11,"type_id","","",69,[[],["typeid",3]]],[11,"vzip","","",69,[[]]],[11,"from","","",70,[[]]],[11,"into","","",70,[[]]],[11,"borrow","","",70,[[]]],[11,"borrow_mut","","",70,[[]]],[11,"try_from","","",70,[[],["result",4]]],[11,"try_into","","",70,[[],["result",4]]],[11,"type_id","","",70,[[],["typeid",3]]],[11,"vzip","","",70,[[]]],[11,"from","guard::errors","",27,[[]]],[11,"into","","",27,[[]]],[11,"to_owned","","",27,[[]]],[11,"clone_into","","",27,[[]]],[11,"to_string","","",27,[[],["string",3]]],[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","guard::settings","",29,[[]]],[11,"into","","",29,[[]]],[11,"to_owned","","",29,[[]]],[11,"clone_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","","",30,[[]]],[11,"into","","",30,[[]]],[11,"to_owned","","",30,[[]]],[11,"clone_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","","",31,[[]]],[11,"into","","",31,[[]]],[11,"to_owned","","",31,[[]]],[11,"clone_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,"to_owned","","",32,[[]]],[11,"clone_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,"to_owned","","",33,[[]]],[11,"clone_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::static_assets","",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","","",71,[[]]],[11,"into","","",71,[[]]],[11,"borrow","","",71,[[]]],[11,"borrow_mut","","",71,[[]]],[11,"try_from","","",71,[[],["result",4]]],[11,"try_into","","",71,[[],["result",4]]],[11,"type_id","","",71,[[],["typeid",3]]],[11,"vzip","","",71,[[]]],[11,"from","guard::templates::auth::login","",35,[[]]],[11,"into","","",35,[[]]],[11,"to_owned","","",35,[[]]],[11,"clone_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","","",72,[[]]],[11,"into","","",72,[[]]],[11,"borrow","","",72,[[]]],[11,"borrow_mut","","",72,[[]]],[11,"try_from","","",72,[[],["result",4]]],[11,"try_into","","",72,[[],["result",4]]],[11,"type_id","","",72,[[],["typeid",3]]],[11,"vzip","","",72,[[]]],[11,"from","guard::templates::auth::register","",36,[[]]],[11,"into","","",36,[[]]],[11,"to_owned","","",36,[[]]],[11,"clone_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","","",73,[[]]],[11,"into","","",73,[[]]],[11,"borrow","","",73,[[]]],[11,"borrow_mut","","",73,[[]]],[11,"try_from","","",73,[[],["result",4]]],[11,"try_into","","",73,[[],["result",4]]],[11,"type_id","","",73,[[],["typeid",3]]],[11,"vzip","","",73,[[]]],[11,"from","guard::templates::panel::sitekey","",37,[[]]],[11,"into","","",37,[[]]],[11,"to_owned","","",37,[[]]],[11,"clone_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","","",74,[[]]],[11,"into","","",74,[[]]],[11,"borrow","","",74,[[]]],[11,"borrow_mut","","",74,[[]]],[11,"try_from","","",74,[[],["result",4]]],[11,"try_into","","",74,[[],["result",4]]],[11,"type_id","","",74,[[],["typeid",3]]],[11,"vzip","","",74,[[]]],[11,"from","guard::templates::panel","",38,[[]]],[11,"into","","",38,[[]]],[11,"to_owned","","",38,[[]]],[11,"clone_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","","",75,[[]]],[11,"into","","",75,[[]]],[11,"borrow","","",75,[[]]],[11,"borrow_mut","","",75,[[]]],[11,"try_from","","",75,[[],["result",4]]],[11,"try_into","","",75,[[],["result",4]]],[11,"type_id","","",75,[[],["typeid",3]]],[11,"vzip","","",75,[[]]],[11,"from","guard","",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","","",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","","",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","","",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::api::v1::meta","",17,[[["uninitializedfielderror",3]]]],[11,"from","","",17,[[["string",3]]]],[11,"from","","",20,[[["uninitializedfielderror",3]]]],[11,"from","","",20,[[["string",3]]]],[11,"from","guard::errors","",27,[[["credserror",4]],["serviceerror",4]]],[11,"from","","",27,[[["validationerrors",3]],["serviceerror",4]]],[11,"from","","",27,[[["parseerror",4]],["serviceerror",4]]],[11,"from","","",27,[[["captchaerror",4]],["serviceerror",4]]],[11,"from","","",27,[[["error",4]]]],[11,"clone","guard::api::v1::auth","",0,[[],["register",3]]],[11,"clone","","",1,[[],["login",3]]],[11,"clone","","",2,[[],["password",3]]],[11,"clone","","",3,[[],["secret",3]]],[11,"clone","","",4,[[],["email",3]]],[11,"clone","","",5,[[],["accountcheckpayload",3]]],[11,"clone","","",6,[[],["accountcheckresp",3]]],[11,"clone","guard::api::v1::mcaptcha::levels","",11,[[],["levels",3]]],[11,"clone","","",12,[[],["i32levels",3]]],[11,"clone","guard::api::v1::mcaptcha::mcaptcha","",13,[[],["mcaptchaid",3]]],[11,"clone","","",14,[[],["mcaptchadetails",3]]],[11,"clone","guard::api::v1::meta","",15,[[],["builddetails",3]]],[11,"clone","","",16,[[],["builddetailsbuilder",3]]],[11,"clone","","",18,[[],["health",3]]],[11,"clone","","",19,[[],["healthbuilder",3]]],[11,"clone","guard::api::v1::pow::get_config","",21,[[],["powconfig",3]]],[11,"clone","","",22,[[],["getconfigpayload",3]]],[11,"clone","guard::api::v1::pow::verify_pow","",23,[[],["validationtoken",3]]],[11,"clone","guard::api::v1::pow::verify_token","",24,[[],["captchavalidateresp",3]]],[11,"clone","guard::data","",25,[[],["data",3]]],[11,"clone","guard::errors","",27,[[],["serviceerror",4]]],[11,"clone","guard::settings","",29,[[],["server",3]]],[11,"clone","","",30,[[],["captcha",3]]],[11,"clone","","",31,[[],["databasebuilder",3]]],[11,"clone","","",32,[[],["database",3]]],[11,"clone","","",33,[[],["settings",3]]],[11,"clone","guard::templates::auth::login","",35,[[],["indexpage",3]]],[11,"clone","guard::templates::auth::register","",36,[[],["indexpage",3]]],[11,"clone","guard::templates::panel::sitekey","",37,[[],["indexpage",3]]],[11,"clone","guard::templates::panel","",38,[[],["indexpage",3]]],[11,"default","guard::api::v1::meta","",16,[[]]],[11,"default","","",19,[[]]],[11,"default","guard::templates::auth::login","",35,[[]]],[11,"default","guard::templates::auth::register","",36,[[]]],[11,"default","guard::templates::panel::sitekey","",37,[[]]],[11,"default","guard::templates::panel","",38,[[]]],[11,"eq","guard::errors","",27,[[["serviceerror",4]],["bool",15]]],[11,"ne","","",27,[[["serviceerror",4]],["bool",15]]],[11,"deref","guard","",39,[[],["settings",3]]],[11,"deref","","",40,[[],["string",3]]],[11,"deref","","",41,[[],["filemap",3]]],[11,"deref","","",42,[[],["str",15]]],[11,"deref","","",43,[[],["str",15]]],[11,"fmt","guard::api::v1::auth","",0,[[["formatter",3]],["result",6]]],[11,"fmt","","",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,"fmt","","",6,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::levels","",11,[[["formatter",3]],["result",6]]],[11,"fmt","","",12,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::mcaptcha::mcaptcha","",13,[[["formatter",3]],["result",6]]],[11,"fmt","","",14,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::meta","",15,[[["formatter",3]],["result",6]]],[11,"fmt","","",17,[[["formatter",3]],["result",6]]],[11,"fmt","","",18,[[["formatter",3]],["result",6]]],[11,"fmt","","",20,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::pow::get_config","",21,[[["formatter",3]],["result",6]]],[11,"fmt","","",22,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::pow::verify_pow","",23,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::pow::verify_token","",24,[[["formatter",3]],["result",6]]],[11,"fmt","guard::errors","",27,[[["formatter",3]],["result",6]]],[11,"fmt","guard::settings","",29,[[["formatter",3]],["result",6]]],[11,"fmt","","",30,[[["formatter",3]],["result",6]]],[11,"fmt","","",31,[[["formatter",3]],["result",6]]],[11,"fmt","","",32,[[["formatter",3]],["result",6]]],[11,"fmt","","",33,[[["formatter",3]],["result",6]]],[11,"fmt","guard::api::v1::meta","",17,[[["formatter",3]],["result",6]]],[11,"fmt","","",20,[[["formatter",3]],["result",6]]],[11,"fmt","guard::errors","",27,[[["formatter",3]],["result",6]]],[11,"source","","",27,[[],[["option",4],["error",8]]]],[11,"deserialize","guard::api::v1::auth","",0,[[],["result",4]]],[11,"deserialize","","",1,[[],["result",4]]],[11,"deserialize","","",2,[[],["result",4]]],[11,"deserialize","","",3,[[],["result",4]]],[11,"deserialize","","",4,[[],["result",4]]],[11,"deserialize","","",5,[[],["result",4]]],[11,"deserialize","","",6,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::duration","",7,[[],["result",4]]],[11,"deserialize","","",8,[[],["result",4]]],[11,"deserialize","","",9,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::levels","",10,[[],["result",4]]],[11,"deserialize","","",11,[[],["result",4]]],[11,"deserialize","","",12,[[],["result",4]]],[11,"deserialize","guard::api::v1::mcaptcha::mcaptcha","",13,[[],["result",4]]],[11,"deserialize","","",14,[[],["result",4]]],[11,"deserialize","guard::api::v1::meta","",15,[[],["result",4]]],[11,"deserialize","","",18,[[],["result",4]]],[11,"deserialize","guard::api::v1::pow::get_config","",21,[[],["result",4]]],[11,"deserialize","","",22,[[],["result",4]]],[11,"deserialize","guard::api::v1::pow::verify_pow","",23,[[],["result",4]]],[11,"deserialize","guard::api::v1::pow::verify_token","",24,[[],["result",4]]],[11,"deserialize","guard::errors","",28,[[],["result",4]]],[11,"deserialize","guard::settings","",29,[[],["result",4]]],[11,"deserialize","","",30,[[],["result",4]]],[11,"deserialize","","",31,[[],["result",4]]],[11,"deserialize","","",32,[[],["result",4]]],[11,"deserialize","","",33,[[],["result",4]]],[11,"serialize","guard::api::v1::auth","",0,[[],["result",4]]],[11,"serialize","","",1,[[],["result",4]]],[11,"serialize","","",2,[[],["result",4]]],[11,"serialize","","",3,[[],["result",4]]],[11,"serialize","","",4,[[],["result",4]]],[11,"serialize","","",5,[[],["result",4]]],[11,"serialize","","",6,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::duration","",7,[[],["result",4]]],[11,"serialize","","",8,[[],["result",4]]],[11,"serialize","","",9,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::levels","",10,[[],["result",4]]],[11,"serialize","","",11,[[],["result",4]]],[11,"serialize","","",12,[[],["result",4]]],[11,"serialize","guard::api::v1::mcaptcha::mcaptcha","",13,[[],["result",4]]],[11,"serialize","","",14,[[],["result",4]]],[11,"serialize","guard::api::v1::meta","",15,[[],["result",4]]],[11,"serialize","","",18,[[],["result",4]]],[11,"serialize","guard::api::v1::pow::get_config","",21,[[],["result",4]]],[11,"serialize","","",22,[[],["result",4]]],[11,"serialize","guard::api::v1::pow::verify_pow","",23,[[],["result",4]]],[11,"serialize","guard::api::v1::pow::verify_token","",24,[[],["result",4]]],[11,"serialize","guard::errors","",28,[[],["result",4]]],[11,"register","guard::api::v1::auth","",44,[[["appservice",3]]]],[11,"register","","",45,[[["appservice",3]]]],[11,"register","","",46,[[["appservice",3]]]],[11,"register","","",47,[[["appservice",3]]]],[11,"register","","",48,[[["appservice",3]]]],[11,"register","","",49,[[["appservice",3]]]],[11,"register","","",50,[[["appservice",3]]]],[11,"register","","",51,[[["appservice",3]]]],[11,"register","","",52,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::duration","",53,[[["appservice",3]]]],[11,"register","","",54,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::levels","",55,[[["appservice",3]]]],[11,"register","","",56,[[["appservice",3]]]],[11,"register","","",57,[[["appservice",3]]]],[11,"register","","",58,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::mcaptcha","",59,[[["appservice",3]]]],[11,"register","","",60,[[["appservice",3]]]],[11,"register","","",61,[[["appservice",3]]]],[11,"register","","",62,[[["appservice",3]]]],[11,"register","guard::api::v1::meta","",63,[[["appservice",3]]]],[11,"register","","",64,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::get_config","",65,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_pow","",66,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_token","",67,[[["appservice",3]]]],[11,"register","guard::docs","",68,[[["appservice",3]]]],[11,"register","","",69,[[["appservice",3]]]],[11,"register","","",70,[[["appservice",3]]]],[11,"register","guard::static_assets","",71,[[["appservice",3]]]],[11,"register","guard::templates::auth::login","",72,[[["appservice",3]]]],[11,"register","guard::templates::auth::register","",73,[[["appservice",3]]]],[11,"register","guard::templates::panel::sitekey","",74,[[["appservice",3]]]],[11,"register","guard::templates::panel","",75,[[["appservice",3]]]],[11,"error_response","guard::errors","",27,[[],["httpresponse",3]]],[11,"status_code","","",27,[[],["statuscode",3]]],[11,"initialize","guard","",39,[[]]],[11,"initialize","","",40,[[]]],[11,"initialize","","",41,[[]]],[11,"initialize","","",42,[[]]],[11,"initialize","","",43,[[]]],[11,"get","guard::docs","",26,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",26,[[],["filenames",4]]],[11,"get","guard::static_assets","",34,[[["str",15]],[["option",4],["cow",4]]]],[11,"iter","","",34,[[],["filenames",4]]],[11,"render_once","guard::templates::auth::login","",35,[[],["renderresult",6]]],[11,"render_once_to","","",35,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::auth::register","",36,[[],["renderresult",6]]],[11,"render_once_to","","",36,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::panel::sitekey","",37,[[],["renderresult",6]]],[11,"render_once_to","","",37,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::panel","",38,[[],["renderresult",6]]],[11,"render_once_to","","",38,[[["buffer",3]],[["result",4],["rendererror",4]]]]],"p":[[3,"Register"],[3,"Login"],[3,"Password"],[3,"Secret"],[3,"Email"],[3,"AccountCheckPayload"],[3,"AccountCheckResp"],[3,"UpdateDuration"],[3,"GetDurationResp"],[3,"GetDuration"],[3,"AddLevels"],[3,"Levels"],[3,"I32Levels"],[3,"MCaptchaID"],[3,"MCaptchaDetails"],[3,"BuildDetails"],[3,"BuildDetailsBuilder"],[4,"BuildDetailsBuilderError"],[3,"Health"],[3,"HealthBuilder"],[4,"HealthBuilderError"],[3,"PoWConfig"],[3,"GetConfigPayload"],[3,"ValidationToken"],[3,"CaptchaValidateResp"],[3,"Data"],[3,"Asset"],[4,"ServiceError"],[3,"ErrorToResponse"],[3,"Server"],[3,"Captcha"],[3,"DatabaseBuilder"],[3,"Database"],[3,"Settings"],[3,"Asset"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"SETTINGS"],[3,"S"],[3,"FILES"],[3,"JS"],[3,"CSS"],[3,"signup"],[3,"signin"],[3,"get_secret"],[3,"update_user_secret"],[3,"set_email"],[3,"signout"],[3,"delete_account"],[3,"username_exists"],[3,"email_exists"],[3,"update_duration"],[3,"get_duration"],[3,"add_levels"],[3,"update_levels"],[3,"delete_levels"],[3,"get_levels"],[3,"add_mcaptcha"],[3,"update_token"],[3,"get_token"],[3,"delete_mcaptcha"],[3,"build_details"],[3,"health"],[3,"get_config"],[3,"verify_pow"],[3,"validate_captcha_token"],[3,"dist"],[3,"spec"],[3,"index"],[3,"dist"],[3,"login"],[3,"join"],[3,"add_sitekey"],[3,"panel"]]},\ +"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],[12,"url_prefix","","",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,[[],[["configerror",4],["result",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/src/guard/api/v1/auth.rs.html b/src/guard/api/v1/auth.rs.html index 04a66b05..ac5dd43d 100644 --- a/src/guard/api/v1/auth.rs.html +++ b/src/guard/api/v1/auth.rs.html @@ -427,7 +427,7 @@ // } if let Some(email) = &payload.email { - data.creds.email(Some(&email))?; + data.creds.email(&email)?; } let mut secret; @@ -588,7 +588,7 @@ let username = id.identity().unwrap(); - data.creds.email(Some(&payload.email))?; + data.creds.email(&payload.email)?; let res = sqlx::query!( "UPDATE mcaptcha_users set email = $1 diff --git a/src/guard/main.rs.html b/src/guard/main.rs.html index 8a88d565..79fe9943 100644 --- a/src/guard/main.rs.html +++ b/src/guard/main.rs.html @@ -118,6 +118,9 @@ 115 116 117 +118 +119 +120\ No newline at end of file diff --git a/src/guard/templates/mod.rs.html b/src/guard/templates/mod.rs.html index 333b8831..f406b3ac 100644 --- a/src/guard/templates/mod.rs.html +++ b/src/guard/templates/mod.rs.html @@ -53,6 +53,10 @@ 50 51 52 +53 +54 +55 +56/* * Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net> @@ -163,7 +166,10 @@ lazy_static! { pub static ref SETTINGS: Settings = Settings::new().unwrap(); pub static ref S: String = env::var("S").unwrap(); - pub static ref FILES: FileMap = FileMap::load(); + pub static ref FILES: FileMap = { + let map = include_str!("cache_buster_data.json"); + FileMap::new(&map) + }; pub static ref JS: &'static str = FILES.get("./static/bundle/main.js").unwrap(); pub static ref CSS: &'static str = FILES.get("./static/bundle/main.css").unwrap(); } diff --git a/src/guard/static_assets.rs.html b/src/guard/static_assets.rs.html index 3470f7cf..ebc74b96 100644 --- a/src/guard/static_assets.rs.html +++ b/src/guard/static_assets.rs.html @@ -126,26 +126,26 @@ cfg.service(dist); } -//#[cfg(test)] -//mod tests { -// use actix_web::http::StatusCode; -// use actix_web::test; -// -// use super::*; -// use crate::*; -// -// #[actix_rt::test] -// async fn static_assets_work() { -// let mut app = test::init_service(App::new().configure(services)).await; -// -// let resp = test::call_service( -// &mut app, -// test::TestRequest::get().uri(&*crate::JS).to_request(), -// ) -// .await; -// assert_eq!(resp.status(), StatusCode::OK); -// } -//} +#[cfg(test)] +mod tests { + use actix_web::http::StatusCode; + use actix_web::test; + + use super::*; + use crate::*; + + #[actix_rt::test] + async fn static_assets_work() { + let mut app = test::init_service(App::new().configure(services)).await; + + let resp = test::call_service( + &mut app, + test::TestRequest::get().uri(&*crate::JS).to_request(), + ) + .await; + assert_eq!(resp.status(), StatusCode::OK); + } +}
\ No newline at end of file/* * Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net> @@ -85,27 +89,31 @@ cfg.service(panel::sitekey::add_sitekey); } -//#[cfg(not(tarpaulin_include))] -//#[cfg(test)] -//mod tests { -// use actix_web::http::StatusCode; -// use actix_web::test; -// -// use super::*; -// use crate::*; -// -// #[actix_rt::test] -// async fn templates_work() { -// let mut app = test::init_service(App::new().configure(services)).await; -// let urls = vec!["/", "/join", "/panel"]; -// -// for url in urls.iter() { -// let resp = -// test::call_service(&mut app, test::TestRequest::get().uri(url).to_request()).await; -// assert_eq!(resp.status(), StatusCode::OK); -// } -// } -//} +#[cfg(not(tarpaulin_include))] +#[cfg(test)] +mod tests { + use actix_web::http::StatusCode; + use actix_web::test; + + use super::*; + use crate::*; + + #[actix_rt::test] + async fn templates_work() { + let mut app = test::init_service(App::new().configure(services)).await; + let urls = vec!["/", "/join", "/login", "/sitekey/add"]; + + for url in urls.iter() { + let resp = + test::call_service(&mut app, test::TestRequest::get().uri(url).to_request()).await; + if url == urls.get(0).unwrap() { + assert_eq!(resp.status(), StatusCode::TEMPORARY_REDIRECT); + } else { + assert_eq!(resp.status(), StatusCode::OK); + } + } + } +}