From 741b0ea619cb2deda38d55f600eabf2d6255cfe5 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 7 Sep 2022 09:28:50 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=205978d?= =?UTF-8?q?178bcae7cfda3ace462e4eb9cacb210ff00=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/trait.HttpServiceFactory.js | 2 +- implementors/core/clone/trait.Clone.js | 2 +- implementors/core/cmp/trait.Eq.js | 3 - implementors/core/cmp/trait.PartialEq.js | 2 +- implementors/core/convert/trait.From.js | 2 +- implementors/core/fmt/trait.Debug.js | 2 +- implementors/core/marker/trait.Freeze.js | 2 +- implementors/core/marker/trait.Send.js | 2 +- .../core/marker/trait.StructuralEq.js | 3 - .../core/marker/trait.StructuralPartialEq.js | 2 +- implementors/core/marker/trait.Sync.js | 2 +- implementors/core/marker/trait.Unpin.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- implementors/num_enum/trait.FromPrimitive.js | 3 - .../num_enum/trait.TryFromPrimitive.js | 3 - implementors/serde/de/trait.Deserialize.js | 2 +- implementors/serde/ser/trait.Serialize.js | 2 +- pages/all.html | 2 +- pages/constant.CACHE_AGE.html | 2 +- pages/constant.GIT_COMMIT_HASH.html | 2 +- pages/constant.PKG_DESCRIPTION.html | 2 +- pages/constant.PKG_HOMEPAGE.html | 2 +- pages/constant.PKG_NAME.html | 2 +- pages/constant.V1_API_ROUTES.html | 2 +- pages/constant.VERSION.html | 2 +- pages/ctx/struct.Ctx.html | 16 +- pages/deploy/fn.find_page.html | 2 +- pages/deploy/index.html | 2 +- pages/deploy/routes/struct.Deploy.html | 16 +- pages/deploy/struct.DeployEvent.html | 22 +- pages/deploy/struct.DeployInfo.html | 27 +- pages/deploy/struct.DeploySecret.html | 27 +- pages/deploy/struct.deploy_info.html | 16 +- pages/deploy/struct.update.html | 16 +- pages/errors/enum.ServiceError.html | 18 +- pages/errors/struct.ConfigError.html | 16 +- pages/errors/struct.ErrorToResponse.html | 22 +- pages/errors/struct.FSError.html | 16 +- pages/fn.get_json_err.html | 2 +- pages/fn.main.html | 2 +- pages/fn.services.html | 2 +- pages/git/enum.ContentType.html | 44 -- pages/git/enum.GitFileMode.html | 77 --- pages/git/fn.read_file.html | 14 - pages/git/index.html | 18 - pages/git/sidebar-items.js | 1 - pages/git/struct.FileInfo.html | 43 -- pages/index.html | 4 +- pages/meta/routes/struct.Meta.html | 16 +- pages/meta/struct.BuildDetails.html | 22 +- pages/meta/struct.build_details.html | 16 +- pages/page/index.html | 2 +- pages/page/struct.Page.html | 36 +- pages/routes/constant.ROUTES.html | 2 +- pages/routes/fn.services.html | 2 +- pages/routes/index.html | 2 +- pages/routes/struct.Routes.html | 23 +- pages/serve/fn.find_page.html | 9 - pages/serve/fn.services.html | 9 - pages/serve/index.html | 12 - pages/serve/routes/index.html | 10 - pages/serve/routes/sidebar-items.js | 1 - pages/serve/routes/struct.Serve.html | 31 - pages/serve/sidebar-items.js | 1 - pages/serve/struct.index.html | 29 - pages/settings/index.html | 2 +- pages/settings/struct.Server.html | 27 +- pages/settings/struct.Settings.html | 26 +- pages/sidebar-items.js | 2 +- pages/struct.Settings.html | 26 +- pages/type.AppCtx.html | 2 +- search-index.js | 2 +- source-files.js | 2 +- src/pages/deploy.rs.html | 6 +- src/pages/git.rs.html | 531 ------------------ src/pages/main.rs.html | 4 - src/pages/page.rs.html | 12 +- src/pages/routes.rs.html | 8 - src/pages/serve.rs.html | 179 ------ src/pages/settings.rs.html | 2 - 81 files changed, 247 insertions(+), 1286 deletions(-) delete mode 100644 implementors/core/cmp/trait.Eq.js delete mode 100644 implementors/core/marker/trait.StructuralEq.js delete mode 100644 implementors/num_enum/trait.FromPrimitive.js delete mode 100644 implementors/num_enum/trait.TryFromPrimitive.js delete mode 100644 pages/git/enum.ContentType.html delete mode 100644 pages/git/enum.GitFileMode.html delete mode 100644 pages/git/fn.read_file.html delete mode 100644 pages/git/index.html delete mode 100644 pages/git/sidebar-items.js delete mode 100644 pages/git/struct.FileInfo.html delete mode 100644 pages/serve/fn.find_page.html delete mode 100644 pages/serve/fn.services.html delete mode 100644 pages/serve/index.html delete mode 100644 pages/serve/routes/index.html delete mode 100644 pages/serve/routes/sidebar-items.js delete mode 100644 pages/serve/routes/struct.Serve.html delete mode 100644 pages/serve/sidebar-items.js delete mode 100644 pages/serve/struct.index.html delete mode 100644 src/pages/git.rs.html delete mode 100644 src/pages/serve.rs.html diff --git a/implementors/actix_web/service/trait.HttpServiceFactory.js b/implementors/actix_web/service/trait.HttpServiceFactory.js index 4e95393..2cbab09 100644 --- a/implementors/actix_web/service/trait.HttpServiceFactory.js +++ b/implementors/actix_web/service/trait.HttpServiceFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl HttpServiceFactory for update","synthetic":false,"types":["pages::deploy::update"]},{"text":"impl HttpServiceFactory for deploy_info","synthetic":false,"types":["pages::deploy::deploy_info"]},{"text":"impl HttpServiceFactory for build_details","synthetic":false,"types":["pages::meta::build_details"]},{"text":"impl HttpServiceFactory for index","synthetic":false,"types":["pages::serve::index"]}]; +implementors["pages"] = [{"text":"impl HttpServiceFactory for update","synthetic":false,"types":["pages::deploy::update"]},{"text":"impl HttpServiceFactory for deploy_info","synthetic":false,"types":["pages::deploy::deploy_info"]},{"text":"impl HttpServiceFactory for build_details","synthetic":false,"types":["pages::meta::build_details"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 4512312..a1e6ace 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Clone for Ctx","synthetic":false,"types":["pages::ctx::Ctx"]},{"text":"impl Clone for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl Clone for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Clone for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl Clone for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl Clone for FileInfo","synthetic":false,"types":["pages::git::FileInfo"]},{"text":"impl Clone for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl<'a> Clone for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]},{"text":"impl Clone for Page","synthetic":false,"types":["pages::page::Page"]},{"text":"impl Clone for Server","synthetic":false,"types":["pages::settings::Server"]},{"text":"impl Clone for Settings","synthetic":false,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl Clone for Ctx","synthetic":false,"types":["pages::ctx::Ctx"]},{"text":"impl Clone for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl Clone for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Clone for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl<'a> Clone for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]},{"text":"impl Clone for Page","synthetic":false,"types":["pages::page::Page"]},{"text":"impl Clone for Server","synthetic":false,"types":["pages::settings::Server"]},{"text":"impl Clone for Settings","synthetic":false,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js deleted file mode 100644 index 4985001..0000000 --- a/implementors/core/cmp/trait.Eq.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Eq for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Eq for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl Eq for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl Eq for FileInfo","synthetic":false,"types":["pages::git::FileInfo"]},{"text":"impl Eq for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl Eq for Page","synthetic":false,"types":["pages::page::Page"]}]; -if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index 8d8f599..3918baf 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl PartialEq<DeploySecret> for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl PartialEq<DeployInfo> for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl PartialEq<FSError> for FSError","synthetic":false,"types":["pages::errors::FSError"]},{"text":"impl PartialEq<ConfigError> for ConfigError","synthetic":false,"types":["pages::errors::ConfigError"]},{"text":"impl PartialEq<ServiceError> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl PartialEq<GitFileMode> for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl PartialEq<FileInfo> for FileInfo","synthetic":false,"types":["pages::git::FileInfo"]},{"text":"impl PartialEq<ContentType> for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl PartialEq<Page> for Page","synthetic":false,"types":["pages::page::Page"]}]; +implementors["pages"] = [{"text":"impl PartialEq<DeploySecret> for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl PartialEq<DeployInfo> for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl PartialEq<FSError> for FSError","synthetic":false,"types":["pages::errors::FSError"]},{"text":"impl PartialEq<ConfigError> for ConfigError","synthetic":false,"types":["pages::errors::ConfigError"]},{"text":"impl PartialEq<ServiceError> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl PartialEq<Page> for Page","synthetic":false,"types":["pages::page::Page"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 31d097a..62684e9 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl From<Error> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<ConfigError> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<ParseError> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<Error> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<isize> for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl From<&TreeEntry<'_>> for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl From<TreeEntry<'_>> for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]}]; +implementors["pages"] = [{"text":"impl From<Error> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<ConfigError> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<ParseError> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl From<Error> for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index b2448a7..59ac462 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Debug for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl Debug for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Debug for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl Debug for FSError","synthetic":false,"types":["pages::errors::FSError"]},{"text":"impl Debug for ConfigError","synthetic":false,"types":["pages::errors::ConfigError"]},{"text":"impl Debug for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl Debug for ErrorToResponse","synthetic":false,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Debug for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl Debug for FileInfo","synthetic":false,"types":["pages::git::FileInfo"]},{"text":"impl Debug for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl<'a> Debug for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]},{"text":"impl Debug for Page","synthetic":false,"types":["pages::page::Page"]},{"text":"impl Debug for Server","synthetic":false,"types":["pages::settings::Server"]},{"text":"impl Debug for Settings","synthetic":false,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl Debug for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl Debug for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Debug for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl Debug for FSError","synthetic":false,"types":["pages::errors::FSError"]},{"text":"impl Debug for ConfigError","synthetic":false,"types":["pages::errors::ConfigError"]},{"text":"impl Debug for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl Debug for ErrorToResponse","synthetic":false,"types":["pages::errors::ErrorToResponse"]},{"text":"impl<'a> Debug for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]},{"text":"impl Debug for Page","synthetic":false,"types":["pages::page::Page"]},{"text":"impl Debug for Server","synthetic":false,"types":["pages::settings::Server"]},{"text":"impl Debug for Settings","synthetic":false,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Freeze.js b/implementors/core/marker/trait.Freeze.js index 8f65e78..e86145b 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Freeze for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Freeze for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Freeze for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Freeze for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Freeze for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Freeze for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Freeze for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Freeze for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Freeze for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Freeze for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Freeze for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Freeze for GitFileMode","synthetic":true,"types":["pages::git::GitFileMode"]},{"text":"impl Freeze for FileInfo","synthetic":true,"types":["pages::git::FileInfo"]},{"text":"impl Freeze for ContentType","synthetic":true,"types":["pages::git::ContentType"]},{"text":"impl Freeze for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Freeze for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Freeze for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Freeze for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Freeze for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Freeze for Serve","synthetic":true,"types":["pages::serve::routes::Serve"]},{"text":"impl Freeze for index","synthetic":true,"types":["pages::serve::index"]},{"text":"impl Freeze for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Freeze for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl Freeze for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Freeze for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Freeze for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Freeze for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Freeze for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Freeze for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Freeze for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Freeze for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Freeze for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Freeze for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Freeze for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Freeze for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Freeze for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Freeze for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Freeze for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Freeze for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Freeze for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Freeze for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Send.js b/implementors/core/marker/trait.Send.js index e38dc39..29cf9b5 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Send for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Send for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Send for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Send for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Send for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Send for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Send for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Send for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Send for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Send for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Send for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Send for GitFileMode","synthetic":true,"types":["pages::git::GitFileMode"]},{"text":"impl Send for FileInfo","synthetic":true,"types":["pages::git::FileInfo"]},{"text":"impl Send for ContentType","synthetic":true,"types":["pages::git::ContentType"]},{"text":"impl Send for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Send for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Send for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Send for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Send for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Send for Serve","synthetic":true,"types":["pages::serve::routes::Serve"]},{"text":"impl Send for index","synthetic":true,"types":["pages::serve::index"]},{"text":"impl Send for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Send for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl Send for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Send for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Send for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Send for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Send for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Send for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Send for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Send for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Send for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Send for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Send for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Send for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Send for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Send for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Send for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Send for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Send for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Send for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js deleted file mode 100644 index 3e11d09..0000000 --- a/implementors/core/marker/trait.StructuralEq.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = {}; -implementors["pages"] = [{"text":"impl StructuralEq for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl StructuralEq for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl StructuralEq for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl StructuralEq for FileInfo","synthetic":false,"types":["pages::git::FileInfo"]},{"text":"impl StructuralEq for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl StructuralEq for Page","synthetic":false,"types":["pages::page::Page"]}]; -if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js index 5d1ecca..465fee6 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl StructuralPartialEq for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl StructuralPartialEq for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl StructuralPartialEq for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl StructuralPartialEq for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]},{"text":"impl StructuralPartialEq for FileInfo","synthetic":false,"types":["pages::git::FileInfo"]},{"text":"impl StructuralPartialEq for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl StructuralPartialEq for Page","synthetic":false,"types":["pages::page::Page"]}]; +implementors["pages"] = [{"text":"impl StructuralPartialEq for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl StructuralPartialEq for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl StructuralPartialEq for ServiceError","synthetic":false,"types":["pages::errors::ServiceError"]},{"text":"impl StructuralPartialEq for Page","synthetic":false,"types":["pages::page::Page"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Sync.js b/implementors/core/marker/trait.Sync.js index a866925..0240008 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Sync for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Sync for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Sync for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Sync for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Sync for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Sync for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Sync for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Sync for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Sync for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Sync for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Sync for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Sync for GitFileMode","synthetic":true,"types":["pages::git::GitFileMode"]},{"text":"impl Sync for FileInfo","synthetic":true,"types":["pages::git::FileInfo"]},{"text":"impl Sync for ContentType","synthetic":true,"types":["pages::git::ContentType"]},{"text":"impl Sync for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Sync for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Sync for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Sync for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Sync for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Sync for Serve","synthetic":true,"types":["pages::serve::routes::Serve"]},{"text":"impl Sync for index","synthetic":true,"types":["pages::serve::index"]},{"text":"impl Sync for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Sync for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl Sync for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Sync for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Sync for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Sync for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Sync for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Sync for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Sync for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Sync for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Sync for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Sync for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Sync for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Sync for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Sync for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Sync for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Sync for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Sync for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Sync for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Sync for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Unpin.js b/implementors/core/marker/trait.Unpin.js index e7f7e09..5d67e45 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Unpin for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Unpin for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Unpin for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Unpin for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Unpin for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Unpin for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Unpin for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Unpin for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Unpin for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Unpin for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Unpin for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Unpin for GitFileMode","synthetic":true,"types":["pages::git::GitFileMode"]},{"text":"impl Unpin for FileInfo","synthetic":true,"types":["pages::git::FileInfo"]},{"text":"impl Unpin for ContentType","synthetic":true,"types":["pages::git::ContentType"]},{"text":"impl Unpin for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Unpin for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Unpin for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Unpin for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Unpin for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Unpin for Serve","synthetic":true,"types":["pages::serve::routes::Serve"]},{"text":"impl Unpin for index","synthetic":true,"types":["pages::serve::index"]},{"text":"impl Unpin for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Unpin for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl Unpin for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl Unpin for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl Unpin for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl Unpin for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl Unpin for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl Unpin for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl Unpin for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl Unpin for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl Unpin for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl Unpin for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl Unpin for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Unpin for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> Unpin for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl Unpin for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl Unpin for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl Unpin for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl Unpin for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl Unpin for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 82ec29e..ef02400 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl RefUnwindSafe for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl RefUnwindSafe for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl RefUnwindSafe for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl RefUnwindSafe for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl RefUnwindSafe for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl RefUnwindSafe for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl RefUnwindSafe for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl !RefUnwindSafe for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl !RefUnwindSafe for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl !RefUnwindSafe for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl RefUnwindSafe for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl RefUnwindSafe for GitFileMode","synthetic":true,"types":["pages::git::GitFileMode"]},{"text":"impl RefUnwindSafe for FileInfo","synthetic":true,"types":["pages::git::FileInfo"]},{"text":"impl RefUnwindSafe for ContentType","synthetic":true,"types":["pages::git::ContentType"]},{"text":"impl RefUnwindSafe for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> RefUnwindSafe for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl RefUnwindSafe for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl RefUnwindSafe for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl RefUnwindSafe for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl RefUnwindSafe for Serve","synthetic":true,"types":["pages::serve::routes::Serve"]},{"text":"impl RefUnwindSafe for index","synthetic":true,"types":["pages::serve::index"]},{"text":"impl RefUnwindSafe for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl RefUnwindSafe for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl RefUnwindSafe for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl RefUnwindSafe for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl RefUnwindSafe for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl RefUnwindSafe for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl RefUnwindSafe for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl RefUnwindSafe for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl RefUnwindSafe for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl !RefUnwindSafe for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl !RefUnwindSafe for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl !RefUnwindSafe for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl RefUnwindSafe for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl RefUnwindSafe for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> RefUnwindSafe for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl RefUnwindSafe for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl RefUnwindSafe for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl RefUnwindSafe for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl RefUnwindSafe for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl RefUnwindSafe for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 2a4ea5d..baf9f40 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl UnwindSafe for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl UnwindSafe for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl UnwindSafe for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl UnwindSafe for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl UnwindSafe for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl UnwindSafe for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl UnwindSafe for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl !UnwindSafe for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl !UnwindSafe for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl !UnwindSafe for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl UnwindSafe for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl UnwindSafe for GitFileMode","synthetic":true,"types":["pages::git::GitFileMode"]},{"text":"impl UnwindSafe for FileInfo","synthetic":true,"types":["pages::git::FileInfo"]},{"text":"impl UnwindSafe for ContentType","synthetic":true,"types":["pages::git::ContentType"]},{"text":"impl UnwindSafe for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> UnwindSafe for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl UnwindSafe for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl UnwindSafe for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl UnwindSafe for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl UnwindSafe for Serve","synthetic":true,"types":["pages::serve::routes::Serve"]},{"text":"impl UnwindSafe for index","synthetic":true,"types":["pages::serve::index"]},{"text":"impl UnwindSafe for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl UnwindSafe for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl UnwindSafe for Ctx","synthetic":true,"types":["pages::ctx::Ctx"]},{"text":"impl UnwindSafe for Deploy","synthetic":true,"types":["pages::deploy::routes::Deploy"]},{"text":"impl UnwindSafe for DeployEvent","synthetic":true,"types":["pages::deploy::DeployEvent"]},{"text":"impl UnwindSafe for update","synthetic":true,"types":["pages::deploy::update"]},{"text":"impl UnwindSafe for DeploySecret","synthetic":true,"types":["pages::deploy::DeploySecret"]},{"text":"impl UnwindSafe for DeployInfo","synthetic":true,"types":["pages::deploy::DeployInfo"]},{"text":"impl UnwindSafe for deploy_info","synthetic":true,"types":["pages::deploy::deploy_info"]},{"text":"impl !UnwindSafe for FSError","synthetic":true,"types":["pages::errors::FSError"]},{"text":"impl !UnwindSafe for ConfigError","synthetic":true,"types":["pages::errors::ConfigError"]},{"text":"impl !UnwindSafe for ServiceError","synthetic":true,"types":["pages::errors::ServiceError"]},{"text":"impl UnwindSafe for ErrorToResponse","synthetic":true,"types":["pages::errors::ErrorToResponse"]},{"text":"impl UnwindSafe for Meta","synthetic":true,"types":["pages::meta::routes::Meta"]},{"text":"impl<'a> UnwindSafe for BuildDetails<'a>","synthetic":true,"types":["pages::meta::BuildDetails"]},{"text":"impl UnwindSafe for build_details","synthetic":true,"types":["pages::meta::build_details"]},{"text":"impl UnwindSafe for Page","synthetic":true,"types":["pages::page::Page"]},{"text":"impl UnwindSafe for Routes","synthetic":true,"types":["pages::routes::Routes"]},{"text":"impl UnwindSafe for Server","synthetic":true,"types":["pages::settings::Server"]},{"text":"impl UnwindSafe for Settings","synthetic":true,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/num_enum/trait.FromPrimitive.js b/implementors/num_enum/trait.FromPrimitive.js deleted file mode 100644 index 5c14282..0000000 --- a/implementors/num_enum/trait.FromPrimitive.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = {}; -implementors["pages"] = [{"text":"impl FromPrimitive for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]}]; -if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/num_enum/trait.TryFromPrimitive.js b/implementors/num_enum/trait.TryFromPrimitive.js deleted file mode 100644 index 31013d8..0000000 --- a/implementors/num_enum/trait.TryFromPrimitive.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = {}; -implementors["pages"] = [{"text":"impl TryFromPrimitive for GitFileMode","synthetic":false,"types":["pages::git::GitFileMode"]}]; -if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index 6f489fd..d843033 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl<'de> Deserialize<'de> for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl<'de> Deserialize<'de> for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl<'de> Deserialize<'de> for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl<'de> Deserialize<'de> for ErrorToResponse","synthetic":false,"types":["pages::errors::ErrorToResponse"]},{"text":"impl<'de> Deserialize<'de> for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl<'de: 'a, 'a> Deserialize<'de> for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]},{"text":"impl<'de> Deserialize<'de> for Page","synthetic":false,"types":["pages::page::Page"]},{"text":"impl<'de> Deserialize<'de> for Server","synthetic":false,"types":["pages::settings::Server"]},{"text":"impl<'de> Deserialize<'de> for Settings","synthetic":false,"types":["pages::settings::Settings"]}]; +implementors["pages"] = [{"text":"impl<'de> Deserialize<'de> for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl<'de> Deserialize<'de> for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl<'de> Deserialize<'de> for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl<'de> Deserialize<'de> for ErrorToResponse","synthetic":false,"types":["pages::errors::ErrorToResponse"]},{"text":"impl<'de: 'a, 'a> Deserialize<'de> for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]},{"text":"impl<'de> Deserialize<'de> for Page","synthetic":false,"types":["pages::page::Page"]},{"text":"impl<'de> Deserialize<'de> for Server","synthetic":false,"types":["pages::settings::Server"]},{"text":"impl<'de> Deserialize<'de> for Settings","synthetic":false,"types":["pages::settings::Settings"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index c0db80a..d222e22 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["pages"] = [{"text":"impl Serialize for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl Serialize for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Serialize for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl Serialize for ErrorToResponse","synthetic":false,"types":["pages::errors::ErrorToResponse"]},{"text":"impl Serialize for ContentType","synthetic":false,"types":["pages::git::ContentType"]},{"text":"impl<'a> Serialize for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]}]; +implementors["pages"] = [{"text":"impl Serialize for DeployEvent","synthetic":false,"types":["pages::deploy::DeployEvent"]},{"text":"impl Serialize for DeploySecret","synthetic":false,"types":["pages::deploy::DeploySecret"]},{"text":"impl Serialize for DeployInfo","synthetic":false,"types":["pages::deploy::DeployInfo"]},{"text":"impl Serialize for ErrorToResponse","synthetic":false,"types":["pages::errors::ErrorToResponse"]},{"text":"impl<'a> Serialize for BuildDetails<'a>","synthetic":false,"types":["pages::meta::BuildDetails"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/pages/all.html b/pages/all.html index cf2fb1d..2668d7c 100644 --- a/pages/all.html +++ b/pages/all.html @@ -4,5 +4,5 @@
+

List of all items

Structs

Enums

Functions

Typedefs

Constants

\ No newline at end of file diff --git a/pages/constant.CACHE_AGE.html b/pages/constant.CACHE_AGE.html index 93c4b68..00b8781 100644 --- a/pages/constant.CACHE_AGE.html +++ b/pages/constant.CACHE_AGE.html @@ -5,5 +5,5 @@
-

Constant pages::CACHE_AGE

source · []
pub const CACHE_AGE: u32 = 604800;
+

Constant pages::CACHE_AGE

source · []
pub const CACHE_AGE: u32 = 604800;
\ No newline at end of file diff --git a/pages/constant.GIT_COMMIT_HASH.html b/pages/constant.GIT_COMMIT_HASH.html index d978c27..d0ce2a6 100644 --- a/pages/constant.GIT_COMMIT_HASH.html +++ b/pages/constant.GIT_COMMIT_HASH.html @@ -5,5 +5,5 @@
pub const GIT_COMMIT_HASH: &str = "53bd8c54bba0b2cbc27ad576924d3580fb8d5e1e";
+

Constant pages::GIT_COMMIT_HASH

source · []
pub const GIT_COMMIT_HASH: &str = "5978d178bcae7cfda3ace462e4eb9cacb210ff00";
\ No newline at end of file diff --git a/pages/constant.PKG_DESCRIPTION.html b/pages/constant.PKG_DESCRIPTION.html index 7d1ad7e..bef1969 100644 --- a/pages/constant.PKG_DESCRIPTION.html +++ b/pages/constant.PKG_DESCRIPTION.html @@ -5,5 +5,5 @@
pub const PKG_DESCRIPTION: &str = "";
+

Constant pages::PKG_DESCRIPTION

source · []
pub const PKG_DESCRIPTION: &str = "";
\ No newline at end of file diff --git a/pages/constant.PKG_HOMEPAGE.html b/pages/constant.PKG_HOMEPAGE.html index 4790cf6..32bf8cc 100644 --- a/pages/constant.PKG_HOMEPAGE.html +++ b/pages/constant.PKG_HOMEPAGE.html @@ -5,5 +5,5 @@
pub const PKG_HOMEPAGE: &str = "https://github.com/realaravinth/pages";
+

Constant pages::PKG_HOMEPAGE

source · []
pub const PKG_HOMEPAGE: &str = "https://github.com/realaravinth/pages";
\ No newline at end of file diff --git a/pages/constant.PKG_NAME.html b/pages/constant.PKG_NAME.html index 6a02efb..1ecae2d 100644 --- a/pages/constant.PKG_NAME.html +++ b/pages/constant.PKG_NAME.html @@ -5,5 +5,5 @@
-

Constant pages::PKG_NAME

source · []
pub const PKG_NAME: &str = "pages";
+

Constant pages::PKG_NAME

source · []
pub const PKG_NAME: &str = "pages";
\ No newline at end of file diff --git a/pages/constant.V1_API_ROUTES.html b/pages/constant.V1_API_ROUTES.html index 24848b2..9e6541b 100644 --- a/pages/constant.V1_API_ROUTES.html +++ b/pages/constant.V1_API_ROUTES.html @@ -5,5 +5,5 @@
pub const V1_API_ROUTES: Routes;
+

Constant pages::V1_API_ROUTES

source · []
pub const V1_API_ROUTES: Routes;
\ No newline at end of file diff --git a/pages/constant.VERSION.html b/pages/constant.VERSION.html index 3119789..2566e7b 100644 --- a/pages/constant.VERSION.html +++ b/pages/constant.VERSION.html @@ -5,5 +5,5 @@
-

Constant pages::VERSION

source · []
pub const VERSION: &str = "0.1.0";
+

Constant pages::VERSION

source · []
pub const VERSION: &str = "0.1.0";
\ No newline at end of file diff --git a/pages/ctx/struct.Ctx.html b/pages/ctx/struct.Ctx.html index 6ecc183..7405b90 100644 --- a/pages/ctx/struct.Ctx.html +++ b/pages/ctx/struct.Ctx.html @@ -13,10 +13,10 @@

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -28,9 +28,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/deploy/fn.find_page.html b/pages/deploy/fn.find_page.html index 1ba41fe..6672199 100644 --- a/pages/deploy/fn.find_page.html +++ b/pages/deploy/fn.find_page.html @@ -5,5 +5,5 @@
pub fn find_page<'a>(secret: &str, ctx: &'a AppCtx) -> Option<&'a Page>
+

Function pages::deploy::find_page

source · []
fn find_page<'a>(secret: &str, ctx: &'a AppCtx) -> Option<&'a Page>
\ No newline at end of file diff --git a/pages/deploy/index.html b/pages/deploy/index.html index 62ffe43..54cb2b0 100644 --- a/pages/deploy/index.html +++ b/pages/deploy/index.html @@ -8,5 +8,5 @@

Module pages::deploy

source · []

Modules

Structs

Functions

-
+
find_page 🔒
\ No newline at end of file diff --git a/pages/deploy/routes/struct.Deploy.html b/pages/deploy/routes/struct.Deploy.html index 6be27f2..a866e61 100644 --- a/pages/deploy/routes/struct.Deploy.html +++ b/pages/deploy/routes/struct.Deploy.html @@ -12,10 +12,10 @@

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -24,9 +24,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/deploy/struct.DeployEvent.html b/pages/deploy/struct.DeployEvent.html index 25a87ab..f548e9b 100644 --- a/pages/deploy/struct.DeployEvent.html +++ b/pages/deploy/struct.DeployEvent.html @@ -11,16 +11,16 @@ }

Fields

secret: Stringbranch: 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

-

Serialize this value into the given Serde serializer. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -32,9 +32,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/deploy/struct.DeployInfo.html b/pages/deploy/struct.DeployInfo.html index d489c2d..dd2dcfd 100644 --- a/pages/deploy/struct.DeployInfo.html +++ b/pages/deploy/struct.DeployInfo.html @@ -2,7 +2,7 @@

pub struct DeployInfo {
@@ -12,20 +12,19 @@
 }

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

+

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 !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -37,9 +36,9 @@ by ==.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/deploy/struct.DeploySecret.html b/pages/deploy/struct.DeploySecret.html index 9890b3d..99917df 100644 --- a/pages/deploy/struct.DeploySecret.html +++ b/pages/deploy/struct.DeploySecret.html @@ -2,7 +2,7 @@

pub struct DeploySecret {
@@ -10,20 +10,19 @@
 }

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

+

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 !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -35,9 +34,9 @@ by ==.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/deploy/struct.deploy_info.html b/pages/deploy/struct.deploy_info.html index 8821874..4ac0bb0 100644 --- a/pages/deploy/struct.deploy_info.html +++ b/pages/deploy/struct.deploy_info.html @@ -9,10 +9,10 @@

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -21,9 +21,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/deploy/struct.update.html b/pages/deploy/struct.update.html index 5d982d8..4a87624 100644 --- a/pages/deploy/struct.update.html +++ b/pages/deploy/struct.update.html @@ -9,10 +9,10 @@

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -21,9 +21,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/errors/enum.ServiceError.html b/pages/errors/enum.ServiceError.html index 9ef8a35..88ae7a1 100644 --- a/pages/errors/enum.ServiceError.html +++ b/pages/errors/enum.ServiceError.html @@ -41,15 +41,15 @@ by ==. Read more

This method tests for !=.

Creates full response for error. Read more

-

Returns appropriate status code for error. Read more

+

Returns appropriate status code for error. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -59,9 +59,9 @@ by ==.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/errors/struct.ConfigError.html b/pages/errors/struct.ConfigError.html index 61dc067..355ffac 100644 --- a/pages/errors/struct.ConfigError.html +++ b/pages/errors/struct.ConfigError.html @@ -18,10 +18,10 @@ by ==.

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -31,9 +31,9 @@ by ==.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/errors/struct.ErrorToResponse.html b/pages/errors/struct.ErrorToResponse.html index a8df22d..13757dc 100644 --- a/pages/errors/struct.ErrorToResponse.html +++ b/pages/errors/struct.ErrorToResponse.html @@ -8,16 +8,16 @@

Struct pages::errors::ErrorToResponse

source · []
pub struct ErrorToResponse {
     pub error: String,
 }

Fields

error: String

Trait Implementations

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

+

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -26,9 +26,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/errors/struct.FSError.html b/pages/errors/struct.FSError.html index db42076..936f05e 100644 --- a/pages/errors/struct.FSError.html +++ b/pages/errors/struct.FSError.html @@ -18,10 +18,10 @@ by ==.

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -31,9 +31,9 @@ by ==.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/fn.get_json_err.html b/pages/fn.get_json_err.html index 3e383f9..b555d47 100644 --- a/pages/fn.get_json_err.html +++ b/pages/fn.get_json_err.html @@ -5,5 +5,5 @@
pub fn get_json_err() -> JsonConfig
+

Function pages::get_json_err

source · []
pub fn get_json_err() -> JsonConfig
\ No newline at end of file diff --git a/pages/fn.main.html b/pages/fn.main.html index 4903b27..c553655 100644 --- a/pages/fn.main.html +++ b/pages/fn.main.html @@ -5,5 +5,5 @@
-

Function pages::main

source · []
pub(crate) fn main() -> Result<()>
+

Function pages::main

source · []
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/pages/fn.services.html b/pages/fn.services.html index 2fb2f94..0c34b75 100644 --- a/pages/fn.services.html +++ b/pages/fn.services.html @@ -5,5 +5,5 @@
-

Function pages::services

source · []
pub fn services(cfg: &mut ServiceConfig)
+

Function pages::services

source · []
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/git/enum.ContentType.html b/pages/git/enum.ContentType.html deleted file mode 100644 index 072d3bd..0000000 --- a/pages/git/enum.ContentType.html +++ /dev/null @@ -1,44 +0,0 @@ -ContentType in pages::git - Rust -
pub enum ContentType {
-    Binary(Vec<u8>),
-    Text(String),
-}

Variants

Binary(Vec<u8>)

Text(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 !=.

-

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).

-

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

-

Creates owned data from borrowed data, usually by cloning. Read more

-

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
- \ No newline at end of file diff --git a/pages/git/enum.GitFileMode.html b/pages/git/enum.GitFileMode.html deleted file mode 100644 index efdd73e..0000000 --- a/pages/git/enum.GitFileMode.html +++ /dev/null @@ -1,77 +0,0 @@ -GitFileMode in pages::git - Rust -
#[repr(isize)]
-pub enum GitFileMode {
-    Empty,
-    Regular,
-    Dir,
-    Deprecated,
-    Executable,
-    Symlink,
-    Submodule,
-    Unsupported,
-}
Expand description

A FileMode represents the kind of tree entries used by git. It -resembles regular file systems modes, although FileModes are -considerably simpler (there are not so many), and there are some, -like Submodule that has no file system equivalent.

-

Variants

Empty

Empty is used as the GitFileMode of tree elements when comparing -trees in the following situations:

-
    -
  • the mode of tree elements before their creation.
  • -
  • the mode of tree elements after their deletion.
  • -
  • the mode of unmerged elements when checking the index.
  • -
-

Empty has no file system equivalent. As Empty is the zero value -of GitFileMode

-

Regular

Regular represent non-executable files.

-

Dir

Dir represent a Directory.

-

Deprecated

Deprecated represent non-executable files with the group writable bit set. This mode was -supported by the first versions of git, but it has been deprecated nowadays. This -library(github.com/go-git/go-git uses it, not realaravinth/gitpad at the moment) uses them -internally, so you can read old packfiles, but will treat them as Regulars when interfacing -with the outside world. This is the standard git behaviour.

-

Executable

Executable represents executable files.

-

Symlink represents symbolic links to files.

-

Submodule

Submodule represents git submodules. This mode has no file system -equivalent.

-

Unsupported

Unsupported file mode

-

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

-

Converts to this type from the input type.

-

Converts to this type from the input type.

-

Converts to this type from the input type.

-

This method tests for self and other values to be equal, and is used -by ==. Read more

-

This method tests for !=.

-

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).

-

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

-

Creates owned data from borrowed data, usually by cloning. Read more

-

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
- \ No newline at end of file diff --git a/pages/git/fn.read_file.html b/pages/git/fn.read_file.html deleted file mode 100644 index 185d407..0000000 --- a/pages/git/fn.read_file.html +++ /dev/null @@ -1,14 +0,0 @@ -read_file in pages::git - Rust -
-

Function pages::git::read_file

source · []
pub fn read_file(repo_path: &str, path: &str) -> Result<FileInfo, ServiceError>
Expand description

Please note that this method expects path to not contain any spaces -Use [escape_spaces] before calling this method

-

For example, a read request for “foo bar.md” will fail even if that file is present -in the repository. However, it will succeed if the output of [escape_spaces] is -used in the request.

-
- \ No newline at end of file diff --git a/pages/git/index.html b/pages/git/index.html deleted file mode 100644 index b3e719f..0000000 --- a/pages/git/index.html +++ /dev/null @@ -1,18 +0,0 @@ -pages::git - Rust -
-

Module pages::git

source · []

Structs

-

Enums

-

A FileMode represents the kind of tree entries used by git. It -resembles regular file systems modes, although FileModes are -considerably simpler (there are not so many), and there are some, -like Submodule that has no file system equivalent.

-

Functions

-

Please note that this method expects path to not contain any spaces -Use [escape_spaces] before calling this method

-
- \ No newline at end of file diff --git a/pages/git/sidebar-items.js b/pages/git/sidebar-items.js deleted file mode 100644 index 06fea3f..0000000 --- a/pages/git/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -window.SIDEBAR_ITEMS = {"enum":[["ContentType",""],["GitFileMode","A FileMode represents the kind of tree entries used by git. It resembles regular file systems modes, although FileModes are considerably simpler (there are not so many), and there are some, like Submodule that has no file system equivalent."]],"fn":[["read_file","Please note that this method expects path to not contain any spaces Use [escape_spaces] before calling this method"]],"struct":[["FileInfo",""]]}; \ No newline at end of file diff --git a/pages/git/struct.FileInfo.html b/pages/git/struct.FileInfo.html deleted file mode 100644 index 7376d5d..0000000 --- a/pages/git/struct.FileInfo.html +++ /dev/null @@ -1,43 +0,0 @@ -FileInfo in pages::git - Rust -
-

Struct pages::git::FileInfo

source · []
pub struct FileInfo {
-    pub filename: String,
-    pub content: ContentType,
-    pub mime: MimeGuess,
-}

Fields

filename: Stringcontent: ContentTypemime: MimeGuess

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

-

This method tests for self and other values to be equal, and is used -by ==. Read more

-

This method tests for !=.

-

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).

-

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

-

Creates owned data from borrowed data, usually by cloning. Read more

-

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
- \ No newline at end of file diff --git a/pages/index.html b/pages/index.html index 6d6727d..b7ae970 100644 --- a/pages/index.html +++ b/pages/index.html @@ -5,9 +5,9 @@

Crate pages

-

Crate pages

source · []

Modules

+

Crate pages

source · []

Modules

ctx 🔒
deploy 🔒
errors 🔒

represents all the ways a trait can fail using this crate

-
git 🔒
meta 🔒
page 🔒
routes 🔒
serve 🔒
settings 🔒

Structs

+
meta 🔒
page 🔒
routes 🔒
settings 🔒

Structs

Constants

Functions

Type Definitions

diff --git a/pages/meta/routes/struct.Meta.html b/pages/meta/routes/struct.Meta.html index 5cbc0ef..e94b1d1 100644 --- a/pages/meta/routes/struct.Meta.html +++ b/pages/meta/routes/struct.Meta.html @@ -12,10 +12,10 @@

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -24,9 +24,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/meta/struct.BuildDetails.html b/pages/meta/struct.BuildDetails.html index 4cf5d80..efc0b94 100644 --- a/pages/meta/struct.BuildDetails.html +++ b/pages/meta/struct.BuildDetails.html @@ -12,16 +12,16 @@ }

Fields

version: &'a strgit_commit_hash: &'a strsource_code: &'a str

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

+

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -33,9 +33,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/meta/struct.build_details.html b/pages/meta/struct.build_details.html index 29c3d6a..f7e2f2c 100644 --- a/pages/meta/struct.build_details.html +++ b/pages/meta/struct.build_details.html @@ -10,10 +10,10 @@

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -22,9 +22,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/page/index.html b/pages/page/index.html index a687b7e..2d7ed10 100644 --- a/pages/page/index.html +++ b/pages/page/index.html @@ -5,6 +5,6 @@

Module page

-

Module pages::page

source · []

Structs

+

Module pages::page

source · []

Structs

\ No newline at end of file diff --git a/pages/page/struct.Page.html b/pages/page/struct.Page.html index 7e87d0f..8411768 100644 --- a/pages/page/struct.Page.html +++ b/pages/page/struct.Page.html @@ -2,31 +2,29 @@

-

Struct pages::page::Page

source · []
pub struct Page {
+    

Struct pages::page::Page

source · []
pub struct Page {
     pub secret: String,
     pub repo: String,
     pub path: String,
     pub branch: String,
-    pub domain: String,
-}

Fields

secret: Stringrepo: Stringpath: Stringbranch: Stringdomain: String

Implementations

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

secret: Stringrepo: Stringpath: Stringbranch: 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 +

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 !=.

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

This method tests for !=.

+

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -38,9 +36,9 @@ by ==.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/routes/constant.ROUTES.html b/pages/routes/constant.ROUTES.html index 1c33e20..5a0a572 100644 --- a/pages/routes/constant.ROUTES.html +++ b/pages/routes/constant.ROUTES.html @@ -5,5 +5,5 @@
-

Constant pages::routes::ROUTES

source · []
pub const ROUTES: Routes;
+

Constant pages::routes::ROUTES

source · []
pub const ROUTES: Routes;
\ No newline at end of file diff --git a/pages/routes/fn.services.html b/pages/routes/fn.services.html index fdb3003..53a2249 100644 --- a/pages/routes/fn.services.html +++ b/pages/routes/fn.services.html @@ -5,5 +5,5 @@
-

Function pages::routes::services

source · []
pub fn services(cfg: &mut ServiceConfig)
+

Function pages::routes::services

source · []
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/routes/index.html b/pages/routes/index.html index 09a3817..935461a 100644 --- a/pages/routes/index.html +++ b/pages/routes/index.html @@ -5,7 +5,7 @@

Module routes

Structs

Constants

Functions

diff --git a/pages/routes/struct.Routes.html b/pages/routes/struct.Routes.html index 982e93f..43accff 100644 --- a/pages/routes/struct.Routes.html +++ b/pages/routes/struct.Routes.html @@ -2,21 +2,20 @@

pub struct Routes {
+    

Struct pages::routes::Routes

source · []
pub struct Routes {
     pub meta: Meta,
     pub deploy: Deploy,
-    pub serve: Serve,
-}

Fields

meta: Metadeploy: Deployserve: Serve

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+}

Fields

meta: Metadeploy: Deploy

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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -25,9 +24,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

\ No newline at end of file diff --git a/pages/serve/fn.find_page.html b/pages/serve/fn.find_page.html deleted file mode 100644 index ec6f946..0000000 --- a/pages/serve/fn.find_page.html +++ /dev/null @@ -1,9 +0,0 @@ -find_page in pages::serve - Rust -
-

Function pages::serve::find_page

source · []
pub fn find_page<'a>(domain: &str, ctx: &'a AppCtx) -> Option<&'a Page>
- \ No newline at end of file diff --git a/pages/serve/fn.services.html b/pages/serve/fn.services.html deleted file mode 100644 index 5d94c09..0000000 --- a/pages/serve/fn.services.html +++ /dev/null @@ -1,9 +0,0 @@ -services in pages::serve - Rust -
-

Function pages::serve::services

source · []
pub fn services(cfg: &mut ServiceConfig)
- \ No newline at end of file diff --git a/pages/serve/index.html b/pages/serve/index.html deleted file mode 100644 index b62d7be..0000000 --- a/pages/serve/index.html +++ /dev/null @@ -1,12 +0,0 @@ -pages::serve - Rust -
- \ No newline at end of file diff --git a/pages/serve/routes/index.html b/pages/serve/routes/index.html deleted file mode 100644 index b1eb2de..0000000 --- a/pages/serve/routes/index.html +++ /dev/null @@ -1,10 +0,0 @@ -pages::serve::routes - Rust -
- \ No newline at end of file diff --git a/pages/serve/routes/sidebar-items.js b/pages/serve/routes/sidebar-items.js deleted file mode 100644 index 2c69982..0000000 --- a/pages/serve/routes/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -window.SIDEBAR_ITEMS = {"struct":[["Serve",""]]}; \ No newline at end of file diff --git a/pages/serve/routes/struct.Serve.html b/pages/serve/routes/struct.Serve.html deleted file mode 100644 index bf9dc10..0000000 --- a/pages/serve/routes/struct.Serve.html +++ /dev/null @@ -1,31 +0,0 @@ -Serve in pages::serve::routes - Rust -
pub struct Serve {
-    pub catch_all: &'static str,
-}

Fields

catch_all: &'static str

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).

-

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-

Should always be Self

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
- \ No newline at end of file diff --git a/pages/serve/sidebar-items.js b/pages/serve/sidebar-items.js deleted file mode 100644 index 1a160b2..0000000 --- a/pages/serve/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -window.SIDEBAR_ITEMS = {"fn":[["find_page",""],["services",""]],"mod":[["routes",""]],"struct":[["index",""]]}; \ No newline at end of file diff --git a/pages/serve/struct.index.html b/pages/serve/struct.index.html deleted file mode 100644 index 1dd53a5..0000000 --- a/pages/serve/struct.index.html +++ /dev/null @@ -1,29 +0,0 @@ -index in pages::serve - Rust -
-

Struct pages::serve::index

source · []
pub struct index;

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).

-

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-

Should always be Self

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
- \ No newline at end of file diff --git a/pages/settings/index.html b/pages/settings/index.html index 14b1c93..d41292a 100644 --- a/pages/settings/index.html +++ b/pages/settings/index.html @@ -5,6 +5,6 @@

Module settings

Structs

\ No newline at end of file diff --git a/pages/settings/struct.Server.html b/pages/settings/struct.Server.html index ca31be0..6c2b749 100644 --- a/pages/settings/struct.Server.html +++ b/pages/settings/struct.Server.html @@ -2,26 +2,25 @@

pub struct Server {
+    

Struct pages::settings::Server

source · []
pub struct Server {
     pub port: u32,
     pub ip: String,
     pub workers: Option<usize>,
-    pub domain: String,
-}

Fields

port: u32ip: Stringworkers: Option<usize>domain: String

Implementations

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

port: u32ip: Stringworkers: Option<usize>

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

+

Deserialize this value from the given Serde deserializer. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -33,9 +32,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/settings/struct.Settings.html b/pages/settings/struct.Settings.html index b413eea..91943fa 100644 --- a/pages/settings/struct.Settings.html +++ b/pages/settings/struct.Settings.html @@ -5,22 +5,22 @@

Settings

pub struct Settings {
+    

Struct pages::settings::Settings

source · []
pub struct Settings {
     pub server: Server,
     pub source_code: String,
     pub pages: Vec<Arc<Page>>,
-}

Fields

server: Serversource_code: Stringpages: Vec<Arc<Page>>

Implementations

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

server: Serversource_code: Stringpages: Vec<Arc<Page>>

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

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -32,9 +32,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/sidebar-items.js b/pages/sidebar-items.js index 1b7df3f..beb11d3 100644 --- a/pages/sidebar-items.js +++ b/pages/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":[["CACHE_AGE",""],["GIT_COMMIT_HASH",""],["PKG_DESCRIPTION",""],["PKG_HOMEPAGE",""],["PKG_NAME",""],["V1_API_ROUTES",""],["VERSION",""]],"fn":[["get_json_err",""],["main",""],["services",""]],"mod":[["ctx",""],["deploy",""],["errors","represents all the ways a trait can fail using this crate"],["git",""],["meta",""],["page",""],["routes",""],["serve",""],["settings",""]],"struct":[["Settings",""]],"type":[["AppCtx",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":[["CACHE_AGE",""],["GIT_COMMIT_HASH",""],["PKG_DESCRIPTION",""],["PKG_HOMEPAGE",""],["PKG_NAME",""],["V1_API_ROUTES",""],["VERSION",""]],"fn":[["get_json_err",""],["main",""],["services",""]],"mod":[["ctx",""],["deploy",""],["errors","represents all the ways a trait can fail using this crate"],["meta",""],["page",""],["routes",""],["settings",""]],"struct":[["Settings",""]],"type":[["AppCtx",""]]}; \ No newline at end of file diff --git a/pages/struct.Settings.html b/pages/struct.Settings.html index abc9586..be2f878 100644 --- a/pages/struct.Settings.html +++ b/pages/struct.Settings.html @@ -5,22 +5,22 @@

Settings

-

Struct pages::Settings

source · []
pub struct Settings {
+    

Struct pages::Settings

source · []
pub struct Settings {
     pub server: Server,
     pub source_code: String,
     pub pages: Vec<Arc<Page>>,
-}

Fields

server: Serversource_code: Stringpages: Vec<Arc<Page>>

Implementations

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

server: Serversource_code: Stringpages: Vec<Arc<Page>>

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

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. 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

+

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).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

@@ -32,9 +32,9 @@

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

-

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more

-

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more

-
+

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more

+

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more

+
\ No newline at end of file diff --git a/pages/type.AppCtx.html b/pages/type.AppCtx.html index 8970f87..fe9f519 100644 --- a/pages/type.AppCtx.html +++ b/pages/type.AppCtx.html @@ -5,5 +5,5 @@

AppCtx

-

Type Definition pages::AppCtx

source · []
pub type AppCtx = WebData<Arc<Ctx>>;
+

Type Definition pages::AppCtx

source · []
pub type AppCtx = WebData<Arc<Ctx>>;
\ No newline at end of file diff --git a/search-index.js b/search-index.js index 02681c1..95adc6d 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"pages":{"doc":"","t":[6,17,17,17,17,17,3,17,17,0,0,0,5,0,5,0,0,12,0,0,12,5,0,12,3,11,11,11,11,11,11,11,12,11,11,11,11,11,3,3,3,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,0,12,12,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,12,12,13,13,3,13,13,3,3,13,13,13,13,13,13,4,6,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,4,13,13,13,13,3,4,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,3,11,11,11,11,3,11,11,11,11,11,11,12,11,11,11,0,11,5,12,11,11,11,11,11,11,11,12,11,11,3,11,11,12,11,12,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,17,3,11,11,12,11,11,12,11,12,5,11,11,11,11,11,11,5,11,3,11,11,0,5,11,11,11,11,3,11,11,12,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,12,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,12],"n":["AppCtx","CACHE_AGE","GIT_COMMIT_HASH","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","Settings","V1_API_ROUTES","VERSION","ctx","deploy","errors","get_json_err","git","main","meta","page","pages","routes","serve","server","services","settings","source_code","Ctx","borrow","borrow_mut","clone","clone_into","from","into","new","settings","to_owned","try_from","try_into","type_id","vzip","DeployEvent","DeployInfo","DeploySecret","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","clone","clone","clone","clone_into","clone_into","clone_into","commit","deploy_info","deserialize","deserialize","deserialize","eq","eq","equivalent","equivalent","find_page","fmt","fmt","fmt","from","from","from","from","from","from_page","head","into","into","into","into","into","ne","ne","register","register","remote","routes","secret","secret","serialize","serialize","serialize","services","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","vzip","Deploy","borrow","borrow_mut","from","info","into","new","try_from","try_into","type_id","update","vzip","0","0","BadRequest","BranchNotFound","ConfigError","ConfigError","DuplicateRepositoryURL","ErrorToResponse","FSError","FSError","GitError","InternalServerError","NotAUrl","PathTaken","SecretTaken","ServiceError","ServiceResult","URLTooLong","UnauthorizedOperation","WebsiteNotFound","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deserialize","eq","eq","eq","error","error_response","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","ne","serialize","source","source","source","status_code","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","0","0","0","0","0","0","0","0","0","1","1","1","Binary","ContentType","Deprecated","Dir","Empty","Executable","FileInfo","GitFileMode","Regular","Submodule","Symlink","Text","Unsupported","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","bytes","clone","clone","clone","clone_into","clone_into","clone_into","content","deserialize","eq","eq","eq","equivalent","equivalent","equivalent","filename","fmt","fmt","fmt","from","from","from","from","from","from","from_blob","from_primitive","into","into","into","mime","ne","ne","read_file","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from_primitive","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","0","0","BuildDetails","borrow","borrow","borrow_mut","borrow_mut","build_details","clone","clone_into","deserialize","fmt","from","from","git_commit_hash","into","into","register","routes","serialize","services","source_code","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","version","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","Page","_fetch_remote_branch","borrow","borrow_mut","branch","clone","clone_into","create_repo","deploy_branch","deserialize","domain","eq","equivalent","fast_forward","fetch","fmt","from","get_deploy_branch","get_deploy_commit","get_deploy_remote","into","merge","ne","normal_merge","open_repo","path","repo","secret","to_owned","try_from","try_into","type_id","update","vzip","ROUTES","Routes","borrow","borrow_mut","deploy","from","into","meta","new","serve","services","try_from","try_into","type_id","vzip","borrow","borrow_mut","find_page","from","index","into","register","routes","services","try_from","try_into","type_id","vzip","Serve","borrow","borrow_mut","catch_all","from","into","new","try_from","try_into","type_id","vzip","Server","Settings","borrow","borrow","borrow_mut","borrow_mut","check_url","clone","clone","clone_into","clone_into","deserialize","deserialize","domain","fmt","fmt","from","from","get_ip","init","into","into","ip","new","pages","port","server","source_code","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","workers"],"q":["pages","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx","","","","","","","","","","","","","","pages::deploy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::deploy::routes","","","","","","","","","","","","pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::errors::ServiceError","","","","","","","","","","","","pages::git","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::git::ContentType","","pages::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::meta::routes","","","","","","","","","","","","pages::page","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::routes","","","","","","","","","","","","","","","pages::serve","","","","","","","","","","","","","pages::serve::routes","","","","","","","","","","","pages::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["","","","","","","","","","","","represents all the ways a trait can fail using this crate","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","when the a Repository URL configured for a page is already …","","","","","All non-specific errors are grouped under this category","The value you entered for url is not url“","when the a path configured for a page is already taken","when the a Secret configured for a page is already taken","Error data structure grouping various error subtypes","Generic result data structure","URL too long, maximum length can’t be greater then 2048 …","","website not found","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Deprecated represent non-executable files with the group …","Dir represent a Directory.","Empty is used as the GitFileMode of tree elements when …","Executable represents executable files.","","A FileMode represents the kind of tree entries used by …","Regular represent non-executable files.","Submodule represents git submodules. This mode has no …","Symlink represents symbolic links to files.","","Unsupported file mode","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","Please note that this method expects path to not contain …","","","","","","","","","","","","","","","","","","","","","","","","","emmits build details of the bninary","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,3,4,5,6,7,3,4,5,6,7,3,3,5,6,3,5,6,6,0,3,5,6,5,6,5,6,0,3,5,6,3,4,5,6,7,6,6,3,4,5,6,7,5,6,4,7,6,0,3,5,3,5,6,0,3,5,6,3,4,5,6,7,3,4,5,6,7,3,4,5,6,7,0,3,4,5,6,7,0,8,8,8,8,8,8,8,8,8,8,8,9,10,11,11,0,11,11,0,0,11,11,11,11,11,11,0,0,11,11,11,9,10,11,12,9,10,11,12,12,9,10,11,12,11,9,9,10,10,11,11,12,9,10,11,11,11,11,11,12,9,10,11,12,11,12,9,10,11,11,9,10,11,9,10,11,12,9,10,11,12,9,10,11,12,9,10,11,12,13,14,15,16,17,18,19,20,21,13,14,15,22,0,23,23,23,23,0,0,23,23,23,22,23,23,24,22,23,24,22,22,23,24,22,23,24,22,24,22,23,24,22,23,24,22,24,23,24,22,23,23,23,23,24,22,22,23,23,24,22,24,24,22,0,22,23,24,22,23,24,22,23,23,24,22,23,24,22,23,24,22,25,26,0,27,28,27,28,0,27,27,27,27,27,28,27,27,28,28,0,27,0,27,27,27,28,27,28,27,28,27,27,28,0,29,29,29,29,29,29,29,29,29,29,29,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,0,31,31,31,31,31,31,31,31,0,31,31,31,31,32,32,0,32,0,32,32,0,0,32,32,32,32,0,33,33,33,33,33,33,33,33,33,33,0,0,34,1,34,1,1,34,1,34,1,34,1,34,34,1,34,1,34,1,34,1,34,1,1,34,1,1,34,1,34,1,34,1,34,1,34,1,34],"f":[null,null,null,null,null,null,null,null,null,null,null,null,[[],["jsonconfig",3]],null,[[],["result",6]],null,null,null,null,null,null,[[["serviceconfig",3]]],null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["ctx",3]],["ctx",3]],[[["",0],["",0]]],[[]],[[]],[[["settings",3]],["arc",3,[["ctx",3]]]],null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["deployevent",3]],["deployevent",3]],[[["deploysecret",3]],["deploysecret",3]],[[["deployinfo",3]],["deployinfo",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],null,null,[[],["result",4,[["deployevent",3]]]],[[],["result",4,[["deploysecret",3]]]],[[],["result",4,[["deployinfo",3]]]],[[["deploysecret",3],["deploysecret",3]],["bool",0]],[[["deployinfo",3],["deployinfo",3]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["str",0],["appctx",6]],["option",4,[["page",3]]]],[[["deployevent",3],["formatter",3]],["result",6]],[[["deploysecret",3],["formatter",3]],["result",6]],[[["deployinfo",3],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[["page",3]],["result",4,[["deployinfo",3],["serviceerror",4]]]],null,[[]],[[]],[[]],[[]],[[]],[[["deploysecret",3],["deploysecret",3]],["bool",0]],[[["deployinfo",3],["deployinfo",3]],["bool",0]],[[["update",3],["appservice",3]]],[[["deploy_info",3],["appservice",3]]],null,null,null,null,[[["deployevent",3]],["result",4]],[[["deploysecret",3]],["result",4]],[[["deployinfo",3]],["result",4]],[[["serviceconfig",3]]],[[["",0]]],[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[]],null,[[]],[[],["deploy",3]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[],["result",4,[["errortoresponse",3]]]],[[["fserror",3],["fserror",3]],["bool",0]],[[["configerror",3],["configerror",3]],["bool",0]],[[["serviceerror",4],["serviceerror",4]],["bool",0]],null,[[["serviceerror",4]],["httpresponse",3]],[[["fserror",3],["formatter",3]],["result",6]],[[["fserror",3],["formatter",3]],["result",6]],[[["configerror",3],["formatter",3]],["result",6]],[[["configerror",3],["formatter",3]],["result",6]],[[["serviceerror",4],["formatter",3]],["result",6]],[[["serviceerror",4],["formatter",3]],["result",6]],[[["errortoresponse",3],["formatter",3]],["result",6]],[[]],[[]],[[]],[[["fserrorinner",3]],["serviceerror",4]],[[["configerrorinner",4]],["serviceerror",4]],[[["parseerror",4]],["serviceerror",4]],[[["giterror",3]],["serviceerror",4]],[[]],[[]],[[]],[[]],[[]],[[["serviceerror",4],["serviceerror",4]],["bool",0]],[[["errortoresponse",3]],["result",4]],[[["fserror",3]],["option",4,[["error",8]]]],[[["configerror",3]],["option",4,[["error",8]]]],[[["serviceerror",4]],["option",4,[["error",8]]]],[[["serviceerror",4]],["statuscode",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["contenttype",4]],["vec",3,[["u8",0]]]],[[["gitfilemode",4]],["gitfilemode",4]],[[["fileinfo",3]],["fileinfo",3]],[[["contenttype",4]],["contenttype",4]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],null,[[],["result",4,[["contenttype",4]]]],[[["gitfilemode",4],["gitfilemode",4]],["bool",0]],[[["fileinfo",3],["fileinfo",3]],["bool",0]],[[["contenttype",4],["contenttype",4]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],null,[[["gitfilemode",4],["formatter",3]],["result",6]],[[["fileinfo",3],["formatter",3]],["result",6]],[[["contenttype",4],["formatter",3]],["result",6]],[[]],[[["treeentry",3]],["gitfilemode",4]],[[["treeentry",3]],["gitfilemode",4]],[[["isize",0]],["gitfilemode",4]],[[]],[[]],[[["blob",3]],["contenttype",4]],[[],["gitfilemode",4]],[[]],[[]],[[]],null,[[["fileinfo",3],["fileinfo",3]],["bool",0]],[[["contenttype",4],["contenttype",4]],["bool",0]],[[["str",0],["str",0]],["result",4,[["fileinfo",3],["serviceerror",4]]]],[[["contenttype",4]],["result",4]],[[["",0]]],[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4,[["gitfilemode",4],["tryfromprimitiveerror",3,[["gitfilemode",4]]]]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["builddetails",3]],["builddetails",3]],[[["",0],["",0]]],[[],["result",4,[["builddetails",3]]]],[[["builddetails",3],["formatter",3]],["result",6]],[[]],[[]],null,[[]],[[]],[[["build_details",3],["appservice",3]]],null,[[["builddetails",3]],["result",4]],[[["serviceconfig",3]]],null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,[[]],[[]],null,[[["",0]],["",0]],[[["",0]],["",0]],null,[[]],null,[[]],[[],["meta",3]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,[[["page",3],["repository",3],["str",0]],["result",4,[["serviceerror",4]]]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["page",3]],["page",3]],[[["",0],["",0]]],[[["page",3]],["result",4,[["repository",3],["serviceerror",4]]]],[[["page",3],["repository",3]],["result",4,[["serviceerror",4]]]],[[],["result",4,[["page",3]]]],null,[[["page",3],["page",3]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["repository",3],["reference",3],["annotatedcommit",3]],["result",4,[["serviceerror",4]]]],[[["page",3],["repository",3]],["result",4,[["annotatedcommit",3],["serviceerror",4]]]],[[["page",3],["formatter",3]],["result",6]],[[]],[[["page",3],["repository",3]],["result",4,[["string",3],["serviceerror",4]]]],[[["repository",3]],["result",4,[["oid",3],["serviceerror",4]]]],[[["repository",3]],["result",4,[["remote",3],["serviceerror",4]]]],[[]],[[["page",3],["repository",3],["annotatedcommit",3]],["result",4,[["serviceerror",4]]]],[[["page",3],["page",3]],["bool",0]],[[["repository",3],["annotatedcommit",3],["annotatedcommit",3]],["result",4,[["error",3]]]],[[["page",3]],["result",4,[["repository",3],["serviceerror",4]]]],null,null,null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["page",3]],["result",4,[["serviceerror",4]]]],[[]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],null,[[]],[[]],null,[[],["routes",3]],null,[[["serviceconfig",3]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],[[["",0]],["",0]],[[["",0]],["",0]],[[["str",0],["appctx",6]],["option",4,[["page",3]]]],[[]],null,[[]],[[["index",3],["appservice",3]]],null,[[["serviceconfig",3]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,[[["",0]],["",0]],[[["",0]],["",0]],null,[[]],[[]],[[],["serve",3]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["settings",3]]],[[["server",3]],["server",3]],[[["settings",3]],["settings",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[],["result",4,[["server",3]]]],[[],["result",4,[["settings",3]]]],null,[[["server",3],["formatter",3]],["result",6]],[[["settings",3],["formatter",3]],["result",6]],[[]],[[]],[[["server",3]],["string",3]],[[["settings",3]]],[[]],[[]],null,[[],["result",4,[["settings",3],["serviceerror",4]]]],null,null,null,null,[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],null],"p":[[3,"Settings"],[3,"Ctx"],[3,"DeployEvent"],[3,"update"],[3,"DeploySecret"],[3,"DeployInfo"],[3,"deploy_info"],[3,"Deploy"],[3,"FSError"],[3,"ConfigError"],[4,"ServiceError"],[3,"ErrorToResponse"],[13,"PathTaken"],[13,"SecretTaken"],[13,"DuplicateRepositoryURL"],[13,"FSError"],[13,"UnauthorizedOperation"],[13,"BadRequest"],[13,"ConfigError"],[13,"GitError"],[13,"BranchNotFound"],[4,"ContentType"],[4,"GitFileMode"],[3,"FileInfo"],[13,"Binary"],[13,"Text"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Page"],[3,"Routes"],[3,"index"],[3,"Serve"],[3,"Server"]]}\ +"pages":{"doc":"","t":[6,17,17,17,17,17,3,17,17,0,0,0,5,5,0,0,12,0,12,5,0,12,3,11,11,11,11,11,11,11,12,11,11,11,11,11,3,3,3,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,3,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,12,0,12,12,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,12,12,13,13,3,13,13,3,3,13,13,13,13,13,13,4,6,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,3,11,11,11,11,3,11,11,11,11,11,11,12,11,11,11,0,11,5,12,11,11,11,11,11,11,11,12,11,11,3,11,11,12,11,12,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,17,3,11,11,12,11,11,12,11,5,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,12],"n":["AppCtx","CACHE_AGE","GIT_COMMIT_HASH","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","Settings","V1_API_ROUTES","VERSION","ctx","deploy","errors","get_json_err","main","meta","page","pages","routes","server","services","settings","source_code","Ctx","borrow","borrow_mut","clone","clone_into","from","into","new","settings","to_owned","try_from","try_into","type_id","vzip","DeployEvent","DeployInfo","DeploySecret","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","clone","clone","clone","clone_into","clone_into","clone_into","commit","deploy_info","deserialize","deserialize","deserialize","eq","eq","find_page","fmt","fmt","fmt","from","from","from","from","from","from_page","head","into","into","into","into","into","ne","ne","register","register","remote","routes","secret","secret","serialize","serialize","serialize","services","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","vzip","Deploy","borrow","borrow_mut","from","info","into","new","try_from","try_into","type_id","update","vzip","0","0","BadRequest","BranchNotFound","ConfigError","ConfigError","DuplicateRepositoryURL","ErrorToResponse","FSError","FSError","GitError","InternalServerError","NotAUrl","PathTaken","SecretTaken","ServiceError","ServiceResult","URLTooLong","UnauthorizedOperation","WebsiteNotFound","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deserialize","eq","eq","eq","error","error_response","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","ne","serialize","source","source","source","status_code","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","0","0","0","0","0","0","0","0","0","1","1","1","BuildDetails","borrow","borrow","borrow_mut","borrow_mut","build_details","clone","clone_into","deserialize","fmt","from","from","git_commit_hash","into","into","register","routes","serialize","services","source_code","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","version","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","Page","_fetch_remote_branch","borrow","borrow_mut","branch","clone","clone_into","create_repo","deploy_branch","deserialize","eq","fast_forward","fetch","fmt","from","get_deploy_branch","get_deploy_commit","get_deploy_remote","into","merge","ne","normal_merge","open_repo","path","repo","secret","to_owned","try_from","try_into","type_id","update","vzip","ROUTES","Routes","borrow","borrow_mut","deploy","from","into","meta","new","services","try_from","try_into","type_id","vzip","Server","Settings","borrow","borrow","borrow_mut","borrow_mut","check_url","clone","clone","clone_into","clone_into","deserialize","deserialize","fmt","fmt","from","from","get_ip","init","into","into","ip","new","pages","port","server","source_code","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","workers"],"q":["pages","","","","","","","","","","","","","","","","","","","","","","pages::ctx","","","","","","","","","","","","","","pages::deploy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::deploy::routes","","","","","","","","","","","","pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::errors::ServiceError","","","","","","","","","","","","pages::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::meta::routes","","","","","","","","","","","","pages::page","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::routes","","","","","","","","","","","","","","pages::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["","","","","","","","","","","","represents all the ways a trait can fail using this crate","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","when the a Repository URL configured for a page is already …","","","","","All non-specific errors are grouped under this category","The value you entered for url is not url“","when the a path configured for a page is already taken","when the a Secret configured for a page is already taken","Error data structure grouping various error subtypes","Generic result data structure","URL too long, maximum length can’t be greater then 2048 …","","website not found","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","emmits build details of the bninary","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","",""],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,3,4,5,6,7,3,4,5,6,7,3,3,5,6,3,5,6,6,0,3,5,6,5,6,0,3,5,6,3,4,5,6,7,6,6,3,4,5,6,7,5,6,4,7,6,0,3,5,3,5,6,0,3,5,6,3,4,5,6,7,3,4,5,6,7,3,4,5,6,7,0,3,4,5,6,7,0,8,8,8,8,8,8,8,8,8,8,8,9,10,11,11,0,11,11,0,0,11,11,11,11,11,11,0,0,11,11,11,9,10,11,12,9,10,11,12,12,9,10,11,12,11,9,9,10,10,11,11,12,9,10,11,11,11,11,11,12,9,10,11,12,11,12,9,10,11,11,9,10,11,9,10,11,12,9,10,11,12,9,10,11,12,9,10,11,12,13,14,15,16,17,18,19,20,21,13,14,15,0,22,23,22,23,0,22,22,22,22,22,23,22,22,23,23,0,22,0,22,22,22,23,22,23,22,23,22,22,23,0,24,24,24,24,24,24,24,24,24,24,24,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,26,26,26,26,26,26,26,0,26,26,26,26,0,0,27,1,27,1,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,1,27,1,1,27,1,27,1,27,1,27,1,27,1,27],"f":[null,null,null,null,null,null,null,null,null,null,null,null,[[],["jsonconfig",3]],[[],["result",6]],null,null,null,null,null,[[["serviceconfig",3]]],null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["ctx",3]],["ctx",3]],[[["",0],["",0]]],[[]],[[]],[[["settings",3]],["arc",3,[["ctx",3]]]],null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["deployevent",3]],["deployevent",3]],[[["deploysecret",3]],["deploysecret",3]],[[["deployinfo",3]],["deployinfo",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],null,null,[[],["result",4,[["deployevent",3]]]],[[],["result",4,[["deploysecret",3]]]],[[],["result",4,[["deployinfo",3]]]],[[["deploysecret",3],["deploysecret",3]],["bool",0]],[[["deployinfo",3],["deployinfo",3]],["bool",0]],[[["str",0],["appctx",6]],["option",4,[["page",3]]]],[[["deployevent",3],["formatter",3]],["result",6]],[[["deploysecret",3],["formatter",3]],["result",6]],[[["deployinfo",3],["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[["page",3]],["result",4,[["deployinfo",3],["serviceerror",4]]]],null,[[]],[[]],[[]],[[]],[[]],[[["deploysecret",3],["deploysecret",3]],["bool",0]],[[["deployinfo",3],["deployinfo",3]],["bool",0]],[[["update",3],["appservice",3]]],[[["deploy_info",3],["appservice",3]]],null,null,null,null,[[["deployevent",3]],["result",4]],[[["deploysecret",3]],["result",4]],[[["deployinfo",3]],["result",4]],[[["serviceconfig",3]]],[[["",0]]],[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,[[]],[[]],[[]],[[]],[[]],null,[[["",0]],["",0]],[[["",0]],["",0]],[[]],null,[[]],[[],["deploy",3]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],null,[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[],["result",4,[["errortoresponse",3]]]],[[["fserror",3],["fserror",3]],["bool",0]],[[["configerror",3],["configerror",3]],["bool",0]],[[["serviceerror",4],["serviceerror",4]],["bool",0]],null,[[["serviceerror",4]],["httpresponse",3]],[[["fserror",3],["formatter",3]],["result",6]],[[["fserror",3],["formatter",3]],["result",6]],[[["configerror",3],["formatter",3]],["result",6]],[[["configerror",3],["formatter",3]],["result",6]],[[["serviceerror",4],["formatter",3]],["result",6]],[[["serviceerror",4],["formatter",3]],["result",6]],[[["errortoresponse",3],["formatter",3]],["result",6]],[[]],[[]],[[["parseerror",4]],["serviceerror",4]],[[]],[[["fserrorinner",3]],["serviceerror",4]],[[["giterror",3]],["serviceerror",4]],[[["configerrorinner",4]],["serviceerror",4]],[[]],[[]],[[]],[[]],[[]],[[["serviceerror",4],["serviceerror",4]],["bool",0]],[[["errortoresponse",3]],["result",4]],[[["fserror",3]],["option",4,[["error",8]]]],[[["configerror",3]],["option",4,[["error",8]]]],[[["serviceerror",4]],["option",4,[["error",8]]]],[[["serviceerror",4]],["statuscode",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["builddetails",3]],["builddetails",3]],[[["",0],["",0]]],[[],["result",4,[["builddetails",3]]]],[[["builddetails",3],["formatter",3]],["result",6]],[[]],[[]],null,[[]],[[]],[[["build_details",3],["appservice",3]]],null,[[["builddetails",3]],["result",4]],[[["serviceconfig",3]]],null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,[[]],[[]],null,[[["",0]],["",0]],[[["",0]],["",0]],null,[[]],null,[[]],[[],["meta",3]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,[[["page",3],["repository",3],["str",0]],["result",4,[["serviceerror",4]]]],[[["",0]],["",0]],[[["",0]],["",0]],null,[[["page",3]],["page",3]],[[["",0],["",0]]],[[["page",3]],["result",4,[["repository",3],["serviceerror",4]]]],[[["page",3],["repository",3]],["result",4,[["serviceerror",4]]]],[[],["result",4,[["page",3]]]],[[["page",3],["page",3]],["bool",0]],[[["repository",3],["reference",3],["annotatedcommit",3]],["result",4,[["serviceerror",4]]]],[[["page",3],["repository",3]],["result",4,[["annotatedcommit",3],["serviceerror",4]]]],[[["page",3],["formatter",3]],["result",6]],[[]],[[["page",3],["repository",3]],["result",4,[["string",3],["serviceerror",4]]]],[[["repository",3]],["result",4,[["oid",3],["serviceerror",4]]]],[[["repository",3]],["result",4,[["remote",3],["serviceerror",4]]]],[[]],[[["page",3],["repository",3],["annotatedcommit",3]],["result",4,[["serviceerror",4]]]],[[["page",3],["page",3]],["bool",0]],[[["repository",3],["annotatedcommit",3],["annotatedcommit",3]],["result",4,[["error",3]]]],[[["page",3]],["result",4,[["repository",3],["serviceerror",4]]]],null,null,null,[[["",0]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["page",3]],["result",4,[["serviceerror",4]]]],[[]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],null,[[]],[[]],null,[[],["routes",3]],[[["serviceconfig",3]]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[]],null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["settings",3]]],[[["server",3]],["server",3]],[[["settings",3]],["settings",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[],["result",4,[["server",3]]]],[[],["result",4,[["settings",3]]]],[[["server",3],["formatter",3]],["result",6]],[[["settings",3],["formatter",3]],["result",6]],[[]],[[]],[[["server",3]],["string",3]],[[["settings",3]]],[[]],[[]],null,[[],["result",4,[["settings",3],["serviceerror",4]]]],null,null,null,null,[[["",0]]],[[["",0]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[]],[[]],null],"p":[[3,"Settings"],[3,"Ctx"],[3,"DeployEvent"],[3,"update"],[3,"DeploySecret"],[3,"DeployInfo"],[3,"deploy_info"],[3,"Deploy"],[3,"FSError"],[3,"ConfigError"],[4,"ServiceError"],[3,"ErrorToResponse"],[13,"PathTaken"],[13,"SecretTaken"],[13,"DuplicateRepositoryURL"],[13,"FSError"],[13,"UnauthorizedOperation"],[13,"BadRequest"],[13,"ConfigError"],[13,"GitError"],[13,"BranchNotFound"],[3,"BuildDetails"],[3,"build_details"],[3,"Meta"],[3,"Page"],[3,"Routes"],[3,"Server"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/source-files.js b/source-files.js index 7e38793..04e0b8e 100644 --- a/source-files.js +++ b/source-files.js @@ -1,3 +1,3 @@ var sourcesIndex = {}; -sourcesIndex["pages"] = {"name":"","files":["ctx.rs","deploy.rs","errors.rs","git.rs","main.rs","meta.rs","page.rs","routes.rs","serve.rs","settings.rs"]}; +sourcesIndex["pages"] = {"name":"","files":["ctx.rs","deploy.rs","errors.rs","main.rs","meta.rs","page.rs","routes.rs","settings.rs"]}; createSourceSidebar(); diff --git a/src/pages/deploy.rs.html b/src/pages/deploy.rs.html index 01f838b..b1085c9 100644 --- a/src/pages/deploy.rs.html +++ b/src/pages/deploy.rs.html @@ -241,7 +241,7 @@ pub branch: String, } -pub fn find_page<'a>(secret: &str, ctx: &'a AppCtx) -> Option<&'a Page> { +fn find_page<'a>(secret: &str, ctx: &'a AppCtx) -> Option<&'a Page> { for page in ctx.settings.pages.iter() { if page.secret == secret { return Some(page); @@ -267,12 +267,12 @@ } } -#[derive(Clone, Debug, Eq, PartialEq, Deserialize, Serialize)] +#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] pub struct DeploySecret { pub secret: String, } -#[derive(Clone, Debug, Eq, PartialEq, Deserialize, Serialize)] +#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] pub struct DeployInfo { pub head: String, pub remote: String, diff --git a/src/pages/git.rs.html b/src/pages/git.rs.html deleted file mode 100644 index 5dc9128..0000000 --- a/src/pages/git.rs.html +++ /dev/null @@ -1,531 +0,0 @@ -git.rs - source -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
-166
-167
-168
-169
-170
-171
-172
-173
-174
-175
-176
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
-196
-197
-198
-199
-200
-201
-202
-203
-204
-205
-206
-207
-208
-209
-210
-211
-212
-213
-214
-215
-216
-217
-218
-219
-220
-221
-222
-223
-224
-225
-226
-227
-228
-229
-230
-231
-232
-233
-234
-235
-236
-237
-238
-239
-240
-241
-242
-243
-244
-245
-246
-247
-248
-249
-250
-251
-252
-253
-254
-255
-256
-257
-258
-259
-260
-261
-
/*
- * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <https://www.gnu.org/licenses/>.
- */
-use std::path::Path;
-
-use git2::*;
-use mime_guess::MimeGuess;
-use num_enum::FromPrimitive;
-use serde::{Deserialize, Serialize};
-
-use crate::errors::*;
-
-/// A FileMode represents the kind of tree entries used by git. It
-/// resembles regular file systems modes, although FileModes are
-/// considerably simpler (there are not so many), and there are some,
-/// like Submodule that has no file system equivalent.
-// Adapted from https://github.com/go-git/go-git/blob/master/plumbing/filemode/filemode.go(Apache-2.0 License)
-#[derive(Debug, PartialEq, Eq, Clone, FromPrimitive)]
-#[repr(isize)]
-pub enum GitFileMode {
-    /// Empty is used as the GitFileMode of tree elements when comparing
-    /// trees in the following situations:
-    ///
-    /// - the mode of tree elements before their creation.  
-    /// - the mode of tree elements after their deletion.  
-    /// - the mode of unmerged elements when checking the index.
-    ///
-    /// Empty has no file system equivalent.  As Empty is the zero value
-    /// of [GitFileMode]
-    Empty = 0,
-    /// Regular represent non-executable files.
-    Regular = 0o100644,
-    /// Dir represent a Directory.
-    Dir = 0o40000,
-    /// Deprecated represent non-executable files with the group writable bit set.  This mode was
-    /// supported by the first versions of git, but it has been deprecated nowadays.  This
-    /// library(github.com/go-git/go-git uses it, not realaravinth/gitpad at the moment) uses them
-    /// internally, so you can read old packfiles, but will treat them as Regulars when interfacing
-    /// with the outside world.  This is the standard git behaviour.
-    Deprecated = 0o100664,
-    /// Executable represents executable files.
-    Executable = 0o100755,
-    /// Symlink represents symbolic links to files.
-    Symlink = 0o120000,
-    /// Submodule represents git submodules.  This mode has no file system
-    /// equivalent.
-    Submodule = 0o160000,
-
-    /// Unsupported file mode
-    #[num_enum(default)]
-    Unsupported = -1,
-}
-
-impl From<&'_ TreeEntry<'_>> for GitFileMode {
-    fn from(t: &TreeEntry) -> Self {
-        GitFileMode::from(t.filemode() as isize)
-    }
-}
-
-impl From<TreeEntry<'_>> for GitFileMode {
-    fn from(t: TreeEntry) -> Self {
-        GitFileMode::from(t.filemode() as isize)
-    }
-}
-
-#[derive(Debug, Clone, Eq, PartialEq)]
-pub struct FileInfo {
-    pub filename: String,
-    pub content: ContentType,
-    pub mime: MimeGuess,
-}
-
-#[derive(Serialize, Eq, PartialEq, Clone, Debug, Deserialize)]
-#[serde(rename_all = "lowercase")]
-pub enum ContentType {
-    Binary(Vec<u8>),
-    Text(String),
-}
-
-impl ContentType {
-    pub fn bytes(self) -> Vec<u8> {
-        match self {
-            Self::Text(text) => text.into(),
-            Self::Binary(bin) => bin,
-        }
-    }
-
-    pub fn from_blob(blob: &git2::Blob) -> Self {
-        if blob.is_binary() {
-            Self::Binary(blob.content().to_vec())
-        } else {
-            Self::Text(String::from_utf8_lossy(blob.content()).to_string())
-        }
-    }
-}
-
-/// Please note that this method expects path to not contain any spaces
-/// Use [escape_spaces] before calling this method
-///
-/// For example, a read request for "foo bar.md" will fail even if that file is present
-/// in the repository. However, it will succeed if the output of [escape_spaces] is
-/// used in the request.
-pub fn read_file(repo_path: &str, path: &str) -> ServiceResult<FileInfo> {
-    fn read_file(id: Oid, repo: &git2::Repository) -> ContentType {
-        let blob = repo.find_blob(id).unwrap();
-        ContentType::from_blob(&blob)
-    }
-
-    fn get_index_file(id: Oid, repo: &Repository) -> ContentType {
-        let tree = repo.find_tree(id).unwrap();
-        const INDEX_FILES: [&str; 7] = [
-            "index.html",
-            "index.md",
-            "INDEX.md",
-            "README.md",
-            "README",
-            "readme.txt",
-            "readme",
-        ];
-
-        let content = if let Some(index_file) = tree.iter().find(|x| {
-            if let Some(name) = x.name() {
-                INDEX_FILES.iter().any(|index_name| *index_name == name)
-            } else {
-                false
-            }
-        }) {
-            read_file(index_file.id(), repo)
-        } else {
-            unimplemented!("Index file not found");
-        };
-        content
-    }
-
-    let inner = |repo: &git2::Repository| -> ServiceResult<FileInfo> {
-        let head = repo.head().unwrap();
-        let tree = head.peel_to_tree().unwrap();
-        let mut path = path;
-        if path == "/" {
-            let content = get_index_file(tree.id(), repo);
-            return Ok(FileInfo {
-                filename: "/".into(),
-                content,
-                mime: mime_guess::from_path("index.html"),
-            });
-        }
-        if path.starts_with('/') {
-            path = path.trim_start_matches('/');
-        }
-        let entry = tree.get_path(Path::new(path)).unwrap();
-        //FileType::Dir(items)
-
-        let mode: GitFileMode = entry.clone().into();
-        if let Some(name) = entry.name() {
-            let file = match mode {
-                GitFileMode::Dir => get_index_file(entry.id(), repo),
-                GitFileMode::Submodule => unimplemented!(),
-                GitFileMode::Empty => unimplemented!(),
-                GitFileMode::Deprecated => unimplemented!(),
-                GitFileMode::Unsupported => unimplemented!(),
-                GitFileMode::Symlink => unimplemented!(),
-                GitFileMode::Executable => read_file(entry.id(), repo),
-                GitFileMode::Regular => read_file(entry.id(), repo),
-            };
-            Ok(FileInfo {
-                filename: name.to_string(),
-                mime: mime_guess::from_path(path),
-                content: file,
-            })
-        } else {
-            unimplemented!();
-        }
-    };
-
-    let repo = git2::Repository::open(repo_path).unwrap();
-    inner(&repo)
-}
-
-#[cfg(test)]
-pub mod tests {
-    use super::*;
-
-    const FILE_CONTENT: &str = "foobar";
-
-    fn write_file_util(path: &str) {
-        // TODO change updated in DB
-        let inner = |repo: &mut Repository| -> ServiceResult<()> {
-            let mut tree_builder = match repo.head() {
-                Err(_) => repo.treebuilder(None).unwrap(),
-
-                Ok(h) => repo.treebuilder(Some(&h.peel_to_tree().unwrap())).unwrap(),
-            };
-
-            let odb = repo.odb().unwrap();
-
-            let obj = odb
-                .write(ObjectType::Blob, FILE_CONTENT.as_bytes())
-                .unwrap();
-            tree_builder.insert("README.txt", obj, 0o100644).unwrap();
-            let tree_hash = tree_builder.write().unwrap();
-            let author = Signature::now("librepages", "admin@librepages.org").unwrap();
-            let committer = Signature::now("librepages", "admin@librepages.org").unwrap();
-
-            let commit_tree = repo.find_tree(tree_hash).unwrap();
-            let msg = "";
-            if let Err(e) = repo.head() {
-                if e.code() == ErrorCode::UnbornBranch && e.class() == ErrorClass::Reference {
-                    // fisrt commit ever; set parent commit(s) to empty array
-                    repo.commit(Some("HEAD"), &author, &committer, msg, &commit_tree, &[])
-                        .unwrap();
-                } else {
-                    panic!("{:?}", e);
-                }
-            } else {
-                let head_ref = repo.head().unwrap();
-                let head_commit = head_ref.peel_to_commit().unwrap();
-                repo.commit(
-                    Some("HEAD"),
-                    &author,
-                    &committer,
-                    msg,
-                    &commit_tree,
-                    &[&head_commit],
-                )
-                .unwrap();
-            };
-
-            Ok(())
-        };
-
-        if Repository::open(path).is_err() {
-            let _ = Repository::init(path);
-        }
-        let mut repo = Repository::open(path).unwrap();
-        let _ = inner(&mut repo);
-    }
-
-    #[test]
-    fn test_git_write_read_works() {
-        const PATH: &str = "/tmp/librepges/test_git_write_read_works";
-
-        write_file_util(PATH);
-        let resp = read_file(PATH, "README.txt").unwrap();
-        assert_eq!(resp.filename, "README.txt");
-        assert_eq!(resp.content.bytes(), FILE_CONTENT.as_bytes());
-        assert_eq!(resp.mime.first().unwrap(), "text/plain");
-    }
-}
-
-
- \ No newline at end of file diff --git a/src/pages/main.rs.html b/src/pages/main.rs.html index 49c3eb9..b96ab71 100644 --- a/src/pages/main.rs.html +++ b/src/pages/main.rs.html @@ -107,8 +107,6 @@ 101 102 103 -104 -105
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -137,11 +135,9 @@
 mod ctx;
 mod deploy;
 mod errors;
-mod git;
 mod meta;
 mod page;
 mod routes;
-mod serve;
 mod settings;
 #[cfg(test)]
 mod tests;
diff --git a/src/pages/page.rs.html b/src/pages/page.rs.html
index 47ff748..d673d7a 100644
--- a/src/pages/page.rs.html
+++ b/src/pages/page.rs.html
@@ -287,6 +287,7 @@
 281
 282
 283
+284
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -304,9 +305,12 @@
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
-use git2::{build::CheckoutBuilder, BranchType, Direction, Oid, Remote, Repository};
+use git2::{
+    build::CheckoutBuilder, Branch, BranchType, Direction, ObjectType, Oid, Remote, Repository,
+};
 #[cfg(not(test))]
 use log::info;
+use std::io::{self, Write};
 
 #[cfg(test)]
 use std::println as info;
@@ -315,13 +319,12 @@
 
 use crate::errors::*;
 
-#[derive(Debug, Clone, Eq, PartialEq, Deserialize)]
+#[derive(Debug, Clone, PartialEq, Deserialize)]
 pub struct Page {
     pub secret: String,
     pub repo: String,
     pub path: String,
     pub branch: String,
-    pub domain: String,
 }
 
 impl Page {
@@ -417,7 +420,7 @@
             let head_commit = repo
                 .reference_to_annotated_commit(&repo.head().unwrap())
                 .unwrap();
-            Self::normal_merge(repo, &head_commit, &fetch_commit).unwrap();
+            Self::normal_merge(&repo, &head_commit, &fetch_commit).unwrap();
         } else {
             log::info!("Nothing to do...");
         }
@@ -541,7 +544,6 @@
             repo: "https://github.com/mcaptcha/website".to_owned(),
             path: tmp_dir.to_str().unwrap().to_string(),
             branch: "gh-pages".to_string(),
-            domain: "mcaptcha.org".into(),
         };
 
         assert!(
diff --git a/src/pages/routes.rs.html b/src/pages/routes.rs.html
index 0cba503..27825d6 100644
--- a/src/pages/routes.rs.html
+++ b/src/pages/routes.rs.html
@@ -45,10 +45,6 @@
 39
 40
 41
-42
-43
-44
-45
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -69,14 +65,12 @@
 
 use crate::deploy::routes::Deploy;
 use crate::meta::routes::Meta;
-use crate::serve::routes::Serve;
 
 pub const ROUTES: Routes = Routes::new();
 
 pub struct Routes {
     pub meta: Meta,
     pub deploy: Deploy,
-    pub serve: Serve,
 }
 
 impl Routes {
@@ -84,7 +78,6 @@
         Self {
             meta: Meta::new(),
             deploy: Deploy::new(),
-            serve: Serve::new(),
         }
     }
 }
@@ -92,7 +85,6 @@
 pub fn services(cfg: &mut web::ServiceConfig) {
     crate::meta::services(cfg);
     crate::deploy::services(cfg);
-    crate::serve::services(cfg);
 }
 
diff --git a/src/pages/serve.rs.html b/src/pages/serve.rs.html deleted file mode 100644 index 6121d33..0000000 --- a/src/pages/serve.rs.html +++ /dev/null @@ -1,179 +0,0 @@ -serve.rs - source -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-
/*
- * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <https://www.gnu.org/licenses/>.
- */
-use actix_web::{http::header::ContentType, web, HttpRequest, HttpResponse, Responder};
-
-use crate::errors::*;
-use crate::page::Page;
-use crate::AppCtx;
-
-pub mod routes {
-    pub struct Serve {
-        pub catch_all: &'static str,
-    }
-
-    impl Serve {
-        pub const fn new() -> Self {
-            Self {
-                catch_all: "/{path:.*}",
-            }
-        }
-    }
-}
-
-pub fn find_page<'a>(domain: &str, ctx: &'a AppCtx) -> Option<&'a Page> {
-    log::info!("looking for {domain}");
-    for page in ctx.settings.pages.iter() {
-        log::debug!("configured domains: {}", page.domain);
-        log::debug!("{}", page.domain.trim() == domain.trim());
-        if page.domain.trim() == domain.trim() {
-            log::debug!("found configured domains: {}", page.domain);
-            return Some(page);
-        }
-    }
-    None
-}
-
-#[my_codegen::get(path = "crate::V1_API_ROUTES.serve.catch_all")]
-async fn index(req: HttpRequest, ctx: AppCtx) -> ServiceResult<impl Responder> {
-    let c = req.connection_info();
-    let mut host = c.host();
-    if host.contains(':') {
-        host = host.split(':').next().unwrap();
-    }
-
-    if host == ctx.settings.server.domain || host == "localhost" {
-        Ok(HttpResponse::Ok()
-            .content_type(ContentType::html())
-            .body("Welcome to Librepages!"))
-    } else {
-        match find_page(host, &ctx) {
-            Some(page) => {
-                log::debug!("Page found");
-                let content = crate::git::read_file(&page.path, req.uri().path())?;
-                let mime = if let Some(mime) = content.mime.first_raw() {
-                    mime
-                } else {
-                    "text/html; charset=utf-8"
-                };
-
-                Ok(HttpResponse::Ok()
-                    //.content_type(ContentType::html())
-                    .content_type(mime)
-                    .body(content.content.bytes()))
-            }
-            None => Err(ServiceError::WebsiteNotFound),
-        }
-    }
-}
-
-pub fn services(cfg: &mut web::ServiceConfig) {
-    cfg.service(index);
-}
-
-
- \ No newline at end of file diff --git a/src/pages/settings.rs.html b/src/pages/settings.rs.html index 3b97da2..7dfa5f7 100644 --- a/src/pages/settings.rs.html +++ b/src/pages/settings.rs.html @@ -140,7 +140,6 @@ 134 135 136 -137
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -179,7 +178,6 @@
     pub port: u32,
     pub ip: String,
     pub workers: Option<usize>,
-    pub domain: String,
 }
 
 impl Server {