diff --git a/guard/all.html b/guard/all.html index 9f52090c..e7458a89 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 00000000..6e3586ce --- /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 00000000..fabe6839 --- /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 00000000..402e8df6 --- /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 00000000..affc19a1 --- /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 00000000..f0a1ad14 --- /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 00000000..f4a0e900 --- /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 00000000..171f1393 --- /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 00000000..b3f32dd5 --- /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 00000000..47aeef0d --- /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 00000000..d4ca6e4b --- /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 00000000..88917410 --- /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 00000000..c28d532e --- /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 00000000..3533e72a --- /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 00000000..907ba278 --- /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 00000000..33859e4b --- /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 b68476e4..7ce5534f 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 07792f3a..2df10f5e 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]