diff --git a/guard/all.html b/guard/all.html index 8315d743..0c443145 100644 --- a/guard/all.html +++ b/guard/all.html @@ -3,5 +3,5 @@

List of all items[] -

Structs

Enums

Macros

Functions

Typedefs

Statics

Constants

+

Structs

Enums

Macros

Functions

Typedefs

Statics

Constants

\ No newline at end of file diff --git a/guard/api/v1/account/secret/fn.get_secret.html b/guard/api/v1/account/secret/fn.get_secret.html index 2b05ffc2..55d65220 100644 --- a/guard/api/v1/account/secret/fn.get_secret.html +++ b/guard/api/v1/account/secret/fn.get_secret.html @@ -1,5 +1,5 @@ guard::api::v1::account::secret::get_secret - Rust

Function guard::api::v1::account::secret::get_secret[][src]

async fn get_secret(
    id: Identity,
    data: Data<Data>
) -> Result<impl Responder, ServiceError>
+ Change settings

Function guard::api::v1::account::secret::get_secret[][src]

async fn get_secret(
    id: Identity,
    data: Data<Data>
) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/guard/api/v1/account/secret/fn.services.html b/guard/api/v1/account/secret/fn.services.html index df4f206c..6f6b41ec 100644 --- a/guard/api/v1/account/secret/fn.services.html +++ b/guard/api/v1/account/secret/fn.services.html @@ -1,5 +1,5 @@ guard::api::v1::account::secret::services - Rust

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

pub fn services(cfg: &mut ServiceConfig)
+ Change settings

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

pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/guard/api/v1/account/secret/fn.update_user_secret.html b/guard/api/v1/account/secret/fn.update_user_secret.html index 24ea8d62..58604aee 100644 --- a/guard/api/v1/account/secret/fn.update_user_secret.html +++ b/guard/api/v1/account/secret/fn.update_user_secret.html @@ -1,5 +1,5 @@ guard::api::v1::account::secret::update_user_secret - Rust

Function guard::api::v1::account::secret::update_user_secret[][src]

async fn update_user_secret(
    id: Identity,
    data: Data<Data>
) -> Result<impl Responder, ServiceError>
+ Change settings

Function guard::api::v1::account::secret::update_user_secret[][src]

async fn update_user_secret(
    id: Identity,
    data: Data<Data>
) -> Result<impl Responder, ServiceError>
\ No newline at end of file diff --git a/guard/api/v1/account/secret/index.html b/guard/api/v1/account/secret/index.html index eeae9bc0..9e2a2392 100644 --- a/guard/api/v1/account/secret/index.html +++ b/guard/api/v1/account/secret/index.html @@ -1,7 +1,7 @@ guard::api::v1::account::secret - Rust

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

Structs

+ Change settings

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

Structs

Secret

Functions

get_secret
services
update_user_secret
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/levels/fn.get_levels_util.html b/guard/api/v1/mcaptcha/levels/fn.get_levels_util.html index c66c4606..08981dbf 100644 --- a/guard/api/v1/mcaptcha/levels/fn.get_levels_util.html +++ b/guard/api/v1/mcaptcha/levels/fn.get_levels_util.html @@ -1,5 +1,5 @@ guard::api::v1::mcaptcha::levels::get_levels_util - Rust

Function guard::api::v1::mcaptcha::levels::get_levels_util[][src]

async fn get_levels_util(
    key: &str,
    username: &str,
    data: &Data
) -> Result<Vec<I32Levels>, ServiceError>
+ Change settings

Function guard::api::v1::mcaptcha::levels::get_levels_util[][src]

async fn get_levels_util(
    key: &str,
    username: &str,
    data: &Data
) -> Result<Vec<I32Levels>, ServiceError>
\ No newline at end of file diff --git a/guard/api/v1/mcaptcha/levels/index.html b/guard/api/v1/mcaptcha/levels/index.html index f68e24bd..ae041e43 100644 --- a/guard/api/v1/mcaptcha/levels/index.html +++ b/guard/api/v1/mcaptcha/levels/index.html @@ -1,7 +1,7 @@ guard::api::v1::mcaptcha::levels - Rust

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

Modules

+ Change settings

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

Modules

routes

Structs

AddLevels
I32Levels
Levels
UpdateLevels

Functions

add_levels
delete_levels
get_levels
get_levels_util
services
update_levels
diff --git a/guard/api/v1/mcaptcha/mcaptcha/index.html b/guard/api/v1/mcaptcha/mcaptcha/index.html index a36cffda..52ebd4b2 100644 --- a/guard/api/v1/mcaptcha/mcaptcha/index.html +++ b/guard/api/v1/mcaptcha/mcaptcha/index.html @@ -1,7 +1,7 @@ guard::api::v1::mcaptcha::mcaptcha - Rust

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

Modules

+ Change settings

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

Modules

routes

Structs

MCaptchaDetails
MCaptchaID

Functions

add_mcaptcha_util
delete_mcaptcha
get_token
services
update_token
update_token_helper
diff --git a/guard/api/v1/notifications/fn.services.html b/guard/api/v1/notifications/fn.services.html index ed6c431d..c1201992 100644 --- a/guard/api/v1/notifications/fn.services.html +++ b/guard/api/v1/notifications/fn.services.html @@ -1,5 +1,5 @@ guard::api::v1::notifications::services - Rust

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

pub fn services(cfg: &mut ServiceConfig)
+ Change settings

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

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

Function guard::api::v1::notifications::get::get_notification[][src]

pub async fn get_notification(
    data: Data<Data>,
    id: Identity
) -> Result<impl Responder, ServiceError>

route handler that gets all unread notifications

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

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

Structs

+
Notification
NotificationResp

Functions

+
get_notification

route handler that gets all unread notifications

+
+ \ No newline at end of file diff --git a/guard/api/v1/notifications/get/sidebar-items.js b/guard/api/v1/notifications/get/sidebar-items.js new file mode 100644 index 00000000..e162e0de --- /dev/null +++ b/guard/api/v1/notifications/get/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"fn":[["get_notification","route handler that gets all unread notifications"]],"struct":[["Notification",""],["NotificationResp",""]]}); \ No newline at end of file diff --git a/guard/api/v1/notifications/get/struct.Notification.html b/guard/api/v1/notifications/get/struct.Notification.html new file mode 100644 index 00000000..3106d47a --- /dev/null +++ b/guard/api/v1/notifications/get/struct.Notification.html @@ -0,0 +1,120 @@ +guard::api::v1::notifications::get::Notification - Rust + +

Struct guard::api::v1::notifications::get::Notification[][src]

pub struct Notification {
+    pub name: String,
+    pub heading: String,
+    pub message: String,
+    pub received: OffsetDateTime,
+    pub id: i32,
+}

+ Fields

name: Stringheading: Stringmessage: Stringreceived: OffsetDateTimeid: i32

Trait Implementations

impl From<Notification> for NotificationResp[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/notifications/get/struct.NotificationResp.html b/guard/api/v1/notifications/get/struct.NotificationResp.html new file mode 100644 index 00000000..eff96db7 --- /dev/null +++ b/guard/api/v1/notifications/get/struct.NotificationResp.html @@ -0,0 +1,122 @@ +guard::api::v1::notifications::get::NotificationResp - Rust + +

Struct guard::api::v1::notifications::get::NotificationResp[][src]

pub struct NotificationResp {
+    pub name: String,
+    pub heading: String,
+    pub message: String,
+    pub received: i64,
+    pub id: i32,
+}

+ Fields

name: Stringheading: Stringmessage: Stringreceived: i64id: i32

Trait Implementations

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

impl From<Notification> for NotificationResp[src]

impl Serialize for NotificationResp[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> 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/notifications/index.html b/guard/api/v1/notifications/index.html index 9062cc76..41a766a5 100644 --- a/guard/api/v1/notifications/index.html +++ b/guard/api/v1/notifications/index.html @@ -1,7 +1,7 @@ guard::api::v1::notifications - Rust

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

Modules

-
add
routes

Functions

+ Change settings

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

Modules

+
add
get
routes

Functions

services
\ No newline at end of file diff --git a/guard/api/v1/notifications/routes/index.html b/guard/api/v1/notifications/routes/index.html index 1515dff0..6d843a13 100644 --- a/guard/api/v1/notifications/routes/index.html +++ b/guard/api/v1/notifications/routes/index.html @@ -1,6 +1,6 @@ guard::api::v1::notifications::routes - Rust

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

Structs

+ Change settings

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

Structs

Notifications
\ No newline at end of file diff --git a/guard/api/v1/notifications/routes/struct.Notifications.html b/guard/api/v1/notifications/routes/struct.Notifications.html index f30cf198..d4b5f5a2 100644 --- a/guard/api/v1/notifications/routes/struct.Notifications.html +++ b/guard/api/v1/notifications/routes/struct.Notifications.html @@ -1,12 +1,12 @@ guard::api::v1::notifications::routes::Notifications - Rust

Struct guard::api::v1::notifications::routes::Notifications[][src]

pub struct Notifications {
+                Change settings

Struct guard::api::v1::notifications::routes::Notifications[][src]

pub struct Notifications {
     pub add: &'static str,
     pub mark_read: &'static str,
     pub get: &'static str,
 }

- Fields

add: &'static strmark_read: &'static strget: &'static str

Implementations

impl Notifications[src]

pub const fn new() -> Notifications[src]

Auto Trait Implementations

Blanket Implementations

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