diff --git a/guard/all.html b/guard/all.html index 9f52090c0127e25050b28096b65245219f613c41..e7458a89317cbbefcd1c739086d41a893ab30719 100644 --- a/guard/all.html +++ b/guard/all.html @@ -3,4 +3,4 @@

[] - List of all items

Structs

Enums

Functions

Typedefs

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

Structs

Enums

Functions

Typedefs

\ No newline at end of file diff --git a/guard/api/index.html b/guard/api/index.html new file mode 100644 index 0000000000000000000000000000000000000000..6e3586ce56d9c4b1bef93382f7ca01114d8c8762 --- /dev/null +++ b/guard/api/index.html @@ -0,0 +1,5 @@ +guard::api - Rust + +

[][src]Module guard::api

Modules

+
v1
\ No newline at end of file diff --git a/guard/api/sidebar-items.js b/guard/api/sidebar-items.js new file mode 100644 index 0000000000000000000000000000000000000000..fabe6839767f07e74e904e993d6dd29a6d6496ee --- /dev/null +++ b/guard/api/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"mod":[["v1",""]]}); \ No newline at end of file diff --git a/guard/api/v1/auth/fn.is_authenticated.html b/guard/api/v1/auth/fn.is_authenticated.html new file mode 100644 index 0000000000000000000000000000000000000000..402e8df613abaa760706c735a050d5ace27871d7 --- /dev/null +++ b/guard/api/v1/auth/fn.is_authenticated.html @@ -0,0 +1,4 @@ +guard::api::v1::auth::is_authenticated - Rust + +

[][src]Function guard::api::v1::auth::is_authenticated

fn is_authenticated(id: &Identity) -> Result<bool, ServiceError>
\ No newline at end of file diff --git a/guard/api/v1/auth/index.html b/guard/api/v1/auth/index.html new file mode 100644 index 0000000000000000000000000000000000000000..affc19a1b35501a1f24df7db60c774acee2a8b1f --- /dev/null +++ b/guard/api/v1/auth/index.html @@ -0,0 +1,6 @@ +guard::api::v1::auth - Rust + +

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

Structs

+
Login
Password
Register
SomeData
signin
signout
signup

Functions

+
is_authenticated
\ No newline at end of file diff --git a/guard/api/v1/auth/sidebar-items.js b/guard/api/v1/auth/sidebar-items.js new file mode 100644 index 0000000000000000000000000000000000000000..f0a1ad1406340bbebc97e162cafc201ce4ee78eb --- /dev/null +++ b/guard/api/v1/auth/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"fn":[["is_authenticated",""]],"struct":[["Login",""],["Password",""],["Register",""],["SomeData",""],["signin",""],["signout",""],["signup",""]]}); \ No newline at end of file diff --git a/guard/api/v1/auth/struct.Login.html b/guard/api/v1/auth/struct.Login.html new file mode 100644 index 0000000000000000000000000000000000000000..f4a0e9007fb9a1585771f496a352c917c1518ac4 --- /dev/null +++ b/guard/api/v1/auth/struct.Login.html @@ -0,0 +1,124 @@ +guard::api::v1::auth::Login - Rust + +

[][src]Struct guard::api::v1::auth::Login

pub struct Login {
+    pub username: String,
+    pub password: String,
+}

+ Fields

username: Stringpassword: String

Trait Implementations

impl Clone for Login[src]

impl Debug for Login[src]

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

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

\ No newline at end of file diff --git a/guard/api/v1/auth/struct.Password.html b/guard/api/v1/auth/struct.Password.html new file mode 100644 index 0000000000000000000000000000000000000000..171f1393cf5bba4c6fffff8cc07f34f1b3e55b7c --- /dev/null +++ b/guard/api/v1/auth/struct.Password.html @@ -0,0 +1,114 @@ +guard::api::v1::auth::Password - Rust + +

[][src]Struct guard::api::v1::auth::Password

struct Password {
+    password: String,
+}

+ Fields

password: String

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

\ No newline at end of file diff --git a/guard/api/v1/auth/struct.Register.html b/guard/api/v1/auth/struct.Register.html new file mode 100644 index 0000000000000000000000000000000000000000..b3f32dd59aed79f81c3aecffb34cbbfe8364f2cf --- /dev/null +++ b/guard/api/v1/auth/struct.Register.html @@ -0,0 +1,125 @@ +guard::api::v1::auth::Register - Rust + +

[][src]Struct guard::api::v1::auth::Register

pub struct Register {
+    pub username: String,
+    pub password: String,
+    pub email: String,
+}

+ Fields

username: Stringpassword: Stringemail: String

Trait Implementations

impl Clone for Register[src]

impl Debug for Register[src]

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

impl Serialize for Register[src]

Auto Trait Implementations

impl RefUnwindSafe for Register[src]

impl Send for Register[src]

impl Sync for Register[src]

impl Unpin for Register[src]

impl UnwindSafe for Register[src]

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

\ No newline at end of file diff --git a/guard/api/v1/auth/struct.SomeData.html b/guard/api/v1/auth/struct.SomeData.html new file mode 100644 index 0000000000000000000000000000000000000000..47aeef0dd781bd030546e192a0e8282a7841cddd --- /dev/null +++ b/guard/api/v1/auth/struct.SomeData.html @@ -0,0 +1,123 @@ +guard::api::v1::auth::SomeData - Rust + +

[][src]Struct guard::api::v1::auth::SomeData

pub struct SomeData {
+    pub a: String,
+}

+ Fields

a: String

Trait Implementations

impl Clone for SomeData[src]

impl Debug for SomeData[src]

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

impl Serialize for SomeData[src]

Auto Trait Implementations

impl RefUnwindSafe for SomeData[src]

impl Send for SomeData[src]

impl Sync for SomeData[src]

impl Unpin for SomeData[src]

impl UnwindSafe for SomeData[src]

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

\ No newline at end of file diff --git a/guard/api/v1/auth/struct.signin.html b/guard/api/v1/auth/struct.signin.html new file mode 100644 index 0000000000000000000000000000000000000000..d4ca6e4b8dd04e60ae93633466484f34dc2bfef6 --- /dev/null +++ b/guard/api/v1/auth/struct.signin.html @@ -0,0 +1,111 @@ +guard::api::v1::auth::signin - Rust + +

[][src]Struct guard::api::v1::auth::signin

pub struct signin;

Trait Implementations

impl HttpServiceFactory for signin[src]

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
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

\ No newline at end of file diff --git a/guard/api/v1/auth/struct.signout.html b/guard/api/v1/auth/struct.signout.html new file mode 100644 index 0000000000000000000000000000000000000000..88917410773b8540ea7604a685182ac6b2f2b5be --- /dev/null +++ b/guard/api/v1/auth/struct.signout.html @@ -0,0 +1,111 @@ +guard::api::v1::auth::signout - Rust + +

[][src]Struct guard::api::v1::auth::signout

pub struct signout;

Trait Implementations

impl HttpServiceFactory for signout[src]

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
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

\ No newline at end of file diff --git a/guard/api/v1/auth/struct.signup.html b/guard/api/v1/auth/struct.signup.html new file mode 100644 index 0000000000000000000000000000000000000000..c28d532e369e1e8e0c447a5d431d4817a7fcecc0 --- /dev/null +++ b/guard/api/v1/auth/struct.signup.html @@ -0,0 +1,111 @@ +guard::api::v1::auth::signup - Rust + +

[][src]Struct guard::api::v1::auth::signup

pub struct signup;

Trait Implementations

impl HttpServiceFactory for signup[src]

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
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

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

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

pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/guard/api/v1/index.html b/guard/api/v1/index.html new file mode 100644 index 0000000000000000000000000000000000000000..907ba278c4f1b3c9af48af2dc2514a630740e1fb --- /dev/null +++ b/guard/api/v1/index.html @@ -0,0 +1,6 @@ +guard::api::v1 - Rust + +

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

Modules

+
auth

Functions

+
services
\ No newline at end of file diff --git a/guard/api/v1/sidebar-items.js b/guard/api/v1/sidebar-items.js new file mode 100644 index 0000000000000000000000000000000000000000..33859e4b5ce46ec073c1067207b6d1e25bf1e4ae --- /dev/null +++ b/guard/api/v1/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"fn":[["services",""]],"mod":[["auth",""]]}); \ No newline at end of file diff --git a/guard/data/index.html b/guard/data/index.html index b68476e4291505c5b8e18f8d9509921fd24b7a2b..7ce5534f06d4427cc234699a49547e96c567ca34 100644 --- a/guard/data/index.html +++ b/guard/data/index.html @@ -1,5 +1,5 @@ guard::data - Rust

[][src]Module guard::data

Structs

+ Change settings

[][src]Module guard::data

Structs

Data
\ No newline at end of file diff --git a/guard/data/struct.Data.html b/guard/data/struct.Data.html index 07792f3adae1e83532e9445e657c40040efd3784..2df10f5e0e734a3e3ca7bcddc6ae1ceef6839cfa 100644 --- a/guard/data/struct.Data.html +++ b/guard/data/struct.Data.html @@ -1,11 +1,12 @@ guard::data::Data - Rust -

[][src]Struct guard::data::Data

pub struct Data {
+

[][src]Struct guard::data::Data

pub struct Data {
     pub db: PgPool,
     pub creds: Config,
+    pub captcha: System<HashCache>,
 }

- Fields

db: PgPoolcreds: Config

Implementations

impl Data[src]

pub async fn new() -> Self[src]

Trait Implementations

impl Clone for Data[src]