Module guard::api::v1::auth [−][src]
Structs
+Module guard::api::v1::auth [−][src]
Structs
AccountCheckPayload | |
AccountCheckResp | |
Login | |
Password | |
Register | |
Secret | |
delete_account | |
email_exists | |
get_secret | |
set_email | |
signin | |
signout | |
signup | |
update_user_secret | |
username_exists |
Struct guard::api::v1::auth::AccountCheckPayload [−][src]
Struct guard::api::v1::auth::AccountCheckPayload [−][src]
pub struct AccountCheckPayload { pub val: String, }
- Fields
val: String
Trait Implementations
impl Clone for AccountCheckPayload
[src]
fn clone(&self) -> AccountCheckPayload
[src]
Returns a copy of the value. Read more
+ Fieldsval: String
Trait Implementations
impl Clone for AccountCheckPayload
[src]
fn clone(&self) -> AccountCheckPayload
[src]
Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AccountCheckPayload
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
-impl<'de> Deserialize<'de> for AccountCheckPayload
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-impl Serialize for AccountCheckPayload
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
+impl Debug for AccountCheckPayload
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
+impl<'de> Deserialize<'de> for AccountCheckPayload
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+impl Serialize for AccountCheckPayload
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccountCheckPayload
[src]
impl Send for AccountCheckPayload
[src]
impl Sync for AccountCheckPayload
[src]
impl Unpin for AccountCheckPayload
[src]
impl UnwindSafe for AccountCheckPayload
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
diff --git a/guard/api/v1/auth/struct.AccountCheckResp.html b/guard/api/v1/auth/struct.AccountCheckResp.html index 11dfa7b4..6753194a 100644 --- a/guard/api/v1/auth/struct.AccountCheckResp.html +++ b/guard/api/v1/auth/struct.AccountCheckResp.html @@ -1,14 +1,14 @@Struct guard::api::v1::auth::AccountCheckResp [−][src]
Struct guard::api::v1::auth::AccountCheckResp [−][src]
pub struct AccountCheckResp { pub exists: bool, }
- Fields
exists: bool
Trait Implementations
impl Clone for AccountCheckResp
[src]
fn clone(&self) -> AccountCheckResp
[src]
Returns a copy of the value. Read more
+ Fieldsexists: bool
Trait Implementations
impl Clone for AccountCheckResp
[src]
fn clone(&self) -> AccountCheckResp
[src]
Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AccountCheckResp
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
-impl<'de> Deserialize<'de> for AccountCheckResp
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-impl Serialize for AccountCheckResp
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
+impl Debug for AccountCheckResp
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
+impl<'de> Deserialize<'de> for AccountCheckResp
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+impl Serialize for AccountCheckResp
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccountCheckResp
[src]
impl Send for AccountCheckResp
[src]
impl Sync for AccountCheckResp
[src]
impl Unpin for AccountCheckResp
[src]
impl UnwindSafe for AccountCheckResp
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
diff --git a/guard/api/v1/auth/struct.Email.html b/guard/api/v1/auth/struct.Email.html index 6999388c..178edf8f 100644 --- a/guard/api/v1/auth/struct.Email.html +++ b/guard/api/v1/auth/struct.Email.html @@ -1,14 +1,14 @@Struct guard::api::v1::auth::Email [−][src]
Struct guard::api::v1::auth::Email [−][src]
pub struct Email { pub email: String, }
- Fields
email: String
Trait Implementations
impl Clone for Email
[src]
fn clone(&self) -> Email
[src]
Returns a copy of the value. Read more
+ Fieldsemail: String
Trait Implementations
impl Clone for Email
[src]
fn clone(&self) -> Email
[src]
Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Email
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
-impl<'de> Deserialize<'de> for Email
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-impl Serialize for Email
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
+impl Debug for Email
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
+impl<'de> Deserialize<'de> for Email
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+impl Serialize for Email
[src]
Auto Trait Implementations
impl RefUnwindSafe for Email
[src]
impl Send for Email
[src]
impl Sync for Email
[src]
impl Unpin for Email
[src]
impl UnwindSafe for Email
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
diff --git a/guard/api/v1/auth/struct.Login.html b/guard/api/v1/auth/struct.Login.html index a443a1fe..c5055b84 100644 --- a/guard/api/v1/auth/struct.Login.html +++ b/guard/api/v1/auth/struct.Login.html @@ -1,15 +1,15 @@Struct guard::api::v1::auth::Login [−][src]
Struct guard::api::v1::auth::Login [−][src]
- Fields
username: String
password: String
Trait Implementations
impl Clone for Login
[src]
fn clone(&self) -> Login
[src]
Returns a copy of the value. Read more
+ Fieldsusername: String
password: String
Trait Implementations
impl Clone for Login
[src]
fn clone(&self) -> Login
[src]
Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Login
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
-impl<'de> Deserialize<'de> for Login
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-impl Serialize for Login
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
+impl Debug for Login
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
+impl<'de> Deserialize<'de> for Login
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+impl Serialize for Login
[src]
Auto Trait Implementations
impl RefUnwindSafe for Login
[src]
impl Send for Login
[src]
impl Sync for Login
[src]
impl Unpin for Login
[src]
impl UnwindSafe for Login
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
diff --git a/guard/api/v1/auth/struct.Password.html b/guard/api/v1/auth/struct.Password.html index 999a0ddd..04085dfd 100644 --- a/guard/api/v1/auth/struct.Password.html +++ b/guard/api/v1/auth/struct.Password.html @@ -1,14 +1,14 @@Struct guard::api::v1::auth::Password [−][src]
Struct guard::api::v1::auth::Password [−][src]
pub struct Password { pub password: String, }
- Fields
password: String
Trait Implementations
impl Clone for Password
[src]
fn clone(&self) -> Password
[src]
Returns a copy of the value. Read more
+ Fieldspassword: String
Trait Implementations
impl Clone for Password
[src]
fn clone(&self) -> Password
[src]
Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Password
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
-impl<'de> Deserialize<'de> for Password
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
-impl Serialize for Password
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
+impl Debug for Password
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the value using the given formatter. Read more
+impl<'de> Deserialize<'de> for Password
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
+impl Serialize for Password
[src]
Auto Trait Implementations
impl RefUnwindSafe for Password
[src]
impl Send for Password
[src]
impl Sync for Password
[src]
impl Unpin for Password
[src]
impl UnwindSafe for Password
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
diff --git a/guard/api/v1/auth/struct.Register.html b/guard/api/v1/auth/struct.Register.html index e1065ac3..a4bfd9e0 100644 --- a/guard/api/v1/auth/struct.Register.html +++ b/guard/api/v1/auth/struct.Register.html @@ -1,12 +1,13 @@Struct guard::api::v1::auth::Register [−][src]
pub struct Register { +Struct guard::
api:: [−][src]v1:: auth:: Register pub struct Register { pub username: String, pub password: String, + pub confirm_password: String, pub email: Option<String>, }- Fields
username: String
password: String
email: Option<String>
Trait Implementations
impl Clone for Register
[src]
fn clone(&self) -> Register
[src]Returns a copy of the value. Read more
+ Fieldsusername: String
password: String
confirm_password: String
email: Option<String>
Trait Implementations
impl Clone for Register
[src]
fn clone(&self) -> Register
[src]Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from
source
. Read more
impl Debug for Register
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for Register
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
[src]
__D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more
diff --git a/guard/api/v1/auth/struct.Secret.html b/guard/api/v1/auth/struct.Secret.html index 1e09c897..678294e0 100644 --- a/guard/api/v1/auth/struct.Secret.html +++ b/guard/api/v1/auth/struct.Secret.html @@ -1,14 +1,14 @@guard::api::v1::auth::Secret - Rust Struct guard::
api:: [−][src]v1:: auth:: Secret Struct guard::
api:: [−][src]v1:: auth:: Secret pub struct Secret { pub secret: String, }- Fields
secret: String
Trait Implementations
impl Clone for Secret
[src]
fn clone(&self) -> Secret
[src]Returns a copy of the value. Read more
+ Fieldssecret: String
Trait Implementations
impl Clone for Secret
[src]
fn clone(&self) -> Secret
[src]Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from
-source
. Read more
impl Debug for Secret
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]Formats the value using the given formatter. Read more
-
impl<'de> Deserialize<'de> for Secret
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
[src]
__D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more
-
impl Serialize for Secret
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
[src]
__S: Serializer,Serialize this value into the given Serde serializer. Read more
+
impl Debug for Secret
[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]Formats the value using the given formatter. Read more
+
impl<'de> Deserialize<'de> for Secret
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
[src]
__D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more
+
impl Serialize for Secret
[src]Auto Trait Implementations
impl RefUnwindSafe for Secret
[src]
impl Send for Secret
[src]
impl Sync for Secret
[src]
impl Unpin for Secret
[src]
impl UnwindSafe for Secret
[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
diff --git a/guard/api/v1/auth/struct.delete_account.html b/guard/api/v1/auth/struct.delete_account.html index f0740b5a..6690f45d 100644 --- a/guard/api/v1/auth/struct.delete_account.html +++ b/guard/api/v1/auth/struct.delete_account.html @@ -1,7 +1,7 @@guard::api::v1::auth::delete_account - Rust Struct guard::
api:: [−][src]v1:: auth:: delete_account pub struct delete_account;Trait Implementations
impl HttpServiceFactory for delete_account
[src]Auto Trait Implementations
impl RefUnwindSafe for delete_account
[src]
impl Send for delete_account
[src]
impl Sync for delete_account
[src]
impl Unpin for delete_account
[src]
impl UnwindSafe for delete_account
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: delete_account pub struct delete_account;Trait Implementations
impl HttpServiceFactory for delete_account
[src]Auto Trait Implementations
impl RefUnwindSafe for delete_account
[src]
impl Send for delete_account
[src]
impl Sync for delete_account
[src]
impl Unpin for delete_account
[src]
impl UnwindSafe for delete_account
[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/api/v1/auth/struct.email_exists.html b/guard/api/v1/auth/struct.email_exists.html index 1d6e6315..2a0bde11 100644 --- a/guard/api/v1/auth/struct.email_exists.html +++ b/guard/api/v1/auth/struct.email_exists.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::email_exists - Rust Struct guard::
api:: [−][src]v1:: auth:: email_exists pub struct email_exists;Trait Implementations
impl HttpServiceFactory for email_exists
[src]Auto Trait Implementations
impl RefUnwindSafe for email_exists
[src]
impl Send for email_exists
[src]
impl Sync for email_exists
[src]
impl Unpin for email_exists
[src]
impl UnwindSafe for email_exists
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: email_exists pub struct email_exists;Trait Implementations
impl HttpServiceFactory for email_exists
[src]Auto Trait Implementations
impl RefUnwindSafe for email_exists
[src]
impl Send for email_exists
[src]
impl Sync for email_exists
[src]
impl Unpin for email_exists
[src]
impl UnwindSafe for email_exists
[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/api/v1/auth/struct.get_secret.html b/guard/api/v1/auth/struct.get_secret.html index 217ea910..6b126de8 100644 --- a/guard/api/v1/auth/struct.get_secret.html +++ b/guard/api/v1/auth/struct.get_secret.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::get_secret - Rust Struct guard::
api:: [−][src]v1:: auth:: get_secret pub struct get_secret;Trait Implementations
impl HttpServiceFactory for get_secret
[src]Auto Trait Implementations
impl RefUnwindSafe for get_secret
[src]
impl Send for get_secret
[src]
impl Sync for get_secret
[src]
impl Unpin for get_secret
[src]
impl UnwindSafe for get_secret
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: get_secret pub struct get_secret;Trait Implementations
impl HttpServiceFactory for get_secret
[src]Auto Trait Implementations
impl RefUnwindSafe for get_secret
[src]
impl Send for get_secret
[src]
impl Sync for get_secret
[src]
impl Unpin for get_secret
[src]
impl UnwindSafe for get_secret
[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/api/v1/auth/struct.set_email.html b/guard/api/v1/auth/struct.set_email.html index fa7cf89f..19f49461 100644 --- a/guard/api/v1/auth/struct.set_email.html +++ b/guard/api/v1/auth/struct.set_email.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::set_email - Rust Struct guard::
api:: [−][src]v1:: auth:: set_email pub struct set_email;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for set_email
[src]
impl Send for set_email
[src]
impl Sync for set_email
[src]
impl Unpin for set_email
[src]
impl UnwindSafe for set_email
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: set_email pub struct set_email;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for set_email
[src]
impl Send for set_email
[src]
impl Sync for set_email
[src]
impl Unpin for set_email
[src]
impl UnwindSafe for set_email
[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/api/v1/auth/struct.signin.html b/guard/api/v1/auth/struct.signin.html index b789d30c..3749e1c4 100644 --- a/guard/api/v1/auth/struct.signin.html +++ b/guard/api/v1/auth/struct.signin.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::signin - Rust Struct guard::
api:: [−][src]v1:: auth:: signin pub struct signin;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for signin
[src]
impl Send for signin
[src]
impl Sync for signin
[src]
impl Unpin for signin
[src]
impl UnwindSafe for signin
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: signin pub struct signin;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for signin
[src]
impl Send for signin
[src]
impl Sync for signin
[src]
impl Unpin for signin
[src]
impl UnwindSafe for signin
[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/api/v1/auth/struct.signout.html b/guard/api/v1/auth/struct.signout.html index 303903ea..77d18364 100644 --- a/guard/api/v1/auth/struct.signout.html +++ b/guard/api/v1/auth/struct.signout.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::signout - Rust Struct guard::
api:: [−][src]v1:: auth:: signout pub struct signout;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for signout
[src]
impl Send for signout
[src]
impl Sync for signout
[src]
impl Unpin for signout
[src]
impl UnwindSafe for signout
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: signout pub struct signout;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for signout
[src]
impl Send for signout
[src]
impl Sync for signout
[src]
impl Unpin for signout
[src]
impl UnwindSafe for signout
[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/api/v1/auth/struct.signup.html b/guard/api/v1/auth/struct.signup.html index 897dfc96..ed9ea140 100644 --- a/guard/api/v1/auth/struct.signup.html +++ b/guard/api/v1/auth/struct.signup.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::signup - Rust Struct guard::
api:: [−][src]v1:: auth:: signup pub struct signup;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for signup
[src]
impl Send for signup
[src]
impl Sync for signup
[src]
impl Unpin for signup
[src]
impl UnwindSafe for signup
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: signup pub struct signup;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for signup
[src]
impl Send for signup
[src]
impl Sync for signup
[src]
impl Unpin for signup
[src]
impl UnwindSafe for signup
[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/api/v1/auth/struct.update_user_secret.html b/guard/api/v1/auth/struct.update_user_secret.html index 3f64408f..9e7c7edd 100644 --- a/guard/api/v1/auth/struct.update_user_secret.html +++ b/guard/api/v1/auth/struct.update_user_secret.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::update_user_secret - Rust Struct guard::
api:: [−][src]v1:: auth:: update_user_secret pub struct update_user_secret;Trait Implementations
impl HttpServiceFactory for update_user_secret
[src]Auto Trait Implementations
impl RefUnwindSafe for update_user_secret
[src]
impl Send for update_user_secret
[src]
impl Sync for update_user_secret
[src]
impl Unpin for update_user_secret
[src]
impl UnwindSafe for update_user_secret
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: update_user_secret pub struct update_user_secret;Trait Implementations
impl HttpServiceFactory for update_user_secret
[src]Auto Trait Implementations
impl RefUnwindSafe for update_user_secret
[src]
impl Send for update_user_secret
[src]
impl Sync for update_user_secret
[src]
impl Unpin for update_user_secret
[src]
impl UnwindSafe for update_user_secret
[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/api/v1/auth/struct.username_exists.html b/guard/api/v1/auth/struct.username_exists.html index 5dfc4e9f..146cf9a7 100644 --- a/guard/api/v1/auth/struct.username_exists.html +++ b/guard/api/v1/auth/struct.username_exists.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::api::v1::auth::username_exists - Rust Struct guard::
api:: [−][src]v1:: auth:: username_exists pub struct username_exists;Trait Implementations
impl HttpServiceFactory for username_exists
[src]Auto Trait Implementations
impl RefUnwindSafe for username_exists
[src]
impl Send for username_exists
[src]
impl Sync for username_exists
[src]
impl Unpin for username_exists
[src]
impl UnwindSafe for username_exists
[src]Blanket Implementations
impl<T> Any for T where
[src]
T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
[src]Gets the
+TypeId
ofself
. Read moreStruct guard::
api:: [−][src]v1:: auth:: username_exists pub struct username_exists;Trait Implementations
impl HttpServiceFactory for username_exists
[src]Auto Trait Implementations
impl RefUnwindSafe for username_exists
[src]
impl Send for username_exists
[src]
impl Sync for username_exists
[src]
impl Unpin for username_exists
[src]
impl UnwindSafe for username_exists
[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/errors/enum.ServiceError.html b/guard/errors/enum.ServiceError.html index a1038f61..086e5be8 100644 --- a/guard/errors/enum.ServiceError.html +++ b/guard/errors/enum.ServiceError.html @@ -1,7 +1,7 @@self
intoT
usingInto<T>
. Read moreguard::errors::ServiceError - Rust -Enum guard::
errors:: [−][src]ServiceError pub enum ServiceError { +Enum guard::
errors:: [−][src]ServiceError pub enum ServiceError { InternalServerError, ClosedForRegistration, NotAnEmail, @@ -13,6 +13,7 @@ UsernameCaseMappedError, PasswordTooShort, PasswordTooLong, + PasswordsDontMatch, UsernameTaken, EmailTaken, TokenNotFound, @@ -25,7 +26,7 @@ see blackliwhen the value passed contains characters not present in UsernameCaseMapped profile
-when the a username is already taken
+when the a username is already taken
email is already taken
when the a token name is already taken token not found
@@ -37,16 +38,16 @@ token not found
pub fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
pub fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:use the Display impl or to_string()
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]👎 Deprecated since 1.33.0:replaced by Error::source, which can support downcasting
-
impl From<CaptchaError> for ServiceError
[src]
fn from(e: CaptchaError) -> ServiceError
[src]Performs the conversion.
-
impl From<CredsError> for ServiceError
[src]
fn from(e: CredsError) -> ServiceError
[src]Performs the conversion.
-
impl From<Error> for ServiceError
[src]
impl From<ParseError> for ServiceError
[src]
fn from(_: ParseError) -> ServiceError
[src]Performs the conversion.
-
impl From<ValidationErrors> for ServiceError
[src]
fn from(_: ValidationErrors) -> ServiceError
[src]Performs the conversion.
+
impl From<CaptchaError> for ServiceError
[src]
fn from(e: CaptchaError) -> ServiceError
[src]Performs the conversion.
+
impl From<CredsError> for ServiceError
[src]
fn from(e: CredsError) -> ServiceError
[src]Performs the conversion.
+
impl From<Error> for ServiceError
[src]
impl From<ParseError> for ServiceError
[src]
fn from(_: ParseError) -> ServiceError
[src]Performs the conversion.
+
impl From<ValidationErrors> for ServiceError
[src]
fn from(_: ValidationErrors) -> ServiceError
[src]Performs the conversion.
impl PartialEq<ServiceError> for ServiceError
[src]
fn eq(&self, other: &ServiceError) -> bool
[src]This method tests for
self
andother
values to be equal, and is used by==
. Read more
fn ne(&self, other: &ServiceError) -> bool
[src]This method tests for
-!=
.
impl ResponseError for ServiceError
[src]
fn error_response(&self) -> HttpResponse
[src]Create response for error Read more
-
fn status_code(&self) -> StatusCode
[src]Response's status code Read more
+
impl ResponseError for ServiceError
[src]
fn error_response(&self) -> HttpResponse
[src]Create response for error Read more
+
fn status_code(&self) -> StatusCode
[src]Response's status code Read more
impl StructuralPartialEq for ServiceError
[src]Auto Trait Implementations
impl RefUnwindSafe for ServiceError
[src]
impl Send for ServiceError
[src]
impl Sync for ServiceError
[src]
impl Unpin for ServiceError
[src]
impl UnwindSafe for ServiceError
[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
diff --git a/guard/errors/index.html b/guard/errors/index.html index 72e6cb54..3e55f8f0 100644 --- a/guard/errors/index.html +++ b/guard/errors/index.html @@ -1,7 +1,7 @@guard::errors - Rust Module guard::
errors [−][src]Structs
+diff --git a/guard/errors/struct.ErrorToResponse.html b/guard/errors/struct.ErrorToResponse.html index b31a77e5..db38a88e 100644 --- a/guard/errors/struct.ErrorToResponse.html +++ b/guard/errors/struct.ErrorToResponse.html @@ -1,11 +1,11 @@ Module guard::
errors [−][src]Structs
ErrorToResponse Enums
ServiceError Type Definitions
ServiceResult guard::errors::ErrorToResponse - Rust Struct guard::
errors:: [−][src]ErrorToResponse Struct guard::
errors:: [−][src]ErrorToResponse pub struct ErrorToResponse { pub error: String, }- Fields
error: String
Trait Implementations
impl<'de> Deserialize<'de> for ErrorToResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
[src]
__D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more
-
impl Serialize for ErrorToResponse
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
[src]
__S: Serializer,Serialize this value into the given Serde serializer. Read more
+ Fieldserror: String
Trait Implementations
impl<'de> Deserialize<'de> for ErrorToResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
[src]
__D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more
+
impl Serialize for ErrorToResponse
[src]Auto Trait Implementations
impl RefUnwindSafe for ErrorToResponse
[src]
impl Send for ErrorToResponse
[src]
impl Sync for ErrorToResponse
[src]
impl Unpin for ErrorToResponse
[src]
impl UnwindSafe for ErrorToResponse
[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
diff --git a/guard/errors/type.ServiceResult.html b/guard/errors/type.ServiceResult.html index 3b7f199e..35fbc747 100644 --- a/guard/errors/type.ServiceResult.html +++ b/guard/errors/type.ServiceResult.html @@ -1,5 +1,5 @@guard::errors::ServiceResult - Rust + Type Definition guard::
errors:: [−][src]ServiceResult type ServiceResult<V> = Result<V, ServiceError>;\ No newline at end of file diff --git a/search-index.js b/search-index.js index a231199a..662630c2 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],[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 Type Definition guard::
errors:: [−][src]ServiceResult type ServiceResult<V> = Result<V, ServiceError>;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,[[],[["builddetails",3],["builddetailsbuildererror",4],["result",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,"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,[[["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]]]],[3,"FileMap","","",null,null],[12,"files","","",35,null],[11,"new","","",35,[[]]],[11,"get","","",35,[[["str",15]],[["str",15],["option",4]]]],[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","","",36,null],[12,"title","","",36,null],[3,"login","","",null,null],[0,"register","guard::templates::auth","",null,null],[3,"IndexPage","guard::templates::auth::register","",null,null],[12,"name","","",37,null],[12,"title","","",37,null],[3,"join","","",null,null],[0,"panel","guard::templates","",null,null],[0,"sitekey","guard::templates::panel","",null,null],[0,"add","guard::templates::panel::sitekey","",null,null],[3,"IndexPage","guard::templates::panel::sitekey::add","",null,null],[12,"name","","",38,null],[12,"title","","",38,null],[12,"levels","","",38,null],[12,"form_title","","",38,null],[12,"form_description","","",38,null],[17,"TITLE","","",null,null],[3,"add_sitekey","","",null,null],[3,"IndexPage","guard::templates::panel","",null,null],[12,"name","","",39,null],[12,"title","","",39,null],[17,"TITLE","","",null,null],[3,"panel","","",null,null],[5,"services","guard::templates","",null,[[["serviceconfig",3]]]],[0,"middleware","guard","",null,null],[0,"auth","guard::middleware","",null,null],[3,"CheckLogin","guard::middleware::auth","",null,null],[17,"LOGIN_ROUTE","","",null,null],[3,"CheckLoginMiddleware","","",null,null],[12,"service","","",40,null],[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,"CheckLogin","","",null,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",41,null],[3,"S","","",null,null],[12,"__private_field","","",42,null],[3,"FILES","","",null,null],[12,"__private_field","","",43,null],[3,"JS","","",null,null],[12,"__private_field","","",44,null],[3,"CSS","","",null,null],[12,"__private_field","","",45,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","","",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","","",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","","",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","","",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","","",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","","",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","","",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","","",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","","",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::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","","",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","","",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","","",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","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","","",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","","",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","","",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","","",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","","",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","","",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::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","","",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","","",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","","",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::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","","",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::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","","",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","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","","",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","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","","",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","","",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","","",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::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","","",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","","",35,[[]]],[11,"into","","",35,[[]]],[11,"borrow","","",35,[[]]],[11,"borrow_mut","","",35,[[]]],[11,"try_from","","",35,[[],["result",4]]],[11,"try_into","","",35,[[],["result",4]]],[11,"type_id","","",35,[[],["typeid",3]]],[11,"vzip","","",35,[[]]],[11,"from","guard::templates::auth::login","",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","","",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::auth::register","",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","","",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::templates::panel::sitekey::add","",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","","",76,[[]]],[11,"into","","",76,[[]]],[11,"borrow","","",76,[[]]],[11,"borrow_mut","","",76,[[]]],[11,"try_from","","",76,[[],["result",4]]],[11,"try_into","","",76,[[],["result",4]]],[11,"type_id","","",76,[[],["typeid",3]]],[11,"vzip","","",76,[[]]],[11,"from","guard::templates::panel","",39,[[]]],[11,"into","","",39,[[]]],[11,"to_owned","","",39,[[]]],[11,"clone_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","","",77,[[]]],[11,"into","","",77,[[]]],[11,"borrow","","",77,[[]]],[11,"borrow_mut","","",77,[[]]],[11,"try_from","","",77,[[],["result",4]]],[11,"try_into","","",77,[[],["result",4]]],[11,"type_id","","",77,[[],["typeid",3]]],[11,"vzip","","",77,[[]]],[11,"from","guard::middleware::auth","",78,[[]]],[11,"into","","",78,[[]]],[11,"borrow","","",78,[[]]],[11,"borrow_mut","","",78,[[]]],[11,"try_from","","",78,[[],["result",4]]],[11,"try_into","","",78,[[],["result",4]]],[11,"type_id","","",78,[[],["typeid",3]]],[11,"vzip","","",78,[[]]],[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,"into_service","","",40,[[]]],[11,"vzip","","",40,[[]]],[11,"from","guard","",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","","",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","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","",36,[[],["indexpage",3]]],[11,"clone","guard::templates::auth::register","",37,[[],["indexpage",3]]],[11,"clone","guard::templates::panel::sitekey::add","",38,[[],["indexpage",3]]],[11,"clone","guard::templates::panel","",39,[[],["indexpage",3]]],[11,"default","guard::api::v1::meta","",16,[[]]],[11,"default","","",19,[[]]],[11,"default","guard::templates::auth::login","",36,[[]]],[11,"default","guard::templates::auth::register","",37,[[]]],[11,"default","guard::templates::panel::sitekey::add","",38,[[]]],[11,"default","guard::templates::panel","",39,[[]]],[11,"eq","guard::errors","",27,[[["serviceerror",4]],["bool",15]]],[11,"ne","","",27,[[["serviceerror",4]],["bool",15]]],[11,"deref","guard","",41,[[],["settings",3]]],[11,"deref","","",42,[[],["string",3]]],[11,"deref","","",43,[[],["filemap",3]]],[11,"deref","","",44,[[],["str",15]]],[11,"deref","","",45,[[],["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,"poll_ready","guard::middleware::auth","",40,[[["context",3]],[["result",4],["poll",4]]]],[11,"call","","",40,[[["servicerequest",3]]]],[11,"new_transform","","",78,[[]]],[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","",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","","",53,[[["appservice",3]]]],[11,"register","","",54,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::duration","",55,[[["appservice",3]]]],[11,"register","","",56,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::levels","",57,[[["appservice",3]]]],[11,"register","","",58,[[["appservice",3]]]],[11,"register","","",59,[[["appservice",3]]]],[11,"register","","",60,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::mcaptcha","",61,[[["appservice",3]]]],[11,"register","","",62,[[["appservice",3]]]],[11,"register","","",63,[[["appservice",3]]]],[11,"register","","",64,[[["appservice",3]]]],[11,"register","guard::api::v1::meta","",65,[[["appservice",3]]]],[11,"register","","",66,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::get_config","",67,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_pow","",68,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_token","",69,[[["appservice",3]]]],[11,"register","guard::docs","",70,[[["appservice",3]]]],[11,"register","","",71,[[["appservice",3]]]],[11,"register","","",72,[[["appservice",3]]]],[11,"register","guard::static_assets","",73,[[["appservice",3]]]],[11,"register","guard::templates::auth::login","",74,[[["appservice",3]]]],[11,"register","guard::templates::auth::register","",75,[[["appservice",3]]]],[11,"register","guard::templates::panel::sitekey::add","",76,[[["appservice",3]]]],[11,"register","guard::templates::panel","",77,[[["appservice",3]]]],[11,"error_response","guard::errors","",27,[[],["httpresponse",3]]],[11,"status_code","","",27,[[],["statuscode",3]]],[11,"initialize","guard","",41,[[]]],[11,"initialize","","",42,[[]]],[11,"initialize","","",43,[[]]],[11,"initialize","","",44,[[]]],[11,"initialize","","",45,[[]]],[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","",36,[[],["renderresult",6]]],[11,"render_once_to","","",36,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::auth::register","",37,[[],["renderresult",6]]],[11,"render_once_to","","",37,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::panel::sitekey::add","",38,[[],["renderresult",6]]],[11,"render_once_to","","",38,[[["buffer",3]],[["result",4],["rendererror",4]]]],[11,"render_once","guard::templates::panel","",39,[[],["renderresult",6]]],[11,"render_once_to","","",39,[[["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,"FileMap"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"CheckLoginMiddleware"],[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"],[3,"CheckLogin"]]},\ +"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,"confirm_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],[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],["result",4],["healthbuildererror",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,[[["str",15],["data",3]]]],[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,"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,"PasswordsDontMatch","","",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,[[["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]]]],[3,"FileMap","","",null,null],[12,"files","","",35,null],[11,"new","","",35,[[]]],[11,"get","","",35,[[["str",15]],[["option",4],["str",15]]]],[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","","",36,null],[12,"title","","",36,null],[3,"login","","",null,null],[0,"register","guard::templates::auth","",null,null],[3,"IndexPage","guard::templates::auth::register","",null,null],[12,"name","","",37,null],[12,"title","","",37,null],[3,"join","","",null,null],[0,"panel","guard::templates","",null,null],[0,"sitekey","guard::templates::panel","",null,null],[0,"add","guard::templates::panel::sitekey","",null,null],[3,"IndexPage","guard::templates::panel::sitekey::add","",null,null],[12,"name","","",38,null],[12,"title","","",38,null],[12,"levels","","",38,null],[12,"form_title","","",38,null],[12,"form_description","","",38,null],[17,"TITLE","","",null,null],[3,"add_sitekey","","",null,null],[3,"IndexPage","guard::templates::panel","",null,null],[12,"name","","",39,null],[12,"title","","",39,null],[17,"TITLE","","",null,null],[3,"panel","","",null,null],[5,"services","guard::templates","",null,[[["serviceconfig",3]]]],[0,"middleware","guard","",null,null],[0,"auth","guard::middleware","",null,null],[3,"CheckLogin","guard::middleware::auth","",null,null],[17,"LOGIN_ROUTE","","",null,null],[3,"CheckLoginMiddleware","","",null,null],[12,"service","","",40,null],[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,"CheckLogin","","",null,null],[3,"SETTINGS","","",null,null],[12,"__private_field","","",41,null],[3,"S","","",null,null],[12,"__private_field","","",42,null],[3,"FILES","","",null,null],[12,"__private_field","","",43,null],[3,"JS","","",null,null],[12,"__private_field","","",44,null],[3,"CSS","","",null,null],[12,"__private_field","","",45,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","","",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","","",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","","",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","","",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","","",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","","",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","","",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","","",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","","",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::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","","",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","","",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","","",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","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","","",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","","",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","","",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","","",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","","",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","","",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::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","","",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","","",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","","",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::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","","",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::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","","",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","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","","",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","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","","",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","","",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","","",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::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","","",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","","",35,[[]]],[11,"into","","",35,[[]]],[11,"borrow","","",35,[[]]],[11,"borrow_mut","","",35,[[]]],[11,"try_from","","",35,[[],["result",4]]],[11,"try_into","","",35,[[],["result",4]]],[11,"type_id","","",35,[[],["typeid",3]]],[11,"vzip","","",35,[[]]],[11,"from","guard::templates::auth::login","",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","","",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::auth::register","",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","","",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::templates::panel::sitekey::add","",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","","",76,[[]]],[11,"into","","",76,[[]]],[11,"borrow","","",76,[[]]],[11,"borrow_mut","","",76,[[]]],[11,"try_from","","",76,[[],["result",4]]],[11,"try_into","","",76,[[],["result",4]]],[11,"type_id","","",76,[[],["typeid",3]]],[11,"vzip","","",76,[[]]],[11,"from","guard::templates::panel","",39,[[]]],[11,"into","","",39,[[]]],[11,"to_owned","","",39,[[]]],[11,"clone_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","","",77,[[]]],[11,"into","","",77,[[]]],[11,"borrow","","",77,[[]]],[11,"borrow_mut","","",77,[[]]],[11,"try_from","","",77,[[],["result",4]]],[11,"try_into","","",77,[[],["result",4]]],[11,"type_id","","",77,[[],["typeid",3]]],[11,"vzip","","",77,[[]]],[11,"from","guard::middleware::auth","",78,[[]]],[11,"into","","",78,[[]]],[11,"borrow","","",78,[[]]],[11,"borrow_mut","","",78,[[]]],[11,"try_from","","",78,[[],["result",4]]],[11,"try_into","","",78,[[],["result",4]]],[11,"type_id","","",78,[[],["typeid",3]]],[11,"vzip","","",78,[[]]],[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,"into_service","","",40,[[]]],[11,"vzip","","",40,[[]]],[11,"from","guard","",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","","",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","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","",36,[[],["indexpage",3]]],[11,"clone","guard::templates::auth::register","",37,[[],["indexpage",3]]],[11,"clone","guard::templates::panel::sitekey::add","",38,[[],["indexpage",3]]],[11,"clone","guard::templates::panel","",39,[[],["indexpage",3]]],[11,"default","guard::api::v1::meta","",16,[[]]],[11,"default","","",19,[[]]],[11,"default","guard::templates::auth::login","",36,[[]]],[11,"default","guard::templates::auth::register","",37,[[]]],[11,"default","guard::templates::panel::sitekey::add","",38,[[]]],[11,"default","guard::templates::panel","",39,[[]]],[11,"eq","guard::errors","",27,[[["serviceerror",4]],["bool",15]]],[11,"ne","","",27,[[["serviceerror",4]],["bool",15]]],[11,"deref","guard","",41,[[],["settings",3]]],[11,"deref","","",42,[[],["string",3]]],[11,"deref","","",43,[[],["filemap",3]]],[11,"deref","","",44,[[],["str",15]]],[11,"deref","","",45,[[],["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,"poll_ready","guard::middleware::auth","",40,[[["context",3]],[["result",4],["poll",4]]]],[11,"call","","",40,[[["servicerequest",3]]]],[11,"new_transform","","",78,[[]]],[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","",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","","",53,[[["appservice",3]]]],[11,"register","","",54,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::duration","",55,[[["appservice",3]]]],[11,"register","","",56,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::levels","",57,[[["appservice",3]]]],[11,"register","","",58,[[["appservice",3]]]],[11,"register","","",59,[[["appservice",3]]]],[11,"register","","",60,[[["appservice",3]]]],[11,"register","guard::api::v1::mcaptcha::mcaptcha","",61,[[["appservice",3]]]],[11,"register","","",62,[[["appservice",3]]]],[11,"register","","",63,[[["appservice",3]]]],[11,"register","","",64,[[["appservice",3]]]],[11,"register","guard::api::v1::meta","",65,[[["appservice",3]]]],[11,"register","","",66,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::get_config","",67,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_pow","",68,[[["appservice",3]]]],[11,"register","guard::api::v1::pow::verify_token","",69,[[["appservice",3]]]],[11,"register","guard::docs","",70,[[["appservice",3]]]],[11,"register","","",71,[[["appservice",3]]]],[11,"register","","",72,[[["appservice",3]]]],[11,"register","guard::static_assets","",73,[[["appservice",3]]]],[11,"register","guard::templates::auth::login","",74,[[["appservice",3]]]],[11,"register","guard::templates::auth::register","",75,[[["appservice",3]]]],[11,"register","guard::templates::panel::sitekey::add","",76,[[["appservice",3]]]],[11,"register","guard::templates::panel","",77,[[["appservice",3]]]],[11,"error_response","guard::errors","",27,[[],["httpresponse",3]]],[11,"status_code","","",27,[[],["statuscode",3]]],[11,"initialize","guard","",41,[[]]],[11,"initialize","","",42,[[]]],[11,"initialize","","",43,[[]]],[11,"initialize","","",44,[[]]],[11,"initialize","","",45,[[]]],[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","",36,[[],["renderresult",6]]],[11,"render_once_to","","",36,[[["buffer",3]],[["rendererror",4],["result",4]]]],[11,"render_once","guard::templates::auth::register","",37,[[],["renderresult",6]]],[11,"render_once_to","","",37,[[["buffer",3]],[["rendererror",4],["result",4]]]],[11,"render_once","guard::templates::panel::sitekey::add","",38,[[],["renderresult",6]]],[11,"render_once_to","","",38,[[["buffer",3]],[["rendererror",4],["result",4]]]],[11,"render_once","guard::templates::panel","",39,[[],["renderresult",6]]],[11,"render_once_to","","",39,[[["buffer",3]],[["rendererror",4],["result",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,"FileMap"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"IndexPage"],[3,"CheckLoginMiddleware"],[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"],[3,"CheckLogin"]]},\ "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 434dffca..f4fb4e95 100644 --- a/src/guard/api/v1/auth.rs.html +++ b/src/guard/api/v1/auth.rs.html @@ -346,7 +346,6 @@ 343 344 345 -346/* * Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net> @@ -381,6 +380,7 @@ pub struct Register { pub username: String, pub password: String, + pub confirm_password: String, pub email: Option<String>, } @@ -403,14 +403,12 @@ if !crate::SETTINGS.server.allow_registration { Err(ServiceError::ClosedForRegistration)? } + + if &payload.password != &payload.confirm_password { + return Err(ServiceError::PasswordsDontMatch); + } let username = data.creds.username(&payload.username)?; let hash = data.creds.password(&payload.password)?; - // let payload = payload.into_inner(); - // let email = payload.email.clone(); - // if payload.email.is_some() { - // let email = email.clone().unwrap(); - // data.creds.email(Some(&email))?; - // } if let Some(email) = &payload.email { data.creds.email(&email)?; diff --git a/src/guard/errors.rs.html b/src/guard/errors.rs.html index 922f99e7..01396a25 100644 --- a/src/guard/errors.rs.html +++ b/src/guard/errors.rs.html @@ -191,6 +191,9 @@ 188 189 190 +191 +192 +193
/* * Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net> @@ -264,6 +267,8 @@ PasswordTooShort, #[display(fmt = "Username too long")] PasswordTooLong, + #[display(fmt = "Passwords don't match")] + PasswordsDontMatch, /// when the a username is already taken #[display(fmt = "Username not available")] @@ -315,6 +320,7 @@ ServiceError::PasswordTooShort => StatusCode::BAD_REQUEST, ServiceError::PasswordTooLong => StatusCode::BAD_REQUEST, + ServiceError::PasswordsDontMatch => StatusCode::BAD_REQUEST, ServiceError::UsernameTaken => StatusCode::BAD_REQUEST, ServiceError::EmailTaken => StatusCode::BAD_REQUEST, @@ -358,8 +364,8 @@ } } +#[cfg(not(tarpaulin_include))] impl From<CaptchaError> for ServiceError { - #[cfg(not(tarpaulin_include))] fn from(e: CaptchaError) -> ServiceError { ServiceError::CaptchaError(e) }