diff --git a/guard/all.html b/guard/all.html index 33ad7bab..ca282175 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

Statics

\ No newline at end of file diff --git a/guard/api/v1/fn.services.html b/guard/api/v1/fn.services.html index 0d3f2f89..57aa8f19 100644 --- a/guard/api/v1/fn.services.html +++ b/guard/api/v1/fn.services.html @@ -1,4 +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 + Change settings

[][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 index a00eca0e..1818411b 100644 --- a/guard/api/v1/index.html +++ b/guard/api/v1/index.html @@ -1,6 +1,6 @@ guard::api::v1 - Rust

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

Modules

-
auth
mcaptcha

Functions

+ Change settings

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

Modules

+
auth
mcaptcha
meta

Functions

services
\ No newline at end of file diff --git a/guard/api/v1/meta/index.html b/guard/api/v1/meta/index.html new file mode 100644 index 00000000..bb178587 --- /dev/null +++ b/guard/api/v1/meta/index.html @@ -0,0 +1,7 @@ +guard::api::v1::meta - Rust + +

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

Structs

+
Health

Health check return datatype

+
HealthBuilder

Builder for Health.

+
build_details
health
\ No newline at end of file diff --git a/guard/api/v1/meta/sidebar-items.js b/guard/api/v1/meta/sidebar-items.js new file mode 100644 index 00000000..6af96b55 --- /dev/null +++ b/guard/api/v1/meta/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["Health","Health check return datatype"],["HealthBuilder","Builder for `Health`."],["build_details",""],["health",""]]}); \ No newline at end of file diff --git a/guard/api/v1/meta/struct.Health.html b/guard/api/v1/meta/struct.Health.html new file mode 100644 index 00000000..8e435d8a --- /dev/null +++ b/guard/api/v1/meta/struct.Health.html @@ -0,0 +1,124 @@ +guard::api::v1::meta::Health - Rust + +

[][src]Struct guard::api::v1::meta::Health

pub struct Health {
+    db: bool,
+}

Health check return datatype

+

+ Fields

db: bool

Trait Implementations

impl Clone for Health[src]

impl Debug for Health[src]

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

impl Serialize for Health[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

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

impl<T> FmtForward for T

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> Tap for T

impl<T> Tap for T

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

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

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

+

impl<T> TryConv for T

impl<T> TryConv for T

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

type Error = Infallible

The type returned in the event of a conversion error.

+

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

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

The type returned in the event of a conversion error.

+

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

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

[][src]Struct guard::api::v1::meta::HealthBuilder

pub struct HealthBuilder {
+    db: Option<bool>,
+}

Builder for Health.

+

+ Fields

db: Option<bool>

Implementations

impl HealthBuilder[src]

pub fn db(&mut self, value: bool) -> &mut Self[src]

pub fn build(&self) -> Result<Health, String>[src]

Builds a new Health.

+

Errors

+

If a required field has not been initialized.

+

Trait Implementations

impl Clone for HealthBuilder[src]

impl Default for HealthBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> 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/meta/struct.build_details.html b/guard/api/v1/meta/struct.build_details.html new file mode 100644 index 00000000..6ed2227b --- /dev/null +++ b/guard/api/v1/meta/struct.build_details.html @@ -0,0 +1,111 @@ +guard::api::v1::meta::build_details - Rust + +

[][src]Struct guard::api::v1::meta::build_details

pub struct build_details;

Trait Implementations

impl HttpServiceFactory for build_details[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> 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/meta/struct.health.html b/guard/api/v1/meta/struct.health.html new file mode 100644 index 00000000..afbf5fbd --- /dev/null +++ b/guard/api/v1/meta/struct.health.html @@ -0,0 +1,111 @@ +guard::api::v1::meta::health - Rust + +

[][src]Struct guard::api::v1::meta::health

pub struct health;

Trait Implementations

impl HttpServiceFactory for health[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> 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/sidebar-items.js b/guard/api/v1/sidebar-items.js index 076e3c3d..0867586e 100644 --- a/guard/api/v1/sidebar-items.js +++ b/guard/api/v1/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["services",""]],"mod":[["auth",""],["mcaptcha",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["services",""]],"mod":[["auth",""],["mcaptcha",""],["meta",""]]}); \ No newline at end of file diff --git a/guard/fn.get_identity_service.html b/guard/fn.get_identity_service.html index f8bc084a..505afa8c 100644 --- a/guard/fn.get_identity_service.html +++ b/guard/fn.get_identity_service.html @@ -1,4 +1,4 @@ guard::get_identity_service - Rust

[][src]Function guard::get_identity_service

pub fn get_identity_service() -> IdentityService<CookieIdentityPolicy>
\ No newline at end of file + Change settings

[][src]Function guard::get_identity_service

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

[][src]Function guard::get_json_err

pub fn get_json_err() -> JsonConfig
\ No newline at end of file + Change settings

[][src]Function guard::get_json_err

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

[][src]Function guard::main

pub(crate) fn main() -> Result<()>
\ No newline at end of file + Change settings

[][src]Function guard::main

pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/guard/index.html b/guard/index.html index 701b0e50..8e6b399a 100644 --- a/guard/index.html +++ b/guard/index.html @@ -1,7 +1,8 @@ guard - Rust -

[][src]Crate guard

Modules

+

[][src]Crate guard

Modules

api
data
errors
settings

Structs

-
Data
SETTINGS
Settings

Functions

+
Data
GIT_COMMIT_HASH
SETTINGS
Settings

Statics

+
PKG_DESCRIPTION
PKG_HOMEPAGE
PKG_NAME
VERSION

Functions

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

[][src]Static guard::PKG_DESCRIPTION

pub static PKG_DESCRIPTION: &str
\ No newline at end of file diff --git a/guard/static.PKG_HOMEPAGE.html b/guard/static.PKG_HOMEPAGE.html new file mode 100644 index 00000000..d682441f --- /dev/null +++ b/guard/static.PKG_HOMEPAGE.html @@ -0,0 +1,4 @@ +guard::PKG_HOMEPAGE - Rust + +

[][src]Static guard::PKG_HOMEPAGE

pub static PKG_HOMEPAGE: &str
\ No newline at end of file diff --git a/guard/static.PKG_NAME.html b/guard/static.PKG_NAME.html new file mode 100644 index 00000000..48b6001a --- /dev/null +++ b/guard/static.PKG_NAME.html @@ -0,0 +1,4 @@ +guard::PKG_NAME - Rust + +

[][src]Static guard::PKG_NAME

pub static PKG_NAME: &str
\ No newline at end of file diff --git a/guard/static.VERSION.html b/guard/static.VERSION.html new file mode 100644 index 00000000..749766fb --- /dev/null +++ b/guard/static.VERSION.html @@ -0,0 +1,4 @@ +guard::VERSION - Rust + +

[][src]Static guard::VERSION

pub static VERSION: &str
\ No newline at end of file diff --git a/guard/struct.GIT_COMMIT_HASH.html b/guard/struct.GIT_COMMIT_HASH.html new file mode 100644 index 00000000..5f7a23d4 --- /dev/null +++ b/guard/struct.GIT_COMMIT_HASH.html @@ -0,0 +1,164 @@ +guard::GIT_COMMIT_HASH - Rust + +

[][src]Struct guard::GIT_COMMIT_HASH

pub struct GIT_COMMIT_HASH {
+    __private_field: (),
+}

+ Fields

__private_field: ()

Methods from Deref<Target = String>

pub fn as_str(&self) -> &str1.7.0[src]

Extracts a string slice containing the entire String.

+

Examples

+

Basic usage:

+ +
+let s = String::from("foo");
+
+assert_eq!("foo", s.as_str());
+

pub fn capacity(&self) -> usize1.0.0[src]

Returns this String's capacity, in bytes.

+

Examples

+

Basic usage:

+ +
+let s = String::with_capacity(10);
+
+assert!(s.capacity() >= 10);
+

pub fn as_bytes(&self) -> &[u8]1.0.0[src]

Returns a byte slice of this String's contents.

+

The inverse of this method is from_utf8.

+

Examples

+

Basic usage:

+ +
+let s = String::from("hello");
+
+assert_eq!(&[104, 101, 108, 108, 111], s.as_bytes());
+

pub fn len(&self) -> usize1.0.0[src]

Returns the length of this String, in bytes, not chars or +graphemes. In other words, it may not be what a human considers the +length of the string.

+

Examples

+

Basic usage:

+ +
+let a = String::from("foo");
+assert_eq!(a.len(), 3);
+
+let fancy_f = String::from("ƒoo");
+assert_eq!(fancy_f.len(), 4);
+assert_eq!(fancy_f.chars().count(), 3);
+

pub fn is_empty(&self) -> bool1.0.0[src]

Returns true if this String has a length of zero, and false otherwise.

+

Examples

+

Basic usage:

+ +
+let mut v = String::new();
+assert!(v.is_empty());
+
+v.push('a');
+assert!(!v.is_empty());
+

Trait Implementations

impl Deref for GIT_COMMIT_HASH[src]

type Target = String

The resulting type after dereferencing.

+

impl LazyStatic for GIT_COMMIT_HASH[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> 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/struct.SETTINGS.html b/guard/struct.SETTINGS.html index 2a04bcf2..62d2b3a6 100644 --- a/guard/struct.SETTINGS.html +++ b/guard/struct.SETTINGS.html @@ -1,12 +1,12 @@ guard::SETTINGS - Rust

[][src]Struct guard::SETTINGS

pub struct SETTINGS {
+                Change settings

[][src]Struct guard::SETTINGS

pub struct SETTINGS {
     __private_field: (),
 }

- Fields

__private_field: ()

Methods from Deref<Target = Settings>

Trait Implementations

impl Deref for SETTINGS[src]

type Target = Settings

The resulting type after dereferencing.

-

impl LazyStatic for SETTINGS[src]

Auto Trait Implementations

Blanket Implementations

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