From 27b4893cd82f2856a2ac3d1ac25d96bab09ce6ed Mon Sep 17 00:00:00 2001 From: realaravinth Date: Mon, 10 May 2021 10:14:13 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2091ca0?= =?UTF-8?q?0ea79599f5af279dc042e222d0a9459c4e3=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guard/all.html | 2 +- .../api/v1/account/secret/fn.get_secret.html | 2 +- guard/api/v1/account/secret/fn.services.html | 2 +- .../account/secret/fn.update_user_secret.html | 2 +- guard/api/v1/account/secret/index.html | 2 +- .../mcaptcha/levels/fn.get_levels_util.html | 2 +- guard/api/v1/mcaptcha/levels/index.html | 2 +- guard/api/v1/mcaptcha/mcaptcha/index.html | 2 +- guard/api/v1/notifications/fn.services.html | 2 +- .../get/fn.get_notification.html | 6 + guard/api/v1/notifications/get/index.html | 8 + .../api/v1/notifications/get/sidebar-items.js | 1 + .../get/struct.Notification.html | 120 +++++++ .../get/struct.NotificationResp.html | 122 +++++++ guard/api/v1/notifications/index.html | 4 +- guard/api/v1/notifications/routes/index.html | 2 +- .../routes/struct.Notifications.html | 4 +- guard/api/v1/notifications/sidebar-items.js | 2 +- .../api/v1/pow/get_config/fn.get_config.html | 2 +- .../v1/pow/get_config/fn.init_mcaptcha.html | 2 +- guard/api/v1/pow/get_config/index.html | 2 +- .../get_config/struct.GetConfigPayload.html | 10 +- .../v1/pow/get_config/struct.PoWConfig.html | 10 +- guard/api/v1/pow/verify_pow/index.html | 2 +- guard/api/v1/pow/verify_token/index.html | 2 +- guard/constant.CACHE_AGE.html | 2 +- guard/docs/index.html | 2 +- guard/fn.get_identity_service.html | 2 +- guard/fn.get_json_err.html | 2 +- guard/fn.main.html | 2 +- guard/index.html | 4 +- guard/pages/index.html | 2 +- .../sitekey/list/fn.get_list_sitekeys.html | 2 +- .../panel/sitekey/list/fn.list_sitekeys.html | 2 +- guard/pages/panel/sitekey/list/index.html | 2 +- .../panel/sitekey/list/type.SiteKeys.html | 2 +- guard/sidebar-items.js | 2 +- guard/static.GIT_COMMIT_HASH.html | 2 +- guard/static.OPEN_API_DOC.html | 2 +- guard/static.PKG_DESCRIPTION.html | 2 +- guard/static.PKG_HOMEPAGE.html | 2 +- guard/static.PKG_NAME.html | 2 +- guard/static.VERIFICATION_PATH.html | 5 - guard/static.VERSION.html | 2 +- guard/struct.CSS.html | 8 +- guard/struct.FILES.html | 8 +- guard/struct.JS.html | 8 +- guard/struct.S.html | 8 +- guard/struct.SETTINGS.html | 8 +- implementors/core/convert/trait.From.js | 2 +- implementors/core/marker/trait.Freeze.js | 2 +- implementors/core/marker/trait.Send.js | 2 +- implementors/core/marker/trait.Sync.js | 2 +- implementors/core/marker/trait.Unpin.js | 2 +- implementors/serde/de/trait.Deserialize.js | 2 +- implementors/serde/ser/trait.Serialize.js | 2 +- implementors/std/panic/trait.RefUnwindSafe.js | 2 +- implementors/std/panic/trait.UnwindSafe.js | 2 +- search-index.js | 2 +- source-files.js | 2 +- src/guard/api/v1/account/secret.rs.html | 206 ++++++------ src/guard/api/v1/mcaptcha/levels.rs.html | 10 +- src/guard/api/v1/mcaptcha/mcaptcha.rs.html | 8 +- src/guard/api/v1/notifications/get.rs.html | 301 ++++++++++++++++++ src/guard/api/v1/notifications/mod.rs.html | 18 +- src/guard/api/v1/pow/get_config.rs.html | 6 +- src/guard/api/v1/pow/verify_pow.rs.html | 10 +- src/guard/api/v1/pow/verify_token.rs.html | 4 +- src/guard/docs.rs.html | 10 +- src/guard/main.rs.html | 12 +- src/guard/pages/mod.rs.html | 20 +- src/guard/pages/panel/sitekey/list.rs.html | 8 +- 72 files changed, 833 insertions(+), 202 deletions(-) create mode 100644 guard/api/v1/notifications/get/fn.get_notification.html create mode 100644 guard/api/v1/notifications/get/index.html create mode 100644 guard/api/v1/notifications/get/sidebar-items.js create mode 100644 guard/api/v1/notifications/get/struct.Notification.html create mode 100644 guard/api/v1/notifications/get/struct.NotificationResp.html delete mode 100644 guard/static.VERIFICATION_PATH.html create mode 100644 src/guard/api/v1/notifications/get.rs.html 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]