From bc26980e67e70c45c62f0af78036d3f638803344 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Fri, 11 Nov 2022 10:30:30 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=203a961?= =?UTF-8?q?bc52417edcf907a64c80b3be82a5b565184=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/api/v1/account/index.html | 2 +- pages/api/v1/account/struct.delete_account.html | 2 +- pages/api/v1/account/struct.email_exists.html | 2 +- pages/api/v1/account/struct.set_email.html | 4 ++-- .../api/v1/account/struct.update_user_password.html | 2 +- pages/api/v1/account/struct.username_exists.html | 2 +- pages/api/v1/auth/index.html | 2 +- pages/api/v1/auth/struct.login.html | 2 +- pages/api/v1/auth/struct.signout.html | 2 +- pages/deploy/fn.services.html | 2 +- pages/deploy/index.html | 2 +- pages/deploy/struct.DeployInfo.html | 6 +++--- pages/deploy/struct.DeploySecret.html | 6 +++--- pages/deploy/struct.deploy_info.html | 2 +- pages/meta/fn.services.html | 2 +- pages/meta/index.html | 2 +- pages/meta/struct.Health.html | 4 ++-- pages/meta/struct.health.html | 4 ++-- pages/pages/auth/login/fn.services.html | 2 +- pages/pages/auth/login/index.html | 2 +- pages/pages/auth/login/struct.login_submit.html | 2 +- pages/pages/auth/register/fn.services.html | 2 +- pages/pages/auth/register/index.html | 2 +- .../pages/auth/register/struct.register_submit.html | 2 +- pages/pages/dash/home/constant.DASH_HOME.html | 2 +- pages/pages/dash/home/fn.services.html | 2 +- pages/pages/dash/home/index.html | 2 +- pages/pages/dash/home/struct.Home.html | 4 ++-- pages/pages/dash/home/struct.get_home.html | 2 +- pages/pages/errors/trait.CtxError.html | 2 +- pages/pages/fn.services.html | 2 +- pages/pages/index.html | 2 +- pages/serve/fn.services.html | 2 +- pages/serve/index.html | 2 +- src/pages/api/v1/account/mod.rs.html | 12 ++++++++++++ src/pages/api/v1/auth.rs.html | 6 ++++++ src/pages/deploy.rs.html | 6 ++++-- src/pages/meta.rs.html | 4 ++++ src/pages/pages/auth/login.rs.html | 4 ++++ src/pages/pages/auth/mod.rs.html | 2 +- src/pages/pages/auth/register.rs.html | 4 ++++ src/pages/pages/dash/home.rs.html | 4 +--- src/pages/pages/mod.rs.html | 2 ++ src/pages/serve.rs.html | 2 ++ 44 files changed, 82 insertions(+), 48 deletions(-) diff --git a/pages/api/v1/account/index.html b/pages/api/v1/account/index.html index 7827d4c..f26d775 100644 --- a/pages/api/v1/account/index.html +++ b/pages/api/v1/account/index.html @@ -1 +1 @@ -pages::api::v1::account - Rust
\ No newline at end of file +pages::api::v1::account - Rust
\ No newline at end of file diff --git a/pages/api/v1/account/struct.delete_account.html b/pages/api/v1/account/struct.delete_account.html index 980e1be..c39e512 100644 --- a/pages/api/v1/account/struct.delete_account.html +++ b/pages/api/v1/account/struct.delete_account.html @@ -1,4 +1,4 @@ -delete_account in pages::api::v1::account - Rust
pub struct delete_account;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+delete_account in pages::api::v1::account - Rust
pub struct delete_account;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/api/v1/account/struct.email_exists.html b/pages/api/v1/account/struct.email_exists.html index e8fd959..1765ff1 100644 --- a/pages/api/v1/account/struct.email_exists.html +++ b/pages/api/v1/account/struct.email_exists.html @@ -1,4 +1,4 @@ -email_exists in pages::api::v1::account - Rust
pub struct email_exists;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+email_exists in pages::api::v1::account - Rust
pub struct email_exists;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/api/v1/account/struct.set_email.html b/pages/api/v1/account/struct.set_email.html index 6211a7c..8b90da3 100644 --- a/pages/api/v1/account/struct.set_email.html +++ b/pages/api/v1/account/struct.set_email.html @@ -1,5 +1,5 @@ -set_email in pages::api::v1::account - Rust
pub struct set_email;
Expand description

update email

-

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+set_email in pages::api::v1::account - Rust
pub struct set_email;
Expand description

update email

+

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/api/v1/account/struct.update_user_password.html b/pages/api/v1/account/struct.update_user_password.html index 740baa3..0e361f2 100644 --- a/pages/api/v1/account/struct.update_user_password.html +++ b/pages/api/v1/account/struct.update_user_password.html @@ -1,4 +1,4 @@ -update_user_password in pages::api::v1::account - Rust
pub struct update_user_password;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+update_user_password in pages::api::v1::account - Rust
pub struct update_user_password;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/api/v1/account/struct.username_exists.html b/pages/api/v1/account/struct.username_exists.html index 5c68338..ab3e656 100644 --- a/pages/api/v1/account/struct.username_exists.html +++ b/pages/api/v1/account/struct.username_exists.html @@ -1,4 +1,4 @@ -username_exists in pages::api::v1::account - Rust
pub struct username_exists;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+username_exists in pages::api::v1::account - Rust
pub struct username_exists;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/api/v1/auth/index.html b/pages/api/v1/auth/index.html index 8c875e9..17beb15 100644 --- a/pages/api/v1/auth/index.html +++ b/pages/api/v1/auth/index.html @@ -1 +1 @@ -pages::api::v1::auth - Rust
\ No newline at end of file +pages::api::v1::auth - Rust
\ No newline at end of file diff --git a/pages/api/v1/auth/struct.login.html b/pages/api/v1/auth/struct.login.html index cae0a0f..e2d5427 100644 --- a/pages/api/v1/auth/struct.login.html +++ b/pages/api/v1/auth/struct.login.html @@ -1,4 +1,4 @@ -login in pages::api::v1::auth - Rust
pub struct login;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+login in pages::api::v1::auth - Rust
pub struct login;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/api/v1/auth/struct.signout.html b/pages/api/v1/auth/struct.signout.html index 21a4e9a..c13b301 100644 --- a/pages/api/v1/auth/struct.signout.html +++ b/pages/api/v1/auth/struct.signout.html @@ -1,4 +1,4 @@ -signout in pages::api::v1::auth - Rust
pub struct signout;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+signout in pages::api::v1::auth - Rust
pub struct signout;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/deploy/fn.services.html b/pages/deploy/fn.services.html index 277414f..efa7c13 100644 --- a/pages/deploy/fn.services.html +++ b/pages/deploy/fn.services.html @@ -1 +1 @@ -services in pages::deploy - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::deploy - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/deploy/index.html b/pages/deploy/index.html index 25b6e56..770a1fb 100644 --- a/pages/deploy/index.html +++ b/pages/deploy/index.html @@ -1 +1 @@ -pages::deploy - Rust
\ No newline at end of file +pages::deploy - Rust
\ No newline at end of file diff --git a/pages/deploy/struct.DeployInfo.html b/pages/deploy/struct.DeployInfo.html index 1c2caa1..1dd19e1 100644 --- a/pages/deploy/struct.DeployInfo.html +++ b/pages/deploy/struct.DeployInfo.html @@ -1,10 +1,10 @@ -DeployInfo in pages::deploy - Rust
pub struct DeployInfo {
+DeployInfo in pages::deploy - Rust
pub struct DeployInfo {
     pub head: String,
     pub remote: String,
     pub commit: String,
-}

Fields

head: Stringremote: Stringcommit: String

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used +}

Fields

head: Stringremote: Stringcommit: String

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/deploy/struct.DeploySecret.html b/pages/deploy/struct.DeploySecret.html index 6247c0f..273f33e 100644 --- a/pages/deploy/struct.DeploySecret.html +++ b/pages/deploy/struct.DeploySecret.html @@ -1,8 +1,8 @@ -DeploySecret in pages::deploy - Rust
pub struct DeploySecret {
+DeploySecret in pages::deploy - Rust
pub struct DeploySecret {
     pub secret: String,
-}

Fields

secret: String

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used +}

Fields

secret: String

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/deploy/struct.deploy_info.html b/pages/deploy/struct.deploy_info.html index c1b2f65..a486651 100644 --- a/pages/deploy/struct.deploy_info.html +++ b/pages/deploy/struct.deploy_info.html @@ -1,4 +1,4 @@ -deploy_info in pages::deploy - Rust
pub struct deploy_info;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+deploy_info in pages::deploy - Rust
pub struct deploy_info;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/meta/fn.services.html b/pages/meta/fn.services.html index e3dd9f7..734b12e 100644 --- a/pages/meta/fn.services.html +++ b/pages/meta/fn.services.html @@ -1 +1 @@ -services in pages::meta - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::meta - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/meta/index.html b/pages/meta/index.html index dd9992a..7377b70 100644 --- a/pages/meta/index.html +++ b/pages/meta/index.html @@ -1 +1 @@ -pages::meta - Rust

Modules

Structs

Health check return datatype
emits build details of the binary
checks all components of the system

Functions

\ No newline at end of file +pages::meta - Rust

Modules

Structs

Health check return datatype
emits build details of the binary
checks all components of the system

Functions

\ No newline at end of file diff --git a/pages/meta/struct.Health.html b/pages/meta/struct.Health.html index 0b04c24..1cfe9ee 100644 --- a/pages/meta/struct.Health.html +++ b/pages/meta/struct.Health.html @@ -1,7 +1,7 @@ -Health in pages::meta - Rust
pub struct Health {
+Health in pages::meta - Rust
pub struct Health {
     db: bool,
 }
Expand description

Health check return datatype

-

Fields

db: bool

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Fields

db: bool

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/meta/struct.health.html b/pages/meta/struct.health.html index 84ead39..2dd54fe 100644 --- a/pages/meta/struct.health.html +++ b/pages/meta/struct.health.html @@ -1,5 +1,5 @@ -health in pages::meta - Rust
pub struct health;
Expand description

checks all components of the system

-

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+health in pages::meta - Rust
pub struct health;
Expand description

checks all components of the system

+

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/pages/auth/login/fn.services.html b/pages/pages/auth/login/fn.services.html index 8d06917..15483d9 100644 --- a/pages/pages/auth/login/fn.services.html +++ b/pages/pages/auth/login/fn.services.html @@ -1 +1 @@ -services in pages::pages::auth::login - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages::auth::login - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/auth/login/index.html b/pages/pages/auth/login/index.html index 7585cb7..cd84474 100644 --- a/pages/pages/auth/login/index.html +++ b/pages/pages/auth/login/index.html @@ -1 +1 @@ -pages::pages::auth::login - Rust
\ No newline at end of file +pages::pages::auth::login - Rust
\ No newline at end of file diff --git a/pages/pages/auth/login/struct.login_submit.html b/pages/pages/auth/login/struct.login_submit.html index a8356a3..91f83f6 100644 --- a/pages/pages/auth/login/struct.login_submit.html +++ b/pages/pages/auth/login/struct.login_submit.html @@ -1,4 +1,4 @@ -login_submit in pages::pages::auth::login - Rust
pub struct login_submit;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+login_submit in pages::pages::auth::login - Rust
pub struct login_submit;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/pages/auth/register/fn.services.html b/pages/pages/auth/register/fn.services.html index a52033b..45be724 100644 --- a/pages/pages/auth/register/fn.services.html +++ b/pages/pages/auth/register/fn.services.html @@ -1 +1 @@ -services in pages::pages::auth::register - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages::auth::register - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/auth/register/index.html b/pages/pages/auth/register/index.html index 773de22..c6c6ef4 100644 --- a/pages/pages/auth/register/index.html +++ b/pages/pages/auth/register/index.html @@ -1 +1 @@ -pages::pages::auth::register - Rust
\ No newline at end of file +pages::pages::auth::register - Rust
\ No newline at end of file diff --git a/pages/pages/auth/register/struct.register_submit.html b/pages/pages/auth/register/struct.register_submit.html index 8b120a3..7052b71 100644 --- a/pages/pages/auth/register/struct.register_submit.html +++ b/pages/pages/auth/register/struct.register_submit.html @@ -1,4 +1,4 @@ -register_submit in pages::pages::auth::register - Rust
pub struct register_submit;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+register_submit in pages::pages::auth::register - Rust
pub struct register_submit;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/pages/dash/home/constant.DASH_HOME.html b/pages/pages/dash/home/constant.DASH_HOME.html index d6fbe65..9a04c47 100644 --- a/pages/pages/dash/home/constant.DASH_HOME.html +++ b/pages/pages/dash/home/constant.DASH_HOME.html @@ -1 +1 @@ -DASH_HOME in pages::pages::dash::home - Rust
pub const DASH_HOME: TemplateFile;
\ No newline at end of file +DASH_HOME in pages::pages::dash::home - Rust
pub const DASH_HOME: TemplateFile;
\ No newline at end of file diff --git a/pages/pages/dash/home/fn.services.html b/pages/pages/dash/home/fn.services.html index fc05f06..b854485 100644 --- a/pages/pages/dash/home/fn.services.html +++ b/pages/pages/dash/home/fn.services.html @@ -1 +1 @@ -services in pages::pages::dash::home - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages::dash::home - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/dash/home/index.html b/pages/pages/dash/home/index.html index 81f2488..4afaa8f 100644 --- a/pages/pages/dash/home/index.html +++ b/pages/pages/dash/home/index.html @@ -1 +1 @@ -pages::pages::dash::home - Rust
\ No newline at end of file +pages::pages::dash::home - Rust
\ No newline at end of file diff --git a/pages/pages/dash/home/struct.Home.html b/pages/pages/dash/home/struct.Home.html index f1695c6..9972f78 100644 --- a/pages/pages/dash/home/struct.Home.html +++ b/pages/pages/dash/home/struct.Home.html @@ -1,6 +1,6 @@ -Home in pages::pages::dash::home - Rust
pub struct Home {
+Home in pages::pages::dash::home - Rust
pub struct Home {
     ctx: RefCell<Context>,
-}

Fields

ctx: RefCell<Context>

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+}

Fields

ctx: RefCell<Context>

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/pages/dash/home/struct.get_home.html b/pages/pages/dash/home/struct.get_home.html index 0197ff1..adfed83 100644 --- a/pages/pages/dash/home/struct.get_home.html +++ b/pages/pages/dash/home/struct.get_home.html @@ -1,4 +1,4 @@ -get_home in pages::pages::dash::home - Rust
pub struct get_home;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+get_home in pages::pages::dash::home - Rust
pub struct get_home;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

diff --git a/pages/pages/errors/trait.CtxError.html b/pages/pages/errors/trait.CtxError.html index 835261e..4adc8a8 100644 --- a/pages/pages/errors/trait.CtxError.html +++ b/pages/pages/errors/trait.CtxError.html @@ -1,4 +1,4 @@ CtxError in pages::pages::errors - Rust
pub trait CtxError {
     fn with_error(&self, e: &ReadableError) -> String;
 }
Expand description

Render template with error context

-

Required Methods

Implementors

\ No newline at end of file +

Required Methods

Implementors

\ No newline at end of file diff --git a/pages/pages/fn.services.html b/pages/pages/fn.services.html index 49b5e75..0ccb7f0 100644 --- a/pages/pages/fn.services.html +++ b/pages/pages/fn.services.html @@ -1 +1 @@ -services in pages::pages - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/index.html b/pages/pages/index.html index 8908a22..f354a18 100644 --- a/pages/pages/index.html +++ b/pages/pages/index.html @@ -1 +1 @@ -pages::pages - Rust
\ No newline at end of file +pages::pages - Rust
\ No newline at end of file diff --git a/pages/serve/fn.services.html b/pages/serve/fn.services.html index 8375b92..97db01d 100644 --- a/pages/serve/fn.services.html +++ b/pages/serve/fn.services.html @@ -1 +1 @@ -services in pages::serve - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::serve - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/serve/index.html b/pages/serve/index.html index 4a64de3..ffbc64e 100644 --- a/pages/serve/index.html +++ b/pages/serve/index.html @@ -1 +1 @@ -pages::serve - Rust
\ No newline at end of file +pages::serve - Rust
\ No newline at end of file diff --git a/src/pages/api/v1/account/mod.rs.html b/src/pages/api/v1/account/mod.rs.html index 334f177..0289da7 100644 --- a/src/pages/api/v1/account/mod.rs.html +++ b/src/pages/api/v1/account/mod.rs.html @@ -136,6 +136,12 @@ 136 137 138 +139 +140 +141 +142 +143 +144
/*
  * Copyright (C) 2021  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -196,6 +202,7 @@
     path = "crate::V1_API_ROUTES.account.update_username",
     wrap = "super::get_auth_middleware()"
 )]
+#[tracing::instrument(name = "Update username", skip(ctx, payload, id))]
 async fn set_username(
     id: Identity,
     payload: web::Json<Username>,
@@ -212,6 +219,7 @@
 }
 
 #[actix_web_codegen_const_routes::post(path = "crate::V1_API_ROUTES.account.username_exists")]
+#[tracing::instrument(name = "Check if username exists", skip(ctx, payload))]
 async fn username_exists(
     payload: web::Json<AccountCheckPayload>,
     ctx: AppCtx,
@@ -220,6 +228,7 @@
 }
 
 #[actix_web_codegen_const_routes::post(path = "crate::V1_API_ROUTES.account.email_exists")]
+#[tracing::instrument(name = "Check if email exists", skip(ctx, payload))]
 pub async fn email_exists(
     payload: web::Json<AccountCheckPayload>,
     ctx: AppCtx,
@@ -232,6 +241,7 @@
     path = "crate::V1_API_ROUTES.account.update_email",
     wrap = "super::get_auth_middleware()"
 )]
+#[tracing::instrument(name = "Update email", skip(ctx, payload, id))]
 async fn set_email(
     id: Identity,
     payload: web::Json<Email>,
@@ -246,6 +256,7 @@
     path = "crate::V1_API_ROUTES.account.delete",
     wrap = "super::get_auth_middleware()"
 )]
+#[tracing::instrument(name = "Delete account", skip(ctx, payload, id))]
 async fn delete_account(
     id: Identity,
     payload: web::Json<Password>,
@@ -262,6 +273,7 @@
     path = "crate::V1_API_ROUTES.account.update_password",
     wrap = "super::get_auth_middleware()"
 )]
+#[tracing::instrument(name = "Update user password", skip(ctx, payload, id))]
 async fn update_user_password(
     id: Identity,
     ctx: AppCtx,
diff --git a/src/pages/api/v1/auth.rs.html b/src/pages/api/v1/auth.rs.html
index 0efec18..48fb5de 100644
--- a/src/pages/api/v1/auth.rs.html
+++ b/src/pages/api/v1/auth.rs.html
@@ -69,6 +69,9 @@
 69
 70
 71
+72
+73
+74
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -101,12 +104,14 @@
     cfg.service(signout);
 }
 #[actix_web_codegen_const_routes::post(path = "crate::V1_API_ROUTES.auth.register")]
+#[tracing::instrument(name = "Register new user", skip(ctx, payload))]
 async fn register(payload: web::Json<Register>, ctx: AppCtx) -> ServiceResult<impl Responder> {
     ctx.register(&payload).await?;
     Ok(HttpResponse::Ok())
 }
 
 #[actix_web_codegen_const_routes::post(path = "crate::V1_API_ROUTES.auth.login")]
+#[tracing::instrument(name = "Login", skip(ctx, payload, id, query))]
 async fn login(
     id: Identity,
     payload: web::Json<Login>,
@@ -130,6 +135,7 @@
     path = "crate::V1_API_ROUTES.auth.logout",
     wrap = "super::get_auth_middleware()"
 )]
+#[tracing::instrument(name = "Sign out", skip(id))]
 async fn signout(id: Identity) -> impl Responder {
     use actix_auth_middleware::GetLoginRoute;
 
diff --git a/src/pages/deploy.rs.html b/src/pages/deploy.rs.html
index 980cd46..dc366e3 100644
--- a/src/pages/deploy.rs.html
+++ b/src/pages/deploy.rs.html
@@ -180,6 +180,7 @@
 180
 181
 182
+183
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -227,6 +228,7 @@
 }
 
 #[actix_web_codegen_const_routes::post(path = "crate::V1_API_ROUTES.deploy.update")]
+#[tracing::instrument(name = "Update webpages", skip(payload, ctx))]
 async fn update(payload: web::Json<DeployEvent>, ctx: AppCtx) -> ServiceResult<impl Responder> {
     let payload = payload.into_inner();
     ctx.update_site(&payload.secret, Some(payload.branch))
@@ -263,13 +265,13 @@
 }
 
 #[actix_web_codegen_const_routes::post(path = "crate::V1_API_ROUTES.deploy.info")]
+#[tracing::instrument(name = "Get webpage deploy info", skip(payload, ctx))]
 async fn deploy_info(
     payload: web::Json<DeploySecret>,
     ctx: AppCtx,
 ) -> ServiceResult<impl Responder> {
     if let Ok(page) = ctx.db.get_site_from_secret(&payload.secret).await {
-        //    if let Some(page) = find_page(&payload.secret, &ctx) {
-        let resp = DeployInfo::from_page(&Page::from_site(&ctx.settings, page))?;
+        let resp = DeployInfo::from_page(&Page::from_site(&ctx.settings, page))?;
         Ok(HttpResponse::Ok().json(resp))
     } else {
         Err(ServiceError::WebsiteNotFound)
diff --git a/src/pages/meta.rs.html b/src/pages/meta.rs.html
index c9ada2f..8db200a 100644
--- a/src/pages/meta.rs.html
+++ b/src/pages/meta.rs.html
@@ -110,6 +110,8 @@
 110
 111
 112
+113
+114
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -156,6 +158,7 @@
 
 /// emits build details of the binary
 #[actix_web_codegen_const_routes::get(path = "crate::V1_API_ROUTES.meta.build_details")]
+#[tracing::instrument(name = "Fetch Build Details", skip(ctx))]
 async fn build_details(ctx: AppCtx) -> impl Responder {
     let build = BuildDetails {
         version: VERSION,
@@ -173,6 +176,7 @@
 
 /// checks all components of the system
 #[actix_web_codegen_const_routes::get(path = "crate::V1_API_ROUTES.meta.health")]
+#[tracing::instrument(name = "Fetch health", skip(ctx))]
 async fn health(ctx: crate::AppCtx) -> impl Responder {
     let res = Health {
         db: ctx.db.ping().await,
diff --git a/src/pages/pages/auth/login.rs.html b/src/pages/pages/auth/login.rs.html
index 0b6bdbf..e1767cd 100644
--- a/src/pages/pages/auth/login.rs.html
+++ b/src/pages/pages/auth/login.rs.html
@@ -117,6 +117,8 @@
 117
 118
 119
+120
+121
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -180,6 +182,7 @@
 }
 
 #[actix_web_codegen_const_routes::get(path = "PAGES.auth.login")]
+#[tracing::instrument(name = "Serve login page", skip(ctx))]
 pub async fn get_login(ctx: AppCtx) -> impl Responder {
     let login = Login::page(&ctx.settings);
     let html = ContentType::html();
@@ -192,6 +195,7 @@
 }
 
 #[actix_web_codegen_const_routes::post(path = "PAGES.auth.login")]
+#[tracing::instrument(name = "Web UI Login", skip(id, payload, query, ctx))]
 pub async fn login_submit(
     id: Identity,
     payload: web::Form<LoginPayload>,
diff --git a/src/pages/pages/auth/mod.rs.html b/src/pages/pages/auth/mod.rs.html
index 02a7196..aa3263e 100644
--- a/src/pages/pages/auth/mod.rs.html
+++ b/src/pages/pages/auth/mod.rs.html
@@ -204,13 +204,13 @@
     path = "PAGES.auth.logout",
     wrap = "super::get_auth_middleware()"
 )]
+#[tracing::instrument(name = "Sign out", skip(id))]
 async fn signout(id: Identity) -> impl Responder {
     use actix_auth_middleware::GetLoginRoute;
 
     if id.identity().is_some() {
         id.forget();
     }
-    println!("received signout");
     HttpResponse::Found()
         .append_header((http::header::LOCATION, PAGES.get_login_route(None)))
         .finish()
diff --git a/src/pages/pages/auth/register.rs.html b/src/pages/pages/auth/register.rs.html
index f2bf82a..c2cd709 100644
--- a/src/pages/pages/auth/register.rs.html
+++ b/src/pages/pages/auth/register.rs.html
@@ -105,6 +105,8 @@
 105
 106
 107
+108
+109
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -165,6 +167,7 @@
 }
 
 #[actix_web_codegen_const_routes::get(path = "PAGES.auth.register")]
+#[tracing::instrument(name = "Serve registration page", skip(ctx))]
 pub async fn get_register(ctx: AppCtx) -> impl Responder {
     let login = Register::page(&ctx.settings);
     let html = ContentType::html();
@@ -177,6 +180,7 @@
 }
 
 #[actix_web_codegen_const_routes::post(path = "PAGES.auth.register")]
+#[tracing::instrument(name = "Process web UI registration", skip(ctx))]
 pub async fn register_submit(
     payload: web::Form<RegisterPayload>,
     ctx: AppCtx,
diff --git a/src/pages/pages/dash/home.rs.html b/src/pages/pages/dash/home.rs.html
index 0804e62..8c23688 100644
--- a/src/pages/pages/dash/home.rs.html
+++ b/src/pages/pages/dash/home.rs.html
@@ -71,7 +71,6 @@
 71
 72
 73
-74
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -90,11 +89,9 @@
  */
 use std::cell::RefCell;
 
-use actix_identity::Identity;
 use actix_web::http::header::ContentType;
 use tera::Context;
 
-use crate::api::v1::RedirectQuery;
 use crate::ctx::api::v1::auth::Login as LoginPayload;
 use crate::pages::errors::*;
 use crate::settings::Settings;
@@ -137,6 +134,7 @@
 }
 
 #[actix_web_codegen_const_routes::get(path = "PAGES.dash.home")]
+#[tracing::instrument(name = "Dashboard homepage", skip(ctx))]
 pub async fn get_home(ctx: AppCtx) -> impl Responder {
     let home = Home::page(&ctx.settings);
     let html = ContentType::html();
diff --git a/src/pages/pages/mod.rs.html b/src/pages/pages/mod.rs.html
index 5cb2a11..9db6f1f 100644
--- a/src/pages/pages/mod.rs.html
+++ b/src/pages/pages/mod.rs.html
@@ -237,6 +237,7 @@
 237
 238
 239
+240
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -404,6 +405,7 @@
 }
 
 #[actix_web_codegen_const_routes::get(path = "PAGES.home")]
+#[tracing::instrument(name = "Dashboard homepage", skip(id, ctx))]
 pub async fn home(ctx: AppCtx, id: Identity) -> impl Responder {
     if id.identity().is_none() {
         let home = Home::page(&ctx.settings);
diff --git a/src/pages/serve.rs.html b/src/pages/serve.rs.html
index 3dc0604..1f48913 100644
--- a/src/pages/serve.rs.html
+++ b/src/pages/serve.rs.html
@@ -93,6 +93,7 @@
 93
 94
 95
+96
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -129,6 +130,7 @@
 }
 
 #[actix_web_codegen_const_routes::get(path = "crate::V1_API_ROUTES.serve.catch_all")]
+#[tracing::instrument(name = "Serve webpages", skip(req, ctx))]
 async fn index(req: HttpRequest, ctx: AppCtx) -> ServiceResult<impl Responder> {
     let c = req.connection_info();
     let mut host = c.host();