diff --git a/implementors/actix_web/service/trait.HttpServiceFactory.js b/implementors/actix_web/service/trait.HttpServiceFactory.js index 2eacbe0..3d7bbc0 100644 --- a/implementors/actix_web/service/trait.HttpServiceFactory.js +++ b/implementors/actix_web/service/trait.HttpServiceFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl HttpServiceFactory for set_username"],["impl HttpServiceFactory for username_exists"],["impl HttpServiceFactory for email_exists"],["impl HttpServiceFactory for set_email"],["impl HttpServiceFactory for delete_account"],["impl HttpServiceFactory for update_user_password"],["impl HttpServiceFactory for register"],["impl HttpServiceFactory for login"],["impl HttpServiceFactory for signout"],["impl HttpServiceFactory for build_details"],["impl HttpServiceFactory for health"],["impl HttpServiceFactory for update"],["impl HttpServiceFactory for deploy_info"],["impl HttpServiceFactory for get_login"],["impl HttpServiceFactory for login_submit"],["impl HttpServiceFactory for get_register"],["impl HttpServiceFactory for register_submit"],["impl HttpServiceFactory for signout"],["impl HttpServiceFactory for get_home"],["impl HttpServiceFactory for get_add_site"],["impl HttpServiceFactory for post_add_site"],["impl HttpServiceFactory for index"],["impl HttpServiceFactory for static_files"]] +"pages":[["impl HttpServiceFactory for set_username"],["impl HttpServiceFactory for username_exists"],["impl HttpServiceFactory for email_exists"],["impl HttpServiceFactory for set_email"],["impl HttpServiceFactory for delete_account"],["impl HttpServiceFactory for update_user_password"],["impl HttpServiceFactory for register"],["impl HttpServiceFactory for login"],["impl HttpServiceFactory for signout"],["impl HttpServiceFactory for build_details"],["impl HttpServiceFactory for health"],["impl HttpServiceFactory for update"],["impl HttpServiceFactory for deploy_info"],["impl HttpServiceFactory for get_login"],["impl HttpServiceFactory for login_submit"],["impl HttpServiceFactory for get_register"],["impl HttpServiceFactory for register_submit"],["impl HttpServiceFactory for signout"],["impl HttpServiceFactory for get_home"],["impl HttpServiceFactory for get_add_site"],["impl HttpServiceFactory for post_add_site"],["impl HttpServiceFactory for get_delete_site"],["impl HttpServiceFactory for post_delete_site"],["impl HttpServiceFactory for get_view_site"],["impl HttpServiceFactory for index"],["impl HttpServiceFactory for static_files"]] };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 d37f062..0932bba 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Clone for AccountCheckPayload"],["impl Clone for Email"],["impl Clone for Username"],["impl<'a> Clone for BuildDetails<'a>"],["impl Clone for Health"],["impl Clone for DeployEvent"],["impl Clone for DeployEventResp"],["impl Clone for DeploySecret"],["impl Clone for DeployInfo"],["impl Clone for AccountCheckResp"],["impl Clone for ChangePasswordReqest"],["impl Clone for Register"],["impl Clone for Login"],["impl Clone for Password"],["impl Clone for AddSite"],["impl Clone for Ctx"],["impl Clone for Database"],["impl Clone for Site"],["impl<'a> Clone for Register<'a>"],["impl<'a> Clone for UpdateEmail<'a>"],["impl<'a> Clone for Login<'a>"],["impl Clone for NameHash"],["impl Clone for Event"],["impl Clone for LibrePagesEvent"],["impl Clone for GitFileMode"],["impl Clone for FileInfo"],["impl Clone for ContentType"],["impl Clone for Page"],["impl Clone for Config"],["impl Clone for Source"],["impl Clone for Forms"],["impl Clone for ImageCompression"],["impl Clone for Redirects"],["impl Clone for TemplateSite"],["impl Clone for TemplateAddSite"],["impl Clone for TemplateSiteEvent"],["impl Clone for ReadableError"],["impl Clone for Server"],["impl Clone for DBType"],["impl Clone for Database"],["impl Clone for Settings"],["impl Clone for PageConfig"]] +"pages":[["impl Clone for AccountCheckPayload"],["impl Clone for Email"],["impl Clone for Username"],["impl<'a> Clone for BuildDetails<'a>"],["impl Clone for Health"],["impl Clone for DeployEvent"],["impl Clone for DeployEventResp"],["impl Clone for DeploySecret"],["impl Clone for DeployInfo"],["impl Clone for Conductor"],["impl Clone for AccountCheckResp"],["impl Clone for ChangePasswordReqest"],["impl Clone for Register"],["impl Clone for Login"],["impl Clone for Password"],["impl Clone for AddSite"],["impl Clone for Ctx"],["impl Clone for Database"],["impl Clone for Site"],["impl<'a> Clone for Register<'a>"],["impl<'a> Clone for UpdateEmail<'a>"],["impl<'a> Clone for Login<'a>"],["impl Clone for NameHash"],["impl Clone for Event"],["impl Clone for LibrePagesEvent"],["impl Clone for GitFileMode"],["impl Clone for FileInfo"],["impl Clone for ContentType"],["impl Clone for Page"],["impl Clone for TemplateSite"],["impl Clone for TemplateAddSite"],["impl Clone for TemplateSiteWithEvents"],["impl Clone for DeleteOptions"],["impl Clone for TemplateSiteWithEvents"],["impl Clone for ViewOptions"],["impl Clone for TemplateSiteEvent"],["impl Clone for ReadableError"],["impl Clone for Server"],["impl Clone for DBType"],["impl Clone for Database"],["impl Clone for Settings"],["impl Clone for Conductor"],["impl Clone for PageConfig"]] };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 index e5e8923..0c50f70 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Eq for DeploySecret"],["impl Eq for DeployInfo"],["impl Eq for AddSite"],["impl Eq for Site"],["impl<'a> Eq for Register<'a>"],["impl<'a> Eq for UpdateEmail<'a>"],["impl<'a> Eq for Login<'a>"],["impl Eq for NameHash"],["impl Eq for Event"],["impl Eq for LibrePagesEvent"],["impl Eq for GitFileMode"],["impl Eq for FileInfo"],["impl Eq for ContentType"],["impl Eq for Page"],["impl Eq for Config"],["impl Eq for Source"],["impl Eq for Forms"],["impl Eq for ImageCompression"],["impl Eq for Redirects"],["impl<'a> Eq for Policy<'a>"],["impl Eq for SupportedFormat"],["impl Eq for TemplateSite"],["impl Eq for TemplateAddSite"],["impl Eq for TemplateSiteEvent"],["impl Eq for DBType"]] +"pages":[["impl Eq for DeploySecret"],["impl Eq for DeployInfo"],["impl Eq for AddSite"],["impl Eq for Site"],["impl<'a> Eq for Register<'a>"],["impl<'a> Eq for UpdateEmail<'a>"],["impl<'a> Eq for Login<'a>"],["impl Eq for NameHash"],["impl Eq for Event"],["impl Eq for LibrePagesEvent"],["impl Eq for GitFileMode"],["impl Eq for FileInfo"],["impl Eq for ContentType"],["impl Eq for Page"],["impl<'a> Eq for Policy<'a>"],["impl Eq for SupportedFormat"],["impl Eq for TemplateSite"],["impl Eq for TemplateAddSite"],["impl Eq for TemplateSiteWithEvents"],["impl Eq for DeleteOptions"],["impl Eq for TemplateSiteWithEvents"],["impl Eq for ViewOptions"],["impl Eq for TemplateSiteEvent"],["impl Eq for DBType"]] };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 86d99e3..eadcc83 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl PartialEq<DeploySecret> for DeploySecret"],["impl PartialEq<DeployInfo> for DeployInfo"],["impl PartialEq<AddSite> for AddSite"],["impl PartialEq<Site> for Site"],["impl<'a> PartialEq<Register<'a>> for Register<'a>"],["impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>"],["impl<'a> PartialEq<Login<'a>> for Login<'a>"],["impl PartialEq<NameHash> for NameHash"],["impl PartialEq<Event> for Event"],["impl PartialEq<LibrePagesEvent> for LibrePagesEvent"],["impl PartialEq<FSError> for FSError"],["impl PartialEq<ConfigError> for ConfigError"],["impl PartialEq<ServiceError> for ServiceError"],["impl PartialEq<GitFileMode> for GitFileMode"],["impl PartialEq<FileInfo> for FileInfo"],["impl PartialEq<ContentType> for ContentType"],["impl PartialEq<Page> for Page"],["impl PartialEq<Config> for Config"],["impl PartialEq<Source> for Source"],["impl PartialEq<Forms> for Forms"],["impl PartialEq<ImageCompression> for ImageCompression"],["impl PartialEq<Redirects> for Redirects"],["impl<'a> PartialEq<Policy<'a>> for Policy<'a>"],["impl PartialEq<SupportedFormat> for SupportedFormat"],["impl PartialEq<TemplateSite> for TemplateSite"],["impl PartialEq<TemplateAddSite> for TemplateAddSite"],["impl PartialEq<TemplateSiteEvent> for TemplateSiteEvent"],["impl PartialEq<DBType> for DBType"]] +"pages":[["impl PartialEq<DeploySecret> for DeploySecret"],["impl PartialEq<DeployInfo> for DeployInfo"],["impl PartialEq<AddSite> for AddSite"],["impl PartialEq<Site> for Site"],["impl<'a> PartialEq<Register<'a>> for Register<'a>"],["impl<'a> PartialEq<UpdateEmail<'a>> for UpdateEmail<'a>"],["impl<'a> PartialEq<Login<'a>> for Login<'a>"],["impl PartialEq<NameHash> for NameHash"],["impl PartialEq<Event> for Event"],["impl PartialEq<LibrePagesEvent> for LibrePagesEvent"],["impl PartialEq<FSError> for FSError"],["impl PartialEq<ConfigError> for ConfigError"],["impl PartialEq<ServiceError> for ServiceError"],["impl PartialEq<GitFileMode> for GitFileMode"],["impl PartialEq<FileInfo> for FileInfo"],["impl PartialEq<ContentType> for ContentType"],["impl PartialEq<Page> for Page"],["impl<'a> PartialEq<Policy<'a>> for Policy<'a>"],["impl PartialEq<SupportedFormat> for SupportedFormat"],["impl PartialEq<TemplateSite> for TemplateSite"],["impl PartialEq<TemplateAddSite> for TemplateAddSite"],["impl PartialEq<TemplateSiteWithEvents> for TemplateSiteWithEvents"],["impl PartialEq<DeleteOptions> for DeleteOptions"],["impl PartialEq<TemplateSiteWithEvents> for TemplateSiteWithEvents"],["impl PartialEq<ViewOptions> for ViewOptions"],["impl PartialEq<TemplateSiteEvent> for TemplateSiteEvent"],["impl PartialEq<DBType> for DBType"]] };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 e70caab..17093d3 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl From<Error> for ServiceError"],["impl From<ConfigError> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<Error> for ServiceError"],["impl From<CredsError> for ServiceError"],["impl From<isize> for GitFileMode"],["impl From<&TreeEntry<'_>> for GitFileMode"],["impl From<TreeEntry<'_>> for GitFileMode"],["impl From<LibrePagesEvent> for TemplateSiteEvent"]] +"pages":[["impl From<Error> for ServiceError"],["impl From<ConfigError> for ServiceError"],["impl From<ParseError> for ServiceError"],["impl From<Error> for ServiceError"],["impl From<CredsError> for ServiceError"],["impl From<isize> for GitFileMode"],["impl From<&TreeEntry<'_>> for GitFileMode"],["impl From<TreeEntry<'_>> for GitFileMode"],["impl From<LibrePagesEvent> for TemplateSiteEvent"]] };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 f36d491..920730b 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Debug for AccountCheckPayload"],["impl Debug for Email"],["impl Debug for Username"],["impl<'a> Debug for BuildDetails<'a>"],["impl Debug for Health"],["impl Debug for DeployEvent"],["impl Debug for DeployEventResp"],["impl Debug for DeploySecret"],["impl Debug for DeployInfo"],["impl Debug for AccountCheckResp"],["impl Debug for ChangePasswordReqest"],["impl Debug for Register"],["impl Debug for Login"],["impl Debug for Password"],["impl Debug for AddSite"],["impl Debug for Site"],["impl<'a> Debug for Register<'a>"],["impl<'a> Debug for UpdateEmail<'a>"],["impl<'a> Debug for Login<'a>"],["impl Debug for NameHash"],["impl Debug for Event"],["impl Debug for LibrePagesEvent"],["impl Debug for FSError"],["impl Debug for ConfigError"],["impl Debug for ServiceError"],["impl Debug for ErrorToResponse"],["impl Debug for GitFileMode"],["impl Debug for FileInfo"],["impl Debug for ContentType"],["impl Debug for Page"],["impl Debug for Config"],["impl Debug for Source"],["impl Debug for Forms"],["impl Debug for ImageCompression"],["impl Debug for Redirects"],["impl<'a> Debug for Policy<'a>"],["impl Debug for SupportedFormat"],["impl Debug for TemplateSite"],["impl Debug for TemplateAddSite"],["impl Debug for TemplateSiteEvent"],["impl Debug for ReadableError"],["impl<T> Debug for PageError<T>"],["impl Debug for Server"],["impl Debug for DBType"],["impl Debug for Database"],["impl Debug for Settings"],["impl Debug for PageConfig"]] +"pages":[["impl Debug for AccountCheckPayload"],["impl Debug for Email"],["impl Debug for Username"],["impl<'a> Debug for BuildDetails<'a>"],["impl Debug for Health"],["impl Debug for DeployEvent"],["impl Debug for DeployEventResp"],["impl Debug for DeploySecret"],["impl Debug for DeployInfo"],["impl Debug for AccountCheckResp"],["impl Debug for ChangePasswordReqest"],["impl Debug for Register"],["impl Debug for Login"],["impl Debug for Password"],["impl Debug for AddSite"],["impl Debug for Site"],["impl<'a> Debug for Register<'a>"],["impl<'a> Debug for UpdateEmail<'a>"],["impl<'a> Debug for Login<'a>"],["impl Debug for NameHash"],["impl Debug for Event"],["impl Debug for LibrePagesEvent"],["impl Debug for FSError"],["impl Debug for ConfigError"],["impl Debug for ServiceError"],["impl Debug for ErrorToResponse"],["impl Debug for GitFileMode"],["impl Debug for FileInfo"],["impl Debug for ContentType"],["impl Debug for Page"],["impl<'a> Debug for Policy<'a>"],["impl Debug for SupportedFormat"],["impl Debug for TemplateSite"],["impl Debug for TemplateAddSite"],["impl Debug for TemplateSiteWithEvents"],["impl Debug for DeleteOptions"],["impl Debug for TemplateSiteWithEvents"],["impl Debug for ViewOptions"],["impl Debug for TemplateSiteEvent"],["impl Debug for ReadableError"],["impl<T> Debug for PageError<T>"],["impl Debug for Server"],["impl Debug for DBType"],["impl Debug for Database"],["impl Debug for Settings"],["impl Debug for Conductor"],["impl Debug for PageConfig"]] };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 b02c69f..d537637 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Freeze for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Freeze for Email",1,["pages::api::v1::account::Email"]],["impl Freeze for Username",1,["pages::api::v1::account::Username"]],["impl Freeze for set_username",1,["pages::api::v1::account::set_username"]],["impl Freeze for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Freeze for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Freeze for set_email",1,["pages::api::v1::account::set_email"]],["impl Freeze for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Freeze for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Freeze for register",1,["pages::api::v1::auth::register"]],["impl Freeze for login",1,["pages::api::v1::auth::login"]],["impl Freeze for signout",1,["pages::api::v1::auth::signout"]],["impl Freeze for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Freeze for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Freeze for build_details",1,["pages::api::v1::meta::build_details"]],["impl Freeze for Health",1,["pages::api::v1::meta::Health"]],["impl Freeze for health",1,["pages::api::v1::meta::health"]],["impl Freeze for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Freeze for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Freeze for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Freeze for update",1,["pages::api::v1::pages::update"]],["impl Freeze for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Freeze for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Freeze for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Freeze for Auth",1,["pages::api::v1::routes::Auth"]],["impl Freeze for Account",1,["pages::api::v1::routes::Account"]],["impl Freeze for Routes",1,["pages::api::v1::routes::Routes"]],["impl Freeze for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Freeze for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Freeze for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Freeze for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Freeze for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Freeze for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Freeze for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Freeze for Ctx",1,["pages::ctx::Ctx"]],["impl Freeze for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Freeze for Conn",1,["pages::db::Conn"]],["impl Freeze for Fresh",1,["pages::db::Fresh"]],["impl Freeze for Database",1,["pages::db::Database"]],["impl Freeze for InnerSite",1,["pages::db::InnerSite"]],["impl Freeze for Site",1,["pages::db::Site"]],["impl<'a> Freeze for Register<'a>",1,["pages::db::Register"]],["impl<'a> Freeze for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Freeze for Login<'a>",1,["pages::db::Login"]],["impl Freeze for NameHash",1,["pages::db::NameHash"]],["impl Freeze for Event",1,["pages::db::Event"]],["impl Freeze for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Freeze for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Freeze for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Freeze for EVENTS",1,["pages::db::EVENTS"]],["impl Freeze for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Freeze for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Freeze for FSError",1,["pages::errors::FSError"]],["impl Freeze for ConfigError",1,["pages::errors::ConfigError"]],["impl Freeze for ServiceError",1,["pages::errors::ServiceError"]],["impl Freeze for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Freeze for GitFileMode",1,["pages::git::GitFileMode"]],["impl Freeze for FileInfo",1,["pages::git::FileInfo"]],["impl Freeze for ContentType",1,["pages::git::ContentType"]],["impl Freeze for Page",1,["pages::page::Page"]],["impl Freeze for Config",1,["pages::page_config::Config"]],["impl Freeze for Source",1,["pages::page_config::Source"]],["impl Freeze for Forms",1,["pages::page_config::Forms"]],["impl Freeze for ImageCompression",1,["pages::page_config::ImageCompression"]],["impl Freeze for Redirects",1,["pages::page_config::Redirects"]],["impl<'a> Freeze for Policy<'a>",1,["pages::page_config::Policy"]],["impl Freeze for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl !Freeze for Login",1,["pages::pages::auth::login::Login"]],["impl Freeze for get_login",1,["pages::pages::auth::login::get_login"]],["impl Freeze for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl !Freeze for Register",1,["pages::pages::auth::register::Register"]],["impl Freeze for get_register",1,["pages::pages::auth::register::get_register"]],["impl Freeze for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Freeze for signout",1,["pages::pages::auth::signout"]],["impl !Freeze for Home",1,["pages::pages::dash::home::Home"]],["impl Freeze for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Freeze for get_home",1,["pages::pages::dash::home::get_home"]],["impl !Freeze for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Freeze for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Freeze for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Freeze for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl Freeze for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Freeze for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Freeze for PageError<T>where
    T: Freeze,
",1,["pages::pages::errors::PageError"]],["impl Freeze for Pages",1,["pages::pages::routes::Pages"]],["impl Freeze for Auth",1,["pages::pages::routes::Auth"]],["impl Freeze for Dash",1,["pages::pages::routes::Dash"]],["impl Freeze for DashSite",1,["pages::pages::routes::DashSite"]],["impl Freeze for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Freeze for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Freeze for Templates",1,["pages::pages::Templates"]],["impl<'a> Freeze for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Freeze for Preview<'a>",1,["pages::preview::Preview"]],["impl Freeze for Serve",1,["pages::serve::routes::Serve"]],["impl Freeze for index",1,["pages::serve::index"]],["impl Freeze for Server",1,["pages::settings::Server"]],["impl Freeze for DBType",1,["pages::settings::DBType"]],["impl Freeze for Database",1,["pages::settings::Database"]],["impl Freeze for Settings",1,["pages::settings::Settings"]],["impl Freeze for PageConfig",1,["pages::settings::PageConfig"]],["impl Freeze for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Freeze for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Freeze for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Freeze for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Freeze for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Freeze for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Freeze for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Freeze for ID<'a>",1,["pages::subdomains::ID"]],["impl Freeze for FILES",1,["pages::FILES"]],["impl Freeze for Cli",1,["pages::Cli"]],["impl Freeze for Commands",1,["pages::Commands"]]] +"pages":[["impl Freeze for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Freeze for Email",1,["pages::api::v1::account::Email"]],["impl Freeze for Username",1,["pages::api::v1::account::Username"]],["impl Freeze for set_username",1,["pages::api::v1::account::set_username"]],["impl Freeze for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Freeze for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Freeze for set_email",1,["pages::api::v1::account::set_email"]],["impl Freeze for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Freeze for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Freeze for register",1,["pages::api::v1::auth::register"]],["impl Freeze for login",1,["pages::api::v1::auth::login"]],["impl Freeze for signout",1,["pages::api::v1::auth::signout"]],["impl Freeze for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Freeze for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Freeze for build_details",1,["pages::api::v1::meta::build_details"]],["impl Freeze for Health",1,["pages::api::v1::meta::Health"]],["impl Freeze for health",1,["pages::api::v1::meta::health"]],["impl Freeze for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Freeze for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Freeze for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Freeze for update",1,["pages::api::v1::pages::update"]],["impl Freeze for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Freeze for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Freeze for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Freeze for Auth",1,["pages::api::v1::routes::Auth"]],["impl Freeze for Account",1,["pages::api::v1::routes::Account"]],["impl Freeze for Routes",1,["pages::api::v1::routes::Routes"]],["impl Freeze for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Freeze for Conductor",1,["pages::conductor::Conductor"]],["impl Freeze for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Freeze for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Freeze for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Freeze for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Freeze for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Freeze for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Freeze for Ctx",1,["pages::ctx::Ctx"]],["impl Freeze for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Freeze for Conn",1,["pages::db::Conn"]],["impl Freeze for Fresh",1,["pages::db::Fresh"]],["impl Freeze for Database",1,["pages::db::Database"]],["impl Freeze for InnerSite",1,["pages::db::InnerSite"]],["impl Freeze for Site",1,["pages::db::Site"]],["impl<'a> Freeze for Register<'a>",1,["pages::db::Register"]],["impl<'a> Freeze for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Freeze for Login<'a>",1,["pages::db::Login"]],["impl Freeze for NameHash",1,["pages::db::NameHash"]],["impl Freeze for Event",1,["pages::db::Event"]],["impl Freeze for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Freeze for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Freeze for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Freeze for EVENTS",1,["pages::db::EVENTS"]],["impl Freeze for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Freeze for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Freeze for FSError",1,["pages::errors::FSError"]],["impl Freeze for ConfigError",1,["pages::errors::ConfigError"]],["impl Freeze for ServiceError",1,["pages::errors::ServiceError"]],["impl Freeze for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Freeze for GitFileMode",1,["pages::git::GitFileMode"]],["impl Freeze for FileInfo",1,["pages::git::FileInfo"]],["impl Freeze for ContentType",1,["pages::git::ContentType"]],["impl Freeze for Page",1,["pages::page::Page"]],["impl<'a> Freeze for Policy<'a>",1,["pages::page_config::Policy"]],["impl Freeze for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl !Freeze for Login",1,["pages::pages::auth::login::Login"]],["impl Freeze for get_login",1,["pages::pages::auth::login::get_login"]],["impl Freeze for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl !Freeze for Register",1,["pages::pages::auth::register::Register"]],["impl Freeze for get_register",1,["pages::pages::auth::register::get_register"]],["impl Freeze for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Freeze for signout",1,["pages::pages::auth::signout"]],["impl !Freeze for Home",1,["pages::pages::dash::home::Home"]],["impl Freeze for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Freeze for get_home",1,["pages::pages::dash::home::get_home"]],["impl !Freeze for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Freeze for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Freeze for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Freeze for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl !Freeze for Delete",1,["pages::pages::dash::sites::delete::Delete"]],["impl Freeze for TemplateSiteWithEvents",1,["pages::pages::dash::sites::delete::TemplateSiteWithEvents"]],["impl Freeze for DeleteOptions",1,["pages::pages::dash::sites::delete::DeleteOptions"]],["impl Freeze for get_delete_site",1,["pages::pages::dash::sites::delete::get_delete_site"]],["impl Freeze for post_delete_site",1,["pages::pages::dash::sites::delete::post_delete_site"]],["impl !Freeze for View",1,["pages::pages::dash::sites::view::View"]],["impl Freeze for TemplateSiteWithEvents",1,["pages::pages::dash::sites::view::TemplateSiteWithEvents"]],["impl Freeze for ViewOptions",1,["pages::pages::dash::sites::view::ViewOptions"]],["impl Freeze for get_view_site",1,["pages::pages::dash::sites::view::get_view_site"]],["impl Freeze for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Freeze for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Freeze for PageError<T>where
    T: Freeze,
",1,["pages::pages::errors::PageError"]],["impl Freeze for Pages",1,["pages::pages::routes::Pages"]],["impl Freeze for Auth",1,["pages::pages::routes::Auth"]],["impl Freeze for Dash",1,["pages::pages::routes::Dash"]],["impl Freeze for DashSite",1,["pages::pages::routes::DashSite"]],["impl Freeze for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Freeze for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Freeze for Templates",1,["pages::pages::Templates"]],["impl<'a> Freeze for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Freeze for Preview<'a>",1,["pages::preview::Preview"]],["impl Freeze for Serve",1,["pages::serve::routes::Serve"]],["impl Freeze for index",1,["pages::serve::index"]],["impl Freeze for Server",1,["pages::settings::Server"]],["impl Freeze for DBType",1,["pages::settings::DBType"]],["impl Freeze for Database",1,["pages::settings::Database"]],["impl Freeze for Settings",1,["pages::settings::Settings"]],["impl Freeze for Conductor",1,["pages::settings::Conductor"]],["impl Freeze for PageConfig",1,["pages::settings::PageConfig"]],["impl Freeze for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Freeze for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Freeze for EYE",1,["pages::static_assets::static_files::assets::EYE"]],["impl Freeze for EYE_OFF",1,["pages::static_assets::static_files::assets::EYE_OFF"]],["impl Freeze for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Freeze for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Freeze for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Freeze for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Freeze for Svg",1,["pages::static_assets::routes::Svg"]],["impl Freeze for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Freeze for ID<'a>",1,["pages::subdomains::ID"]],["impl Freeze for FILES",1,["pages::FILES"]],["impl Freeze for Cli",1,["pages::Cli"]],["impl Freeze for Commands",1,["pages::Commands"]]] };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 2fda81a..78a54a2 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Send for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Send for Email",1,["pages::api::v1::account::Email"]],["impl Send for Username",1,["pages::api::v1::account::Username"]],["impl Send for set_username",1,["pages::api::v1::account::set_username"]],["impl Send for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Send for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Send for set_email",1,["pages::api::v1::account::set_email"]],["impl Send for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Send for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Send for register",1,["pages::api::v1::auth::register"]],["impl Send for login",1,["pages::api::v1::auth::login"]],["impl Send for signout",1,["pages::api::v1::auth::signout"]],["impl Send for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Send for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Send for build_details",1,["pages::api::v1::meta::build_details"]],["impl Send for Health",1,["pages::api::v1::meta::Health"]],["impl Send for health",1,["pages::api::v1::meta::health"]],["impl Send for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Send for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Send for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Send for update",1,["pages::api::v1::pages::update"]],["impl Send for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Send for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Send for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Send for Auth",1,["pages::api::v1::routes::Auth"]],["impl Send for Account",1,["pages::api::v1::routes::Account"]],["impl Send for Routes",1,["pages::api::v1::routes::Routes"]],["impl Send for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Send for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Send for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Send for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Send for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Send for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Send for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Send for Ctx",1,["pages::ctx::Ctx"]],["impl Send for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Send for Conn",1,["pages::db::Conn"]],["impl Send for Fresh",1,["pages::db::Fresh"]],["impl Send for Database",1,["pages::db::Database"]],["impl Send for InnerSite",1,["pages::db::InnerSite"]],["impl Send for Site",1,["pages::db::Site"]],["impl<'a> Send for Register<'a>",1,["pages::db::Register"]],["impl<'a> Send for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Send for Login<'a>",1,["pages::db::Login"]],["impl Send for NameHash",1,["pages::db::NameHash"]],["impl Send for Event",1,["pages::db::Event"]],["impl Send for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Send for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Send for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Send for EVENTS",1,["pages::db::EVENTS"]],["impl Send for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Send for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Send for FSError",1,["pages::errors::FSError"]],["impl Send for ConfigError",1,["pages::errors::ConfigError"]],["impl Send for ServiceError",1,["pages::errors::ServiceError"]],["impl Send for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Send for GitFileMode",1,["pages::git::GitFileMode"]],["impl Send for FileInfo",1,["pages::git::FileInfo"]],["impl Send for ContentType",1,["pages::git::ContentType"]],["impl Send for Page",1,["pages::page::Page"]],["impl Send for Config",1,["pages::page_config::Config"]],["impl Send for Source",1,["pages::page_config::Source"]],["impl Send for Forms",1,["pages::page_config::Forms"]],["impl Send for ImageCompression",1,["pages::page_config::ImageCompression"]],["impl Send for Redirects",1,["pages::page_config::Redirects"]],["impl<'a> Send for Policy<'a>",1,["pages::page_config::Policy"]],["impl Send for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl Send for Login",1,["pages::pages::auth::login::Login"]],["impl Send for get_login",1,["pages::pages::auth::login::get_login"]],["impl Send for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl Send for Register",1,["pages::pages::auth::register::Register"]],["impl Send for get_register",1,["pages::pages::auth::register::get_register"]],["impl Send for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Send for signout",1,["pages::pages::auth::signout"]],["impl Send for Home",1,["pages::pages::dash::home::Home"]],["impl Send for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Send for get_home",1,["pages::pages::dash::home::get_home"]],["impl Send for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Send for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Send for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Send for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl Send for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Send for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Send for PageError<T>where
    T: Send,
",1,["pages::pages::errors::PageError"]],["impl Send for Pages",1,["pages::pages::routes::Pages"]],["impl Send for Auth",1,["pages::pages::routes::Auth"]],["impl Send for Dash",1,["pages::pages::routes::Dash"]],["impl Send for DashSite",1,["pages::pages::routes::DashSite"]],["impl Send for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Send for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Send for Templates",1,["pages::pages::Templates"]],["impl<'a> Send for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Send for Preview<'a>",1,["pages::preview::Preview"]],["impl Send for Serve",1,["pages::serve::routes::Serve"]],["impl Send for index",1,["pages::serve::index"]],["impl Send for Server",1,["pages::settings::Server"]],["impl Send for DBType",1,["pages::settings::DBType"]],["impl Send for Database",1,["pages::settings::Database"]],["impl Send for Settings",1,["pages::settings::Settings"]],["impl Send for PageConfig",1,["pages::settings::PageConfig"]],["impl Send for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Send for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Send for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Send for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Send for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Send for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Send for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Send for ID<'a>",1,["pages::subdomains::ID"]],["impl Send for FILES",1,["pages::FILES"]],["impl Send for Cli",1,["pages::Cli"]],["impl Send for Commands",1,["pages::Commands"]]] +"pages":[["impl Send for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Send for Email",1,["pages::api::v1::account::Email"]],["impl Send for Username",1,["pages::api::v1::account::Username"]],["impl Send for set_username",1,["pages::api::v1::account::set_username"]],["impl Send for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Send for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Send for set_email",1,["pages::api::v1::account::set_email"]],["impl Send for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Send for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Send for register",1,["pages::api::v1::auth::register"]],["impl Send for login",1,["pages::api::v1::auth::login"]],["impl Send for signout",1,["pages::api::v1::auth::signout"]],["impl Send for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Send for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Send for build_details",1,["pages::api::v1::meta::build_details"]],["impl Send for Health",1,["pages::api::v1::meta::Health"]],["impl Send for health",1,["pages::api::v1::meta::health"]],["impl Send for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Send for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Send for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Send for update",1,["pages::api::v1::pages::update"]],["impl Send for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Send for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Send for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Send for Auth",1,["pages::api::v1::routes::Auth"]],["impl Send for Account",1,["pages::api::v1::routes::Account"]],["impl Send for Routes",1,["pages::api::v1::routes::Routes"]],["impl Send for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Send for Conductor",1,["pages::conductor::Conductor"]],["impl Send for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Send for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Send for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Send for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Send for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Send for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Send for Ctx",1,["pages::ctx::Ctx"]],["impl Send for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Send for Conn",1,["pages::db::Conn"]],["impl Send for Fresh",1,["pages::db::Fresh"]],["impl Send for Database",1,["pages::db::Database"]],["impl Send for InnerSite",1,["pages::db::InnerSite"]],["impl Send for Site",1,["pages::db::Site"]],["impl<'a> Send for Register<'a>",1,["pages::db::Register"]],["impl<'a> Send for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Send for Login<'a>",1,["pages::db::Login"]],["impl Send for NameHash",1,["pages::db::NameHash"]],["impl Send for Event",1,["pages::db::Event"]],["impl Send for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Send for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Send for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Send for EVENTS",1,["pages::db::EVENTS"]],["impl Send for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Send for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Send for FSError",1,["pages::errors::FSError"]],["impl Send for ConfigError",1,["pages::errors::ConfigError"]],["impl Send for ServiceError",1,["pages::errors::ServiceError"]],["impl Send for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Send for GitFileMode",1,["pages::git::GitFileMode"]],["impl Send for FileInfo",1,["pages::git::FileInfo"]],["impl Send for ContentType",1,["pages::git::ContentType"]],["impl Send for Page",1,["pages::page::Page"]],["impl<'a> Send for Policy<'a>",1,["pages::page_config::Policy"]],["impl Send for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl Send for Login",1,["pages::pages::auth::login::Login"]],["impl Send for get_login",1,["pages::pages::auth::login::get_login"]],["impl Send for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl Send for Register",1,["pages::pages::auth::register::Register"]],["impl Send for get_register",1,["pages::pages::auth::register::get_register"]],["impl Send for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Send for signout",1,["pages::pages::auth::signout"]],["impl Send for Home",1,["pages::pages::dash::home::Home"]],["impl Send for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Send for get_home",1,["pages::pages::dash::home::get_home"]],["impl Send for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Send for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Send for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Send for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl Send for Delete",1,["pages::pages::dash::sites::delete::Delete"]],["impl Send for TemplateSiteWithEvents",1,["pages::pages::dash::sites::delete::TemplateSiteWithEvents"]],["impl Send for DeleteOptions",1,["pages::pages::dash::sites::delete::DeleteOptions"]],["impl Send for get_delete_site",1,["pages::pages::dash::sites::delete::get_delete_site"]],["impl Send for post_delete_site",1,["pages::pages::dash::sites::delete::post_delete_site"]],["impl Send for View",1,["pages::pages::dash::sites::view::View"]],["impl Send for TemplateSiteWithEvents",1,["pages::pages::dash::sites::view::TemplateSiteWithEvents"]],["impl Send for ViewOptions",1,["pages::pages::dash::sites::view::ViewOptions"]],["impl Send for get_view_site",1,["pages::pages::dash::sites::view::get_view_site"]],["impl Send for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Send for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Send for PageError<T>where
    T: Send,
",1,["pages::pages::errors::PageError"]],["impl Send for Pages",1,["pages::pages::routes::Pages"]],["impl Send for Auth",1,["pages::pages::routes::Auth"]],["impl Send for Dash",1,["pages::pages::routes::Dash"]],["impl Send for DashSite",1,["pages::pages::routes::DashSite"]],["impl Send for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Send for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Send for Templates",1,["pages::pages::Templates"]],["impl<'a> Send for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Send for Preview<'a>",1,["pages::preview::Preview"]],["impl Send for Serve",1,["pages::serve::routes::Serve"]],["impl Send for index",1,["pages::serve::index"]],["impl Send for Server",1,["pages::settings::Server"]],["impl Send for DBType",1,["pages::settings::DBType"]],["impl Send for Database",1,["pages::settings::Database"]],["impl Send for Settings",1,["pages::settings::Settings"]],["impl Send for Conductor",1,["pages::settings::Conductor"]],["impl Send for PageConfig",1,["pages::settings::PageConfig"]],["impl Send for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Send for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Send for EYE",1,["pages::static_assets::static_files::assets::EYE"]],["impl Send for EYE_OFF",1,["pages::static_assets::static_files::assets::EYE_OFF"]],["impl Send for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Send for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Send for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Send for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Send for Svg",1,["pages::static_assets::routes::Svg"]],["impl Send for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Send for ID<'a>",1,["pages::subdomains::ID"]],["impl Send for FILES",1,["pages::FILES"]],["impl Send for Cli",1,["pages::Cli"]],["impl Send for Commands",1,["pages::Commands"]]] };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 index 8c8033b..ce28ae7 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl StructuralEq for DeploySecret"],["impl StructuralEq for DeployInfo"],["impl StructuralEq for AddSite"],["impl StructuralEq for Site"],["impl<'a> StructuralEq for Register<'a>"],["impl<'a> StructuralEq for UpdateEmail<'a>"],["impl<'a> StructuralEq for Login<'a>"],["impl StructuralEq for NameHash"],["impl StructuralEq for Event"],["impl StructuralEq for LibrePagesEvent"],["impl StructuralEq for GitFileMode"],["impl StructuralEq for FileInfo"],["impl StructuralEq for ContentType"],["impl StructuralEq for Page"],["impl StructuralEq for Config"],["impl StructuralEq for Source"],["impl StructuralEq for Forms"],["impl StructuralEq for ImageCompression"],["impl StructuralEq for Redirects"],["impl<'a> StructuralEq for Policy<'a>"],["impl StructuralEq for SupportedFormat"],["impl StructuralEq for TemplateSite"],["impl StructuralEq for TemplateAddSite"],["impl StructuralEq for TemplateSiteEvent"],["impl StructuralEq for DBType"]] +"pages":[["impl StructuralEq for DeploySecret"],["impl StructuralEq for DeployInfo"],["impl StructuralEq for AddSite"],["impl StructuralEq for Site"],["impl<'a> StructuralEq for Register<'a>"],["impl<'a> StructuralEq for UpdateEmail<'a>"],["impl<'a> StructuralEq for Login<'a>"],["impl StructuralEq for NameHash"],["impl StructuralEq for Event"],["impl StructuralEq for LibrePagesEvent"],["impl StructuralEq for GitFileMode"],["impl StructuralEq for FileInfo"],["impl StructuralEq for ContentType"],["impl StructuralEq for Page"],["impl<'a> StructuralEq for Policy<'a>"],["impl StructuralEq for SupportedFormat"],["impl StructuralEq for TemplateSite"],["impl StructuralEq for TemplateAddSite"],["impl StructuralEq for TemplateSiteWithEvents"],["impl StructuralEq for DeleteOptions"],["impl StructuralEq for TemplateSiteWithEvents"],["impl StructuralEq for ViewOptions"],["impl StructuralEq for TemplateSiteEvent"],["impl StructuralEq for DBType"]] };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 010c2f5..1fcb633 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl StructuralPartialEq for DeploySecret"],["impl StructuralPartialEq for DeployInfo"],["impl StructuralPartialEq for AddSite"],["impl StructuralPartialEq for Site"],["impl<'a> StructuralPartialEq for Register<'a>"],["impl<'a> StructuralPartialEq for UpdateEmail<'a>"],["impl<'a> StructuralPartialEq for Login<'a>"],["impl StructuralPartialEq for NameHash"],["impl StructuralPartialEq for Event"],["impl StructuralPartialEq for LibrePagesEvent"],["impl StructuralPartialEq for ServiceError"],["impl StructuralPartialEq for GitFileMode"],["impl StructuralPartialEq for FileInfo"],["impl StructuralPartialEq for ContentType"],["impl StructuralPartialEq for Page"],["impl StructuralPartialEq for Config"],["impl StructuralPartialEq for Source"],["impl StructuralPartialEq for Forms"],["impl StructuralPartialEq for ImageCompression"],["impl StructuralPartialEq for Redirects"],["impl<'a> StructuralPartialEq for Policy<'a>"],["impl StructuralPartialEq for SupportedFormat"],["impl StructuralPartialEq for TemplateSite"],["impl StructuralPartialEq for TemplateAddSite"],["impl StructuralPartialEq for TemplateSiteEvent"],["impl StructuralPartialEq for DBType"]] +"pages":[["impl StructuralPartialEq for DeploySecret"],["impl StructuralPartialEq for DeployInfo"],["impl StructuralPartialEq for AddSite"],["impl StructuralPartialEq for Site"],["impl<'a> StructuralPartialEq for Register<'a>"],["impl<'a> StructuralPartialEq for UpdateEmail<'a>"],["impl<'a> StructuralPartialEq for Login<'a>"],["impl StructuralPartialEq for NameHash"],["impl StructuralPartialEq for Event"],["impl StructuralPartialEq for LibrePagesEvent"],["impl StructuralPartialEq for ServiceError"],["impl StructuralPartialEq for GitFileMode"],["impl StructuralPartialEq for FileInfo"],["impl StructuralPartialEq for ContentType"],["impl StructuralPartialEq for Page"],["impl<'a> StructuralPartialEq for Policy<'a>"],["impl StructuralPartialEq for SupportedFormat"],["impl StructuralPartialEq for TemplateSite"],["impl StructuralPartialEq for TemplateAddSite"],["impl StructuralPartialEq for TemplateSiteWithEvents"],["impl StructuralPartialEq for DeleteOptions"],["impl StructuralPartialEq for TemplateSiteWithEvents"],["impl StructuralPartialEq for ViewOptions"],["impl StructuralPartialEq for TemplateSiteEvent"],["impl StructuralPartialEq for DBType"]] };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 7cbc87e..66cb7ee 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Sync for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Sync for Email",1,["pages::api::v1::account::Email"]],["impl Sync for Username",1,["pages::api::v1::account::Username"]],["impl Sync for set_username",1,["pages::api::v1::account::set_username"]],["impl Sync for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Sync for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Sync for set_email",1,["pages::api::v1::account::set_email"]],["impl Sync for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Sync for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Sync for register",1,["pages::api::v1::auth::register"]],["impl Sync for login",1,["pages::api::v1::auth::login"]],["impl Sync for signout",1,["pages::api::v1::auth::signout"]],["impl Sync for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Sync for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Sync for build_details",1,["pages::api::v1::meta::build_details"]],["impl Sync for Health",1,["pages::api::v1::meta::Health"]],["impl Sync for health",1,["pages::api::v1::meta::health"]],["impl Sync for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Sync for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Sync for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Sync for update",1,["pages::api::v1::pages::update"]],["impl Sync for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Sync for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Sync for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Sync for Auth",1,["pages::api::v1::routes::Auth"]],["impl Sync for Account",1,["pages::api::v1::routes::Account"]],["impl Sync for Routes",1,["pages::api::v1::routes::Routes"]],["impl Sync for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Sync for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Sync for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Sync for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Sync for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Sync for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Sync for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Sync for Ctx",1,["pages::ctx::Ctx"]],["impl Sync for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Sync for Conn",1,["pages::db::Conn"]],["impl Sync for Fresh",1,["pages::db::Fresh"]],["impl Sync for Database",1,["pages::db::Database"]],["impl Sync for InnerSite",1,["pages::db::InnerSite"]],["impl Sync for Site",1,["pages::db::Site"]],["impl<'a> Sync for Register<'a>",1,["pages::db::Register"]],["impl<'a> Sync for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Sync for Login<'a>",1,["pages::db::Login"]],["impl Sync for NameHash",1,["pages::db::NameHash"]],["impl Sync for Event",1,["pages::db::Event"]],["impl Sync for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Sync for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Sync for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Sync for EVENTS",1,["pages::db::EVENTS"]],["impl Sync for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Sync for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Sync for FSError",1,["pages::errors::FSError"]],["impl Sync for ConfigError",1,["pages::errors::ConfigError"]],["impl Sync for ServiceError",1,["pages::errors::ServiceError"]],["impl Sync for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Sync for GitFileMode",1,["pages::git::GitFileMode"]],["impl Sync for FileInfo",1,["pages::git::FileInfo"]],["impl Sync for ContentType",1,["pages::git::ContentType"]],["impl Sync for Page",1,["pages::page::Page"]],["impl Sync for Config",1,["pages::page_config::Config"]],["impl Sync for Source",1,["pages::page_config::Source"]],["impl Sync for Forms",1,["pages::page_config::Forms"]],["impl Sync for ImageCompression",1,["pages::page_config::ImageCompression"]],["impl Sync for Redirects",1,["pages::page_config::Redirects"]],["impl<'a> Sync for Policy<'a>",1,["pages::page_config::Policy"]],["impl Sync for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl !Sync for Login",1,["pages::pages::auth::login::Login"]],["impl Sync for get_login",1,["pages::pages::auth::login::get_login"]],["impl Sync for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl !Sync for Register",1,["pages::pages::auth::register::Register"]],["impl Sync for get_register",1,["pages::pages::auth::register::get_register"]],["impl Sync for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Sync for signout",1,["pages::pages::auth::signout"]],["impl !Sync for Home",1,["pages::pages::dash::home::Home"]],["impl Sync for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Sync for get_home",1,["pages::pages::dash::home::get_home"]],["impl !Sync for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Sync for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Sync for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Sync for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl Sync for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Sync for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Sync for PageError<T>where
    T: Sync,
",1,["pages::pages::errors::PageError"]],["impl Sync for Pages",1,["pages::pages::routes::Pages"]],["impl Sync for Auth",1,["pages::pages::routes::Auth"]],["impl Sync for Dash",1,["pages::pages::routes::Dash"]],["impl Sync for DashSite",1,["pages::pages::routes::DashSite"]],["impl Sync for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Sync for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Sync for Templates",1,["pages::pages::Templates"]],["impl<'a> Sync for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Sync for Preview<'a>",1,["pages::preview::Preview"]],["impl Sync for Serve",1,["pages::serve::routes::Serve"]],["impl Sync for index",1,["pages::serve::index"]],["impl Sync for Server",1,["pages::settings::Server"]],["impl Sync for DBType",1,["pages::settings::DBType"]],["impl Sync for Database",1,["pages::settings::Database"]],["impl Sync for Settings",1,["pages::settings::Settings"]],["impl Sync for PageConfig",1,["pages::settings::PageConfig"]],["impl Sync for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Sync for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Sync for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Sync for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Sync for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Sync for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Sync for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Sync for ID<'a>",1,["pages::subdomains::ID"]],["impl Sync for FILES",1,["pages::FILES"]],["impl Sync for Cli",1,["pages::Cli"]],["impl Sync for Commands",1,["pages::Commands"]]] +"pages":[["impl Sync for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Sync for Email",1,["pages::api::v1::account::Email"]],["impl Sync for Username",1,["pages::api::v1::account::Username"]],["impl Sync for set_username",1,["pages::api::v1::account::set_username"]],["impl Sync for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Sync for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Sync for set_email",1,["pages::api::v1::account::set_email"]],["impl Sync for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Sync for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Sync for register",1,["pages::api::v1::auth::register"]],["impl Sync for login",1,["pages::api::v1::auth::login"]],["impl Sync for signout",1,["pages::api::v1::auth::signout"]],["impl Sync for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Sync for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Sync for build_details",1,["pages::api::v1::meta::build_details"]],["impl Sync for Health",1,["pages::api::v1::meta::Health"]],["impl Sync for health",1,["pages::api::v1::meta::health"]],["impl Sync for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Sync for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Sync for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Sync for update",1,["pages::api::v1::pages::update"]],["impl Sync for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Sync for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Sync for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Sync for Auth",1,["pages::api::v1::routes::Auth"]],["impl Sync for Account",1,["pages::api::v1::routes::Account"]],["impl Sync for Routes",1,["pages::api::v1::routes::Routes"]],["impl Sync for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Sync for Conductor",1,["pages::conductor::Conductor"]],["impl Sync for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Sync for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Sync for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Sync for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Sync for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Sync for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Sync for Ctx",1,["pages::ctx::Ctx"]],["impl Sync for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Sync for Conn",1,["pages::db::Conn"]],["impl Sync for Fresh",1,["pages::db::Fresh"]],["impl Sync for Database",1,["pages::db::Database"]],["impl Sync for InnerSite",1,["pages::db::InnerSite"]],["impl Sync for Site",1,["pages::db::Site"]],["impl<'a> Sync for Register<'a>",1,["pages::db::Register"]],["impl<'a> Sync for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Sync for Login<'a>",1,["pages::db::Login"]],["impl Sync for NameHash",1,["pages::db::NameHash"]],["impl Sync for Event",1,["pages::db::Event"]],["impl Sync for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Sync for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Sync for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Sync for EVENTS",1,["pages::db::EVENTS"]],["impl Sync for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Sync for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Sync for FSError",1,["pages::errors::FSError"]],["impl Sync for ConfigError",1,["pages::errors::ConfigError"]],["impl Sync for ServiceError",1,["pages::errors::ServiceError"]],["impl Sync for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Sync for GitFileMode",1,["pages::git::GitFileMode"]],["impl Sync for FileInfo",1,["pages::git::FileInfo"]],["impl Sync for ContentType",1,["pages::git::ContentType"]],["impl Sync for Page",1,["pages::page::Page"]],["impl<'a> Sync for Policy<'a>",1,["pages::page_config::Policy"]],["impl Sync for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl !Sync for Login",1,["pages::pages::auth::login::Login"]],["impl Sync for get_login",1,["pages::pages::auth::login::get_login"]],["impl Sync for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl !Sync for Register",1,["pages::pages::auth::register::Register"]],["impl Sync for get_register",1,["pages::pages::auth::register::get_register"]],["impl Sync for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Sync for signout",1,["pages::pages::auth::signout"]],["impl !Sync for Home",1,["pages::pages::dash::home::Home"]],["impl Sync for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Sync for get_home",1,["pages::pages::dash::home::get_home"]],["impl !Sync for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Sync for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Sync for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Sync for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl !Sync for Delete",1,["pages::pages::dash::sites::delete::Delete"]],["impl Sync for TemplateSiteWithEvents",1,["pages::pages::dash::sites::delete::TemplateSiteWithEvents"]],["impl Sync for DeleteOptions",1,["pages::pages::dash::sites::delete::DeleteOptions"]],["impl Sync for get_delete_site",1,["pages::pages::dash::sites::delete::get_delete_site"]],["impl Sync for post_delete_site",1,["pages::pages::dash::sites::delete::post_delete_site"]],["impl !Sync for View",1,["pages::pages::dash::sites::view::View"]],["impl Sync for TemplateSiteWithEvents",1,["pages::pages::dash::sites::view::TemplateSiteWithEvents"]],["impl Sync for ViewOptions",1,["pages::pages::dash::sites::view::ViewOptions"]],["impl Sync for get_view_site",1,["pages::pages::dash::sites::view::get_view_site"]],["impl Sync for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Sync for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Sync for PageError<T>where
    T: Sync,
",1,["pages::pages::errors::PageError"]],["impl Sync for Pages",1,["pages::pages::routes::Pages"]],["impl Sync for Auth",1,["pages::pages::routes::Auth"]],["impl Sync for Dash",1,["pages::pages::routes::Dash"]],["impl Sync for DashSite",1,["pages::pages::routes::DashSite"]],["impl Sync for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Sync for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Sync for Templates",1,["pages::pages::Templates"]],["impl<'a> Sync for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Sync for Preview<'a>",1,["pages::preview::Preview"]],["impl Sync for Serve",1,["pages::serve::routes::Serve"]],["impl Sync for index",1,["pages::serve::index"]],["impl Sync for Server",1,["pages::settings::Server"]],["impl Sync for DBType",1,["pages::settings::DBType"]],["impl Sync for Database",1,["pages::settings::Database"]],["impl Sync for Settings",1,["pages::settings::Settings"]],["impl Sync for Conductor",1,["pages::settings::Conductor"]],["impl Sync for PageConfig",1,["pages::settings::PageConfig"]],["impl Sync for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Sync for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Sync for EYE",1,["pages::static_assets::static_files::assets::EYE"]],["impl Sync for EYE_OFF",1,["pages::static_assets::static_files::assets::EYE_OFF"]],["impl Sync for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Sync for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Sync for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Sync for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Sync for Svg",1,["pages::static_assets::routes::Svg"]],["impl Sync for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Sync for ID<'a>",1,["pages::subdomains::ID"]],["impl Sync for FILES",1,["pages::FILES"]],["impl Sync for Cli",1,["pages::Cli"]],["impl Sync for Commands",1,["pages::Commands"]]] };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 19159f3..73f4448 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Unpin for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Unpin for Email",1,["pages::api::v1::account::Email"]],["impl Unpin for Username",1,["pages::api::v1::account::Username"]],["impl Unpin for set_username",1,["pages::api::v1::account::set_username"]],["impl Unpin for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Unpin for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Unpin for set_email",1,["pages::api::v1::account::set_email"]],["impl Unpin for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Unpin for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Unpin for register",1,["pages::api::v1::auth::register"]],["impl Unpin for login",1,["pages::api::v1::auth::login"]],["impl Unpin for signout",1,["pages::api::v1::auth::signout"]],["impl Unpin for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Unpin for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Unpin for build_details",1,["pages::api::v1::meta::build_details"]],["impl Unpin for Health",1,["pages::api::v1::meta::Health"]],["impl Unpin for health",1,["pages::api::v1::meta::health"]],["impl Unpin for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Unpin for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Unpin for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Unpin for update",1,["pages::api::v1::pages::update"]],["impl Unpin for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Unpin for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Unpin for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Unpin for Auth",1,["pages::api::v1::routes::Auth"]],["impl Unpin for Account",1,["pages::api::v1::routes::Account"]],["impl Unpin for Routes",1,["pages::api::v1::routes::Routes"]],["impl Unpin for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Unpin for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Unpin for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Unpin for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Unpin for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Unpin for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Unpin for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Unpin for Ctx",1,["pages::ctx::Ctx"]],["impl Unpin for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Unpin for Conn",1,["pages::db::Conn"]],["impl Unpin for Fresh",1,["pages::db::Fresh"]],["impl Unpin for Database",1,["pages::db::Database"]],["impl Unpin for InnerSite",1,["pages::db::InnerSite"]],["impl Unpin for Site",1,["pages::db::Site"]],["impl<'a> Unpin for Register<'a>",1,["pages::db::Register"]],["impl<'a> Unpin for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Unpin for Login<'a>",1,["pages::db::Login"]],["impl Unpin for NameHash",1,["pages::db::NameHash"]],["impl Unpin for Event",1,["pages::db::Event"]],["impl Unpin for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Unpin for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Unpin for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Unpin for EVENTS",1,["pages::db::EVENTS"]],["impl Unpin for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Unpin for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Unpin for FSError",1,["pages::errors::FSError"]],["impl Unpin for ConfigError",1,["pages::errors::ConfigError"]],["impl Unpin for ServiceError",1,["pages::errors::ServiceError"]],["impl Unpin for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Unpin for GitFileMode",1,["pages::git::GitFileMode"]],["impl Unpin for FileInfo",1,["pages::git::FileInfo"]],["impl Unpin for ContentType",1,["pages::git::ContentType"]],["impl Unpin for Page",1,["pages::page::Page"]],["impl Unpin for Config",1,["pages::page_config::Config"]],["impl Unpin for Source",1,["pages::page_config::Source"]],["impl Unpin for Forms",1,["pages::page_config::Forms"]],["impl Unpin for ImageCompression",1,["pages::page_config::ImageCompression"]],["impl Unpin for Redirects",1,["pages::page_config::Redirects"]],["impl<'a> Unpin for Policy<'a>",1,["pages::page_config::Policy"]],["impl Unpin for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl Unpin for Login",1,["pages::pages::auth::login::Login"]],["impl Unpin for get_login",1,["pages::pages::auth::login::get_login"]],["impl Unpin for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl Unpin for Register",1,["pages::pages::auth::register::Register"]],["impl Unpin for get_register",1,["pages::pages::auth::register::get_register"]],["impl Unpin for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Unpin for signout",1,["pages::pages::auth::signout"]],["impl Unpin for Home",1,["pages::pages::dash::home::Home"]],["impl Unpin for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Unpin for get_home",1,["pages::pages::dash::home::get_home"]],["impl Unpin for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Unpin for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Unpin for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Unpin for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl Unpin for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Unpin for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Unpin for PageError<T>where
    T: Unpin,
",1,["pages::pages::errors::PageError"]],["impl Unpin for Pages",1,["pages::pages::routes::Pages"]],["impl Unpin for Auth",1,["pages::pages::routes::Auth"]],["impl Unpin for Dash",1,["pages::pages::routes::Dash"]],["impl Unpin for DashSite",1,["pages::pages::routes::DashSite"]],["impl Unpin for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Unpin for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Unpin for Templates",1,["pages::pages::Templates"]],["impl<'a> Unpin for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Unpin for Preview<'a>",1,["pages::preview::Preview"]],["impl Unpin for Serve",1,["pages::serve::routes::Serve"]],["impl Unpin for index",1,["pages::serve::index"]],["impl Unpin for Server",1,["pages::settings::Server"]],["impl Unpin for DBType",1,["pages::settings::DBType"]],["impl Unpin for Database",1,["pages::settings::Database"]],["impl Unpin for Settings",1,["pages::settings::Settings"]],["impl Unpin for PageConfig",1,["pages::settings::PageConfig"]],["impl Unpin for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Unpin for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Unpin for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Unpin for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Unpin for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Unpin for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Unpin for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Unpin for ID<'a>",1,["pages::subdomains::ID"]],["impl Unpin for FILES",1,["pages::FILES"]],["impl Unpin for Cli",1,["pages::Cli"]],["impl Unpin for Commands",1,["pages::Commands"]]] +"pages":[["impl Unpin for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl Unpin for Email",1,["pages::api::v1::account::Email"]],["impl Unpin for Username",1,["pages::api::v1::account::Username"]],["impl Unpin for set_username",1,["pages::api::v1::account::set_username"]],["impl Unpin for username_exists",1,["pages::api::v1::account::username_exists"]],["impl Unpin for email_exists",1,["pages::api::v1::account::email_exists"]],["impl Unpin for set_email",1,["pages::api::v1::account::set_email"]],["impl Unpin for delete_account",1,["pages::api::v1::account::delete_account"]],["impl Unpin for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl Unpin for register",1,["pages::api::v1::auth::register"]],["impl Unpin for login",1,["pages::api::v1::auth::login"]],["impl Unpin for signout",1,["pages::api::v1::auth::signout"]],["impl Unpin for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> Unpin for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl Unpin for build_details",1,["pages::api::v1::meta::build_details"]],["impl Unpin for Health",1,["pages::api::v1::meta::Health"]],["impl Unpin for health",1,["pages::api::v1::meta::health"]],["impl Unpin for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl Unpin for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl Unpin for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl Unpin for update",1,["pages::api::v1::pages::update"]],["impl Unpin for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl Unpin for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl Unpin for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl Unpin for Auth",1,["pages::api::v1::routes::Auth"]],["impl Unpin for Account",1,["pages::api::v1::routes::Account"]],["impl Unpin for Routes",1,["pages::api::v1::routes::Routes"]],["impl Unpin for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl Unpin for Conductor",1,["pages::conductor::Conductor"]],["impl Unpin for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl Unpin for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl Unpin for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl Unpin for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl Unpin for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl Unpin for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl Unpin for Ctx",1,["pages::ctx::Ctx"]],["impl Unpin for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl Unpin for Conn",1,["pages::db::Conn"]],["impl Unpin for Fresh",1,["pages::db::Fresh"]],["impl Unpin for Database",1,["pages::db::Database"]],["impl Unpin for InnerSite",1,["pages::db::InnerSite"]],["impl Unpin for Site",1,["pages::db::Site"]],["impl<'a> Unpin for Register<'a>",1,["pages::db::Register"]],["impl<'a> Unpin for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> Unpin for Login<'a>",1,["pages::db::Login"]],["impl Unpin for NameHash",1,["pages::db::NameHash"]],["impl Unpin for Event",1,["pages::db::Event"]],["impl Unpin for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl Unpin for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl Unpin for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl Unpin for EVENTS",1,["pages::db::EVENTS"]],["impl Unpin for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl Unpin for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl Unpin for FSError",1,["pages::errors::FSError"]],["impl Unpin for ConfigError",1,["pages::errors::ConfigError"]],["impl Unpin for ServiceError",1,["pages::errors::ServiceError"]],["impl Unpin for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl Unpin for GitFileMode",1,["pages::git::GitFileMode"]],["impl Unpin for FileInfo",1,["pages::git::FileInfo"]],["impl Unpin for ContentType",1,["pages::git::ContentType"]],["impl Unpin for Page",1,["pages::page::Page"]],["impl<'a> Unpin for Policy<'a>",1,["pages::page_config::Policy"]],["impl Unpin for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl Unpin for Login",1,["pages::pages::auth::login::Login"]],["impl Unpin for get_login",1,["pages::pages::auth::login::get_login"]],["impl Unpin for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl Unpin for Register",1,["pages::pages::auth::register::Register"]],["impl Unpin for get_register",1,["pages::pages::auth::register::get_register"]],["impl Unpin for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl Unpin for signout",1,["pages::pages::auth::signout"]],["impl Unpin for Home",1,["pages::pages::dash::home::Home"]],["impl Unpin for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl Unpin for get_home",1,["pages::pages::dash::home::get_home"]],["impl Unpin for Add",1,["pages::pages::dash::sites::add::Add"]],["impl Unpin for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl Unpin for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl Unpin for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl Unpin for Delete",1,["pages::pages::dash::sites::delete::Delete"]],["impl Unpin for TemplateSiteWithEvents",1,["pages::pages::dash::sites::delete::TemplateSiteWithEvents"]],["impl Unpin for DeleteOptions",1,["pages::pages::dash::sites::delete::DeleteOptions"]],["impl Unpin for get_delete_site",1,["pages::pages::dash::sites::delete::get_delete_site"]],["impl Unpin for post_delete_site",1,["pages::pages::dash::sites::delete::post_delete_site"]],["impl Unpin for View",1,["pages::pages::dash::sites::view::View"]],["impl Unpin for TemplateSiteWithEvents",1,["pages::pages::dash::sites::view::TemplateSiteWithEvents"]],["impl Unpin for ViewOptions",1,["pages::pages::dash::sites::view::ViewOptions"]],["impl Unpin for get_view_site",1,["pages::pages::dash::sites::view::get_view_site"]],["impl Unpin for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl Unpin for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> Unpin for PageError<T>where
    T: Unpin,
",1,["pages::pages::errors::PageError"]],["impl Unpin for Pages",1,["pages::pages::routes::Pages"]],["impl Unpin for Auth",1,["pages::pages::routes::Auth"]],["impl Unpin for Dash",1,["pages::pages::routes::Dash"]],["impl Unpin for DashSite",1,["pages::pages::routes::DashSite"]],["impl Unpin for TemplateFile",1,["pages::pages::TemplateFile"]],["impl Unpin for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl Unpin for Templates",1,["pages::pages::Templates"]],["impl<'a> Unpin for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> Unpin for Preview<'a>",1,["pages::preview::Preview"]],["impl Unpin for Serve",1,["pages::serve::routes::Serve"]],["impl Unpin for index",1,["pages::serve::index"]],["impl Unpin for Server",1,["pages::settings::Server"]],["impl Unpin for DBType",1,["pages::settings::DBType"]],["impl Unpin for Database",1,["pages::settings::Database"]],["impl Unpin for Settings",1,["pages::settings::Settings"]],["impl Unpin for Conductor",1,["pages::settings::Conductor"]],["impl Unpin for PageConfig",1,["pages::settings::PageConfig"]],["impl Unpin for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl Unpin for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl Unpin for EYE",1,["pages::static_assets::static_files::assets::EYE"]],["impl Unpin for EYE_OFF",1,["pages::static_assets::static_files::assets::EYE_OFF"]],["impl Unpin for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl Unpin for Asset",1,["pages::static_assets::static_files::Asset"]],["impl Unpin for static_files",1,["pages::static_assets::static_files::static_files"]],["impl Unpin for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl Unpin for Svg",1,["pages::static_assets::routes::Svg"]],["impl Unpin for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> Unpin for ID<'a>",1,["pages::subdomains::ID"]],["impl Unpin for FILES",1,["pages::FILES"]],["impl Unpin for Cli",1,["pages::Cli"]],["impl Unpin for Commands",1,["pages::Commands"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/deref/trait.Deref.js b/implementors/core/ops/deref/trait.Deref.js index 201c7d5..466db50 100644 --- a/implementors/core/ops/deref/trait.Deref.js +++ b/implementors/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Deref for EVENT_TYPE_CREATE"],["impl Deref for EVENT_TYPE_UPDATE"],["impl Deref for EVENT_TYPE_DELETE"],["impl Deref for EVENTS"],["impl Deref for TEMPLATES"],["impl Deref for CSS"],["impl Deref for MOBILE_CSS"],["impl Deref for ASSETS"],["impl Deref for FILES"]] +"pages":[["impl Deref for EVENT_TYPE_CREATE"],["impl Deref for EVENT_TYPE_UPDATE"],["impl Deref for EVENT_TYPE_DELETE"],["impl Deref for EVENTS"],["impl Deref for TEMPLATES"],["impl Deref for CSS"],["impl Deref for EYE"],["impl Deref for EYE_OFF"],["impl Deref for MOBILE_CSS"],["impl Deref for ASSETS"],["impl Deref for FILES"]] };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 b5877a0..0ce6e61 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 = { -"pages":[["impl RefUnwindSafe for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl RefUnwindSafe for Email",1,["pages::api::v1::account::Email"]],["impl RefUnwindSafe for Username",1,["pages::api::v1::account::Username"]],["impl RefUnwindSafe for set_username",1,["pages::api::v1::account::set_username"]],["impl RefUnwindSafe for username_exists",1,["pages::api::v1::account::username_exists"]],["impl RefUnwindSafe for email_exists",1,["pages::api::v1::account::email_exists"]],["impl RefUnwindSafe for set_email",1,["pages::api::v1::account::set_email"]],["impl RefUnwindSafe for delete_account",1,["pages::api::v1::account::delete_account"]],["impl RefUnwindSafe for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl RefUnwindSafe for register",1,["pages::api::v1::auth::register"]],["impl RefUnwindSafe for login",1,["pages::api::v1::auth::login"]],["impl RefUnwindSafe for signout",1,["pages::api::v1::auth::signout"]],["impl RefUnwindSafe for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> RefUnwindSafe for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl RefUnwindSafe for build_details",1,["pages::api::v1::meta::build_details"]],["impl RefUnwindSafe for Health",1,["pages::api::v1::meta::Health"]],["impl RefUnwindSafe for health",1,["pages::api::v1::meta::health"]],["impl RefUnwindSafe for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl RefUnwindSafe for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl RefUnwindSafe for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl RefUnwindSafe for update",1,["pages::api::v1::pages::update"]],["impl RefUnwindSafe for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl RefUnwindSafe for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl RefUnwindSafe for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl RefUnwindSafe for Auth",1,["pages::api::v1::routes::Auth"]],["impl RefUnwindSafe for Account",1,["pages::api::v1::routes::Account"]],["impl RefUnwindSafe for Routes",1,["pages::api::v1::routes::Routes"]],["impl RefUnwindSafe for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl RefUnwindSafe for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl RefUnwindSafe for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl RefUnwindSafe for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl RefUnwindSafe for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl RefUnwindSafe for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl RefUnwindSafe for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl !RefUnwindSafe for Ctx",1,["pages::ctx::Ctx"]],["impl !RefUnwindSafe for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl !RefUnwindSafe for Conn",1,["pages::db::Conn"]],["impl !RefUnwindSafe for Fresh",1,["pages::db::Fresh"]],["impl !RefUnwindSafe for Database",1,["pages::db::Database"]],["impl RefUnwindSafe for InnerSite",1,["pages::db::InnerSite"]],["impl RefUnwindSafe for Site",1,["pages::db::Site"]],["impl<'a> RefUnwindSafe for Register<'a>",1,["pages::db::Register"]],["impl<'a> RefUnwindSafe for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> RefUnwindSafe for Login<'a>",1,["pages::db::Login"]],["impl RefUnwindSafe for NameHash",1,["pages::db::NameHash"]],["impl RefUnwindSafe for Event",1,["pages::db::Event"]],["impl RefUnwindSafe for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl RefUnwindSafe for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl RefUnwindSafe for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl RefUnwindSafe for EVENTS",1,["pages::db::EVENTS"]],["impl RefUnwindSafe for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl RefUnwindSafe for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl !RefUnwindSafe for FSError",1,["pages::errors::FSError"]],["impl !RefUnwindSafe for ConfigError",1,["pages::errors::ConfigError"]],["impl !RefUnwindSafe for ServiceError",1,["pages::errors::ServiceError"]],["impl RefUnwindSafe for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl RefUnwindSafe for GitFileMode",1,["pages::git::GitFileMode"]],["impl RefUnwindSafe for FileInfo",1,["pages::git::FileInfo"]],["impl RefUnwindSafe for ContentType",1,["pages::git::ContentType"]],["impl RefUnwindSafe for Page",1,["pages::page::Page"]],["impl RefUnwindSafe for Config",1,["pages::page_config::Config"]],["impl RefUnwindSafe for Source",1,["pages::page_config::Source"]],["impl RefUnwindSafe for Forms",1,["pages::page_config::Forms"]],["impl RefUnwindSafe for ImageCompression",1,["pages::page_config::ImageCompression"]],["impl RefUnwindSafe for Redirects",1,["pages::page_config::Redirects"]],["impl<'a> RefUnwindSafe for Policy<'a>",1,["pages::page_config::Policy"]],["impl RefUnwindSafe for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl !RefUnwindSafe for Login",1,["pages::pages::auth::login::Login"]],["impl RefUnwindSafe for get_login",1,["pages::pages::auth::login::get_login"]],["impl RefUnwindSafe for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl !RefUnwindSafe for Register",1,["pages::pages::auth::register::Register"]],["impl RefUnwindSafe for get_register",1,["pages::pages::auth::register::get_register"]],["impl RefUnwindSafe for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl RefUnwindSafe for signout",1,["pages::pages::auth::signout"]],["impl !RefUnwindSafe for Home",1,["pages::pages::dash::home::Home"]],["impl RefUnwindSafe for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl RefUnwindSafe for get_home",1,["pages::pages::dash::home::get_home"]],["impl !RefUnwindSafe for Add",1,["pages::pages::dash::sites::add::Add"]],["impl RefUnwindSafe for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl RefUnwindSafe for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl RefUnwindSafe for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl RefUnwindSafe for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl RefUnwindSafe for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> !RefUnwindSafe for PageError<T>",1,["pages::pages::errors::PageError"]],["impl RefUnwindSafe for Pages",1,["pages::pages::routes::Pages"]],["impl RefUnwindSafe for Auth",1,["pages::pages::routes::Auth"]],["impl RefUnwindSafe for Dash",1,["pages::pages::routes::Dash"]],["impl RefUnwindSafe for DashSite",1,["pages::pages::routes::DashSite"]],["impl RefUnwindSafe for TemplateFile",1,["pages::pages::TemplateFile"]],["impl RefUnwindSafe for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl RefUnwindSafe for Templates",1,["pages::pages::Templates"]],["impl<'a> RefUnwindSafe for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> RefUnwindSafe for Preview<'a>",1,["pages::preview::Preview"]],["impl RefUnwindSafe for Serve",1,["pages::serve::routes::Serve"]],["impl RefUnwindSafe for index",1,["pages::serve::index"]],["impl RefUnwindSafe for Server",1,["pages::settings::Server"]],["impl RefUnwindSafe for DBType",1,["pages::settings::DBType"]],["impl RefUnwindSafe for Database",1,["pages::settings::Database"]],["impl RefUnwindSafe for Settings",1,["pages::settings::Settings"]],["impl RefUnwindSafe for PageConfig",1,["pages::settings::PageConfig"]],["impl RefUnwindSafe for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl RefUnwindSafe for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl RefUnwindSafe for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl RefUnwindSafe for Asset",1,["pages::static_assets::static_files::Asset"]],["impl RefUnwindSafe for static_files",1,["pages::static_assets::static_files::static_files"]],["impl RefUnwindSafe for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl RefUnwindSafe for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> RefUnwindSafe for ID<'a>",1,["pages::subdomains::ID"]],["impl RefUnwindSafe for FILES",1,["pages::FILES"]],["impl RefUnwindSafe for Cli",1,["pages::Cli"]],["impl RefUnwindSafe for Commands",1,["pages::Commands"]]] +"pages":[["impl RefUnwindSafe for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl RefUnwindSafe for Email",1,["pages::api::v1::account::Email"]],["impl RefUnwindSafe for Username",1,["pages::api::v1::account::Username"]],["impl RefUnwindSafe for set_username",1,["pages::api::v1::account::set_username"]],["impl RefUnwindSafe for username_exists",1,["pages::api::v1::account::username_exists"]],["impl RefUnwindSafe for email_exists",1,["pages::api::v1::account::email_exists"]],["impl RefUnwindSafe for set_email",1,["pages::api::v1::account::set_email"]],["impl RefUnwindSafe for delete_account",1,["pages::api::v1::account::delete_account"]],["impl RefUnwindSafe for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl RefUnwindSafe for register",1,["pages::api::v1::auth::register"]],["impl RefUnwindSafe for login",1,["pages::api::v1::auth::login"]],["impl RefUnwindSafe for signout",1,["pages::api::v1::auth::signout"]],["impl RefUnwindSafe for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> RefUnwindSafe for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl RefUnwindSafe for build_details",1,["pages::api::v1::meta::build_details"]],["impl RefUnwindSafe for Health",1,["pages::api::v1::meta::Health"]],["impl RefUnwindSafe for health",1,["pages::api::v1::meta::health"]],["impl RefUnwindSafe for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl RefUnwindSafe for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl RefUnwindSafe for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl RefUnwindSafe for update",1,["pages::api::v1::pages::update"]],["impl RefUnwindSafe for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl RefUnwindSafe for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl RefUnwindSafe for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl RefUnwindSafe for Auth",1,["pages::api::v1::routes::Auth"]],["impl RefUnwindSafe for Account",1,["pages::api::v1::routes::Account"]],["impl RefUnwindSafe for Routes",1,["pages::api::v1::routes::Routes"]],["impl RefUnwindSafe for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl !RefUnwindSafe for Conductor",1,["pages::conductor::Conductor"]],["impl RefUnwindSafe for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl RefUnwindSafe for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl RefUnwindSafe for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl RefUnwindSafe for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl RefUnwindSafe for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl RefUnwindSafe for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl !RefUnwindSafe for Ctx",1,["pages::ctx::Ctx"]],["impl !RefUnwindSafe for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl !RefUnwindSafe for Conn",1,["pages::db::Conn"]],["impl !RefUnwindSafe for Fresh",1,["pages::db::Fresh"]],["impl !RefUnwindSafe for Database",1,["pages::db::Database"]],["impl RefUnwindSafe for InnerSite",1,["pages::db::InnerSite"]],["impl RefUnwindSafe for Site",1,["pages::db::Site"]],["impl<'a> RefUnwindSafe for Register<'a>",1,["pages::db::Register"]],["impl<'a> RefUnwindSafe for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> RefUnwindSafe for Login<'a>",1,["pages::db::Login"]],["impl RefUnwindSafe for NameHash",1,["pages::db::NameHash"]],["impl RefUnwindSafe for Event",1,["pages::db::Event"]],["impl RefUnwindSafe for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl RefUnwindSafe for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl RefUnwindSafe for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl RefUnwindSafe for EVENTS",1,["pages::db::EVENTS"]],["impl RefUnwindSafe for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl RefUnwindSafe for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl !RefUnwindSafe for FSError",1,["pages::errors::FSError"]],["impl !RefUnwindSafe for ConfigError",1,["pages::errors::ConfigError"]],["impl !RefUnwindSafe for ServiceError",1,["pages::errors::ServiceError"]],["impl RefUnwindSafe for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl RefUnwindSafe for GitFileMode",1,["pages::git::GitFileMode"]],["impl RefUnwindSafe for FileInfo",1,["pages::git::FileInfo"]],["impl RefUnwindSafe for ContentType",1,["pages::git::ContentType"]],["impl RefUnwindSafe for Page",1,["pages::page::Page"]],["impl<'a> RefUnwindSafe for Policy<'a>",1,["pages::page_config::Policy"]],["impl RefUnwindSafe for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl !RefUnwindSafe for Login",1,["pages::pages::auth::login::Login"]],["impl RefUnwindSafe for get_login",1,["pages::pages::auth::login::get_login"]],["impl RefUnwindSafe for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl !RefUnwindSafe for Register",1,["pages::pages::auth::register::Register"]],["impl RefUnwindSafe for get_register",1,["pages::pages::auth::register::get_register"]],["impl RefUnwindSafe for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl RefUnwindSafe for signout",1,["pages::pages::auth::signout"]],["impl !RefUnwindSafe for Home",1,["pages::pages::dash::home::Home"]],["impl RefUnwindSafe for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl RefUnwindSafe for get_home",1,["pages::pages::dash::home::get_home"]],["impl !RefUnwindSafe for Add",1,["pages::pages::dash::sites::add::Add"]],["impl RefUnwindSafe for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl RefUnwindSafe for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl RefUnwindSafe for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl !RefUnwindSafe for Delete",1,["pages::pages::dash::sites::delete::Delete"]],["impl RefUnwindSafe for TemplateSiteWithEvents",1,["pages::pages::dash::sites::delete::TemplateSiteWithEvents"]],["impl RefUnwindSafe for DeleteOptions",1,["pages::pages::dash::sites::delete::DeleteOptions"]],["impl RefUnwindSafe for get_delete_site",1,["pages::pages::dash::sites::delete::get_delete_site"]],["impl RefUnwindSafe for post_delete_site",1,["pages::pages::dash::sites::delete::post_delete_site"]],["impl !RefUnwindSafe for View",1,["pages::pages::dash::sites::view::View"]],["impl RefUnwindSafe for TemplateSiteWithEvents",1,["pages::pages::dash::sites::view::TemplateSiteWithEvents"]],["impl RefUnwindSafe for ViewOptions",1,["pages::pages::dash::sites::view::ViewOptions"]],["impl RefUnwindSafe for get_view_site",1,["pages::pages::dash::sites::view::get_view_site"]],["impl RefUnwindSafe for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl RefUnwindSafe for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> !RefUnwindSafe for PageError<T>",1,["pages::pages::errors::PageError"]],["impl RefUnwindSafe for Pages",1,["pages::pages::routes::Pages"]],["impl RefUnwindSafe for Auth",1,["pages::pages::routes::Auth"]],["impl RefUnwindSafe for Dash",1,["pages::pages::routes::Dash"]],["impl RefUnwindSafe for DashSite",1,["pages::pages::routes::DashSite"]],["impl RefUnwindSafe for TemplateFile",1,["pages::pages::TemplateFile"]],["impl RefUnwindSafe for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl RefUnwindSafe for Templates",1,["pages::pages::Templates"]],["impl<'a> RefUnwindSafe for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> RefUnwindSafe for Preview<'a>",1,["pages::preview::Preview"]],["impl RefUnwindSafe for Serve",1,["pages::serve::routes::Serve"]],["impl RefUnwindSafe for index",1,["pages::serve::index"]],["impl RefUnwindSafe for Server",1,["pages::settings::Server"]],["impl RefUnwindSafe for DBType",1,["pages::settings::DBType"]],["impl RefUnwindSafe for Database",1,["pages::settings::Database"]],["impl RefUnwindSafe for Settings",1,["pages::settings::Settings"]],["impl RefUnwindSafe for Conductor",1,["pages::settings::Conductor"]],["impl RefUnwindSafe for PageConfig",1,["pages::settings::PageConfig"]],["impl RefUnwindSafe for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl RefUnwindSafe for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl RefUnwindSafe for EYE",1,["pages::static_assets::static_files::assets::EYE"]],["impl RefUnwindSafe for EYE_OFF",1,["pages::static_assets::static_files::assets::EYE_OFF"]],["impl RefUnwindSafe for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl RefUnwindSafe for Asset",1,["pages::static_assets::static_files::Asset"]],["impl RefUnwindSafe for static_files",1,["pages::static_assets::static_files::static_files"]],["impl RefUnwindSafe for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl RefUnwindSafe for Svg",1,["pages::static_assets::routes::Svg"]],["impl RefUnwindSafe for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> RefUnwindSafe for ID<'a>",1,["pages::subdomains::ID"]],["impl RefUnwindSafe for FILES",1,["pages::FILES"]],["impl RefUnwindSafe for Cli",1,["pages::Cli"]],["impl RefUnwindSafe for Commands",1,["pages::Commands"]]] };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 0606451..7cb402c 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 = { -"pages":[["impl UnwindSafe for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl UnwindSafe for Email",1,["pages::api::v1::account::Email"]],["impl UnwindSafe for Username",1,["pages::api::v1::account::Username"]],["impl UnwindSafe for set_username",1,["pages::api::v1::account::set_username"]],["impl UnwindSafe for username_exists",1,["pages::api::v1::account::username_exists"]],["impl UnwindSafe for email_exists",1,["pages::api::v1::account::email_exists"]],["impl UnwindSafe for set_email",1,["pages::api::v1::account::set_email"]],["impl UnwindSafe for delete_account",1,["pages::api::v1::account::delete_account"]],["impl UnwindSafe for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl UnwindSafe for register",1,["pages::api::v1::auth::register"]],["impl UnwindSafe for login",1,["pages::api::v1::auth::login"]],["impl UnwindSafe for signout",1,["pages::api::v1::auth::signout"]],["impl UnwindSafe for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> UnwindSafe for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl UnwindSafe for build_details",1,["pages::api::v1::meta::build_details"]],["impl UnwindSafe for Health",1,["pages::api::v1::meta::Health"]],["impl UnwindSafe for health",1,["pages::api::v1::meta::health"]],["impl UnwindSafe for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl UnwindSafe for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl UnwindSafe for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl UnwindSafe for update",1,["pages::api::v1::pages::update"]],["impl UnwindSafe for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl UnwindSafe for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl UnwindSafe for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl UnwindSafe for Auth",1,["pages::api::v1::routes::Auth"]],["impl UnwindSafe for Account",1,["pages::api::v1::routes::Account"]],["impl UnwindSafe for Routes",1,["pages::api::v1::routes::Routes"]],["impl UnwindSafe for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl UnwindSafe for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl UnwindSafe for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl UnwindSafe for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl UnwindSafe for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl UnwindSafe for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl UnwindSafe for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl !UnwindSafe for Ctx",1,["pages::ctx::Ctx"]],["impl !UnwindSafe for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl !UnwindSafe for Conn",1,["pages::db::Conn"]],["impl !UnwindSafe for Fresh",1,["pages::db::Fresh"]],["impl !UnwindSafe for Database",1,["pages::db::Database"]],["impl UnwindSafe for InnerSite",1,["pages::db::InnerSite"]],["impl UnwindSafe for Site",1,["pages::db::Site"]],["impl<'a> UnwindSafe for Register<'a>",1,["pages::db::Register"]],["impl<'a> UnwindSafe for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> UnwindSafe for Login<'a>",1,["pages::db::Login"]],["impl UnwindSafe for NameHash",1,["pages::db::NameHash"]],["impl UnwindSafe for Event",1,["pages::db::Event"]],["impl UnwindSafe for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl UnwindSafe for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl UnwindSafe for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl UnwindSafe for EVENTS",1,["pages::db::EVENTS"]],["impl UnwindSafe for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl UnwindSafe for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl !UnwindSafe for FSError",1,["pages::errors::FSError"]],["impl !UnwindSafe for ConfigError",1,["pages::errors::ConfigError"]],["impl !UnwindSafe for ServiceError",1,["pages::errors::ServiceError"]],["impl UnwindSafe for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl UnwindSafe for GitFileMode",1,["pages::git::GitFileMode"]],["impl UnwindSafe for FileInfo",1,["pages::git::FileInfo"]],["impl UnwindSafe for ContentType",1,["pages::git::ContentType"]],["impl UnwindSafe for Page",1,["pages::page::Page"]],["impl UnwindSafe for Config",1,["pages::page_config::Config"]],["impl UnwindSafe for Source",1,["pages::page_config::Source"]],["impl UnwindSafe for Forms",1,["pages::page_config::Forms"]],["impl UnwindSafe for ImageCompression",1,["pages::page_config::ImageCompression"]],["impl UnwindSafe for Redirects",1,["pages::page_config::Redirects"]],["impl<'a> UnwindSafe for Policy<'a>",1,["pages::page_config::Policy"]],["impl UnwindSafe for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl UnwindSafe for Login",1,["pages::pages::auth::login::Login"]],["impl UnwindSafe for get_login",1,["pages::pages::auth::login::get_login"]],["impl UnwindSafe for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl UnwindSafe for Register",1,["pages::pages::auth::register::Register"]],["impl UnwindSafe for get_register",1,["pages::pages::auth::register::get_register"]],["impl UnwindSafe for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl UnwindSafe for signout",1,["pages::pages::auth::signout"]],["impl UnwindSafe for Home",1,["pages::pages::dash::home::Home"]],["impl UnwindSafe for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl UnwindSafe for get_home",1,["pages::pages::dash::home::get_home"]],["impl UnwindSafe for Add",1,["pages::pages::dash::sites::add::Add"]],["impl UnwindSafe for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl UnwindSafe for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl UnwindSafe for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl UnwindSafe for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl UnwindSafe for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> !UnwindSafe for PageError<T>",1,["pages::pages::errors::PageError"]],["impl UnwindSafe for Pages",1,["pages::pages::routes::Pages"]],["impl UnwindSafe for Auth",1,["pages::pages::routes::Auth"]],["impl UnwindSafe for Dash",1,["pages::pages::routes::Dash"]],["impl UnwindSafe for DashSite",1,["pages::pages::routes::DashSite"]],["impl UnwindSafe for TemplateFile",1,["pages::pages::TemplateFile"]],["impl UnwindSafe for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl UnwindSafe for Templates",1,["pages::pages::Templates"]],["impl<'a> UnwindSafe for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> UnwindSafe for Preview<'a>",1,["pages::preview::Preview"]],["impl UnwindSafe for Serve",1,["pages::serve::routes::Serve"]],["impl UnwindSafe for index",1,["pages::serve::index"]],["impl UnwindSafe for Server",1,["pages::settings::Server"]],["impl UnwindSafe for DBType",1,["pages::settings::DBType"]],["impl UnwindSafe for Database",1,["pages::settings::Database"]],["impl UnwindSafe for Settings",1,["pages::settings::Settings"]],["impl UnwindSafe for PageConfig",1,["pages::settings::PageConfig"]],["impl UnwindSafe for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl UnwindSafe for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl UnwindSafe for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl UnwindSafe for Asset",1,["pages::static_assets::static_files::Asset"]],["impl UnwindSafe for static_files",1,["pages::static_assets::static_files::static_files"]],["impl UnwindSafe for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl UnwindSafe for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> UnwindSafe for ID<'a>",1,["pages::subdomains::ID"]],["impl UnwindSafe for FILES",1,["pages::FILES"]],["impl UnwindSafe for Cli",1,["pages::Cli"]],["impl UnwindSafe for Commands",1,["pages::Commands"]]] +"pages":[["impl UnwindSafe for AccountCheckPayload",1,["pages::api::v1::account::AccountCheckPayload"]],["impl UnwindSafe for Email",1,["pages::api::v1::account::Email"]],["impl UnwindSafe for Username",1,["pages::api::v1::account::Username"]],["impl UnwindSafe for set_username",1,["pages::api::v1::account::set_username"]],["impl UnwindSafe for username_exists",1,["pages::api::v1::account::username_exists"]],["impl UnwindSafe for email_exists",1,["pages::api::v1::account::email_exists"]],["impl UnwindSafe for set_email",1,["pages::api::v1::account::set_email"]],["impl UnwindSafe for delete_account",1,["pages::api::v1::account::delete_account"]],["impl UnwindSafe for update_user_password",1,["pages::api::v1::account::update_user_password"]],["impl UnwindSafe for register",1,["pages::api::v1::auth::register"]],["impl UnwindSafe for login",1,["pages::api::v1::auth::login"]],["impl UnwindSafe for signout",1,["pages::api::v1::auth::signout"]],["impl UnwindSafe for Meta",1,["pages::api::v1::meta::routes::Meta"]],["impl<'a> UnwindSafe for BuildDetails<'a>",1,["pages::api::v1::meta::BuildDetails"]],["impl UnwindSafe for build_details",1,["pages::api::v1::meta::build_details"]],["impl UnwindSafe for Health",1,["pages::api::v1::meta::Health"]],["impl UnwindSafe for health",1,["pages::api::v1::meta::health"]],["impl UnwindSafe for Deploy",1,["pages::api::v1::pages::routes::Deploy"]],["impl UnwindSafe for DeployEvent",1,["pages::api::v1::pages::DeployEvent"]],["impl UnwindSafe for DeployEventResp",1,["pages::api::v1::pages::DeployEventResp"]],["impl UnwindSafe for update",1,["pages::api::v1::pages::update"]],["impl UnwindSafe for DeploySecret",1,["pages::api::v1::pages::DeploySecret"]],["impl UnwindSafe for DeployInfo",1,["pages::api::v1::pages::DeployInfo"]],["impl UnwindSafe for deploy_info",1,["pages::api::v1::pages::deploy_info"]],["impl UnwindSafe for Auth",1,["pages::api::v1::routes::Auth"]],["impl UnwindSafe for Account",1,["pages::api::v1::routes::Account"]],["impl UnwindSafe for Routes",1,["pages::api::v1::routes::Routes"]],["impl UnwindSafe for RedirectQuery",1,["pages::api::v1::RedirectQuery"]],["impl !UnwindSafe for Conductor",1,["pages::conductor::Conductor"]],["impl UnwindSafe for AccountCheckResp",1,["pages::ctx::api::v1::account::AccountCheckResp"]],["impl UnwindSafe for ChangePasswordReqest",1,["pages::ctx::api::v1::account::ChangePasswordReqest"]],["impl UnwindSafe for Register",1,["pages::ctx::api::v1::auth::Register"]],["impl UnwindSafe for Login",1,["pages::ctx::api::v1::auth::Login"]],["impl UnwindSafe for Password",1,["pages::ctx::api::v1::auth::Password"]],["impl UnwindSafe for AddSite",1,["pages::ctx::api::v1::pages::AddSite"]],["impl !UnwindSafe for Ctx",1,["pages::ctx::Ctx"]],["impl !UnwindSafe for ConnectionOptions",1,["pages::db::ConnectionOptions"]],["impl !UnwindSafe for Conn",1,["pages::db::Conn"]],["impl !UnwindSafe for Fresh",1,["pages::db::Fresh"]],["impl !UnwindSafe for Database",1,["pages::db::Database"]],["impl UnwindSafe for InnerSite",1,["pages::db::InnerSite"]],["impl UnwindSafe for Site",1,["pages::db::Site"]],["impl<'a> UnwindSafe for Register<'a>",1,["pages::db::Register"]],["impl<'a> UnwindSafe for UpdateEmail<'a>",1,["pages::db::UpdateEmail"]],["impl<'a> UnwindSafe for Login<'a>",1,["pages::db::Login"]],["impl UnwindSafe for NameHash",1,["pages::db::NameHash"]],["impl UnwindSafe for Event",1,["pages::db::Event"]],["impl UnwindSafe for EVENT_TYPE_CREATE",1,["pages::db::EVENT_TYPE_CREATE"]],["impl UnwindSafe for EVENT_TYPE_UPDATE",1,["pages::db::EVENT_TYPE_UPDATE"]],["impl UnwindSafe for EVENT_TYPE_DELETE",1,["pages::db::EVENT_TYPE_DELETE"]],["impl UnwindSafe for EVENTS",1,["pages::db::EVENTS"]],["impl UnwindSafe for InnerLibrepagesEvent",1,["pages::db::InnerLibrepagesEvent"]],["impl UnwindSafe for LibrePagesEvent",1,["pages::db::LibrePagesEvent"]],["impl !UnwindSafe for FSError",1,["pages::errors::FSError"]],["impl !UnwindSafe for ConfigError",1,["pages::errors::ConfigError"]],["impl !UnwindSafe for ServiceError",1,["pages::errors::ServiceError"]],["impl UnwindSafe for ErrorToResponse",1,["pages::errors::ErrorToResponse"]],["impl UnwindSafe for GitFileMode",1,["pages::git::GitFileMode"]],["impl UnwindSafe for FileInfo",1,["pages::git::FileInfo"]],["impl UnwindSafe for ContentType",1,["pages::git::ContentType"]],["impl UnwindSafe for Page",1,["pages::page::Page"]],["impl<'a> UnwindSafe for Policy<'a>",1,["pages::page_config::Policy"]],["impl UnwindSafe for SupportedFormat",1,["pages::page_config::SupportedFormat"]],["impl UnwindSafe for Login",1,["pages::pages::auth::login::Login"]],["impl UnwindSafe for get_login",1,["pages::pages::auth::login::get_login"]],["impl UnwindSafe for login_submit",1,["pages::pages::auth::login::login_submit"]],["impl UnwindSafe for Register",1,["pages::pages::auth::register::Register"]],["impl UnwindSafe for get_register",1,["pages::pages::auth::register::get_register"]],["impl UnwindSafe for register_submit",1,["pages::pages::auth::register::register_submit"]],["impl UnwindSafe for signout",1,["pages::pages::auth::signout"]],["impl UnwindSafe for Home",1,["pages::pages::dash::home::Home"]],["impl UnwindSafe for TemplateSite",1,["pages::pages::dash::home::TemplateSite"]],["impl UnwindSafe for get_home",1,["pages::pages::dash::home::get_home"]],["impl UnwindSafe for Add",1,["pages::pages::dash::sites::add::Add"]],["impl UnwindSafe for get_add_site",1,["pages::pages::dash::sites::add::get_add_site"]],["impl UnwindSafe for TemplateAddSite",1,["pages::pages::dash::sites::add::TemplateAddSite"]],["impl UnwindSafe for post_add_site",1,["pages::pages::dash::sites::add::post_add_site"]],["impl UnwindSafe for Delete",1,["pages::pages::dash::sites::delete::Delete"]],["impl UnwindSafe for TemplateSiteWithEvents",1,["pages::pages::dash::sites::delete::TemplateSiteWithEvents"]],["impl UnwindSafe for DeleteOptions",1,["pages::pages::dash::sites::delete::DeleteOptions"]],["impl UnwindSafe for get_delete_site",1,["pages::pages::dash::sites::delete::get_delete_site"]],["impl UnwindSafe for post_delete_site",1,["pages::pages::dash::sites::delete::post_delete_site"]],["impl UnwindSafe for View",1,["pages::pages::dash::sites::view::View"]],["impl UnwindSafe for TemplateSiteWithEvents",1,["pages::pages::dash::sites::view::TemplateSiteWithEvents"]],["impl UnwindSafe for ViewOptions",1,["pages::pages::dash::sites::view::ViewOptions"]],["impl UnwindSafe for get_view_site",1,["pages::pages::dash::sites::view::get_view_site"]],["impl UnwindSafe for TemplateSiteEvent",1,["pages::pages::dash::TemplateSiteEvent"]],["impl UnwindSafe for ReadableError",1,["pages::pages::errors::ReadableError"]],["impl<T> !UnwindSafe for PageError<T>",1,["pages::pages::errors::PageError"]],["impl UnwindSafe for Pages",1,["pages::pages::routes::Pages"]],["impl UnwindSafe for Auth",1,["pages::pages::routes::Auth"]],["impl UnwindSafe for Dash",1,["pages::pages::routes::Dash"]],["impl UnwindSafe for DashSite",1,["pages::pages::routes::DashSite"]],["impl UnwindSafe for TemplateFile",1,["pages::pages::TemplateFile"]],["impl UnwindSafe for TEMPLATES",1,["pages::pages::TEMPLATES"]],["impl UnwindSafe for Templates",1,["pages::pages::Templates"]],["impl<'a> UnwindSafe for Footer<'a>",1,["pages::pages::Footer"]],["impl<'a> UnwindSafe for Preview<'a>",1,["pages::preview::Preview"]],["impl UnwindSafe for Serve",1,["pages::serve::routes::Serve"]],["impl UnwindSafe for index",1,["pages::serve::index"]],["impl UnwindSafe for Server",1,["pages::settings::Server"]],["impl UnwindSafe for DBType",1,["pages::settings::DBType"]],["impl UnwindSafe for Database",1,["pages::settings::Database"]],["impl UnwindSafe for Settings",1,["pages::settings::Settings"]],["impl UnwindSafe for Conductor",1,["pages::settings::Conductor"]],["impl UnwindSafe for PageConfig",1,["pages::settings::PageConfig"]],["impl UnwindSafe for FileMap",1,["pages::static_assets::filemap::FileMap"]],["impl UnwindSafe for CSS",1,["pages::static_assets::static_files::assets::CSS"]],["impl UnwindSafe for EYE",1,["pages::static_assets::static_files::assets::EYE"]],["impl UnwindSafe for EYE_OFF",1,["pages::static_assets::static_files::assets::EYE_OFF"]],["impl UnwindSafe for MOBILE_CSS",1,["pages::static_assets::static_files::assets::MOBILE_CSS"]],["impl UnwindSafe for Asset",1,["pages::static_assets::static_files::Asset"]],["impl UnwindSafe for static_files",1,["pages::static_assets::static_files::static_files"]],["impl UnwindSafe for ASSETS",1,["pages::static_assets::routes::ASSETS"]],["impl UnwindSafe for Svg",1,["pages::static_assets::routes::Svg"]],["impl UnwindSafe for Assets",1,["pages::static_assets::routes::Assets"]],["impl<'a> UnwindSafe for ID<'a>",1,["pages::subdomains::ID"]],["impl UnwindSafe for FILES",1,["pages::FILES"]],["impl UnwindSafe for Cli",1,["pages::Cli"]],["impl UnwindSafe for Commands",1,["pages::Commands"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/lazy_static/trait.LazyStatic.js b/implementors/lazy_static/trait.LazyStatic.js index ddd5537..9c3d27a 100644 --- a/implementors/lazy_static/trait.LazyStatic.js +++ b/implementors/lazy_static/trait.LazyStatic.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl LazyStatic for EVENT_TYPE_CREATE"],["impl LazyStatic for EVENT_TYPE_UPDATE"],["impl LazyStatic for EVENT_TYPE_DELETE"],["impl LazyStatic for EVENTS"],["impl LazyStatic for TEMPLATES"],["impl LazyStatic for CSS"],["impl LazyStatic for MOBILE_CSS"],["impl LazyStatic for ASSETS"],["impl LazyStatic for FILES"]] +"pages":[["impl LazyStatic for EVENT_TYPE_CREATE"],["impl LazyStatic for EVENT_TYPE_UPDATE"],["impl LazyStatic for EVENT_TYPE_DELETE"],["impl LazyStatic for EVENTS"],["impl LazyStatic for TEMPLATES"],["impl LazyStatic for CSS"],["impl LazyStatic for EYE"],["impl LazyStatic for EYE_OFF"],["impl LazyStatic for MOBILE_CSS"],["impl LazyStatic for ASSETS"],["impl LazyStatic for FILES"]] };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 10a5fef..71ce112 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl<'de> Deserialize<'de> for AccountCheckPayload"],["impl<'de> Deserialize<'de> for Email"],["impl<'de> Deserialize<'de> for Username"],["impl<'de: 'a, 'a> Deserialize<'de> for BuildDetails<'a>"],["impl<'de> Deserialize<'de> for Health"],["impl<'de> Deserialize<'de> for DeployEvent"],["impl<'de> Deserialize<'de> for DeployEventResp"],["impl<'de> Deserialize<'de> for DeploySecret"],["impl<'de> Deserialize<'de> for DeployInfo"],["impl<'de> Deserialize<'de> for RedirectQuery"],["impl<'de> Deserialize<'de> for AccountCheckResp"],["impl<'de> Deserialize<'de> for ChangePasswordReqest"],["impl<'de> Deserialize<'de> for Register"],["impl<'de> Deserialize<'de> for Login"],["impl<'de> Deserialize<'de> for Password"],["impl<'de> Deserialize<'de> for AddSite"],["impl<'de> Deserialize<'de> for Site"],["impl<'de: 'a, 'a> Deserialize<'de> for Register<'a>"],["impl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>"],["impl<'de: 'a, 'a> Deserialize<'de> for Login<'a>"],["impl<'de> Deserialize<'de> for NameHash"],["impl<'de> Deserialize<'de> for Event"],["impl<'de> Deserialize<'de> for ErrorToResponse"],["impl<'de> Deserialize<'de> for ContentType"],["impl<'de> Deserialize<'de> for Page"],["impl<'de> Deserialize<'de> for Config"],["impl<'de> Deserialize<'de> for Source"],["impl<'de> Deserialize<'de> for Forms"],["impl<'de> Deserialize<'de> for ImageCompression"],["impl<'de> Deserialize<'de> for Redirects"],["impl<'de: 'a, 'a> Deserialize<'de> for Policy<'a>"],["impl<'de> Deserialize<'de> for SupportedFormat"],["impl<'de> Deserialize<'de> for TemplateSite"],["impl<'de> Deserialize<'de> for TemplateAddSite"],["impl<'de> Deserialize<'de> for TemplateSiteEvent"],["impl<'de> Deserialize<'de> for Server"],["impl<'de> Deserialize<'de> for DBType"],["impl<'de> Deserialize<'de> for Database"],["impl<'de> Deserialize<'de> for Settings"],["impl<'de> Deserialize<'de> for PageConfig"]] +"pages":[["impl<'de> Deserialize<'de> for AccountCheckPayload"],["impl<'de> Deserialize<'de> for Email"],["impl<'de> Deserialize<'de> for Username"],["impl<'de: 'a, 'a> Deserialize<'de> for BuildDetails<'a>"],["impl<'de> Deserialize<'de> for Health"],["impl<'de> Deserialize<'de> for DeployEvent"],["impl<'de> Deserialize<'de> for DeployEventResp"],["impl<'de> Deserialize<'de> for DeploySecret"],["impl<'de> Deserialize<'de> for DeployInfo"],["impl<'de> Deserialize<'de> for RedirectQuery"],["impl<'de> Deserialize<'de> for AccountCheckResp"],["impl<'de> Deserialize<'de> for ChangePasswordReqest"],["impl<'de> Deserialize<'de> for Register"],["impl<'de> Deserialize<'de> for Login"],["impl<'de> Deserialize<'de> for Password"],["impl<'de> Deserialize<'de> for AddSite"],["impl<'de> Deserialize<'de> for Site"],["impl<'de: 'a, 'a> Deserialize<'de> for Register<'a>"],["impl<'de: 'a, 'a> Deserialize<'de> for UpdateEmail<'a>"],["impl<'de: 'a, 'a> Deserialize<'de> for Login<'a>"],["impl<'de> Deserialize<'de> for NameHash"],["impl<'de> Deserialize<'de> for Event"],["impl<'de> Deserialize<'de> for ErrorToResponse"],["impl<'de> Deserialize<'de> for ContentType"],["impl<'de> Deserialize<'de> for Page"],["impl<'de: 'a, 'a> Deserialize<'de> for Policy<'a>"],["impl<'de> Deserialize<'de> for SupportedFormat"],["impl<'de> Deserialize<'de> for TemplateSite"],["impl<'de> Deserialize<'de> for TemplateAddSite"],["impl<'de> Deserialize<'de> for TemplateSiteWithEvents"],["impl<'de> Deserialize<'de> for DeleteOptions"],["impl<'de> Deserialize<'de> for TemplateSiteWithEvents"],["impl<'de> Deserialize<'de> for ViewOptions"],["impl<'de> Deserialize<'de> for TemplateSiteEvent"],["impl<'de> Deserialize<'de> for Server"],["impl<'de> Deserialize<'de> for DBType"],["impl<'de> Deserialize<'de> for Database"],["impl<'de> Deserialize<'de> for Settings"],["impl<'de> Deserialize<'de> for Conductor"],["impl<'de> Deserialize<'de> for PageConfig"]] };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 8bf6307..97ac382 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pages":[["impl Serialize for AccountCheckPayload"],["impl Serialize for Email"],["impl Serialize for Username"],["impl<'a> Serialize for BuildDetails<'a>"],["impl Serialize for Health"],["impl Serialize for DeployEvent"],["impl Serialize for DeployEventResp"],["impl Serialize for DeploySecret"],["impl Serialize for DeployInfo"],["impl Serialize for AccountCheckResp"],["impl Serialize for ChangePasswordReqest"],["impl Serialize for Register"],["impl Serialize for Login"],["impl Serialize for Password"],["impl Serialize for AddSite"],["impl Serialize for Site"],["impl<'a> Serialize for Register<'a>"],["impl<'a> Serialize for UpdateEmail<'a>"],["impl<'a> Serialize for Login<'a>"],["impl Serialize for NameHash"],["impl Serialize for Event"],["impl Serialize for ErrorToResponse"],["impl Serialize for ContentType"],["impl Serialize for Page"],["impl Serialize for Config"],["impl Serialize for Source"],["impl Serialize for Forms"],["impl Serialize for ImageCompression"],["impl Serialize for Redirects"],["impl<'a> Serialize for Policy<'a>"],["impl Serialize for SupportedFormat"],["impl Serialize for TemplateSite"],["impl Serialize for TemplateAddSite"],["impl Serialize for TemplateSiteEvent"],["impl Serialize for ReadableError"],["impl Serialize for Pages"],["impl Serialize for Auth"],["impl Serialize for Dash"],["impl Serialize for DashSite"],["impl<'a> Serialize for Footer<'a>"],["impl Serialize for Server"],["impl Serialize for DBType"],["impl Serialize for Database"],["impl Serialize for Settings"],["impl Serialize for PageConfig"],["impl Serialize for Assets"]] +"pages":[["impl Serialize for AccountCheckPayload"],["impl Serialize for Email"],["impl Serialize for Username"],["impl<'a> Serialize for BuildDetails<'a>"],["impl Serialize for Health"],["impl Serialize for DeployEvent"],["impl Serialize for DeployEventResp"],["impl Serialize for DeploySecret"],["impl Serialize for DeployInfo"],["impl Serialize for AccountCheckResp"],["impl Serialize for ChangePasswordReqest"],["impl Serialize for Register"],["impl Serialize for Login"],["impl Serialize for Password"],["impl Serialize for AddSite"],["impl Serialize for Site"],["impl<'a> Serialize for Register<'a>"],["impl<'a> Serialize for UpdateEmail<'a>"],["impl<'a> Serialize for Login<'a>"],["impl Serialize for NameHash"],["impl Serialize for Event"],["impl Serialize for ErrorToResponse"],["impl Serialize for ContentType"],["impl Serialize for Page"],["impl<'a> Serialize for Policy<'a>"],["impl Serialize for SupportedFormat"],["impl Serialize for TemplateSite"],["impl Serialize for TemplateAddSite"],["impl Serialize for TemplateSiteWithEvents"],["impl Serialize for DeleteOptions"],["impl Serialize for TemplateSiteWithEvents"],["impl Serialize for ViewOptions"],["impl Serialize for TemplateSiteEvent"],["impl Serialize for ReadableError"],["impl Serialize for Pages"],["impl Serialize for Auth"],["impl Serialize for Dash"],["impl Serialize for DashSite"],["impl<'a> Serialize for Footer<'a>"],["impl Serialize for Server"],["impl Serialize for DBType"],["impl Serialize for Database"],["impl Serialize for Settings"],["impl Serialize for Conductor"],["impl Serialize for PageConfig"],["impl Serialize for Svg"],["impl Serialize for Assets"]] };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 797f265..32b5cb0 100644 --- a/pages/all.html +++ b/pages/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Typedefs

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Typedefs

Constants

\ No newline at end of file diff --git a/pages/api/v1/account/struct.AccountCheckPayload.html b/pages/api/v1/account/struct.AccountCheckPayload.html index 92d64f4..fae23ad 100644 --- a/pages/api/v1/account/struct.AccountCheckPayload.html +++ b/pages/api/v1/account/struct.AccountCheckPayload.html @@ -1,11 +1,11 @@ AccountCheckPayload in pages::api::v1::account - Rust
pub struct AccountCheckPayload {
     pub val: String,
-}

Fields

val: 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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

val: 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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/account/struct.Email.html b/pages/api/v1/account/struct.Email.html index 90ed51b..cab6eef 100644 --- a/pages/api/v1/account/struct.Email.html +++ b/pages/api/v1/account/struct.Email.html @@ -1,11 +1,11 @@ Email in pages::api::v1::account - Rust
pub struct Email {
     pub email: String,
-}

Fields

email: 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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

email: 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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/account/struct.Username.html b/pages/api/v1/account/struct.Username.html index a251f29..856cef0 100644 --- a/pages/api/v1/account/struct.Username.html +++ b/pages/api/v1/account/struct.Username.html @@ -1,11 +1,11 @@ Username in pages::api::v1::account - Rust
pub struct Username {
     pub username: String,
-}

Fields

username: 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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

username: 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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/account/struct.delete_account.html b/pages/api/v1/account/struct.delete_account.html index c39e512..f73902e 100644 --- a/pages/api/v1/account/struct.delete_account.html +++ b/pages/api/v1/account/struct.delete_account.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/account/struct.email_exists.html b/pages/api/v1/account/struct.email_exists.html index 1765ff1..75564ea 100644 --- a/pages/api/v1/account/struct.email_exists.html +++ b/pages/api/v1/account/struct.email_exists.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/account/struct.set_email.html b/pages/api/v1/account/struct.set_email.html index 8b90da3..5c54a07 100644 --- a/pages/api/v1/account/struct.set_email.html +++ b/pages/api/v1/account/struct.set_email.html @@ -5,6 +5,6 @@ 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 +
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/api/v1/account/struct.set_username.html b/pages/api/v1/account/struct.set_username.html index 3087e93..b6138bc 100644 --- a/pages/api/v1/account/struct.set_username.html +++ b/pages/api/v1/account/struct.set_username.html @@ -5,6 +5,6 @@ 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 +
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/api/v1/account/struct.update_user_password.html b/pages/api/v1/account/struct.update_user_password.html index 0e361f2..e7e9bf0 100644 --- a/pages/api/v1/account/struct.update_user_password.html +++ b/pages/api/v1/account/struct.update_user_password.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/account/struct.username_exists.html b/pages/api/v1/account/struct.username_exists.html index ab3e656..206d3b8 100644 --- a/pages/api/v1/account/struct.username_exists.html +++ b/pages/api/v1/account/struct.username_exists.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/auth/struct.login.html b/pages/api/v1/auth/struct.login.html index e2d5427..3db6318 100644 --- a/pages/api/v1/auth/struct.login.html +++ b/pages/api/v1/auth/struct.login.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/auth/struct.register.html b/pages/api/v1/auth/struct.register.html index 69de520..0b0c91d 100644 --- a/pages/api/v1/auth/struct.register.html +++ b/pages/api/v1/auth/struct.register.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/auth/struct.signout.html b/pages/api/v1/auth/struct.signout.html index c13b301..12b8d2d 100644 --- a/pages/api/v1/auth/struct.signout.html +++ b/pages/api/v1/auth/struct.signout.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/meta/routes/struct.Meta.html b/pages/api/v1/meta/routes/struct.Meta.html index cd8c2ff..8ec9f16 100644 --- a/pages/api/v1/meta/routes/struct.Meta.html +++ b/pages/api/v1/meta/routes/struct.Meta.html @@ -7,6 +7,6 @@ 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 +
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/api/v1/meta/struct.BuildDetails.html b/pages/api/v1/meta/struct.BuildDetails.html index e80e72b..4bd6f2d 100644 --- a/pages/api/v1/meta/struct.BuildDetails.html +++ b/pages/api/v1/meta/struct.BuildDetails.html @@ -2,12 +2,12 @@ pub version: &'a str, pub git_commit_hash: &'a str, pub source_code: &'a str, -}

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/meta/struct.Health.html b/pages/api/v1/meta/struct.Health.html index ac3d112..96e1c48 100644 --- a/pages/api/v1/meta/struct.Health.html +++ b/pages/api/v1/meta/struct.Health.html @@ -1,12 +1,12 @@ Health in pages::api::v1::meta - Rust
pub struct Health {
     db: bool,
 }
Expand description

Health check return datatype

-

Fields

db: bool

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+

Fields

db: bool

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/meta/struct.build_details.html b/pages/api/v1/meta/struct.build_details.html index 7d6106b..30bf842 100644 --- a/pages/api/v1/meta/struct.build_details.html +++ b/pages/api/v1/meta/struct.build_details.html @@ -5,6 +5,6 @@ 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 +
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/api/v1/meta/struct.health.html b/pages/api/v1/meta/struct.health.html index c055fbb..f3503a1 100644 --- a/pages/api/v1/meta/struct.health.html +++ b/pages/api/v1/meta/struct.health.html @@ -5,6 +5,6 @@ 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 +
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/api/v1/pages/routes/struct.Deploy.html b/pages/api/v1/pages/routes/struct.Deploy.html index b164706..978956d 100644 --- a/pages/api/v1/pages/routes/struct.Deploy.html +++ b/pages/api/v1/pages/routes/struct.Deploy.html @@ -7,6 +7,6 @@ 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 +
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/api/v1/pages/struct.DeployEvent.html b/pages/api/v1/pages/struct.DeployEvent.html index 0d56886..9118496 100644 --- a/pages/api/v1/pages/struct.DeployEvent.html +++ b/pages/api/v1/pages/struct.DeployEvent.html @@ -1,12 +1,12 @@ DeployEvent in pages::api::v1::pages - Rust
pub struct DeployEvent {
     pub secret: String,
     pub branch: String,
-}

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/pages/struct.DeployEventResp.html b/pages/api/v1/pages/struct.DeployEventResp.html index af694c7..be5b7c8 100644 --- a/pages/api/v1/pages/struct.DeployEventResp.html +++ b/pages/api/v1/pages/struct.DeployEventResp.html @@ -1,11 +1,11 @@ DeployEventResp in pages::api::v1::pages - Rust
pub struct DeployEventResp {
     pub id: Uuid,
-}

Fields

id: Uuid

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

id: Uuid

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/pages/struct.DeployInfo.html b/pages/api/v1/pages/struct.DeployInfo.html index 274a2c8..e659c51 100644 --- a/pages/api/v1/pages/struct.DeployInfo.html +++ b/pages/api/v1/pages/struct.DeployInfo.html @@ -2,14 +2,14 @@ pub head: String, pub remote: String, pub commit: String, -}

Fields

head: Stringremote: Stringcommit: String

Implementations

Trait Implementations

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

Fields

head: Stringremote: Stringcommit: String

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/pages/struct.DeploySecret.html b/pages/api/v1/pages/struct.DeploySecret.html index d2f3aaf..76d18fa 100644 --- a/pages/api/v1/pages/struct.DeploySecret.html +++ b/pages/api/v1/pages/struct.DeploySecret.html @@ -1,13 +1,13 @@ DeploySecret in pages::api::v1::pages - Rust
pub struct DeploySecret {
     pub secret: String,
-}

Fields

secret: String

Trait Implementations

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

Fields

secret: String

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/api/v1/pages/struct.deploy_info.html b/pages/api/v1/pages/struct.deploy_info.html index e7abde3..1cf488d 100644 --- a/pages/api/v1/pages/struct.deploy_info.html +++ b/pages/api/v1/pages/struct.deploy_info.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/pages/struct.update.html b/pages/api/v1/pages/struct.update.html index 6ed6661..162725e 100644 --- a/pages/api/v1/pages/struct.update.html +++ b/pages/api/v1/pages/struct.update.html @@ -4,6 +4,6 @@ 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 +
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/api/v1/routes/struct.Account.html b/pages/api/v1/routes/struct.Account.html index 6e63707..bec9449 100644 --- a/pages/api/v1/routes/struct.Account.html +++ b/pages/api/v1/routes/struct.Account.html @@ -19,6 +19,6 @@ 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 +
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/api/v1/routes/struct.Auth.html b/pages/api/v1/routes/struct.Auth.html index 837bad0..35fa7e5 100644 --- a/pages/api/v1/routes/struct.Auth.html +++ b/pages/api/v1/routes/struct.Auth.html @@ -13,6 +13,6 @@ 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 +
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/api/v1/routes/struct.Routes.html b/pages/api/v1/routes/struct.Routes.html index daad5f7..4bd0e2e 100644 --- a/pages/api/v1/routes/struct.Routes.html +++ b/pages/api/v1/routes/struct.Routes.html @@ -15,6 +15,6 @@ 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 +
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/api/v1/struct.RedirectQuery.html b/pages/api/v1/struct.RedirectQuery.html index 0b4dc8c..67c6f58 100644 --- a/pages/api/v1/struct.RedirectQuery.html +++ b/pages/api/v1/struct.RedirectQuery.html @@ -1,11 +1,11 @@ RedirectQuery in pages::api::v1 - Rust
pub struct RedirectQuery {
     pub redirect_to: Option<String>,
-}

Fields

redirect_to: Option<String>

Trait Implementations

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.

+}

Fields

redirect_to: Option<String>

Trait Implementations

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

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/conductor/index.html b/pages/conductor/index.html new file mode 100644 index 0000000..d18a84c --- /dev/null +++ b/pages/conductor/index.html @@ -0,0 +1 @@ +pages::conductor - Rust

Structs

\ No newline at end of file diff --git a/pages/conductor/sidebar-items.js b/pages/conductor/sidebar-items.js new file mode 100644 index 0000000..82afd4d --- /dev/null +++ b/pages/conductor/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":[["Conductor",""]]}; \ No newline at end of file diff --git a/pages/conductor/struct.Conductor.html b/pages/conductor/struct.Conductor.html new file mode 100644 index 0000000..cece860 --- /dev/null +++ b/pages/conductor/struct.Conductor.html @@ -0,0 +1,12 @@ +Conductor in pages::conductor - Rust
pub struct Conductor {
+    client: Client,
+    pub settings: Settings,
+}

Fields

client: Clientsettings: Settings

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

+

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/constant.CACHE_AGE.html b/pages/constant.CACHE_AGE.html index f69c421..b05148c 100644 --- a/pages/constant.CACHE_AGE.html +++ b/pages/constant.CACHE_AGE.html @@ -1 +1 @@ -CACHE_AGE in pages - Rust
pub const CACHE_AGE: u32 = 604800;
\ No newline at end of file +CACHE_AGE in pages - Rust
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 61d7f1f..36429b3 100644 --- a/pages/constant.GIT_COMMIT_HASH.html +++ b/pages/constant.GIT_COMMIT_HASH.html @@ -1 +1 @@ -GIT_COMMIT_HASH in pages - Rust
pub const GIT_COMMIT_HASH: &'static str = _;
\ No newline at end of file +GIT_COMMIT_HASH in pages - Rust
pub const GIT_COMMIT_HASH: &'static str = _;
\ No newline at end of file diff --git a/pages/constant.PKG_DESCRIPTION.html b/pages/constant.PKG_DESCRIPTION.html index 9fa4baf..b4c396a 100644 --- a/pages/constant.PKG_DESCRIPTION.html +++ b/pages/constant.PKG_DESCRIPTION.html @@ -1 +1 @@ -PKG_DESCRIPTION in pages - Rust
pub const PKG_DESCRIPTION: &'static str = _;
\ No newline at end of file +PKG_DESCRIPTION in pages - Rust
pub const PKG_DESCRIPTION: &'static str = _;
\ No newline at end of file diff --git a/pages/constant.PKG_HOMEPAGE.html b/pages/constant.PKG_HOMEPAGE.html index cf86f2b..af7a02a 100644 --- a/pages/constant.PKG_HOMEPAGE.html +++ b/pages/constant.PKG_HOMEPAGE.html @@ -1 +1 @@ -PKG_HOMEPAGE in pages - Rust
pub const PKG_HOMEPAGE: &'static str = _;
\ No newline at end of file +PKG_HOMEPAGE in pages - Rust
pub const PKG_HOMEPAGE: &'static str = _;
\ No newline at end of file diff --git a/pages/constant.PKG_NAME.html b/pages/constant.PKG_NAME.html index 4d534ba..c37277e 100644 --- a/pages/constant.PKG_NAME.html +++ b/pages/constant.PKG_NAME.html @@ -1 +1 @@ -PKG_NAME in pages - Rust
pub const PKG_NAME: &'static str = _;
\ No newline at end of file +PKG_NAME in pages - Rust
pub const PKG_NAME: &'static str = _;
\ No newline at end of file diff --git a/pages/constant.VERSION.html b/pages/constant.VERSION.html index 3788e33..b2fbd79 100644 --- a/pages/constant.VERSION.html +++ b/pages/constant.VERSION.html @@ -1 +1 @@ -VERSION in pages - Rust
pub const VERSION: &'static str = _;
\ No newline at end of file +VERSION in pages - Rust
pub const VERSION: &'static str = _;
\ No newline at end of file diff --git a/pages/ctx/api/v1/account/struct.AccountCheckResp.html b/pages/ctx/api/v1/account/struct.AccountCheckResp.html index 3f3a7ab..ea20d0e 100644 --- a/pages/ctx/api/v1/account/struct.AccountCheckResp.html +++ b/pages/ctx/api/v1/account/struct.AccountCheckResp.html @@ -2,12 +2,12 @@ pub exists: bool, }
Expand description

Data structure used in *_exists methods

Fields

exists: bool

set to true if the attribute in question exists

-

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/ctx/api/v1/account/struct.ChangePasswordReqest.html b/pages/ctx/api/v1/account/struct.ChangePasswordReqest.html index d01ed7c..dc47f40 100644 --- a/pages/ctx/api/v1/account/struct.ChangePasswordReqest.html +++ b/pages/ctx/api/v1/account/struct.ChangePasswordReqest.html @@ -6,12 +6,12 @@

Fields

password: String

current password

new_password: String

new password

confirm_new_password: String

new password confirmation

-

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/ctx/api/v1/auth/struct.Login.html b/pages/ctx/api/v1/auth/struct.Login.html index c5aa9ab..69b65fe 100644 --- a/pages/ctx/api/v1/auth/struct.Login.html +++ b/pages/ctx/api/v1/auth/struct.Login.html @@ -5,12 +5,12 @@

Fields

login: String

user identifier: either username or email an email is detected by checkinf for the existence of @ character

password: String

password

-

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/ctx/api/v1/auth/struct.Password.html b/pages/ctx/api/v1/auth/struct.Password.html index 50cbe11..4438feb 100644 --- a/pages/ctx/api/v1/auth/struct.Password.html +++ b/pages/ctx/api/v1/auth/struct.Password.html @@ -2,12 +2,12 @@ pub password: String, }
Expand description

struct used to represent password

Fields

password: String

password

-

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/ctx/api/v1/auth/struct.Register.html b/pages/ctx/api/v1/auth/struct.Register.html index 772cfa6..908a80c 100644 --- a/pages/ctx/api/v1/auth/struct.Register.html +++ b/pages/ctx/api/v1/auth/struct.Register.html @@ -7,12 +7,12 @@

Fields

username: String

username

password: String

password

confirm_password: String

password confirmation: password and confirm_password must match

-
email: 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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
email: 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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/ctx/api/v1/pages/index.html b/pages/ctx/api/v1/pages/index.html index 6a4ab8c..bb3af19 100644 --- a/pages/ctx/api/v1/pages/index.html +++ b/pages/ctx/api/v1/pages/index.html @@ -1 +1 @@ -pages::ctx::api::v1::pages - Rust

Structs

Data required to add site
\ No newline at end of file +pages::ctx::api::v1::pages - Rust

Structs

Data required to add site
\ No newline at end of file diff --git a/pages/ctx/api/v1/pages/struct.AddSite.html b/pages/ctx/api/v1/pages/struct.AddSite.html index 6a0cb1d..5eda319 100644 --- a/pages/ctx/api/v1/pages/struct.AddSite.html +++ b/pages/ctx/api/v1/pages/struct.AddSite.html @@ -1,16 +1,16 @@ -AddSite in pages::ctx::api::v1::pages - Rust
pub struct AddSite {
+AddSite in pages::ctx::api::v1::pages - Rust
pub struct AddSite {
     pub repo_url: String,
     pub branch: String,
     pub owner: String,
 }
Expand description

Data required to add site

-

Fields

repo_url: Stringbranch: Stringowner: String

Implementations

Trait Implementations

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

Fields

repo_url: Stringbranch: Stringowner: String

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/ctx/index.html b/pages/ctx/index.html index 4de1b21..6c276ef 100644 --- a/pages/ctx/index.html +++ b/pages/ctx/index.html @@ -1 +1 @@ -pages::ctx - Rust
\ No newline at end of file +pages::ctx - Rust
\ No newline at end of file diff --git a/pages/ctx/struct.Ctx.html b/pages/ctx/struct.Ctx.html index 83eb8a5..4b31997 100644 --- a/pages/ctx/struct.Ctx.html +++ b/pages/ctx/struct.Ctx.html @@ -1,8 +1,9 @@ -Ctx in pages::ctx - Rust

Struct pages::ctx::Ctx

source · []

Fields

settings: Settingsdb: Databaseconductor: Conductorcreds: ArgonConfig

credential-procession policy

Implementations

check if email exists on database

update email

check if email exists in database

@@ -12,13 +13,13 @@

Log in method. Returns Ok(()) when user is authenticated and errors when authentication fails

register new user

-

Get credential-processing policy

-

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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.

+

Get credential-processing policy

+

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/ctx/type.ArcCtx.html b/pages/ctx/type.ArcCtx.html index 46904aa..27b70a8 100644 --- a/pages/ctx/type.ArcCtx.html +++ b/pages/ctx/type.ArcCtx.html @@ -1 +1 @@ -ArcCtx in pages::ctx - Rust

Type Definition pages::ctx::ArcCtx

source · []
pub type ArcCtx = Arc<Ctx>;
\ No newline at end of file +ArcCtx in pages::ctx - Rust

Type Definition pages::ctx::ArcCtx

source · []
pub type ArcCtx = Arc<Ctx>;
\ No newline at end of file diff --git a/pages/db/enum.ConnectionOptions.html b/pages/db/enum.ConnectionOptions.html index d6b189e..95a9368 100644 --- a/pages/db/enum.ConnectionOptions.html +++ b/pages/db/enum.ConnectionOptions.html @@ -10,6 +10,6 @@ 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 +
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/db/enum.Login.html b/pages/db/enum.Login.html index 40285b4..dfeb675 100644 --- a/pages/db/enum.Login.html +++ b/pages/db/enum.Login.html @@ -1,17 +1,17 @@ -Login in pages::db - Rust
pub enum Login<'a> {
+Login in pages::db - Rust
pub enum Login<'a> {
     Username(&'a str),
     Email(&'a str),
 }
Expand description

types of credentials used as identifiers during login

Variants

Username(&'a str)

username as login

Email(&'a str)

email as login

-

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 +

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/db/fn.get_db.html b/pages/db/fn.get_db.html index a3c6713..12aa3b8 100644 --- a/pages/db/fn.get_db.html +++ b/pages/db/fn.get_db.html @@ -1 +1 @@ -get_db in pages::db - Rust

Function pages::db::get_db

source · []
pub async fn get_db(settings: &Settings) -> Database
\ No newline at end of file +get_db in pages::db - Rust

Function pages::db::get_db

source · []
pub async fn get_db(settings: &Settings) -> Database
\ No newline at end of file diff --git a/pages/db/fn.map_register_err.html b/pages/db/fn.map_register_err.html index 46ec40d..37711a3 100644 --- a/pages/db/fn.map_register_err.html +++ b/pages/db/fn.map_register_err.html @@ -1,2 +1,2 @@ -map_register_err in pages::db - Rust
fn map_register_err(e: Error) -> ServiceError
Expand description

map postgres errors to ServiceError types

+map_register_err in pages::db - Rust
fn map_register_err(e: Error) -> ServiceError
Expand description

map postgres errors to ServiceError types

\ No newline at end of file diff --git a/pages/db/fn.map_row_not_found_err.html b/pages/db/fn.map_row_not_found_err.html index a2fa7af..7d12ef5 100644 --- a/pages/db/fn.map_row_not_found_err.html +++ b/pages/db/fn.map_row_not_found_err.html @@ -1,2 +1,2 @@ -map_row_not_found_err in pages::db - Rust
pub fn map_row_not_found_err(
    e: Error,
    row_not_found: ServiceError
) -> ServiceError
Expand description

map custom row not found error to DB error

+map_row_not_found_err in pages::db - Rust
pub fn map_row_not_found_err(
    e: Error,
    row_not_found: ServiceError
) -> ServiceError
Expand description

map custom row not found error to DB error

\ No newline at end of file diff --git a/pages/db/fn.now_unix_time_stamp.html b/pages/db/fn.now_unix_time_stamp.html index 5b15656..4925e41 100644 --- a/pages/db/fn.now_unix_time_stamp.html +++ b/pages/db/fn.now_unix_time_stamp.html @@ -1 +1 @@ -now_unix_time_stamp in pages::db - Rust
fn now_unix_time_stamp() -> OffsetDateTime
\ No newline at end of file +now_unix_time_stamp in pages::db - Rust
fn now_unix_time_stamp() -> OffsetDateTime
\ No newline at end of file diff --git a/pages/db/index.html b/pages/db/index.html index 3e4cb1b..a6e9d88 100644 --- a/pages/db/index.html +++ b/pages/db/index.html @@ -1 +1 @@ -pages::db - Rust

Module pages::db

source · []

Structs

Use an existing database pool
InnerSite 🔒
type encapsulating username and hashed password of a user
Data required to register a new user
Data required to add a new site
data required to update them email of a user

Enums

Connect to databse
types of credentials used as identifiers during login

Functions

map postgres errors to ServiceError types
map custom row not found error to DB error
\ No newline at end of file +pages::db - Rust

Module pages::db

source · []

Structs

Use an existing database pool
InnerSite 🔒
type encapsulating username and hashed password of a user
Data required to register a new user
Data required to add a new site
data required to update them email of a user

Enums

Connect to databse
types of credentials used as identifiers during login

Functions

map postgres errors to ServiceError types
map custom row not found error to DB error
\ No newline at end of file diff --git a/pages/db/struct.Conn.html b/pages/db/struct.Conn.html index de41f9f..f18867d 100644 --- a/pages/db/struct.Conn.html +++ b/pages/db/struct.Conn.html @@ -5,6 +5,6 @@ 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 +
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/db/struct.Database.html b/pages/db/struct.Database.html index 3e3e9be..d9438fc 100644 --- a/pages/db/struct.Database.html +++ b/pages/db/struct.Database.html @@ -1,6 +1,6 @@ -Database in pages::db - Rust

Fields

pool: PgPool

Implementations

register a new user

delete a user

check if username exists

get user email

@@ -9,14 +9,14 @@

get a user’s password

update user’s password

update username

-

check if hostname exists

-

check if event type exists

-

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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.

+

check if hostname exists

+

check if event type exists

+

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/db/struct.EVENTS.html b/pages/db/struct.EVENTS.html index 36d0cde..16a42ce 100644 --- a/pages/db/struct.EVENTS.html +++ b/pages/db/struct.EVENTS.html @@ -1,4 +1,4 @@ -EVENTS in pages::db - Rust
pub struct EVENTS {
+EVENTS in pages::db - Rust
pub struct EVENTS {
     __private_field: (),
 }

Fields

__private_field: ()

Methods from Deref<Target = [&'static Event; 3]>

Returns a slice containing the entire array. Equivalent to &s[..].

🔬This is a nightly-only experimental API. (array_methods)

Borrows each element and returns an array of references with the same @@ -77,12 +77,12 @@ indices from [N - M, N) (excluding the index N itself) assert_eq!(left, &[]); assert_eq!(right, &[1, 2, 3, 4, 5, 6]); }

-

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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.

+

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/db/struct.EVENT_TYPE_CREATE.html b/pages/db/struct.EVENT_TYPE_CREATE.html index 4ba1a40..b12b7ae 100644 --- a/pages/db/struct.EVENT_TYPE_CREATE.html +++ b/pages/db/struct.EVENT_TYPE_CREATE.html @@ -1,11 +1,11 @@ -EVENT_TYPE_CREATE in pages::db - Rust
pub struct EVENT_TYPE_CREATE {
+EVENT_TYPE_CREATE in pages::db - Rust
pub struct EVENT_TYPE_CREATE {
     __private_field: (),
-}

Fields

__private_field: ()

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

__private_field: ()

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/db/struct.EVENT_TYPE_DELETE.html b/pages/db/struct.EVENT_TYPE_DELETE.html index 80c46ee..fa4c072 100644 --- a/pages/db/struct.EVENT_TYPE_DELETE.html +++ b/pages/db/struct.EVENT_TYPE_DELETE.html @@ -1,11 +1,11 @@ -EVENT_TYPE_DELETE in pages::db - Rust
pub struct EVENT_TYPE_DELETE {
+EVENT_TYPE_DELETE in pages::db - Rust
pub struct EVENT_TYPE_DELETE {
     __private_field: (),
-}

Fields

__private_field: ()

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

__private_field: ()

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/db/struct.EVENT_TYPE_UPDATE.html b/pages/db/struct.EVENT_TYPE_UPDATE.html index 9a4fb4a..0d8d67f 100644 --- a/pages/db/struct.EVENT_TYPE_UPDATE.html +++ b/pages/db/struct.EVENT_TYPE_UPDATE.html @@ -1,11 +1,11 @@ -EVENT_TYPE_UPDATE in pages::db - Rust
pub struct EVENT_TYPE_UPDATE {
+EVENT_TYPE_UPDATE in pages::db - Rust
pub struct EVENT_TYPE_UPDATE {
     __private_field: (),
-}

Fields

__private_field: ()

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

__private_field: ()

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/db/struct.Event.html b/pages/db/struct.Event.html index 7554759..871481e 100644 --- a/pages/db/struct.Event.html +++ b/pages/db/struct.Event.html @@ -1,13 +1,13 @@ -Event in pages::db - Rust
pub struct Event {
+Event in pages::db - Rust
pub struct Event {
     pub name: String,
-}

Fields

name: String

Implementations

Trait Implementations

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

Fields

name: String

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/db/struct.Fresh.html b/pages/db/struct.Fresh.html index d9c4f5a..1402d87 100644 --- a/pages/db/struct.Fresh.html +++ b/pages/db/struct.Fresh.html @@ -8,6 +8,6 @@ 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 +
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/db/struct.InnerLibrepagesEvent.html b/pages/db/struct.InnerLibrepagesEvent.html index b2eb9a1..fb33a46 100644 --- a/pages/db/struct.InnerLibrepagesEvent.html +++ b/pages/db/struct.InnerLibrepagesEvent.html @@ -1,4 +1,4 @@ -InnerLibrepagesEvent in pages::db - Rust
struct InnerLibrepagesEvent {
+InnerLibrepagesEvent in pages::db - Rust
struct InnerLibrepagesEvent {
     name: String,
     time: OffsetDateTime,
     pub_id: Uuid,
@@ -8,6 +8,6 @@
 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 +
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/db/struct.InnerSite.html b/pages/db/struct.InnerSite.html index 1c37c29..15012ad 100644 --- a/pages/db/struct.InnerSite.html +++ b/pages/db/struct.InnerSite.html @@ -1,15 +1,15 @@ -InnerSite in pages::db - Rust
struct InnerSite {
+InnerSite in pages::db - Rust
struct InnerSite {
     site_secret: String,
     repo_url: String,
     branch: String,
     hostname: String,
     pub_id: Uuid,
-}

Fields

site_secret: Stringrepo_url: Stringbranch: Stringhostname: Stringpub_id: Uuid

Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

site_secret: Stringrepo_url: Stringbranch: Stringhostname: Stringpub_id: Uuid

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 +
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/db/struct.LibrePagesEvent.html b/pages/db/struct.LibrePagesEvent.html index bd0f7a0..b71b474 100644 --- a/pages/db/struct.LibrePagesEvent.html +++ b/pages/db/struct.LibrePagesEvent.html @@ -1,16 +1,16 @@ -LibrePagesEvent in pages::db - Rust
pub struct LibrePagesEvent {
+LibrePagesEvent in pages::db - Rust
pub struct LibrePagesEvent {
     pub event_type: Event,
     pub time: OffsetDateTime,
     pub site: String,
     pub id: Uuid,
-}

Fields

event_type: Eventtime: OffsetDateTimesite: Stringid: Uuid

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.
This method tests for self and other values to be equal, and is used +}

Fields

event_type: Eventtime: OffsetDateTimesite: Stringid: Uuid

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.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more

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 +
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/db/struct.NameHash.html b/pages/db/struct.NameHash.html index b1eeb50..0905f69 100644 --- a/pages/db/struct.NameHash.html +++ b/pages/db/struct.NameHash.html @@ -1,17 +1,17 @@ -NameHash in pages::db - Rust
pub struct NameHash {
+NameHash in pages::db - Rust
pub struct NameHash {
     pub username: String,
     pub hash: String,
 }
Expand description

type encapsulating username and hashed password of a user

Fields

username: String

username

hash: String

hashed password

-

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 +

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/db/struct.Register.html b/pages/db/struct.Register.html index 0e6b72f..926c069 100644 --- a/pages/db/struct.Register.html +++ b/pages/db/struct.Register.html @@ -1,4 +1,4 @@ -Register in pages::db - Rust
pub struct Register<'a> {
+Register in pages::db - Rust
pub struct Register<'a> {
     pub username: &'a str,
     pub hash: &'a str,
     pub email: &'a str,
@@ -6,14 +6,14 @@
 

Fields

username: &'a str

username of new user

hash: &'a str

hashed password of new use

email: &'a str

Optionally, email of new use

-

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 +

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/db/struct.Site.html b/pages/db/struct.Site.html index 1493877..29f4709 100644 --- a/pages/db/struct.Site.html +++ b/pages/db/struct.Site.html @@ -1,4 +1,4 @@ -Site in pages::db - Rust

Struct pages::db::Site

source · []
pub struct Site {
+Site in pages::db - Rust

Struct pages::db::Site

source · []
pub struct Site {
     pub site_secret: String,
     pub repo_url: String,
     pub pub_id: Uuid,
@@ -6,14 +6,14 @@
     pub hostname: String,
     pub owner: String,
 }
Expand description

Data required to add a new site

-

Fields

site_secret: Stringrepo_url: Stringpub_id: Uuidbranch: Stringhostname: Stringowner: String

Trait Implementations

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

Fields

site_secret: Stringrepo_url: Stringpub_id: Uuidbranch: Stringhostname: Stringowner: String

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/db/struct.UpdateEmail.html b/pages/db/struct.UpdateEmail.html index 53249fa..3912759 100644 --- a/pages/db/struct.UpdateEmail.html +++ b/pages/db/struct.UpdateEmail.html @@ -1,17 +1,17 @@ -UpdateEmail in pages::db - Rust
pub struct UpdateEmail<'a> {
+UpdateEmail in pages::db - Rust
pub struct UpdateEmail<'a> {
     pub username: &'a str,
     pub new_email: &'a str,
 }
Expand description

data required to update them email of a user

Fields

username: &'a str

username of the user

new_email: &'a str

new email address of the user

-

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 +

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/enum.Commands.html b/pages/enum.Commands.html index 272b3ab..0965fa3 100644 --- a/pages/enum.Commands.html +++ b/pages/enum.Commands.html @@ -1,14 +1,14 @@ -Commands in pages - Rust
pub(crate) enum Commands {
+Commands in pages - Rust
pub(crate) enum Commands {
     Migrate,
     Serve,
 }

Variants

Migrate

run database migrations

Serve

run server

-

Trait Implementations

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Append to [Command] so it can instantiate Self. Read more
Append to [Command] so it can update self. Read more
Test whether Self can parse a specific subcommand

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.

+

Trait Implementations

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Append to [Command] so it can instantiate Self. Read more
Append to [Command] so it can update self. Read more
Test whether Self can parse a specific subcommand

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 +
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/errors/enum.ServiceError.html b/pages/errors/enum.ServiceError.html index 3f2131f..4b5dd53 100644 --- a/pages/errors/enum.ServiceError.html +++ b/pages/errors/enum.ServiceError.html @@ -51,7 +51,7 @@ profile

PasswordsDontMatch

passwords don’t match

Trait Implementations

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The lower-level source of this error, if any. Read more
👎Deprecated since 1.42.0:

use the Display impl or to_string()

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. 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.
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 +
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. 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.
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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Creates full response 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 @@ -60,6 +60,6 @@ sufficient, and should not be overridden without very good reason. From<T> for U chooses to do.

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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 +provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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/errors/struct.ConfigError.html b/pages/errors/struct.ConfigError.html index ec3968a..e83c813 100644 --- a/pages/errors/struct.ConfigError.html +++ b/pages/errors/struct.ConfigError.html @@ -9,6 +9,6 @@ sufficient, and should not be overridden without very good reason. From<T> for U
chooses to do.

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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 +provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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/errors/struct.ErrorToResponse.html b/pages/errors/struct.ErrorToResponse.html index b6ce56d..4421523 100644 --- a/pages/errors/struct.ErrorToResponse.html +++ b/pages/errors/struct.ErrorToResponse.html @@ -1,11 +1,11 @@ ErrorToResponse in pages::errors - Rust
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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

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

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 +
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 +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 f571a4d..1e9592d 100644 --- a/pages/errors/struct.FSError.html +++ b/pages/errors/struct.FSError.html @@ -9,6 +9,6 @@ sufficient, and should not be overridden without very good reason. From<T> for U
chooses to do.

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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 +provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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/fn.get_identity_service.html b/pages/fn.get_identity_service.html index db8afba..f3f53ee 100644 --- a/pages/fn.get_identity_service.html +++ b/pages/fn.get_identity_service.html @@ -1 +1 @@ -get_identity_service in pages - Rust
pub fn get_identity_service(
    settings: &Settings
) -> IdentityService<CookieIdentityPolicy>
\ No newline at end of file +get_identity_service in pages - Rust
pub fn get_identity_service(
    settings: &Settings
) -> IdentityService<CookieIdentityPolicy>
\ No newline at end of file diff --git a/pages/fn.get_json_err.html b/pages/fn.get_json_err.html index 656b8e4..bd30c70 100644 --- a/pages/fn.get_json_err.html +++ b/pages/fn.get_json_err.html @@ -1 +1 @@ -get_json_err in pages - Rust
pub fn get_json_err() -> JsonConfig
\ No newline at end of file +get_json_err in pages - Rust
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 20d1e8c..dcd03e9 100644 --- a/pages/fn.main.html +++ b/pages/fn.main.html @@ -1 +1 @@ -main in pages - Rust

Function pages::main

source · []
pub(crate) fn main() -> Result<()>
\ No newline at end of file +main in pages - Rust

Function pages::main

source · []
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/pages/fn.serve.html b/pages/fn.serve.html index e4e5646..2852fe3 100644 --- a/pages/fn.serve.html +++ b/pages/fn.serve.html @@ -1 +1 @@ -serve in pages - Rust

Function pages::serve

source · []
pub(crate) async fn serve(settings: Settings, ctx: AppCtx) -> Result<()>
\ No newline at end of file +serve in pages - Rust

Function pages::serve

source · []
pub(crate) async fn serve(settings: Settings, ctx: AppCtx) -> Result<()>
\ No newline at end of file diff --git a/pages/fn.services.html b/pages/fn.services.html index dbb7bb1..e2dd6d7 100644 --- a/pages/fn.services.html +++ b/pages/fn.services.html @@ -1 +1 @@ -services in pages - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages - Rust
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 index 532d8c5..305dcba 100644 --- a/pages/git/enum.ContentType.html +++ b/pages/git/enum.ContentType.html @@ -1,14 +1,14 @@ 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 +}

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 !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/git/enum.GitFileMode.html b/pages/git/enum.GitFileMode.html index 66fba4a..1de9651 100644 --- a/pages/git/enum.GitFileMode.html +++ b/pages/git/enum.GitFileMode.html @@ -41,6 +41,6 @@ sufficient, and should not be overridden without very good reason. 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 +
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/struct.FileInfo.html b/pages/git/struct.FileInfo.html index ace3a8e..d8d3041 100644 --- a/pages/git/struct.FileInfo.html +++ b/pages/git/struct.FileInfo.html @@ -10,6 +10,6 @@ sufficient, and should not be overridden without very good reason. 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 +
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 e0b3c9d..be4ed20 100644 --- a/pages/index.html +++ b/pages/index.html @@ -1 +1 @@ -pages - Rust

Modules

api 🔒
ctx 🔒
db 🔒
errors 🔒
Represents all the ways a trait can fail using this crate
git 🔒
page 🔒
pages 🔒
preview 🔒
serve 🔒
settings 🔒
subdomains 🔒
utils 🔒

Structs

Enums

Commands 🔒

Constants

Functions

Type Definitions

\ No newline at end of file +pages - Rust

Modules

api 🔒
conductor 🔒
ctx 🔒
db 🔒
errors 🔒
Represents all the ways a trait can fail using this crate
git 🔒
page 🔒
pages 🔒
preview 🔒
serve 🔒
settings 🔒
subdomains 🔒
utils 🔒

Structs

Enums

Commands 🔒

Constants

Functions

Type Definitions

\ No newline at end of file diff --git a/pages/page/struct.Page.html b/pages/page/struct.Page.html index 4dd6b77..718f459 100644 --- a/pages/page/struct.Page.html +++ b/pages/page/struct.Page.html @@ -5,14 +5,14 @@ pub branch: String, pub domain: String, pub pub_id: Uuid, -}

Fields

secret: Stringrepo: Stringpath: Stringbranch: Stringdomain: Stringpub_id: Uuid

Implementations

Trait Implementations

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

Fields

secret: Stringrepo: Stringpath: Stringbranch: Stringdomain: Stringpub_id: Uuid

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/page_config/enum.SupportedFormat.html b/pages/page_config/enum.SupportedFormat.html index fcfa38e..3cbeca6 100644 --- a/pages/page_config/enum.SupportedFormat.html +++ b/pages/page_config/enum.SupportedFormat.html @@ -1,15 +1,15 @@ -SupportedFormat in pages::page_config - Rust
enum SupportedFormat {
+SupportedFormat in pages::page_config - Rust
enum SupportedFormat {
     Json,
     Yaml,
     Toml,
-}

Variants

Json

Yaml

Toml

Trait Implementations

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 +}

Variants

Json

Yaml

Toml

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/page_config/fn.discover.html b/pages/page_config/fn.discover.html new file mode 100644 index 0000000..2283af1 --- /dev/null +++ b/pages/page_config/fn.discover.html @@ -0,0 +1 @@ +discover in pages::page_config - Rust
fn discover<'a, P: AsRef<Path>>(
    repo_path: &P,
    branch: &str,
    policies: &'a [Policy<'a>]
) -> Option<&'a Policy<'a>>
\ No newline at end of file diff --git a/pages/page_config/fn.load.html b/pages/page_config/fn.load.html new file mode 100644 index 0000000..78380a9 --- /dev/null +++ b/pages/page_config/fn.load.html @@ -0,0 +1 @@ +load in pages::page_config - Rust
pub fn load<P: AsRef<Path>>(repo_path: &P, branch: &str) -> Option<Config>
\ No newline at end of file diff --git a/pages/page_config/fn.load_json.html b/pages/page_config/fn.load_json.html new file mode 100644 index 0000000..92f45ab --- /dev/null +++ b/pages/page_config/fn.load_json.html @@ -0,0 +1 @@ +load_json in pages::page_config - Rust
fn load_json(c: &str) -> Config
\ No newline at end of file diff --git a/pages/page_config/fn.load_toml.html b/pages/page_config/fn.load_toml.html new file mode 100644 index 0000000..0c1b6f0 --- /dev/null +++ b/pages/page_config/fn.load_toml.html @@ -0,0 +1 @@ +load_toml in pages::page_config - Rust
fn load_toml(c: &str) -> Config
\ No newline at end of file diff --git a/pages/page_config/fn.load_yaml.html b/pages/page_config/fn.load_yaml.html new file mode 100644 index 0000000..d4eb7c6 --- /dev/null +++ b/pages/page_config/fn.load_yaml.html @@ -0,0 +1 @@ +load_yaml in pages::page_config - Rust
fn load_yaml(c: &str) -> Config
\ No newline at end of file diff --git a/pages/page_config/index.html b/pages/page_config/index.html index 1155653..c1a5d2d 100644 --- a/pages/page_config/index.html +++ b/pages/page_config/index.html @@ -1 +1 @@ -pages::page_config - Rust
\ No newline at end of file +pages::page_config - Rust
\ No newline at end of file diff --git a/pages/page_config/sidebar-items.js b/pages/page_config/sidebar-items.js index 6cdd810..a2e9049 100644 --- a/pages/page_config/sidebar-items.js +++ b/pages/page_config/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":[["SupportedFormat",""]],"struct":[["Config",""],["Forms",""],["ImageCompression",""],["Policy",""],["Redirects",""],["Source",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":[["SupportedFormat",""]],"fn":[["discover",""],["load",""],["load_json",""],["load_toml",""],["load_yaml",""]],"struct":[["Policy",""]]}; \ No newline at end of file diff --git a/pages/page_config/struct.Config.html b/pages/page_config/struct.Config.html deleted file mode 100644 index 2fc60dd..0000000 --- a/pages/page_config/struct.Config.html +++ /dev/null @@ -1,17 +0,0 @@ -Config in pages::page_config - Rust
pub struct Config {
-    pub source: Source,
-    pub domains: Option<Vec<String>>,
-    pub forms: Option<Forms>,
-    pub image_compression: Option<ImageCompression>,
-    pub redirects: Option<Vec<Redirects>>,
-}

Fields

source: Sourcedomains: Option<Vec<String>>forms: Option<Forms>image_compression: Option<ImageCompression>redirects: Option<Vec<Redirects>>

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

-
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/page_config/struct.Forms.html b/pages/page_config/struct.Forms.html deleted file mode 100644 index 9bca314..0000000 --- a/pages/page_config/struct.Forms.html +++ /dev/null @@ -1,13 +0,0 @@ -Forms in pages::page_config - Rust
pub struct Forms {
-    pub enable: bool,
-}

Fields

enable: bool

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

-
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/page_config/struct.ImageCompression.html b/pages/page_config/struct.ImageCompression.html deleted file mode 100644 index 95cdb3e..0000000 --- a/pages/page_config/struct.ImageCompression.html +++ /dev/null @@ -1,13 +0,0 @@ -ImageCompression in pages::page_config - Rust
pub struct ImageCompression {
-    pub enable: bool,
-}

Fields

enable: bool

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

-
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/page_config/struct.Policy.html b/pages/page_config/struct.Policy.html index 4d25f11..9a82057 100644 --- a/pages/page_config/struct.Policy.html +++ b/pages/page_config/struct.Policy.html @@ -1,14 +1,14 @@ -Policy in pages::page_config - Rust
struct Policy<'a> {
+Policy in pages::page_config - Rust
struct Policy<'a> {
     rel_path: &'a str,
     format: SupportedFormat,
-}

Fields

rel_path: &'a strformat: SupportedFormat

Implementations

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used +}

Fields

rel_path: &'a strformat: SupportedFormat

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/page_config/struct.Redirects.html b/pages/page_config/struct.Redirects.html deleted file mode 100644 index e3c5fd5..0000000 --- a/pages/page_config/struct.Redirects.html +++ /dev/null @@ -1,14 +0,0 @@ -Redirects in pages::page_config - Rust
pub struct Redirects {
-    pub from: String,
-    pub to: String,
-}

Fields

from: Stringto: String

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

-
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/page_config/struct.Source.html b/pages/page_config/struct.Source.html deleted file mode 100644 index 76f3ced..0000000 --- a/pages/page_config/struct.Source.html +++ /dev/null @@ -1,14 +0,0 @@ -Source in pages::page_config - Rust
pub struct Source {
-    production_branch: String,
-    staging: Option<String>,
-}

Fields

production_branch: Stringstaging: Option<String>

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

-
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/pages/auth/login/struct.Login.html b/pages/pages/auth/login/struct.Login.html index 2a40be2..7d833a8 100644 --- a/pages/pages/auth/login/struct.Login.html +++ b/pages/pages/auth/login/struct.Login.html @@ -6,6 +6,6 @@ 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 +
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/pages/auth/login/struct.get_login.html b/pages/pages/auth/login/struct.get_login.html index ab90234..1c23c83 100644 --- a/pages/pages/auth/login/struct.get_login.html +++ b/pages/pages/auth/login/struct.get_login.html @@ -4,6 +4,6 @@ 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 +
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/pages/auth/login/struct.login_submit.html b/pages/pages/auth/login/struct.login_submit.html index 91f83f6..20eb652 100644 --- a/pages/pages/auth/login/struct.login_submit.html +++ b/pages/pages/auth/login/struct.login_submit.html @@ -4,6 +4,6 @@ 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 +
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/pages/auth/register/struct.Register.html b/pages/pages/auth/register/struct.Register.html index bf6708a..a6041ea 100644 --- a/pages/pages/auth/register/struct.Register.html +++ b/pages/pages/auth/register/struct.Register.html @@ -6,6 +6,6 @@ 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 +
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/pages/auth/register/struct.get_register.html b/pages/pages/auth/register/struct.get_register.html index e3e9b41..e71a3b4 100644 --- a/pages/pages/auth/register/struct.get_register.html +++ b/pages/pages/auth/register/struct.get_register.html @@ -4,6 +4,6 @@ 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 +
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/pages/auth/register/struct.register_submit.html b/pages/pages/auth/register/struct.register_submit.html index 7052b71..f889a2a 100644 --- a/pages/pages/auth/register/struct.register_submit.html +++ b/pages/pages/auth/register/struct.register_submit.html @@ -4,6 +4,6 @@ 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 +
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/pages/auth/struct.signout.html b/pages/pages/auth/struct.signout.html index 9910ef3..d2ba648 100644 --- a/pages/pages/auth/struct.signout.html +++ b/pages/pages/auth/struct.signout.html @@ -4,6 +4,6 @@ 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 +
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/pages/dash/home/fn.get_site_data.html b/pages/pages/dash/home/fn.get_site_data.html index 07ac080..7fa679e 100644 --- a/pages/pages/dash/home/fn.get_site_data.html +++ b/pages/pages/dash/home/fn.get_site_data.html @@ -1 +1 @@ -get_site_data in pages::pages::dash::home - Rust
async fn get_site_data(
    ctx: &AppCtx,
    id: &Identity
) -> Result<Vec<TemplateSite>, ServiceError>
\ No newline at end of file +get_site_data in pages::pages::dash::home - Rust
async fn get_site_data(
    ctx: &AppCtx,
    id: &Identity
) -> Result<Vec<TemplateSite>, ServiceError>
\ No newline at end of file diff --git a/pages/pages/dash/home/fn.services.html b/pages/pages/dash/home/fn.services.html index f264e46..acbd7d9 100644 --- a/pages/pages/dash/home/fn.services.html +++ b/pages/pages/dash/home/fn.services.html @@ -1 +1 @@ -services in pages::pages::dash::home - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages::dash::home - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/dash/home/index.html b/pages/pages/dash/home/index.html index 885e13e..48cf044 100644 --- a/pages/pages/dash/home/index.html +++ b/pages/pages/dash/home/index.html @@ -1 +1 @@ -pages::pages::dash::home - Rust
\ No newline at end of file +pages::pages::dash::home - Rust
\ No newline at end of file diff --git a/pages/pages/dash/home/struct.Home.html b/pages/pages/dash/home/struct.Home.html index d77f911..b38b31c 100644 --- a/pages/pages/dash/home/struct.Home.html +++ b/pages/pages/dash/home/struct.Home.html @@ -1,11 +1,11 @@ Home in pages::pages::dash::home - Rust
pub struct Home {
     ctx: RefCell<Context>,
-}

Fields

ctx: RefCell<Context>

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

ctx: RefCell<Context>

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/dash/home/struct.TemplateSite.html b/pages/pages/dash/home/struct.TemplateSite.html index f4db262..c9defa8 100644 --- a/pages/pages/dash/home/struct.TemplateSite.html +++ b/pages/pages/dash/home/struct.TemplateSite.html @@ -1,14 +1,15 @@ -TemplateSite in pages::pages::dash::home - Rust
pub struct TemplateSite {
-    site: Site,
-    last_update: Option<TemplateSiteEvent>,
-}

Fields

site: Sitelast_update: Option<TemplateSiteEvent>

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 +TemplateSite in pages::pages::dash::home - Rust
pub struct TemplateSite {
+    pub site: Site,
+    pub view: String,
+    pub last_update: Option<TemplateSiteEvent>,
+}

Fields

site: Siteview: Stringlast_update: Option<TemplateSiteEvent>

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/pages/dash/home/struct.get_home.html b/pages/pages/dash/home/struct.get_home.html index 4cef5f1..5c4cb95 100644 --- a/pages/pages/dash/home/struct.get_home.html +++ b/pages/pages/dash/home/struct.get_home.html @@ -1,9 +1,9 @@ -get_home in pages::pages::dash::home - Rust
pub struct get_home;

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/dash/sites/add/fn.services.html b/pages/pages/dash/sites/add/fn.services.html index 5b1344e..ac380e2 100644 --- a/pages/pages/dash/sites/add/fn.services.html +++ b/pages/pages/dash/sites/add/fn.services.html @@ -1 +1 @@ -services in pages::pages::dash::sites::add - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages::dash::sites::add - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/dash/sites/add/index.html b/pages/pages/dash/sites/add/index.html index dadf269..c96821f 100644 --- a/pages/pages/dash/sites/add/index.html +++ b/pages/pages/dash/sites/add/index.html @@ -1 +1 @@ -pages::pages::dash::sites::add - Rust
\ No newline at end of file +pages::pages::dash::sites::add - Rust
\ No newline at end of file diff --git a/pages/pages/dash/sites/add/struct.Add.html b/pages/pages/dash/sites/add/struct.Add.html index 5849d4b..e819222 100644 --- a/pages/pages/dash/sites/add/struct.Add.html +++ b/pages/pages/dash/sites/add/struct.Add.html @@ -6,6 +6,6 @@ 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 +
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/pages/dash/sites/add/struct.TemplateAddSite.html b/pages/pages/dash/sites/add/struct.TemplateAddSite.html index 698f19d..f2ade6b 100644 --- a/pages/pages/dash/sites/add/struct.TemplateAddSite.html +++ b/pages/pages/dash/sites/add/struct.TemplateAddSite.html @@ -2,14 +2,14 @@ pub repo_url: String, pub branch: String, }
Expand description

Data required to add site

-

Fields

repo_url: 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
This method tests for self and other values to be equal, and is used +

Fields

repo_url: 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
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/pages/dash/sites/add/struct.get_add_site.html b/pages/pages/dash/sites/add/struct.get_add_site.html index 044b29c..7222571 100644 --- a/pages/pages/dash/sites/add/struct.get_add_site.html +++ b/pages/pages/dash/sites/add/struct.get_add_site.html @@ -4,6 +4,6 @@ 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 +
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/pages/dash/sites/add/struct.post_add_site.html b/pages/pages/dash/sites/add/struct.post_add_site.html index acec5b3..15884a0 100644 --- a/pages/pages/dash/sites/add/struct.post_add_site.html +++ b/pages/pages/dash/sites/add/struct.post_add_site.html @@ -4,6 +4,6 @@ Instrumented wrapper. Read more
source

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

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

-
source

impl<T> Same<T> for T

Should always be Self
source

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.

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

source

impl<T> WithSubscriber for T

Attaches the provided Subscriber to this type, returning a +
source

impl<T> Same<T> for T

Should always be Self
source

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.

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

source

impl<T> WithSubscriber for T

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/pages/dash/sites/delete/constant.DASH_SITE_DELETE.html b/pages/pages/dash/sites/delete/constant.DASH_SITE_DELETE.html new file mode 100644 index 0000000..61ebc93 --- /dev/null +++ b/pages/pages/dash/sites/delete/constant.DASH_SITE_DELETE.html @@ -0,0 +1 @@ +DASH_SITE_DELETE in pages::pages::dash::sites::delete - Rust
pub const DASH_SITE_DELETE: TemplateFile;
\ No newline at end of file diff --git a/pages/pages/dash/sites/delete/constant.SHOW_DEPLOY_SECRET_KEY.html b/pages/pages/dash/sites/delete/constant.SHOW_DEPLOY_SECRET_KEY.html new file mode 100644 index 0000000..e7c52db --- /dev/null +++ b/pages/pages/dash/sites/delete/constant.SHOW_DEPLOY_SECRET_KEY.html @@ -0,0 +1 @@ +SHOW_DEPLOY_SECRET_KEY in pages::pages::dash::sites::delete - Rust
const SHOW_DEPLOY_SECRET_KEY: &'static str = "show_deploy_secret";
\ No newline at end of file diff --git a/pages/pages/dash/sites/delete/fn.services.html b/pages/pages/dash/sites/delete/fn.services.html new file mode 100644 index 0000000..7d6fffa --- /dev/null +++ b/pages/pages/dash/sites/delete/fn.services.html @@ -0,0 +1 @@ +services in pages::pages::dash::sites::delete - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/dash/sites/delete/index.html b/pages/pages/dash/sites/delete/index.html new file mode 100644 index 0000000..3e07c16 --- /dev/null +++ b/pages/pages/dash/sites/delete/index.html @@ -0,0 +1 @@ +pages::pages::dash::sites::delete - Rust
\ No newline at end of file diff --git a/pages/pages/dash/sites/delete/sidebar-items.js b/pages/pages/dash/sites/delete/sidebar-items.js new file mode 100644 index 0000000..6308114 --- /dev/null +++ b/pages/pages/dash/sites/delete/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":[["DASH_SITE_DELETE",""],["SHOW_DEPLOY_SECRET_KEY",""]],"fn":[["services",""]],"struct":[["Delete",""],["DeleteOptions",""],["TemplateSiteWithEvents",""],["get_delete_site",""],["post_delete_site",""]]}; \ No newline at end of file diff --git a/pages/pages/dash/sites/delete/struct.Delete.html b/pages/pages/dash/sites/delete/struct.Delete.html new file mode 100644 index 0000000..ce58cf9 --- /dev/null +++ b/pages/pages/dash/sites/delete/struct.Delete.html @@ -0,0 +1,11 @@ +Delete in pages::pages::dash::sites::delete - Rust
pub struct Delete {
+    ctx: RefCell<Context>,
+}

Fields

ctx: RefCell<Context>

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
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/pages/dash/sites/delete/struct.DeleteOptions.html b/pages/pages/dash/sites/delete/struct.DeleteOptions.html new file mode 100644 index 0000000..046e581 --- /dev/null +++ b/pages/pages/dash/sites/delete/struct.DeleteOptions.html @@ -0,0 +1,13 @@ +DeleteOptions in pages::pages::dash::sites::delete - Rust
pub struct DeleteOptions {
+    show_deploy_secret: Option<bool>,
+}

Fields

show_deploy_secret: Option<bool>

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
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/pages/dash/sites/delete/struct.TemplateSiteWithEvents.html b/pages/pages/dash/sites/delete/struct.TemplateSiteWithEvents.html new file mode 100644 index 0000000..8698a79 --- /dev/null +++ b/pages/pages/dash/sites/delete/struct.TemplateSiteWithEvents.html @@ -0,0 +1,16 @@ +TemplateSiteWithEvents in pages::pages::dash::sites::delete - Rust
pub struct TemplateSiteWithEvents {
+    pub site: Site,
+    pub delete: String,
+    pub last_update: Option<TemplateSiteEvent>,
+    pub events: Vec<TemplateSiteEvent>,
+}

Fields

site: Sitedelete: Stringlast_update: Option<TemplateSiteEvent>events: Vec<TemplateSiteEvent>

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
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/pages/dash/sites/delete/struct.get_delete_site.html b/pages/pages/dash/sites/delete/struct.get_delete_site.html new file mode 100644 index 0000000..b8cc513 --- /dev/null +++ b/pages/pages/dash/sites/delete/struct.get_delete_site.html @@ -0,0 +1,9 @@ +get_delete_site in pages::pages::dash::sites::delete - Rust
pub struct get_delete_site;

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/pages/dash/sites/delete/struct.post_delete_site.html b/pages/pages/dash/sites/delete/struct.post_delete_site.html new file mode 100644 index 0000000..a974073 --- /dev/null +++ b/pages/pages/dash/sites/delete/struct.post_delete_site.html @@ -0,0 +1,9 @@ +post_delete_site in pages::pages::dash::sites::delete - Rust
pub struct post_delete_site;

Trait Implementations

source

impl HttpServiceFactory for post_delete_site

Auto Trait Implementations

Blanket Implementations

source

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more
source

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more
source

impl<T> From<T> for T

Returns the argument unchanged.

+
source

impl<T> Instrument for T

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
source

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

+

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

+
source

impl<T> Same<T> for T

Should always be Self
source

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.

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

source

impl<T> WithSubscriber for T

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/pages/dash/sites/fn.register_templates.html b/pages/pages/dash/sites/fn.register_templates.html index 4bbad8b..4a8b4db 100644 --- a/pages/pages/dash/sites/fn.register_templates.html +++ b/pages/pages/dash/sites/fn.register_templates.html @@ -1 +1 @@ -register_templates in pages::pages::dash::sites - Rust
pub fn register_templates(t: &mut Tera)
\ No newline at end of file +register_templates in pages::pages::dash::sites - Rust
pub fn register_templates(t: &mut Tera)
\ No newline at end of file diff --git a/pages/pages/dash/sites/fn.services.html b/pages/pages/dash/sites/fn.services.html index 331d668..bea99d3 100644 --- a/pages/pages/dash/sites/fn.services.html +++ b/pages/pages/dash/sites/fn.services.html @@ -1 +1 @@ -services in pages::pages::dash::sites - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file +services in pages::pages::dash::sites - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/dash/sites/index.html b/pages/pages/dash/sites/index.html index da12841..12cae1b 100644 --- a/pages/pages/dash/sites/index.html +++ b/pages/pages/dash/sites/index.html @@ -1 +1 @@ -pages::pages::dash::sites - Rust

Re-exports

pub use super::context;
pub use super::Footer;
pub use super::TemplateFile;
pub use super::PAGES;
pub use super::PAYLOAD_KEY;
pub use super::TEMPLATES;
pub use super::TEMPLATES;

Modules

Functions

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

Re-exports

pub use super::home::TemplateSite;
pub use super::context;
pub use super::Footer;
pub use super::TemplateFile;
pub use super::PAGES;
pub use super::PAYLOAD_KEY;
pub use super::TEMPLATES;
pub use super::TEMPLATES;

Modules

Functions

\ No newline at end of file diff --git a/pages/pages/dash/sites/sidebar-items.js b/pages/pages/dash/sites/sidebar-items.js index 3aa155b..2cbcf75 100644 --- a/pages/pages/dash/sites/sidebar-items.js +++ b/pages/pages/dash/sites/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":[["register_templates",""],["services",""]],"mod":[["add",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":[["register_templates",""],["services",""]],"mod":[["add",""],["delete",""],["view",""]]}; \ No newline at end of file diff --git a/pages/pages/dash/sites/view/constant.DASH_SITE_VIEW.html b/pages/pages/dash/sites/view/constant.DASH_SITE_VIEW.html new file mode 100644 index 0000000..5ab45f0 --- /dev/null +++ b/pages/pages/dash/sites/view/constant.DASH_SITE_VIEW.html @@ -0,0 +1 @@ +DASH_SITE_VIEW in pages::pages::dash::sites::view - Rust
pub const DASH_SITE_VIEW: TemplateFile;
\ No newline at end of file diff --git a/pages/pages/dash/sites/view/constant.SHOW_DEPLOY_SECRET_KEY.html b/pages/pages/dash/sites/view/constant.SHOW_DEPLOY_SECRET_KEY.html new file mode 100644 index 0000000..1851305 --- /dev/null +++ b/pages/pages/dash/sites/view/constant.SHOW_DEPLOY_SECRET_KEY.html @@ -0,0 +1 @@ +SHOW_DEPLOY_SECRET_KEY in pages::pages::dash::sites::view - Rust
const SHOW_DEPLOY_SECRET_KEY: &'static str = "show_deploy_secret";
\ No newline at end of file diff --git a/pages/pages/dash/sites/view/fn.services.html b/pages/pages/dash/sites/view/fn.services.html new file mode 100644 index 0000000..b9740aa --- /dev/null +++ b/pages/pages/dash/sites/view/fn.services.html @@ -0,0 +1 @@ +services in pages::pages::dash::sites::view - Rust
pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/pages/dash/sites/view/index.html b/pages/pages/dash/sites/view/index.html new file mode 100644 index 0000000..ff0cb22 --- /dev/null +++ b/pages/pages/dash/sites/view/index.html @@ -0,0 +1 @@ +pages::pages::dash::sites::view - Rust
\ No newline at end of file diff --git a/pages/pages/dash/sites/view/sidebar-items.js b/pages/pages/dash/sites/view/sidebar-items.js new file mode 100644 index 0000000..60e8e80 --- /dev/null +++ b/pages/pages/dash/sites/view/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":[["DASH_SITE_VIEW",""],["SHOW_DEPLOY_SECRET_KEY",""]],"fn":[["services",""]],"struct":[["TemplateSiteWithEvents",""],["View",""],["ViewOptions",""],["get_view_site",""]]}; \ No newline at end of file diff --git a/pages/pages/dash/sites/view/struct.TemplateSiteWithEvents.html b/pages/pages/dash/sites/view/struct.TemplateSiteWithEvents.html new file mode 100644 index 0000000..66c570f --- /dev/null +++ b/pages/pages/dash/sites/view/struct.TemplateSiteWithEvents.html @@ -0,0 +1,17 @@ +TemplateSiteWithEvents in pages::pages::dash::sites::view - Rust
pub struct TemplateSiteWithEvents {
+    pub site: Site,
+    pub view: String,
+    pub delete: String,
+    pub last_update: Option<TemplateSiteEvent>,
+    pub events: Vec<TemplateSiteEvent>,
+}

Fields

site: Siteview: Stringdelete: Stringlast_update: Option<TemplateSiteEvent>events: Vec<TemplateSiteEvent>

Implementations

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
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/pages/dash/sites/view/struct.View.html b/pages/pages/dash/sites/view/struct.View.html new file mode 100644 index 0000000..80bdd3d --- /dev/null +++ b/pages/pages/dash/sites/view/struct.View.html @@ -0,0 +1,11 @@ +View in pages::pages::dash::sites::view - Rust
pub struct View {
+    ctx: RefCell<Context>,
+}

Fields

ctx: RefCell<Context>

Implementations

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
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/pages/dash/sites/view/struct.ViewOptions.html b/pages/pages/dash/sites/view/struct.ViewOptions.html new file mode 100644 index 0000000..7192fba --- /dev/null +++ b/pages/pages/dash/sites/view/struct.ViewOptions.html @@ -0,0 +1,13 @@ +ViewOptions in pages::pages::dash::sites::view - Rust
pub struct ViewOptions {
+    show_deploy_secret: Option<bool>,
+}

Fields

show_deploy_secret: Option<bool>

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+
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/pages/dash/sites/view/struct.get_view_site.html b/pages/pages/dash/sites/view/struct.get_view_site.html new file mode 100644 index 0000000..7fff0d5 --- /dev/null +++ b/pages/pages/dash/sites/view/struct.get_view_site.html @@ -0,0 +1,9 @@ +get_view_site in pages::pages::dash::sites::view - Rust
pub struct get_view_site;

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/pages/dash/struct.TemplateSiteEvent.html b/pages/pages/dash/struct.TemplateSiteEvent.html index 636959b..fdff7bb 100644 --- a/pages/pages/dash/struct.TemplateSiteEvent.html +++ b/pages/pages/dash/struct.TemplateSiteEvent.html @@ -3,14 +3,14 @@ pub time: i64, pub site: String, pub id: Uuid, -}

Fields

event_type: Eventtime: i64site: Stringid: Uuid

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
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used +}

Fields

event_type: Eventtime: i64site: Stringid: Uuid

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
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 !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/pages/errors/struct.PageError.html b/pages/pages/errors/struct.PageError.html index f4af9f9..8aec606 100644 --- a/pages/pages/errors/struct.PageError.html +++ b/pages/pages/errors/struct.PageError.html @@ -12,6 +12,6 @@

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

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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 +provide by using demand. Read more
Should always be Self
Converts the given value to a String. 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/pages/errors/struct.ReadableError.html b/pages/pages/errors/struct.ReadableError.html index 5a5ea13..cb1d63f 100644 --- a/pages/pages/errors/struct.ReadableError.html +++ b/pages/pages/errors/struct.ReadableError.html @@ -1,12 +1,12 @@ ReadableError in pages::pages::errors - Rust
pub struct ReadableError {
     pub reason: String,
     pub title: String,
-}

Fields

reason: Stringtitle: 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
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

reason: Stringtitle: 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
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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
Converts the given value to a String. 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 +
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
Converts the given value to a String. 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/pages/errors/trait.CtxError.html b/pages/pages/errors/trait.CtxError.html index 9ea37cd..a2a3c1b 100644 --- a/pages/pages/errors/trait.CtxError.html +++ b/pages/pages/errors/trait.CtxError.html @@ -1,4 +1,4 @@ CtxError in pages::pages::errors - Rust
pub trait CtxError {
     fn with_error(&self, e: &ReadableError) -> String;
 }
Expand description

Render template with error context

-

Required Methods

Implementors

\ No newline at end of file +

Required Methods

Implementors

\ No newline at end of file diff --git a/pages/pages/routes/constant.PAGES.html b/pages/pages/routes/constant.PAGES.html index 402412d..7e6235c 100644 --- a/pages/pages/routes/constant.PAGES.html +++ b/pages/pages/routes/constant.PAGES.html @@ -1,2 +1,2 @@ -PAGES in pages::pages::routes - Rust
pub const PAGES: Pages;
Expand description

constant Pages instance

+PAGES in pages::pages::routes - Rust
pub const PAGES: Pages;
Expand description

constant Pages instance

\ No newline at end of file diff --git a/pages/pages/routes/fn.get_auth_middleware.html b/pages/pages/routes/fn.get_auth_middleware.html index afe5a22..85114be 100644 --- a/pages/pages/routes/fn.get_auth_middleware.html +++ b/pages/pages/routes/fn.get_auth_middleware.html @@ -1 +1 @@ -get_auth_middleware in pages::pages::routes - Rust
pub fn get_auth_middleware() -> Authentication<Pages>
\ No newline at end of file +get_auth_middleware in pages::pages::routes - Rust
pub fn get_auth_middleware() -> Authentication<Pages>
\ No newline at end of file diff --git a/pages/pages/routes/index.html b/pages/pages/routes/index.html index 4790c3e..1fdf75e 100644 --- a/pages/pages/routes/index.html +++ b/pages/pages/routes/index.html @@ -1 +1 @@ -pages::pages::routes - Rust

Structs

Authentication routes
Dashboard routes
Dashboard Site routes
Top-level routes data structure for V1 AP1

Constants

constant Pages instance

Functions

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

Structs

Authentication routes
Dashboard routes
Dashboard Site routes
Top-level routes data structure for V1 AP1

Constants

constant Pages instance

Functions

\ No newline at end of file diff --git a/pages/pages/routes/struct.Auth.html b/pages/pages/routes/struct.Auth.html index fc05c93..af11323 100644 --- a/pages/pages/routes/struct.Auth.html +++ b/pages/pages/routes/struct.Auth.html @@ -1,4 +1,4 @@ -Auth in pages::pages::routes - Rust

Fields

logout: &'static str

logout route

login: &'static str

login route

register: &'static str

registration route

-

Implementations

create new instance of Authentication route

-

Trait Implementations

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.

+

Implementations

create new instance of Authentication route

+

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/routes/struct.Dash.html b/pages/pages/routes/struct.Dash.html index 0881e83..22ee672 100644 --- a/pages/pages/routes/struct.Dash.html +++ b/pages/pages/routes/struct.Dash.html @@ -1,15 +1,15 @@ -Dash in pages::pages::routes - Rust
pub struct Dash {
+Dash in pages::pages::routes - Rust
pub struct Dash {
     pub home: &'static str,
     pub site: DashSite,
 }
Expand description

Dashboard routes

Fields

home: &'static str

home route

-
site: DashSite

Implementations

create new instance of Dash route

-

Trait Implementations

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.

+
site: DashSite

Implementations

create new instance of Dash route

+

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/routes/struct.DashSite.html b/pages/pages/routes/struct.DashSite.html index 0bd0318..71f2e05 100644 --- a/pages/pages/routes/struct.DashSite.html +++ b/pages/pages/routes/struct.DashSite.html @@ -1,14 +1,18 @@ -DashSite in pages::pages::routes - Rust
pub struct DashSite {
+DashSite in pages::pages::routes - Rust
pub struct DashSite {
     pub add: &'static str,
+    pub view: &'static str,
+    pub delete: &'static str,
 }
Expand description

Dashboard Site routes

-

Fields

add: &'static str

home route

-

Implementations

create new instance of DashSite route

-

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+

Fields

add: &'static str

add site route

+
view: &'static str

view site route

+
delete: &'static str

delete site route

+

Implementations

create new instance of DashSite route

+

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/routes/struct.Pages.html b/pages/pages/routes/struct.Pages.html index efcffc1..9ff68b4 100644 --- a/pages/pages/routes/struct.Pages.html +++ b/pages/pages/routes/struct.Pages.html @@ -1,17 +1,17 @@ -Pages in pages::pages::routes - Rust
pub struct Pages {
+Pages in pages::pages::routes - Rust
pub struct Pages {
     pub auth: Auth,
     pub home: &'static str,
     pub dash: Dash,
 }
Expand description

Top-level routes data structure for V1 AP1

Fields

auth: Auth

Authentication routes

home: &'static str

home page

-
dash: Dash

Implementations

create new instance of Routes

-

Trait Implementations

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.

+
dash: Dash

Implementations

create new instance of Routes

+

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/struct.Footer.html b/pages/pages/struct.Footer.html index 42b08a5..d007756 100644 --- a/pages/pages/struct.Footer.html +++ b/pages/pages/struct.Footer.html @@ -4,12 +4,12 @@ source_code: &'a str, git_hash: &'a str, settings: &'a Settings, -}

Fields

version: &'a strsupport_email: &'a strsource_code: &'a strgit_hash: &'a strsettings: &'a Settings

Implementations

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

version: &'a strsupport_email: &'a strsource_code: &'a strgit_hash: &'a strsettings: &'a Settings

Implementations

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/pages/struct.TEMPLATES.html b/pages/pages/struct.TEMPLATES.html index bb5f44a..84b35b2 100644 --- a/pages/pages/struct.TEMPLATES.html +++ b/pages/pages/struct.TEMPLATES.html @@ -37,6 +37,6 @@ tera.add_raw_template("another-one.html", 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 +
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/pages/struct.TemplateFile.html b/pages/pages/struct.TemplateFile.html index 8435b60..7742c9e 100644 --- a/pages/pages/struct.TemplateFile.html +++ b/pages/pages/struct.TemplateFile.html @@ -7,6 +7,6 @@ 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 +
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/pages/struct.Templates.html b/pages/pages/struct.Templates.html index f59487d..122ffd4 100644 --- a/pages/pages/struct.Templates.html +++ b/pages/pages/struct.Templates.html @@ -6,6 +6,6 @@ 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 +
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/preview/struct.Preview.html b/pages/preview/struct.Preview.html index 86e0663..9b70bbe 100644 --- a/pages/preview/struct.Preview.html +++ b/pages/preview/struct.Preview.html @@ -8,6 +8,6 @@ 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 +
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/routes/struct.Serve.html b/pages/serve/routes/struct.Serve.html index d817c0c..bc54817 100644 --- a/pages/serve/routes/struct.Serve.html +++ b/pages/serve/routes/struct.Serve.html @@ -6,6 +6,6 @@ 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 +
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/struct.index.html b/pages/serve/struct.index.html index ec82da2..f8673c8 100644 --- a/pages/serve/struct.index.html +++ b/pages/serve/struct.index.html @@ -4,6 +4,6 @@ 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 +
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/enum.DBType.html b/pages/settings/enum.DBType.html index 948ca12..253de17 100644 --- a/pages/settings/enum.DBType.html +++ b/pages/settings/enum.DBType.html @@ -1,13 +1,13 @@ DBType in pages::settings - Rust
pub enum DBType {
     Postgres,
-}

Variants

Postgres

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
This method tests for self and other values to be equal, and is used +}

Variants

Postgres

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
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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
Converts the given value to a String. 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 +
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
Converts the given value to a String. 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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/settings/index.html b/pages/settings/index.html index 70d24a2..60b161c 100644 --- a/pages/settings/index.html +++ b/pages/settings/index.html @@ -1 +1 @@ -pages::settings - Rust
\ No newline at end of file +pages::settings - Rust
\ No newline at end of file diff --git a/pages/settings/sidebar-items.js b/pages/settings/sidebar-items.js index 051d7d0..1a20d14 100644 --- a/pages/settings/sidebar-items.js +++ b/pages/settings/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":[["DBType",""]],"struct":[["Database",""],["PageConfig",""],["Server",""],["Settings",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":[["DBType",""]],"struct":[["Conductor",""],["Database",""],["PageConfig",""],["Server",""],["Settings",""]]}; \ No newline at end of file diff --git a/pages/settings/struct.Conductor.html b/pages/settings/struct.Conductor.html new file mode 100644 index 0000000..9595d70 --- /dev/null +++ b/pages/settings/struct.Conductor.html @@ -0,0 +1,13 @@ +Conductor in pages::settings - Rust
pub struct Conductor {
+    pub username: String,
+    pub api_key: String,
+    pub url: Url,
+}

Fields

username: Stringapi_key: Stringurl: Url

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

+

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/settings/struct.Database.html b/pages/settings/struct.Database.html index 6e65d8b..67485f9 100644 --- a/pages/settings/struct.Database.html +++ b/pages/settings/struct.Database.html @@ -2,12 +2,12 @@ pub url: String, pub pool: u32, pub database_type: DBType, -}

Fields

url: Stringpool: u32database_type: DBType

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

url: Stringpool: u32database_type: DBType

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/settings/struct.PageConfig.html b/pages/settings/struct.PageConfig.html index 5fd357c..52ac9a6 100644 --- a/pages/settings/struct.PageConfig.html +++ b/pages/settings/struct.PageConfig.html @@ -1,12 +1,12 @@ -PageConfig in pages::settings - Rust
pub struct PageConfig {
+PageConfig in pages::settings - Rust
pub struct PageConfig {
     pub base_path: String,
     pub base_domain: String,
-}

Fields

base_path: Stringbase_domain: 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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

base_path: Stringbase_domain: 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

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 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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/settings/struct.Server.html b/pages/settings/struct.Server.html index eee0738..b0e3994 100644 --- a/pages/settings/struct.Server.html +++ b/pages/settings/struct.Server.html @@ -4,12 +4,12 @@ pub workers: Option<usize>, pub cookie_secret: String, pub domain: String, -}

Fields

port: u32ip: Stringworkers: Option<usize>cookie_secret: Stringdomain: 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
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

port: u32ip: Stringworkers: Option<usize>cookie_secret: Stringdomain: 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
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +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 93e7082..78b20ed 100644 --- a/pages/settings/struct.Settings.html +++ b/pages/settings/struct.Settings.html @@ -1,4 +1,4 @@ -Settings in pages::settings - Rust
pub struct Settings {
+Settings in pages::settings - Rust
pub struct Settings {
     pub allow_registration: bool,
     pub support_email: String,
     pub debug: bool,
@@ -6,12 +6,13 @@
     pub source_code: String,
     pub database: Database,
     pub page: PageConfig,
-}

Fields

allow_registration: boolsupport_email: Stringdebug: boolserver: Serversource_code: Stringdatabase: Databasepage: PageConfig

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

+ pub conductors: Vec<Conductor>, +}

Fields

allow_registration: boolsupport_email: Stringdebug: boolserver: Serversource_code: Stringdatabase: Databasepage: PageConfigconductors: Vec<Conductor>

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/sidebar-items.js b/pages/sidebar-items.js index f1aa50d..8bf42c6 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","constant Routes instance"],["VERSION",""]],"enum":[["Commands",""]],"fn":[["get_identity_service",""],["get_json_err",""],["main",""],["serve",""],["services",""]],"mod":[["api",""],["ctx",""],["db",""],["errors","Represents all the ways a trait can fail using this crate"],["git",""],["page",""],["page_config",""],["pages",""],["preview",""],["serve",""],["settings",""],["static_assets",""],["subdomains",""],["utils",""]],"struct":[["Cli",""],["FILES",""],["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","constant Routes instance"],["VERSION",""]],"enum":[["Commands",""]],"fn":[["get_identity_service",""],["get_json_err",""],["main",""],["serve",""],["services",""]],"mod":[["api",""],["conductor",""],["ctx",""],["db",""],["errors","Represents all the ways a trait can fail using this crate"],["git",""],["page",""],["page_config",""],["pages",""],["preview",""],["serve",""],["settings",""],["static_assets",""],["subdomains",""],["utils",""]],"struct":[["Cli",""],["FILES",""],["Settings",""]],"type":[["AppCtx",""]]}; \ No newline at end of file diff --git a/pages/static_assets/filemap/struct.FileMap.html b/pages/static_assets/filemap/struct.FileMap.html index d4c828f..62c4b12 100644 --- a/pages/static_assets/filemap/struct.FileMap.html +++ b/pages/static_assets/filemap/struct.FileMap.html @@ -6,6 +6,6 @@ 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 +
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/static_assets/index.html b/pages/static_assets/index.html index 1ffdb29..256f2b2 100644 --- a/pages/static_assets/index.html +++ b/pages/static_assets/index.html @@ -1 +1 @@ -pages::static_assets - Rust

Re-exports

pub use filemap::FileMap;
pub use routes::Assets;
pub use routes::ASSETS;
pub use routes::ASSETS;

Modules

Functions

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

Re-exports

pub use filemap::FileMap;
pub use routes::Assets;
pub use routes::ASSETS;
pub use routes::ASSETS;

Modules

Functions

\ No newline at end of file diff --git a/pages/static_assets/routes/index.html b/pages/static_assets/routes/index.html index 52267ba..f8938df 100644 --- a/pages/static_assets/routes/index.html +++ b/pages/static_assets/routes/index.html @@ -1 +1 @@ -pages::static_assets::routes - Rust

Structs

Top-level routes data structure for V1 AP1
\ No newline at end of file +pages::static_assets::routes - Rust

Structs

Top-level routes data structure for V1 AP1
\ No newline at end of file diff --git a/pages/static_assets/routes/sidebar-items.js b/pages/static_assets/routes/sidebar-items.js index 1c61fa3..392bed6 100644 --- a/pages/static_assets/routes/sidebar-items.js +++ b/pages/static_assets/routes/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":[["ASSETS",""],["Assets","Top-level routes data structure for V1 AP1"]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":[["ASSETS",""],["Assets","Top-level routes data structure for V1 AP1"],["Svg",""]]}; \ No newline at end of file diff --git a/pages/static_assets/routes/struct.ASSETS.html b/pages/static_assets/routes/struct.ASSETS.html index 0cf092c..e329bbf 100644 --- a/pages/static_assets/routes/struct.ASSETS.html +++ b/pages/static_assets/routes/struct.ASSETS.html @@ -6,6 +6,6 @@ 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 +
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/static_assets/routes/struct.Assets.html b/pages/static_assets/routes/struct.Assets.html index caefd54..5f149e2 100644 --- a/pages/static_assets/routes/struct.Assets.html +++ b/pages/static_assets/routes/struct.Assets.html @@ -1,15 +1,16 @@ -Assets in pages::static_assets::routes - Rust
pub struct Assets {
+Assets in pages::static_assets::routes - Rust
pub struct Assets {
     pub css: &'static str,
     pub mobile_css: &'static str,
+    pub svg: Svg,
 }
Expand description

Top-level routes data structure for V1 AP1

Fields

css: &'static str

Authentication routes

-
mobile_css: &'static str

Implementations

create new instance of Routes

-

Trait Implementations

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.

+
mobile_css: &'static strsvg: Svg

Implementations

create new instance of Routes

+

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/static_assets/routes/struct.Svg.html b/pages/static_assets/routes/struct.Svg.html new file mode 100644 index 0000000..c81f996 --- /dev/null +++ b/pages/static_assets/routes/struct.Svg.html @@ -0,0 +1,13 @@ +Svg in pages::static_assets::routes - Rust
pub struct Svg {
+    pub eye_off: &'static str,
+    pub eye: &'static str,
+}

Fields

eye_off: &'static streye: &'static str

Implementations

create new instance of Routes

+

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

+

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/static_assets/static_files/assets/index.html b/pages/static_assets/static_files/assets/index.html index 768c467..76a42e9 100644 --- a/pages/static_assets/static_files/assets/index.html +++ b/pages/static_assets/static_files/assets/index.html @@ -1 +1 @@ -pages::static_assets::static_files::assets - Rust
\ No newline at end of file +pages::static_assets::static_files::assets - Rust
\ No newline at end of file diff --git a/pages/static_assets/static_files/assets/sidebar-items.js b/pages/static_assets/static_files/assets/sidebar-items.js index 9ad8838..fa1b04b 100644 --- a/pages/static_assets/static_files/assets/sidebar-items.js +++ b/pages/static_assets/static_files/assets/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":[["CSS",""],["MOBILE_CSS",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":[["CSS",""],["EYE",""],["EYE_OFF",""],["MOBILE_CSS",""]]}; \ No newline at end of file diff --git a/pages/static_assets/static_files/assets/struct.CSS.html b/pages/static_assets/static_files/assets/struct.CSS.html index f8e2a32..a038b84 100644 --- a/pages/static_assets/static_files/assets/struct.CSS.html +++ b/pages/static_assets/static_files/assets/struct.CSS.html @@ -1,4 +1,4 @@ -CSS in pages::static_assets::static_files::assets - Rust
pub struct CSS {
+CSS in pages::static_assets::static_files::assets - Rust
pub struct CSS {
     __private_field: (),
 }

Fields

__private_field: ()

Methods from Deref<Target = &'static str>

Returns the length of self.

This length is in bytes, not chars or graphemes. In other words, @@ -1158,12 +1158,12 @@ but non-ASCII letters are unchanged.

let s = "Grüße, Jürgen ❤";
 
 assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
-

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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.

+

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/static_assets/static_files/assets/struct.EYE.html b/pages/static_assets/static_files/assets/struct.EYE.html new file mode 100644 index 0000000..1f1f18e --- /dev/null +++ b/pages/static_assets/static_files/assets/struct.EYE.html @@ -0,0 +1,1169 @@ +EYE in pages::static_assets::static_files::assets - Rust
pub struct EYE {
+    __private_field: (),
+}

Fields

__private_field: ()

Methods from Deref<Target = &'static str>

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, +it might not be what a human considers the length of the string.

+
Examples
+

Basic usage:

+ +
let len = "foo".len();
+assert_eq!(3, len);
+
+assert_eq!("ƒoo".len(), 4); // fancy f!
+assert_eq!("ƒoo".chars().count(), 3);
+

Returns true if self has a length of zero bytes.

+
Examples
+

Basic usage:

+ +
let s = "";
+assert!(s.is_empty());
+
+let s = "not empty";
+assert!(!s.is_empty());
+

Checks that index-th byte is the first byte in a UTF-8 code point +sequence or the end of the string.

+

The start and end of the string (when index == self.len()) are +considered to be boundaries.

+

Returns false if index is greater than self.len().

+
Examples
+
let s = "Löwe 老虎 Léopard";
+assert!(s.is_char_boundary(0));
+// start of `老`
+assert!(s.is_char_boundary(6));
+assert!(s.is_char_boundary(s.len()));
+
+// second byte of `ö`
+assert!(!s.is_char_boundary(2));
+
+// third byte of `老`
+assert!(!s.is_char_boundary(8));
+
🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t +exceed a given number of bytes. Note that this is done purely at the character level +and can still visually split graphemes, even though the underlying characters aren’t +split. For example, the emoji 🧑‍🔬 (scientist) could be split so that the string only +includes 🧑 (person) instead.

+
Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.floor_char_boundary(13);
+assert_eq!(closest, 10);
+assert_eq!(&s[..closest], "❤️🧡");
+
🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+

This method is the natural complement to floor_char_boundary. See that method +for more details.

+
Panics
+

Panics if index > self.len().

+
Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.ceil_char_boundary(13);
+assert_eq!(closest, 14);
+assert_eq!(&s[..closest], "❤️🧡💛");
+

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

+
Examples
+

Basic usage:

+ +
let bytes = "bors".as_bytes();
+assert_eq!(b"bors", bytes);
+

Converts a string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

The caller must ensure that the returned pointer is never written to. +If you need to mutate the contents of the string slice, use as_mut_ptr.

+
Examples
+

Basic usage:

+ +
let s = "Hello";
+let ptr = s.as_ptr();
+

Returns a subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
Examples
+
let v = String::from("🗻∈🌏");
+
+assert_eq!(Some("🗻"), v.get(0..4));
+
+// indices not on UTF-8 sequence boundaries
+assert!(v.get(1..).is_none());
+assert!(v.get(..8).is_none());
+
+// out of bounds
+assert!(v.get(..42).is_none());
+

Returns an unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
Examples
+
let v = "🗻∈🌏";
+unsafe {
+    assert_eq!("🗻", v.get_unchecked(0..4));
+    assert_eq!("∈", v.get_unchecked(4..7));
+    assert_eq!("🌏", v.get_unchecked(7..11));
+}
+
👎Deprecated since 1.29.0:

use get_unchecked(begin..end) instead

+

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and Index.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get a mutable string slice instead, see the +slice_mut_unchecked method.

+
Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
Examples
+

Basic usage:

+ +
let s = "Löwe 老虎 Léopard";
+
+unsafe {
+    assert_eq!("Löwe 老虎 Léopard", s.slice_unchecked(0, 21));
+}
+
+let s = "Hello, world!";
+
+unsafe {
+    assert_eq!("world", s.slice_unchecked(7, 12));
+}
+

Divide one string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut +method.

+
Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is +past the end of the last code point of the string slice.

+
Examples
+

Basic usage:

+ +
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at(3);
+
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+

Returns an iterator over the chars of a string slice.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar +Value, and might not match your idea of what a ‘character’ is. Iteration +over grapheme clusters may be what you actually want. This functionality +is not provided by Rust’s standard library, check crates.io instead.

+
Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.chars().count();
+assert_eq!(7, count);
+
+let mut chars = word.chars();
+
+assert_eq!(Some('g'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('d'), chars.next());
+assert_eq!(Some('b'), chars.next());
+assert_eq!(Some('y'), chars.next());
+assert_eq!(Some('e'), chars.next());
+
+assert_eq!(None, chars.next());
+

Remember, chars might not match your intuition about characters:

+ +
let y = "y̆";
+
+let mut chars = y.chars();
+
+assert_eq!(Some('y'), chars.next()); // not 'y̆'
+assert_eq!(Some('\u{0306}'), chars.next());
+
+assert_eq!(None, chars.next());
+

Returns an iterator over the chars of a string slice, and their +positions.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is +second.

+
Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.char_indices().count();
+assert_eq!(7, count);
+
+let mut char_indices = word.char_indices();
+
+assert_eq!(Some((0, 'g')), char_indices.next());
+assert_eq!(Some((1, 'o')), char_indices.next());
+assert_eq!(Some((2, 'o')), char_indices.next());
+assert_eq!(Some((3, 'd')), char_indices.next());
+assert_eq!(Some((4, 'b')), char_indices.next());
+assert_eq!(Some((5, 'y')), char_indices.next());
+assert_eq!(Some((6, 'e')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

Remember, chars might not match your intuition about characters:

+ +
let yes = "y̆es";
+
+let mut char_indices = yes.char_indices();
+
+assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆')
+assert_eq!(Some((1, '\u{0306}')), char_indices.next());
+
+// note the 3 here - the last character took up two bytes
+assert_eq!(Some((3, 'e')), char_indices.next());
+assert_eq!(Some((4, 's')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

An iterator over the bytes of a string slice.

+

As a string slice consists of a sequence of bytes, we can iterate +through a string slice by byte. This method returns such an iterator.

+
Examples
+

Basic usage:

+ +
let mut bytes = "bors".bytes();
+
+assert_eq!(Some(b'b'), bytes.next());
+assert_eq!(Some(b'o'), bytes.next());
+assert_eq!(Some(b'r'), bytes.next());
+assert_eq!(Some(b's'), bytes.next());
+
+assert_eq!(None, bytes.next());
+

Splits a string slice by whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of whitespace.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space. If you only want to split on ASCII whitespace +instead, use split_ascii_whitespace.

+
Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of whitespace are considered:

+ +
let mut iter = " Mary   had\ta\u{2009}little  \n\t lamb".split_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

Splits a string slice by ASCII whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of ASCII whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

+
Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_ascii_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of ASCII whitespace are considered:

+ +
let mut iter = " Mary   had\ta little  \n\t lamb".split_ascii_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

An iterator over the lines of a string, as string slices.

+

Lines are ended with either a newline (\n) or a carriage return with +a line feed (\r\n).

+

The final line ending is optional. A string that ends with a final line +ending will return the same lines as an otherwise identical string +without a final line ending.

+
Examples
+

Basic usage:

+ +
let text = "foo\r\nbar\n\nbaz\n";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+

The final line ending isn’t required:

+ +
let text = "foo\nbar\n\r\nbaz";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+
👎Deprecated since 1.4.0:

use lines() instead now

+

An iterator over the lines of a string.

+

Returns an iterator of u16 over the string encoded as UTF-16.

+
Examples
+

Basic usage:

+ +
let text = "Zażółć gęślą jaźń";
+
+let utf8_len = text.len();
+let utf16_len = text.encode_utf16().count();
+
+assert!(utf16_len <= utf8_len);
+

Returns true if the given pattern matches a sub-slice of +this string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Basic usage:

+ +
let bananas = "bananas";
+
+assert!(bananas.contains("nana"));
+assert!(!bananas.contains("apples"));
+

Returns true if the given pattern matches a prefix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Basic usage:

+ +
let bananas = "bananas";
+
+assert!(bananas.starts_with("bana"));
+assert!(!bananas.starts_with("nana"));
+

Returns true if the given pattern matches a suffix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Basic usage:

+ +
let bananas = "bananas";
+
+assert!(bananas.ends_with("anas"));
+assert!(!bananas.ends_with("nana"));
+

Returns the byte index of the first character of this string slice that +matches the pattern.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.find('L'), Some(0));
+assert_eq!(s.find('é'), Some(14));
+assert_eq!(s.find("pard"), Some(17));
+

More complex patterns using point-free style and closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.find(char::is_whitespace), Some(5));
+assert_eq!(s.find(char::is_lowercase), Some(1));
+assert_eq!(s.find(|c: char| c.is_whitespace() || c.is_lowercase()), Some(1));
+assert_eq!(s.find(|c: char| (c < 'o') && (c > 'a')), Some(4));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.find(x), None);
+

Returns the byte index for the first character of the last match of the pattern in +this string slice.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.rfind('L'), Some(13));
+assert_eq!(s.rfind('é'), Some(14));
+assert_eq!(s.rfind("pard"), Some(24));
+

More complex patterns with closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.rfind(char::is_whitespace), Some(12));
+assert_eq!(s.rfind(char::is_lowercase), Some(20));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.rfind(x), None);
+

An iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit method can be used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".split(' ').collect();
+assert_eq!(v, ["Mary", "had", "a", "little", "lamb"]);
+
+let v: Vec<&str> = "".split('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".split('X').collect();
+assert_eq!(v, ["lion", "", "tiger", "leopard"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".split("::").collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+
+let v: Vec<&str> = "abc1def2ghi".split(char::is_numeric).collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+
+let v: Vec<&str> = "lionXtigerXleopard".split(char::is_uppercase).collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+

If the pattern is a slice of chars, split on each occurrence of any of the characters:

+ +
let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][..]).collect();
+assert_eq!(v, ["2020", "11", "03", "23", "59"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".split(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+

If a string contains multiple contiguous separators, you will end up +with empty strings in the output:

+ +
let x = "||||a||b|c".to_string();
+let d: Vec<_> = x.split('|').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

Contiguous separators are separated by the empty string.

+ +
let x = "(///)".to_string();
+let d: Vec<_> = x.split('/').collect();
+
+assert_eq!(d, &["(", "", "", ")"]);
+

Separators at the start or end of a string are neighbored +by empty strings.

+ +
let d: Vec<_> = "010".split("0").collect();
+assert_eq!(d, &["", "1", ""]);
+

When the empty string is used as a separator, it separates +every character in the string, along with the beginning +and end of the string.

+ +
let f: Vec<_> = "rust".split("").collect();
+assert_eq!(f, &["", "r", "u", "s", "t", ""]);
+

Contiguous separators can lead to possibly surprising behavior +when whitespace is used as the separator. This code is correct:

+ +
let x = "    a  b c".to_string();
+let d: Vec<_> = x.split(' ').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

It does not give you:

+ +
assert_eq!(d, &["a", "b", "c"]);
+

Use split_whitespace for this behavior.

+

An iterator over substrings of this string slice, separated by +characters matched by a pattern. Differs from the iterator produced by +split in that split_inclusive leaves the matched part as the +terminator of the substring.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb."]);
+

If the last element of the string is matched, +that element will be considered the terminator of the preceding substring. +That substring will be the last item returned by the iterator.

+ +
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
+

An iterator over substrings of the given string slice, separated by +characters matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split method can be used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplit(' ').collect();
+assert_eq!(v, ["lamb", "little", "a", "had", "Mary"]);
+
+let v: Vec<&str> = "".rsplit('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplit('X').collect();
+assert_eq!(v, ["leopard", "tiger", "", "lion"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplit("::").collect();
+assert_eq!(v, ["leopard", "tiger", "lion"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "def", "abc"]);
+

An iterator over substrings of the given string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring +is skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit_terminator method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
+assert_eq!(v, ["A", "B"]);
+
+let v: Vec<&str> = "A..B..".split_terminator(".").collect();
+assert_eq!(v, ["A", "", "B", ""]);
+
+let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["A", "B", "C", "D"]);
+

An iterator over substrings of self, separated by characters +matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring is +skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a +reverse search, and it will be double ended if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split_terminator method can be +used.

+
Examples
+
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
+assert_eq!(v, ["B", "A"]);
+
+let v: Vec<&str> = "A..B..".rsplit_terminator(".").collect();
+assert_eq!(v, ["", "B", "", "A"]);
+
+let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["D", "C", "B", "A"]);
+

An iterator over substrings of the given string slice, separated by a +pattern, restricted to returning at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will not be double ended, because it is +not efficient to support.

+

If the pattern allows a reverse search, the rsplitn method can be +used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lambda".splitn(3, ' ').collect();
+assert_eq!(v, ["Mary", "had", "a little lambda"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".splitn(3, "X").collect();
+assert_eq!(v, ["lion", "", "tigerXleopard"]);
+
+let v: Vec<&str> = "abcXdef".splitn(1, 'X').collect();
+assert_eq!(v, ["abcXdef"]);
+
+let v: Vec<&str> = "".splitn(1, 'X').collect();
+assert_eq!(v, [""]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "defXghi"]);
+

An iterator over substrings of this string slice, separated by a +pattern, starting from the end of the string, restricted to returning +at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will not be double ended, because it is not +efficient to support.

+

For splitting from the front, the splitn method can be used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplitn(3, ' ').collect();
+assert_eq!(v, ["lamb", "little", "Mary had a"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplitn(3, 'X').collect();
+assert_eq!(v, ["leopard", "tiger", "lionX"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplitn(2, "::").collect();
+assert_eq!(v, ["leopard", "lion::tiger"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "abc1def"]);
+

Splits the string on the first occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
Examples
+
assert_eq!("cfg".split_once('='), None);
+assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
+assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
+

Splits the string on the last occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
Examples
+
assert_eq!("cfg".rsplit_once('='), None);
+assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
+

An iterator over the disjoint matches of a pattern within the given string +slice.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatches method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
+assert_eq!(v, ["1", "2", "3"]);
+

An iterator over the disjoint matches of a pattern within this string slice, +yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the matches method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
+assert_eq!(v, ["3", "2", "1"]);
+

An iterator over the disjoint matches of a pattern within this string +slice as well as the index that the match starts at.

+

For matches of pat within self that overlap, only the indices +corresponding to the first match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatch_indices method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
+assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
+
+let v: Vec<_> = "1abcabc2".match_indices("abc").collect();
+assert_eq!(v, [(1, "abc"), (4, "abc")]);
+
+let v: Vec<_> = "ababa".match_indices("aba").collect();
+assert_eq!(v, [(0, "aba")]); // only the first `aba`
+

An iterator over the disjoint matches of a pattern within self, +yielded in reverse order along with the index of the match.

+

For matches of pat within self that overlap, only the indices +corresponding to the last match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the match_indices method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
+assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
+
+let v: Vec<_> = "1abcabc2".rmatch_indices("abc").collect();
+assert_eq!(v, [(4, "abc"), (1, "abc")]);
+
+let v: Vec<_> = "ababa".rmatch_indices("aba").collect();
+assert_eq!(v, [(2, "aba")]); // only the last `aba`
+

Returns a string slice with leading and trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+
+assert_eq!("Hello\tworld", s.trim());
+

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("Hello\tworld\t\n", s.trim_start());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('E') == s.trim_start().chars().next());
+
+let s = "  עברית  ";
+assert!(Some('ע') == s.trim_start().chars().next());
+

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("\n Hello\tworld", s.trim_end());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('h') == s.trim_end().chars().rev().next());
+
+let s = "  עברית  ";
+assert!(Some('ת') == s.trim_end().chars().rev().next());
+
👎Deprecated since 1.33.0:

superseded by trim_start

+

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!("Hello\tworld\t", s.trim_left());
+

Directionality:

+ +
let s = "  English";
+assert!(Some('E') == s.trim_left().chars().next());
+
+let s = "  עברית";
+assert!(Some('ע') == s.trim_left().chars().next());
+
👎Deprecated since 1.33.0:

superseded by trim_end

+

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!(" Hello\tworld", s.trim_right());
+

Directionality:

+ +
let s = "English  ";
+assert!(Some('h') == s.trim_right().chars().rev().next());
+
+let s = "עברית  ";
+assert!(Some('ת') == s.trim_right().chars().rev().next());
+

Returns a string slice with all prefixes and suffixes that match a +pattern repeatedly removed.

+

The pattern can be a char, a slice of chars, or a function +or closure that determines if a character matches.

+
Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_matches('1'), "foo1bar");
+assert_eq!("123foo1bar123".trim_matches(char::is_numeric), "foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_matches(x), "foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
+

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
Examples
+

Basic usage:

+ +
assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
+

Returns a string slice with the prefix removed.

+

If the string starts with the pattern prefix, returns substring after the prefix, wrapped +in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

+

If the string does not start with prefix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
+assert_eq!("foo:bar".strip_prefix("bar"), None);
+assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
+

Returns a string slice with the suffix removed.

+

If the string ends with the pattern suffix, returns the substring before the suffix, +wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

+

If the string does not end with suffix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
+assert_eq!("bar:foo".strip_suffix("bar"), None);
+assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
+

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_end_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_end_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
+
👎Deprecated since 1.33.0:

superseded by trim_start_matches

+

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
Examples
+

Basic usage:

+ +
assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
+
👎Deprecated since 1.33.0:

superseded by trim_end_matches

+

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_right_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_right_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_right_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
+

Parses this string slice into another type.

+

Because parse is so general, it can cause problems with type +inference. As such, parse is one of the few times you’ll see +the syntax affectionately known as the ‘turbofish’: ::<>. This +helps the inference algorithm understand specifically which type +you’re trying to parse into.

+

parse can parse into any type that implements the FromStr trait.

+
Errors
+

Will return Err if it’s not possible to parse this string slice into +the desired type.

+
Examples
+

Basic usage

+ +
let four: u32 = "4".parse().unwrap();
+
+assert_eq!(4, four);
+

Using the ‘turbofish’ instead of annotating four:

+ +
let four = "4".parse::<u32>();
+
+assert_eq!(Ok(4), four);
+

Failing to parse:

+ +
let nope = "j".parse::<u32>();
+
+assert!(nope.is_err());
+

Checks if all characters in this string are within the ASCII range.

+
Examples
+
let ascii = "hello!\n";
+let non_ascii = "Grüße, Jürgen ❤";
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+

Checks that two strings are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
Examples
+
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
+assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
+assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
+

Return an iterator that escapes each char in self with char::escape_debug.

+

Note: only extended grapheme codepoints that begin the string will be +escaped.

+
Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_debug() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_debug());
+

Both are equivalent to:

+ +
println!("❤\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
+

Return an iterator that escapes each char in self with char::escape_default.

+
Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_default() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_default());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
+

Return an iterator that escapes each char in self with char::escape_unicode.

+
Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_unicode() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_unicode());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\u{{a}}\\u{{21}}");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
+

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice.

+
Examples
+

Basic usage:

+ +
let s = "this is old";
+
+assert_eq!("this is new", s.replace("old", "new"));
+assert_eq!("than an old", s.replace("is", "an"));
+

When the pattern doesn’t match:

+ +
let s = "this is old";
+assert_eq!(s, s.replace("cookie monster", "little lamb"));
+

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice at most count times.

+
Examples
+

Basic usage:

+ +
let s = "foo foo 123 foo";
+assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
+assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3));
+assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
+

When the pattern doesn’t match:

+ +
let s = "this is old";
+assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
+

Returns the lowercase equivalent of this string slice, as a new String.

+

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property +Lowercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
Examples
+

Basic usage:

+ +
let s = "HELLO";
+
+assert_eq!("hello", s.to_lowercase());
+

A tricky example, with sigma:

+ +
let sigma = "Σ";
+
+assert_eq!("σ", sigma.to_lowercase());
+
+// but at the end of a word, it's ς, not σ:
+let odysseus = "ὈΔΥΣΣΕΎΣ";
+
+assert_eq!("ὀδυσσεύς", odysseus.to_lowercase());
+

Languages without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_lowercase());
+

Returns the uppercase equivalent of this string slice, as a new String.

+

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property +Uppercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
Examples
+

Basic usage:

+ +
let s = "hello";
+
+assert_eq!("HELLO", s.to_uppercase());
+

Scripts without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_uppercase());
+

One character can become multiple:

+ +
let s = "tschüß";
+
+assert_eq!("TSCHÜSS", s.to_uppercase());
+

Creates a new String by repeating a string n times.

+
Panics
+

This function will panic if the capacity would overflow.

+
Examples
+

Basic usage:

+ +
assert_eq!("abc".repeat(4), String::from("abcabcabcabc"));
+

A panic upon overflow:

+ +
// this will panic at runtime
+let huge = "0123456789abcdef".repeat(usize::MAX);
+

Returns a copy of this string where each character is mapped to its +ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase ASCII characters in addition to non-ASCII characters, use +to_uppercase.

+
Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
+

Returns a copy of this string where each character is mapped to its +ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase ASCII characters in addition to non-ASCII characters, use +to_lowercase.

+
Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
+

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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/static_assets/static_files/assets/struct.EYE_OFF.html b/pages/static_assets/static_files/assets/struct.EYE_OFF.html new file mode 100644 index 0000000..13bf014 --- /dev/null +++ b/pages/static_assets/static_files/assets/struct.EYE_OFF.html @@ -0,0 +1,1169 @@ +EYE_OFF in pages::static_assets::static_files::assets - Rust
pub struct EYE_OFF {
+    __private_field: (),
+}

Fields

__private_field: ()

Methods from Deref<Target = &'static str>

Returns the length of self.

+

This length is in bytes, not chars or graphemes. In other words, +it might not be what a human considers the length of the string.

+
Examples
+

Basic usage:

+ +
let len = "foo".len();
+assert_eq!(3, len);
+
+assert_eq!("ƒoo".len(), 4); // fancy f!
+assert_eq!("ƒoo".chars().count(), 3);
+

Returns true if self has a length of zero bytes.

+
Examples
+

Basic usage:

+ +
let s = "";
+assert!(s.is_empty());
+
+let s = "not empty";
+assert!(!s.is_empty());
+

Checks that index-th byte is the first byte in a UTF-8 code point +sequence or the end of the string.

+

The start and end of the string (when index == self.len()) are +considered to be boundaries.

+

Returns false if index is greater than self.len().

+
Examples
+
let s = "Löwe 老虎 Léopard";
+assert!(s.is_char_boundary(0));
+// start of `老`
+assert!(s.is_char_boundary(6));
+assert!(s.is_char_boundary(s.len()));
+
+// second byte of `ö`
+assert!(!s.is_char_boundary(2));
+
+// third byte of `老`
+assert!(!s.is_char_boundary(8));
+
🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not exceeding index where is_char_boundary(x) is true.

+

This method can help you truncate a string so that it’s still valid UTF-8, but doesn’t +exceed a given number of bytes. Note that this is done purely at the character level +and can still visually split graphemes, even though the underlying characters aren’t +split. For example, the emoji 🧑‍🔬 (scientist) could be split so that the string only +includes 🧑 (person) instead.

+
Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.floor_char_boundary(13);
+assert_eq!(closest, 10);
+assert_eq!(&s[..closest], "❤️🧡");
+
🔬This is a nightly-only experimental API. (round_char_boundary)

Finds the closest x not below index where is_char_boundary(x) is true.

+

This method is the natural complement to floor_char_boundary. See that method +for more details.

+
Panics
+

Panics if index > self.len().

+
Examples
+
#![feature(round_char_boundary)]
+let s = "❤️🧡💛💚💙💜";
+assert_eq!(s.len(), 26);
+assert!(!s.is_char_boundary(13));
+
+let closest = s.ceil_char_boundary(13);
+assert_eq!(closest, 14);
+assert_eq!(&s[..closest], "❤️🧡💛");
+

Converts a string slice to a byte slice. To convert the byte slice back +into a string slice, use the from_utf8 function.

+
Examples
+

Basic usage:

+ +
let bytes = "bors".as_bytes();
+assert_eq!(b"bors", bytes);
+

Converts a string slice to a raw pointer.

+

As string slices are a slice of bytes, the raw pointer points to a +u8. This pointer will be pointing to the first byte of the string +slice.

+

The caller must ensure that the returned pointer is never written to. +If you need to mutate the contents of the string slice, use as_mut_ptr.

+
Examples
+

Basic usage:

+ +
let s = "Hello";
+let ptr = s.as_ptr();
+

Returns a subslice of str.

+

This is the non-panicking alternative to indexing the str. Returns +None whenever equivalent indexing operation would panic.

+
Examples
+
let v = String::from("🗻∈🌏");
+
+assert_eq!(Some("🗻"), v.get(0..4));
+
+// indices not on UTF-8 sequence boundaries
+assert!(v.get(1..).is_none());
+assert!(v.get(..8).is_none());
+
+// out of bounds
+assert!(v.get(..42).is_none());
+

Returns an unchecked subslice of str.

+

This is the unchecked alternative to indexing the str.

+
Safety
+

Callers of this function are responsible that these preconditions are +satisfied:

+
    +
  • The starting index must not exceed the ending index;
  • +
  • Indexes must be within bounds of the original slice;
  • +
  • Indexes must lie on UTF-8 sequence boundaries.
  • +
+

Failing that, the returned string slice may reference invalid memory or +violate the invariants communicated by the str type.

+
Examples
+
let v = "🗻∈🌏";
+unsafe {
+    assert_eq!("🗻", v.get_unchecked(0..4));
+    assert_eq!("∈", v.get_unchecked(4..7));
+    assert_eq!("🌏", v.get_unchecked(7..11));
+}
+
👎Deprecated since 1.29.0:

use get_unchecked(begin..end) instead

+

Creates a string slice from another string slice, bypassing safety +checks.

+

This is generally not recommended, use with caution! For a safe +alternative see str and Index.

+

This new slice goes from begin to end, including begin but +excluding end.

+

To get a mutable string slice instead, see the +slice_mut_unchecked method.

+
Safety
+

Callers of this function are responsible that three preconditions are +satisfied:

+
    +
  • begin must not exceed end.
  • +
  • begin and end must be byte positions within the string slice.
  • +
  • begin and end must lie on UTF-8 sequence boundaries.
  • +
+
Examples
+

Basic usage:

+ +
let s = "Löwe 老虎 Léopard";
+
+unsafe {
+    assert_eq!("Löwe 老虎 Léopard", s.slice_unchecked(0, 21));
+}
+
+let s = "Hello, world!";
+
+unsafe {
+    assert_eq!("world", s.slice_unchecked(7, 12));
+}
+

Divide one string slice into two at an index.

+

The argument, mid, should be a byte offset from the start of the +string. It must also be on the boundary of a UTF-8 code point.

+

The two slices returned go from the start of the string slice to mid, +and from mid to the end of the string slice.

+

To get mutable string slices instead, see the split_at_mut +method.

+
Panics
+

Panics if mid is not on a UTF-8 code point boundary, or if it is +past the end of the last code point of the string slice.

+
Examples
+

Basic usage:

+ +
let s = "Per Martin-Löf";
+
+let (first, last) = s.split_at(3);
+
+assert_eq!("Per", first);
+assert_eq!(" Martin-Löf", last);
+

Returns an iterator over the chars of a string slice.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns such an iterator.

+

It’s important to remember that char represents a Unicode Scalar +Value, and might not match your idea of what a ‘character’ is. Iteration +over grapheme clusters may be what you actually want. This functionality +is not provided by Rust’s standard library, check crates.io instead.

+
Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.chars().count();
+assert_eq!(7, count);
+
+let mut chars = word.chars();
+
+assert_eq!(Some('g'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('o'), chars.next());
+assert_eq!(Some('d'), chars.next());
+assert_eq!(Some('b'), chars.next());
+assert_eq!(Some('y'), chars.next());
+assert_eq!(Some('e'), chars.next());
+
+assert_eq!(None, chars.next());
+

Remember, chars might not match your intuition about characters:

+ +
let y = "y̆";
+
+let mut chars = y.chars();
+
+assert_eq!(Some('y'), chars.next()); // not 'y̆'
+assert_eq!(Some('\u{0306}'), chars.next());
+
+assert_eq!(None, chars.next());
+

Returns an iterator over the chars of a string slice, and their +positions.

+

As a string slice consists of valid UTF-8, we can iterate through a +string slice by char. This method returns an iterator of both +these chars, as well as their byte positions.

+

The iterator yields tuples. The position is first, the char is +second.

+
Examples
+

Basic usage:

+ +
let word = "goodbye";
+
+let count = word.char_indices().count();
+assert_eq!(7, count);
+
+let mut char_indices = word.char_indices();
+
+assert_eq!(Some((0, 'g')), char_indices.next());
+assert_eq!(Some((1, 'o')), char_indices.next());
+assert_eq!(Some((2, 'o')), char_indices.next());
+assert_eq!(Some((3, 'd')), char_indices.next());
+assert_eq!(Some((4, 'b')), char_indices.next());
+assert_eq!(Some((5, 'y')), char_indices.next());
+assert_eq!(Some((6, 'e')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

Remember, chars might not match your intuition about characters:

+ +
let yes = "y̆es";
+
+let mut char_indices = yes.char_indices();
+
+assert_eq!(Some((0, 'y')), char_indices.next()); // not (0, 'y̆')
+assert_eq!(Some((1, '\u{0306}')), char_indices.next());
+
+// note the 3 here - the last character took up two bytes
+assert_eq!(Some((3, 'e')), char_indices.next());
+assert_eq!(Some((4, 's')), char_indices.next());
+
+assert_eq!(None, char_indices.next());
+

An iterator over the bytes of a string slice.

+

As a string slice consists of a sequence of bytes, we can iterate +through a string slice by byte. This method returns such an iterator.

+
Examples
+

Basic usage:

+ +
let mut bytes = "bors".bytes();
+
+assert_eq!(Some(b'b'), bytes.next());
+assert_eq!(Some(b'o'), bytes.next());
+assert_eq!(Some(b'r'), bytes.next());
+assert_eq!(Some(b's'), bytes.next());
+
+assert_eq!(None, bytes.next());
+

Splits a string slice by whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of whitespace.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space. If you only want to split on ASCII whitespace +instead, use split_ascii_whitespace.

+
Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of whitespace are considered:

+ +
let mut iter = " Mary   had\ta\u{2009}little  \n\t lamb".split_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

Splits a string slice by ASCII whitespace.

+

The iterator returned will return string slices that are sub-slices of +the original string slice, separated by any amount of ASCII whitespace.

+

To split by Unicode Whitespace instead, use split_whitespace.

+
Examples
+

Basic usage:

+ +
let mut iter = "A few words".split_ascii_whitespace();
+
+assert_eq!(Some("A"), iter.next());
+assert_eq!(Some("few"), iter.next());
+assert_eq!(Some("words"), iter.next());
+
+assert_eq!(None, iter.next());
+

All kinds of ASCII whitespace are considered:

+ +
let mut iter = " Mary   had\ta little  \n\t lamb".split_ascii_whitespace();
+assert_eq!(Some("Mary"), iter.next());
+assert_eq!(Some("had"), iter.next());
+assert_eq!(Some("a"), iter.next());
+assert_eq!(Some("little"), iter.next());
+assert_eq!(Some("lamb"), iter.next());
+
+assert_eq!(None, iter.next());
+

An iterator over the lines of a string, as string slices.

+

Lines are ended with either a newline (\n) or a carriage return with +a line feed (\r\n).

+

The final line ending is optional. A string that ends with a final line +ending will return the same lines as an otherwise identical string +without a final line ending.

+
Examples
+

Basic usage:

+ +
let text = "foo\r\nbar\n\nbaz\n";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+

The final line ending isn’t required:

+ +
let text = "foo\nbar\n\r\nbaz";
+let mut lines = text.lines();
+
+assert_eq!(Some("foo"), lines.next());
+assert_eq!(Some("bar"), lines.next());
+assert_eq!(Some(""), lines.next());
+assert_eq!(Some("baz"), lines.next());
+
+assert_eq!(None, lines.next());
+
👎Deprecated since 1.4.0:

use lines() instead now

+

An iterator over the lines of a string.

+

Returns an iterator of u16 over the string encoded as UTF-16.

+
Examples
+

Basic usage:

+ +
let text = "Zażółć gęślą jaźń";
+
+let utf8_len = text.len();
+let utf16_len = text.encode_utf16().count();
+
+assert!(utf16_len <= utf8_len);
+

Returns true if the given pattern matches a sub-slice of +this string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Basic usage:

+ +
let bananas = "bananas";
+
+assert!(bananas.contains("nana"));
+assert!(!bananas.contains("apples"));
+

Returns true if the given pattern matches a prefix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Basic usage:

+ +
let bananas = "bananas";
+
+assert!(bananas.starts_with("bana"));
+assert!(!bananas.starts_with("nana"));
+

Returns true if the given pattern matches a suffix of this +string slice.

+

Returns false if it does not.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Basic usage:

+ +
let bananas = "bananas";
+
+assert!(bananas.ends_with("anas"));
+assert!(!bananas.ends_with("nana"));
+

Returns the byte index of the first character of this string slice that +matches the pattern.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.find('L'), Some(0));
+assert_eq!(s.find('é'), Some(14));
+assert_eq!(s.find("pard"), Some(17));
+

More complex patterns using point-free style and closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.find(char::is_whitespace), Some(5));
+assert_eq!(s.find(char::is_lowercase), Some(1));
+assert_eq!(s.find(|c: char| c.is_whitespace() || c.is_lowercase()), Some(1));
+assert_eq!(s.find(|c: char| (c < 'o') && (c > 'a')), Some(4));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.find(x), None);
+

Returns the byte index for the first character of the last match of the pattern in +this string slice.

+

Returns None if the pattern doesn’t match.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+

Simple patterns:

+ +
let s = "Löwe 老虎 Léopard Gepardi";
+
+assert_eq!(s.rfind('L'), Some(13));
+assert_eq!(s.rfind('é'), Some(14));
+assert_eq!(s.rfind("pard"), Some(24));
+

More complex patterns with closures:

+ +
let s = "Löwe 老虎 Léopard";
+
+assert_eq!(s.rfind(char::is_whitespace), Some(12));
+assert_eq!(s.rfind(char::is_lowercase), Some(20));
+

Not finding the pattern:

+ +
let s = "Löwe 老虎 Léopard";
+let x: &[_] = &['1', '2'];
+
+assert_eq!(s.rfind(x), None);
+

An iterator over substrings of this string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit method can be used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".split(' ').collect();
+assert_eq!(v, ["Mary", "had", "a", "little", "lamb"]);
+
+let v: Vec<&str> = "".split('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".split('X').collect();
+assert_eq!(v, ["lion", "", "tiger", "leopard"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".split("::").collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+
+let v: Vec<&str> = "abc1def2ghi".split(char::is_numeric).collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+
+let v: Vec<&str> = "lionXtigerXleopard".split(char::is_uppercase).collect();
+assert_eq!(v, ["lion", "tiger", "leopard"]);
+

If the pattern is a slice of chars, split on each occurrence of any of the characters:

+ +
let v: Vec<&str> = "2020-11-03 23:59".split(&['-', ' ', ':', '@'][..]).collect();
+assert_eq!(v, ["2020", "11", "03", "23", "59"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".split(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "def", "ghi"]);
+

If a string contains multiple contiguous separators, you will end up +with empty strings in the output:

+ +
let x = "||||a||b|c".to_string();
+let d: Vec<_> = x.split('|').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

Contiguous separators are separated by the empty string.

+ +
let x = "(///)".to_string();
+let d: Vec<_> = x.split('/').collect();
+
+assert_eq!(d, &["(", "", "", ")"]);
+

Separators at the start or end of a string are neighbored +by empty strings.

+ +
let d: Vec<_> = "010".split("0").collect();
+assert_eq!(d, &["", "1", ""]);
+

When the empty string is used as a separator, it separates +every character in the string, along with the beginning +and end of the string.

+ +
let f: Vec<_> = "rust".split("").collect();
+assert_eq!(f, &["", "r", "u", "s", "t", ""]);
+

Contiguous separators can lead to possibly surprising behavior +when whitespace is used as the separator. This code is correct:

+ +
let x = "    a  b c".to_string();
+let d: Vec<_> = x.split(' ').collect();
+
+assert_eq!(d, &["", "", "", "", "a", "", "b", "c"]);
+

It does not give you:

+ +
assert_eq!(d, &["a", "b", "c"]);
+

Use split_whitespace for this behavior.

+

An iterator over substrings of this string slice, separated by +characters matched by a pattern. Differs from the iterator produced by +split in that split_inclusive leaves the matched part as the +terminator of the substring.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb."
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb."]);
+

If the last element of the string is matched, +that element will be considered the terminator of the preceding substring. +That substring will be the last item returned by the iterator.

+ +
let v: Vec<&str> = "Mary had a little lamb\nlittle lamb\nlittle lamb.\n"
+    .split_inclusive('\n').collect();
+assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
+

An iterator over substrings of the given string slice, separated by +characters matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split method can be used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplit(' ').collect();
+assert_eq!(v, ["lamb", "little", "a", "had", "Mary"]);
+
+let v: Vec<&str> = "".rsplit('X').collect();
+assert_eq!(v, [""]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplit('X').collect();
+assert_eq!(v, ["leopard", "tiger", "", "lion"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplit("::").collect();
+assert_eq!(v, ["leopard", "tiger", "lion"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplit(|c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "def", "abc"]);
+

An iterator over substrings of the given string slice, separated by +characters matched by a pattern.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring +is skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rsplit_terminator method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<&str> = "A.B.".split_terminator('.').collect();
+assert_eq!(v, ["A", "B"]);
+
+let v: Vec<&str> = "A..B..".split_terminator(".").collect();
+assert_eq!(v, ["A", "", "B", ""]);
+
+let v: Vec<&str> = "A.B:C.D".split_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["A", "B", "C", "D"]);
+

An iterator over substrings of self, separated by characters +matched by a pattern and yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+

Equivalent to split, except that the trailing substring is +skipped if empty.

+

This method can be used for string data that is terminated, +rather than separated by a pattern.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a +reverse search, and it will be double ended if a forward/reverse +search yields the same elements.

+

For iterating from the front, the split_terminator method can be +used.

+
Examples
+
let v: Vec<&str> = "A.B.".rsplit_terminator('.').collect();
+assert_eq!(v, ["B", "A"]);
+
+let v: Vec<&str> = "A..B..".rsplit_terminator(".").collect();
+assert_eq!(v, ["", "B", "", "A"]);
+
+let v: Vec<&str> = "A.B:C.D".rsplit_terminator(&['.', ':'][..]).collect();
+assert_eq!(v, ["D", "C", "B", "A"]);
+

An iterator over substrings of the given string slice, separated by a +pattern, restricted to returning at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will not be double ended, because it is +not efficient to support.

+

If the pattern allows a reverse search, the rsplitn method can be +used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lambda".splitn(3, ' ').collect();
+assert_eq!(v, ["Mary", "had", "a little lambda"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".splitn(3, "X").collect();
+assert_eq!(v, ["lion", "", "tigerXleopard"]);
+
+let v: Vec<&str> = "abcXdef".splitn(1, 'X').collect();
+assert_eq!(v, ["abcXdef"]);
+
+let v: Vec<&str> = "".splitn(1, 'X').collect();
+assert_eq!(v, [""]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".splitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["abc", "defXghi"]);
+

An iterator over substrings of this string slice, separated by a +pattern, starting from the end of the string, restricted to returning +at most n items.

+

If n substrings are returned, the last substring (the nth substring) +will contain the remainder of the string.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will not be double ended, because it is not +efficient to support.

+

For splitting from the front, the splitn method can be used.

+
Examples
+

Simple patterns:

+ +
let v: Vec<&str> = "Mary had a little lamb".rsplitn(3, ' ').collect();
+assert_eq!(v, ["lamb", "little", "Mary had a"]);
+
+let v: Vec<&str> = "lionXXtigerXleopard".rsplitn(3, 'X').collect();
+assert_eq!(v, ["leopard", "tiger", "lionX"]);
+
+let v: Vec<&str> = "lion::tiger::leopard".rsplitn(2, "::").collect();
+assert_eq!(v, ["leopard", "lion::tiger"]);
+

A more complex pattern, using a closure:

+ +
let v: Vec<&str> = "abc1defXghi".rsplitn(2, |c| c == '1' || c == 'X').collect();
+assert_eq!(v, ["ghi", "abc1def"]);
+

Splits the string on the first occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
Examples
+
assert_eq!("cfg".split_once('='), None);
+assert_eq!("cfg=".split_once('='), Some(("cfg", "")));
+assert_eq!("cfg=foo".split_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".split_once('='), Some(("cfg", "foo=bar")));
+

Splits the string on the last occurrence of the specified delimiter and +returns prefix before delimiter and suffix after delimiter.

+
Examples
+
assert_eq!("cfg".rsplit_once('='), None);
+assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
+assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
+

An iterator over the disjoint matches of a pattern within the given string +slice.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatches method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<&str> = "abcXXXabcYYYabc".matches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".matches(char::is_numeric).collect();
+assert_eq!(v, ["1", "2", "3"]);
+

An iterator over the disjoint matches of a pattern within this string slice, +yielded in reverse order.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the matches method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<&str> = "abcXXXabcYYYabc".rmatches("abc").collect();
+assert_eq!(v, ["abc", "abc", "abc"]);
+
+let v: Vec<&str> = "1abc2abc3".rmatches(char::is_numeric).collect();
+assert_eq!(v, ["3", "2", "1"]);
+

An iterator over the disjoint matches of a pattern within this string +slice as well as the index that the match starts at.

+

For matches of pat within self that overlap, only the indices +corresponding to the first match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator will be a DoubleEndedIterator if the pattern +allows a reverse search and forward/reverse search yields the same +elements. This is true for, e.g., char, but not for &str.

+

If the pattern allows a reverse search but its results might differ +from a forward search, the rmatch_indices method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<_> = "abcXXXabcYYYabc".match_indices("abc").collect();
+assert_eq!(v, [(0, "abc"), (6, "abc"), (12, "abc")]);
+
+let v: Vec<_> = "1abcabc2".match_indices("abc").collect();
+assert_eq!(v, [(1, "abc"), (4, "abc")]);
+
+let v: Vec<_> = "ababa".match_indices("aba").collect();
+assert_eq!(v, [(0, "aba")]); // only the first `aba`
+

An iterator over the disjoint matches of a pattern within self, +yielded in reverse order along with the index of the match.

+

For matches of pat within self that overlap, only the indices +corresponding to the last match are returned.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Iterator behavior
+

The returned iterator requires that the pattern supports a reverse +search, and it will be a DoubleEndedIterator if a forward/reverse +search yields the same elements.

+

For iterating from the front, the match_indices method can be used.

+
Examples
+

Basic usage:

+ +
let v: Vec<_> = "abcXXXabcYYYabc".rmatch_indices("abc").collect();
+assert_eq!(v, [(12, "abc"), (6, "abc"), (0, "abc")]);
+
+let v: Vec<_> = "1abcabc2".rmatch_indices("abc").collect();
+assert_eq!(v, [(4, "abc"), (1, "abc")]);
+
+let v: Vec<_> = "ababa".rmatch_indices("aba").collect();
+assert_eq!(v, [(2, "aba")]); // only the last `aba`
+

Returns a string slice with leading and trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+
+assert_eq!("Hello\tworld", s.trim());
+

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("Hello\tworld\t\n", s.trim_start());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('E') == s.trim_start().chars().next());
+
+let s = "  עברית  ";
+assert!(Some('ע') == s.trim_start().chars().next());
+

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space, which includes newlines.

+
Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
Examples
+

Basic usage:

+ +
let s = "\n Hello\tworld\t\n";
+assert_eq!("\n Hello\tworld", s.trim_end());
+

Directionality:

+ +
let s = "  English  ";
+assert!(Some('h') == s.trim_end().chars().rev().next());
+
+let s = "  עברית  ";
+assert!(Some('ת') == s.trim_end().chars().rev().next());
+
👎Deprecated since 1.33.0:

superseded by trim_start

+

Returns a string slice with leading whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!("Hello\tworld\t", s.trim_left());
+

Directionality:

+ +
let s = "  English";
+assert!(Some('E') == s.trim_left().chars().next());
+
+let s = "  עברית";
+assert!(Some('ע') == s.trim_left().chars().next());
+
👎Deprecated since 1.33.0:

superseded by trim_end

+

Returns a string slice with trailing whitespace removed.

+

‘Whitespace’ is defined according to the terms of the Unicode Derived +Core Property White_Space.

+
Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
Examples
+

Basic usage:

+ +
let s = " Hello\tworld\t";
+
+assert_eq!(" Hello\tworld", s.trim_right());
+

Directionality:

+ +
let s = "English  ";
+assert!(Some('h') == s.trim_right().chars().rev().next());
+
+let s = "עברית  ";
+assert!(Some('ת') == s.trim_right().chars().rev().next());
+

Returns a string slice with all prefixes and suffixes that match a +pattern repeatedly removed.

+

The pattern can be a char, a slice of chars, or a function +or closure that determines if a character matches.

+
Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_matches('1'), "foo1bar");
+assert_eq!("123foo1bar123".trim_matches(char::is_numeric), "foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_matches(x), "foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1foo1barXX".trim_matches(|c| c == '1' || c == 'X'), "foo1bar");
+

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. start in this context means the first +position of that byte string; for a left-to-right language like English or +Russian, this will be left side, and for right-to-left languages like +Arabic or Hebrew, this will be the right side.

+
Examples
+

Basic usage:

+ +
assert_eq!("11foo1bar11".trim_start_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_start_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_start_matches(x), "foo1bar12");
+

Returns a string slice with the prefix removed.

+

If the string starts with the pattern prefix, returns substring after the prefix, wrapped +in Some. Unlike trim_start_matches, this method removes the prefix exactly once.

+

If the string does not start with prefix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+
assert_eq!("foo:bar".strip_prefix("foo:"), Some("bar"));
+assert_eq!("foo:bar".strip_prefix("bar"), None);
+assert_eq!("foofoo".strip_prefix("foo"), Some("foo"));
+

Returns a string slice with the suffix removed.

+

If the string ends with the pattern suffix, returns the substring before the suffix, +wrapped in Some. Unlike trim_end_matches, this method removes the suffix exactly once.

+

If the string does not end with suffix, returns None.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Examples
+
assert_eq!("bar:foo".strip_suffix(":foo"), Some("bar"));
+assert_eq!("bar:foo".strip_suffix("bar"), None);
+assert_eq!("foofoo".strip_suffix("foo"), Some("foo"));
+

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. end in this context means the last +position of that byte string; for a left-to-right language like English or +Russian, this will be right side, and for right-to-left languages like +Arabic or Hebrew, this will be the left side.

+
Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_end_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_end_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_end_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_end_matches(|c| c == '1' || c == 'X'), "1foo");
+
👎Deprecated since 1.33.0:

superseded by trim_start_matches

+

Returns a string slice with all prefixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. ‘Left’ in this context means the first +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the right side, not the left.

+
Examples
+

Basic usage:

+ +
assert_eq!("11foo1bar11".trim_left_matches('1'), "foo1bar11");
+assert_eq!("123foo1bar123".trim_left_matches(char::is_numeric), "foo1bar123");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_left_matches(x), "foo1bar12");
+
👎Deprecated since 1.33.0:

superseded by trim_end_matches

+

Returns a string slice with all suffixes that match a pattern +repeatedly removed.

+

The pattern can be a &str, char, a slice of chars, or a +function or closure that determines if a character matches.

+
Text directionality
+

A string is a sequence of bytes. ‘Right’ in this context means the last +position of that byte string; for a language like Arabic or Hebrew +which are ‘right to left’ rather than ‘left to right’, this will be +the left side, not the right.

+
Examples
+

Simple patterns:

+ +
assert_eq!("11foo1bar11".trim_right_matches('1'), "11foo1bar");
+assert_eq!("123foo1bar123".trim_right_matches(char::is_numeric), "123foo1bar");
+
+let x: &[_] = &['1', '2'];
+assert_eq!("12foo1bar12".trim_right_matches(x), "12foo1bar");
+

A more complex pattern, using a closure:

+ +
assert_eq!("1fooX".trim_right_matches(|c| c == '1' || c == 'X'), "1foo");
+

Parses this string slice into another type.

+

Because parse is so general, it can cause problems with type +inference. As such, parse is one of the few times you’ll see +the syntax affectionately known as the ‘turbofish’: ::<>. This +helps the inference algorithm understand specifically which type +you’re trying to parse into.

+

parse can parse into any type that implements the FromStr trait.

+
Errors
+

Will return Err if it’s not possible to parse this string slice into +the desired type.

+
Examples
+

Basic usage

+ +
let four: u32 = "4".parse().unwrap();
+
+assert_eq!(4, four);
+

Using the ‘turbofish’ instead of annotating four:

+ +
let four = "4".parse::<u32>();
+
+assert_eq!(Ok(4), four);
+

Failing to parse:

+ +
let nope = "j".parse::<u32>();
+
+assert!(nope.is_err());
+

Checks if all characters in this string are within the ASCII range.

+
Examples
+
let ascii = "hello!\n";
+let non_ascii = "Grüße, Jürgen ❤";
+
+assert!(ascii.is_ascii());
+assert!(!non_ascii.is_ascii());
+

Checks that two strings are an ASCII case-insensitive match.

+

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), +but without allocating and copying temporaries.

+
Examples
+
assert!("Ferris".eq_ignore_ascii_case("FERRIS"));
+assert!("Ferrös".eq_ignore_ascii_case("FERRöS"));
+assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
+

Return an iterator that escapes each char in self with char::escape_debug.

+

Note: only extended grapheme codepoints that begin the string will be +escaped.

+
Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_debug() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_debug());
+

Both are equivalent to:

+ +
println!("❤\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_debug().to_string(), "❤\\n!");
+

Return an iterator that escapes each char in self with char::escape_default.

+
Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_default() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_default());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\n!");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_default().to_string(), "\\u{2764}\\n!");
+

Return an iterator that escapes each char in self with char::escape_unicode.

+
Examples
+

As an iterator:

+ +
for c in "❤\n!".escape_unicode() {
+    print!("{c}");
+}
+println!();
+

Using println! directly:

+ +
println!("{}", "❤\n!".escape_unicode());
+

Both are equivalent to:

+ +
println!("\\u{{2764}}\\u{{a}}\\u{{21}}");
+

Using to_string:

+ +
assert_eq!("❤\n!".escape_unicode().to_string(), "\\u{2764}\\u{a}\\u{21}");
+

Replaces all matches of a pattern with another string.

+

replace creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice.

+
Examples
+

Basic usage:

+ +
let s = "this is old";
+
+assert_eq!("this is new", s.replace("old", "new"));
+assert_eq!("than an old", s.replace("is", "an"));
+

When the pattern doesn’t match:

+ +
let s = "this is old";
+assert_eq!(s, s.replace("cookie monster", "little lamb"));
+

Replaces first N matches of a pattern with another string.

+

replacen creates a new String, and copies the data from this string slice into it. +While doing so, it attempts to find matches of a pattern. If it finds any, it +replaces them with the replacement string slice at most count times.

+
Examples
+

Basic usage:

+ +
let s = "foo foo 123 foo";
+assert_eq!("new new 123 foo", s.replacen("foo", "new", 2));
+assert_eq!("faa fao 123 foo", s.replacen('o', "a", 3));
+assert_eq!("foo foo new23 foo", s.replacen(char::is_numeric, "new", 1));
+

When the pattern doesn’t match:

+ +
let s = "this is old";
+assert_eq!(s, s.replacen("cookie monster", "little lamb", 10));
+

Returns the lowercase equivalent of this string slice, as a new String.

+

‘Lowercase’ is defined according to the terms of the Unicode Derived Core Property +Lowercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
Examples
+

Basic usage:

+ +
let s = "HELLO";
+
+assert_eq!("hello", s.to_lowercase());
+

A tricky example, with sigma:

+ +
let sigma = "Σ";
+
+assert_eq!("σ", sigma.to_lowercase());
+
+// but at the end of a word, it's ς, not σ:
+let odysseus = "ὈΔΥΣΣΕΎΣ";
+
+assert_eq!("ὀδυσσεύς", odysseus.to_lowercase());
+

Languages without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_lowercase());
+

Returns the uppercase equivalent of this string slice, as a new String.

+

‘Uppercase’ is defined according to the terms of the Unicode Derived Core Property +Uppercase.

+

Since some characters can expand into multiple characters when changing +the case, this function returns a String instead of modifying the +parameter in-place.

+
Examples
+

Basic usage:

+ +
let s = "hello";
+
+assert_eq!("HELLO", s.to_uppercase());
+

Scripts without case are not changed:

+ +
let new_year = "农历新年";
+
+assert_eq!(new_year, new_year.to_uppercase());
+

One character can become multiple:

+ +
let s = "tschüß";
+
+assert_eq!("TSCHÜSS", s.to_uppercase());
+

Creates a new String by repeating a string n times.

+
Panics
+

This function will panic if the capacity would overflow.

+
Examples
+

Basic usage:

+ +
assert_eq!("abc".repeat(4), String::from("abcabcabcabc"));
+

A panic upon overflow:

+ +
// this will panic at runtime
+let huge = "0123456789abcdef".repeat(usize::MAX);
+

Returns a copy of this string where each character is mapped to its +ASCII upper case equivalent.

+

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, +but non-ASCII letters are unchanged.

+

To uppercase the value in-place, use make_ascii_uppercase.

+

To uppercase ASCII characters in addition to non-ASCII characters, use +to_uppercase.

+
Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
+

Returns a copy of this string where each character is mapped to its +ASCII lower case equivalent.

+

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, +but non-ASCII letters are unchanged.

+

To lowercase the value in-place, use make_ascii_lowercase.

+

To lowercase ASCII characters in addition to non-ASCII characters, use +to_lowercase.

+
Examples
+
let s = "Grüße, Jürgen ❤";
+
+assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
+

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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/static_assets/static_files/assets/struct.MOBILE_CSS.html b/pages/static_assets/static_files/assets/struct.MOBILE_CSS.html index 0d8838f..348d0cb 100644 --- a/pages/static_assets/static_files/assets/struct.MOBILE_CSS.html +++ b/pages/static_assets/static_files/assets/struct.MOBILE_CSS.html @@ -1,4 +1,4 @@ -MOBILE_CSS in pages::static_assets::static_files::assets - Rust
pub struct MOBILE_CSS {
+MOBILE_CSS in pages::static_assets::static_files::assets - Rust
pub struct MOBILE_CSS {
     __private_field: (),
 }

Fields

__private_field: ()

Methods from Deref<Target = &'static str>

Returns the length of self.

This length is in bytes, not chars or graphemes. In other words, @@ -1158,12 +1158,12 @@ but non-ASCII letters are unchanged.

let s = "Grüße, Jürgen ❤";
 
 assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
-

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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.

+

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/static_assets/static_files/fn.handle_assets.html b/pages/static_assets/static_files/fn.handle_assets.html index 24621fe..c9995fd 100644 --- a/pages/static_assets/static_files/fn.handle_assets.html +++ b/pages/static_assets/static_files/fn.handle_assets.html @@ -1 +1 @@ -handle_assets in pages::static_assets::static_files - Rust
fn handle_assets(path: &str) -> HttpResponse
\ No newline at end of file +handle_assets in pages::static_assets::static_files - Rust
fn handle_assets(path: &str) -> HttpResponse
\ No newline at end of file diff --git a/pages/static_assets/static_files/index.html b/pages/static_assets/static_files/index.html index fd48319..e9317d6 100644 --- a/pages/static_assets/static_files/index.html +++ b/pages/static_assets/static_files/index.html @@ -1 +1 @@ -pages::static_assets::static_files - Rust
\ No newline at end of file +pages::static_assets::static_files - Rust
\ No newline at end of file diff --git a/pages/static_assets/static_files/struct.Asset.html b/pages/static_assets/static_files/struct.Asset.html index 37bb625..92f452b 100644 --- a/pages/static_assets/static_files/struct.Asset.html +++ b/pages/static_assets/static_files/struct.Asset.html @@ -1,11 +1,11 @@ -Asset in pages::static_assets::static_files - Rust
struct Asset;

Implementations

Get an embedded file and its metadata.

-

Iterates over the file paths in the folder.

-

Trait Implementations

Get an embedded file and its metadata. Read more
Iterates over the file paths in the folder. 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.

+Asset in pages::static_assets::static_files - Rust
struct Asset;

Implementations

Get an embedded file and its metadata.

+

Iterates over the file paths in the folder.

+

Trait Implementations

Get an embedded file and its metadata. Read more
Iterates over the file paths in the folder. Read more

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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/static_assets/static_files/struct.static_files.html b/pages/static_assets/static_files/struct.static_files.html index 79e44d7..efe9aac 100644 --- a/pages/static_assets/static_files/struct.static_files.html +++ b/pages/static_assets/static_files/struct.static_files.html @@ -1,9 +1,9 @@ -static_files in pages::static_assets::static_files - Rust
pub struct static_files;

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.

+static_files in pages::static_assets::static_files - Rust
pub struct static_files;

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 +
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/struct.Cli.html b/pages/struct.Cli.html index d555c6b..561deb7 100644 --- a/pages/struct.Cli.html +++ b/pages/struct.Cli.html @@ -1,11 +1,11 @@ -Cli in pages - Rust

Struct pages::Cli

source · []
pub(crate) struct Cli {
+Cli in pages - Rust

Struct pages::Cli

source · []
pub(crate) struct Cli {
     pub(crate) command: Commands,
-}

Fields

command: Commands

Trait Implementations

Append to [Command] so it can instantiate Self. Read more
Append to [Command] so it can update self. Read more
Deprecated, replaced with CommandFactory::command
Deprecated, replaced with CommandFactory::command_for_update
Build a [Command] that can instantiate Self. Read more
Build a [Command] that can update self. Read more
Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Parse from std::env::args_os(), exit on error
Parse from std::env::args_os(), return Err on error.
Parse from iterator, exit on error
Parse from iterator, return Err on error.
Update from iterator, exit on error
Update from iterator, return Err on error.

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

command: Commands

Trait Implementations

Append to [Command] so it can instantiate Self. Read more
Append to [Command] so it can update self. Read more
Deprecated, replaced with CommandFactory::command
Deprecated, replaced with CommandFactory::command_for_update
Build a [Command] that can instantiate Self. Read more
Build a [Command] that can update self. Read more
Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Parse from std::env::args_os(), exit on error
Parse from std::env::args_os(), return Err on error.
Parse from iterator, exit on error
Parse from iterator, return Err on error.
Update from iterator, exit on error
Update from iterator, return Err on error.

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 +
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/struct.FILES.html b/pages/struct.FILES.html index c352322..a832afd 100644 --- a/pages/struct.FILES.html +++ b/pages/struct.FILES.html @@ -1,11 +1,11 @@ -FILES in pages - Rust
pub struct FILES {
+FILES in pages - Rust
pub struct FILES {
     pub(crate) __private_field: (),
-}

Fields

__private_field: ()

Methods from Deref<Target = FileMap>

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

+}

Fields

__private_field: ()

Methods from Deref<Target = FileMap>

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.

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 +
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/struct.Settings.html b/pages/struct.Settings.html index d60f5be..d985f60 100644 --- a/pages/struct.Settings.html +++ b/pages/struct.Settings.html @@ -1,4 +1,4 @@ -Settings in pages - Rust
pub struct Settings {
+Settings in pages - Rust
pub struct Settings {
     pub allow_registration: bool,
     pub support_email: String,
     pub debug: bool,
@@ -6,12 +6,13 @@
     pub source_code: String,
     pub database: Database,
     pub page: PageConfig,
-}

Fields

allow_registration: boolsupport_email: Stringdebug: boolserver: Serversource_code: Stringdatabase: Databasepage: PageConfig

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

+ pub conductors: Vec<Conductor>, +}

Fields

allow_registration: boolsupport_email: Stringdebug: boolserver: Serversource_code: Stringdatabase: Databasepage: PageConfigconductors: Vec<Conductor>

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

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

Calls U::from(self).

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 +
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 +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/pages/subdomains/struct.ID.html b/pages/subdomains/struct.ID.html index f616a78..6a32f5b 100644 --- a/pages/subdomains/struct.ID.html +++ b/pages/subdomains/struct.ID.html @@ -8,6 +8,6 @@ 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 +
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/type.AppCtx.html b/pages/type.AppCtx.html index 28ae03e..f6f582c 100644 --- a/pages/type.AppCtx.html +++ b/pages/type.AppCtx.html @@ -1 +1 @@ -AppCtx in pages - Rust

Type Definition pages::AppCtx

source · []
pub type AppCtx = WebData<Arc<Ctx>>;
\ No newline at end of file +AppCtx in pages - Rust

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 cfcdd43..ae41462 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"pages":{"doc":"","t":[6,17,3,4,3,17,13,17,17,17,13,3,17,17,12,12,0,11,11,11,11,11,11,11,11,11,11,12,0,12,0,12,11,0,11,11,11,11,11,11,11,5,5,0,11,11,11,11,11,11,5,0,12,0,0,0,0,5,12,5,0,12,0,0,12,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,0,2,3,0,0,11,11,11,11,5,11,0,0,12,0,5,11,11,11,11,3,3,3,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,12,3,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,5,3,3,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,3,12,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,5,3,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,0,11,11,5,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,3,11,11,12,11,12,11,11,11,11,11,11,3,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,12,0,12,12,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,3,3,17,3,12,12,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,12,12,12,11,11,11,12,12,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,6,3,11,0,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,0,0,0,0,3,3,2,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,3,11,11,12,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,12,3,4,3,3,3,3,3,13,3,13,3,13,3,3,3,4,3,3,3,3,13,12,12,12,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,12,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,12,12,11,11,11,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,5,11,11,11,11,11,12,12,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,5,11,12,12,11,12,5,12,11,12,12,12,12,12,11,12,12,11,11,11,11,11,11,12,12,12,12,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,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,3,13,13,13,3,3,13,13,13,13,13,13,13,13,13,13,13,13,4,6,13,13,13,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,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,5,5,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,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,12,11,11,11,11,11,11,11,3,3,3,13,3,3,3,4,13,13,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,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,12,12,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,17,17,17,3,2,17,17,3,3,3,12,0,5,11,11,11,11,11,11,11,11,5,0,11,0,11,11,11,11,11,11,2,11,12,5,11,11,11,11,11,11,12,11,11,12,11,0,11,5,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,17,2,2,2,2,2,2,11,11,2,11,11,0,0,11,5,5,3,11,11,11,11,17,3,11,11,11,11,11,11,12,11,11,11,3,11,11,11,3,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,17,3,11,11,11,11,11,11,12,11,11,11,3,11,11,11,11,11,11,11,3,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,2,2,2,2,2,2,3,11,11,11,11,2,11,11,11,12,11,11,11,2,0,12,11,5,11,5,12,0,12,11,11,11,11,11,17,3,3,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,3,5,11,11,11,12,11,11,11,11,5,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,2,2,2,2,2,2,0,2,5,5,3,17,3,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,11,11,11,3,11,11,11,11,11,3,11,11,11,12,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,8,17,17,3,6,3,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,5,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,10,3,3,3,17,3,12,12,11,11,11,11,11,11,11,11,12,11,11,11,11,5,11,12,12,11,11,11,11,12,12,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,3,11,11,0,5,11,11,11,11,3,11,11,12,11,11,11,11,11,11,11,4,3,3,13,3,3,12,12,12,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,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,12,11,12,12,12,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,12,2,2,2,2,0,0,5,0,3,11,11,12,11,11,11,11,11,11,11,11,3,3,12,11,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,3,0,11,11,11,11,11,11,11,11,5,11,11,11,11,11,3,11,11,11,11,11,11,11,11,3,3,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,17,17,11,11,12,11,5,5,11,11,12,12,11,11,11,11,5,5],"n":["AppCtx","CACHE_AGE","Cli","Commands","FILES","GIT_COMMIT_HASH","Migrate","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","Serve","Settings","V1_API_ROUTES","VERSION","__private_field","allow_registration","api","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","command","ctx","database","db","debug","deref","errors","from","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","get_identity_service","get_json_err","git","has_subcommand","into","into","into","into_app","into_app_for_update","main","page","page","page_config","pages","preview","serve","serve","server","services","settings","source_code","static_assets","subdomains","support_email","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","utils","vzip","vzip","vzip","v1","ROUTES","RedirectQuery","account","auth","borrow","borrow_mut","deserialize","from","get_auth_middleware","into","meta","pages","redirect_to","routes","services","try_from","try_into","type_id","vzip","AccountCheckPayload","Email","Username","auth","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","delete_account","deserialize","deserialize","deserialize","email","email_exists","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","register","register","register","register","register","register","serialize","serialize","serialize","services","set_email","set_username","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_user_password","username","username_exists","val","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","into","into","into","login","register","register","register","register","services","signout","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","BuildDetails","Health","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_details","clone","clone","clone_into","clone_into","db","deserialize","deserialize","fmt","fmt","from","from","from","from","git_commit_hash","health","into","into","into","into","register","register","routes","serialize","serialize","services","source_code","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","version","vzip","vzip","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","DeployEvent","DeployEventResp","DeployInfo","DeploySecret","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","commit","deploy_info","deserialize","deserialize","deserialize","deserialize","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_page","head","id","into","into","into","into","into","into","register","register","remote","routes","secret","secret","serialize","serialize","serialize","serialize","services","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","vzip","vzip","Deploy","borrow","borrow_mut","from","info","into","new","try_from","try_into","type_id","update","vzip","Account","Auth","ROUTES","Routes","account","auth","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","delete","deploy","email_exists","from","from","from","get_login_route","into","into","into","login","logout","meta","new","new","new","register","serve","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_email","update_password","update_username","username_exists","vzip","vzip","vzip","ArcCtx","Ctx","add_site","api","authenticate","borrow","borrow_mut","change_password","clone","clone_into","creds","db","delete_user","email_exists","from","get_creds","into","login","new","register","set_email","settings","to_owned","try_from","try_into","type_id","update_site","update_username","username_exists","vzip","v1","account","auth","pages","AccountCheckResp","ChangePasswordReqest","auth","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","confirm_new_password","deserialize","deserialize","exists","fmt","fmt","from","from","into","into","new_password","password","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Login","Password","Register","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","confirm_password","deserialize","deserialize","deserialize","email","fmt","fmt","fmt","from","from","from","into","into","into","login","password","password","password","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","vzip","vzip","vzip","AddSite","borrow","borrow_mut","branch","clone","clone_into","deserialize","eq","equivalent","fmt","from","into","owner","repo_url","serialize","to_owned","to_site","try_from","try_into","type_id","vzip","0","Conn","ConnectionOptions","Database","EVENTS","EVENT_TYPE_CREATE","EVENT_TYPE_DELETE","EVENT_TYPE_UPDATE","Email","Event","Existing","Fresh","Fresh","InnerLibrepagesEvent","InnerSite","LibrePagesEvent","Login","NameHash","Register","Site","UpdateEmail","Username","__private_field","__private_field","__private_field","__private_field","add_site","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","branch","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","connect","create_event_type","delete_site","delete_user","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","disable_logging","email","email_exists","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","event_type","event_type_exists","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_str","get_db","get_email","get_event","get_password","get_site","get_site_from_secret","hash","hash","hostname","hostname","hostname_exists","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","list_all_site_events","list_all_sites","log_event","map_register_err","map_row_not_found_err","migrate","name","name","new","new_email","now_unix_time_stamp","owner","ping","pool","pool_options","pub_id","pub_id","pub_id","register","repo_url","repo_url","serialize","serialize","serialize","serialize","serialize","serialize","site","site_secret","site_secret","time","time","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_site","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_email","update_password","update_username","url","username","username","username","username_exists","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","0","0","0","0","0","0","AccountNotFound","BadRequest","BlacklistError","BranchNotFound","ClosedForRegistration","ConfigError","ConfigError","DuplicateRepositoryURL","EmailTaken","ErrorToResponse","FSError","FSError","FileNotFound","GitError","InternalServerError","NotAUrl","NotAnEmail","PasswordTooLong","PasswordTooShort","PasswordsDontMatch","PathTaken","ProfanityError","SecretTaken","ServiceError","ServiceResult","URLTooLong","UnauthorizedOperation","UsernameCaseMappedError","UsernameTaken","WebsiteNotFound","WrongPassword","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","from","into","into","into","into","provide","provide","provide","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","read_file","read_file_inner","read_preview_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","Page","_fetch_remote_branch","borrow","borrow_mut","branch","clone","clone_into","create_repo","deploy_branch","deserialize","domain","eq","equivalent","fast_forward","fetch","fmt","from","from_site","get_deploy_branch","get_deploy_commit","get_deploy_remote","into","merge","normal_merge","open_repo","path","pub_id","repo","secret","serialize","to_owned","try_from","try_into","type_id","update","vzip","Config","Forms","ImageCompression","Json","Policy","Redirects","Source","SupportedFormat","Toml","Yaml","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","discover","domains","enable","enable","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","format","forms","from","from","from","from","from","from","from","from","image_compression","into","into","into","into","into","into","into","load","load_json","load_toml","load_yaml","new","production_branch","redirects","rel_path","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source","staging","to","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","AUTH_NAV","BASE","FOOTER","Footer","PAGES","PAYLOAD_KEY","PUB_NAV","TEMPLATES","TemplateFile","Templates","__private_field","auth","auth_ctx","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","context","dash","deref","errors","from","from","from","from","get","get","get_auth_middleware","get_template","git_hash","home","into","into","into","into","iter","iter","name","new","new","path","register","routes","serialize","services","settings","source_code","support_email","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","version","vzip","vzip","vzip","vzip","AUTH_BASE","Footer","PAGES","PAYLOAD_KEY","TEMPLATES","TEMPLATES","TemplateFile","borrow","borrow_mut","context","from","into","login","register","register","register_templates","services","signout","try_from","try_into","type_id","vzip","LOGIN","Login","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","ctx","from","from","from","get_login","into","into","into","login_submit","new","page","register","register","render","services","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","with_error","REGISTER","Register","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","ctx","from","from","from","get_register","into","into","into","new","page","register","register","register_submit","render","services","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","with_error","Footer","PAGES","PAYLOAD_KEY","TEMPLATES","TEMPLATES","TemplateFile","TemplateSiteEvent","borrow","borrow_mut","clone","clone_into","context","deserialize","eq","equivalent","event_type","fmt","from","from","get_auth_middleware","home","id","into","register_templates","serialize","services","site","sites","time","to_owned","try_from","try_into","type_id","vzip","DASH_HOME","Home","TemplateSite","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","ctx","deserialize","eq","equivalent","fmt","from","from","from","get_home","get_site_data","into","into","into","last_update","new","register","render","serialize","services","site","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","with_error","Footer","PAGES","PAYLOAD_KEY","TEMPLATES","TEMPLATES","TemplateFile","add","context","register_templates","services","Add","DASH_SITE_ADD","TemplateAddSite","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","clone","clone_into","ctx","deserialize","eq","equivalent","fmt","from","from","from","from","get_add_site","into","into","into","into","new","post_add_site","register","register","render","repo_url","serialize","services","to_owned","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","with_error","CtxError","ERROR_KEY","ERROR_TEMPLATE","PageError","PageResult","ReadableError","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","error","error_response","fmt","fmt","fmt","fmt","from","from","into","into","new","new","provide","readable","reason","register_templates","serialize","status_code","template","title","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","with_error","Auth","Dash","DashSite","PAGES","Pages","add","auth","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","dash","from","from","from","from","get_auth_middleware","get_login_route","home","home","into","into","into","into","login","logout","new","new","new","new","register","serialize","serialize","serialize","serialize","site","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","Preview","base","borrow","borrow_mut","delimiter","extract","from","get_name","into","new","prefix","try_from","try_into","type_id","vzip","borrow","borrow_mut","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","DBType","Database","PageConfig","Postgres","Server","Settings","allow_registration","base_domain","base_path","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_url","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cookie_secret","database","database_type","debug","deserialize","deserialize","deserialize","deserialize","deserialize","domain","eq","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_url","get_ip","init","into","into","into","into","into","ip","new","page","pool","port","serialize","serialize","serialize","serialize","serialize","server","source_code","support_email","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","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","url","vzip","vzip","vzip","vzip","vzip","workers","ASSETS","ASSETS","Assets","FileMap","filemap","routes","services","static_files","FileMap","borrow","borrow_mut","files","from","get","into","new","try_from","try_into","type_id","vzip","ASSETS","Assets","__private_field","borrow","borrow","borrow_mut","borrow_mut","css","deref","from","from","into","into","mobile_css","new","serialize","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Asset","assets","borrow","borrow","borrow_mut","borrow_mut","from","from","get","get","handle_assets","into","into","iter","iter","register","static_files","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CSS","MOBILE_CSS","__private_field","__private_field","borrow","borrow","borrow_mut","borrow_mut","deref","deref","from","from","into","into","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","ID","LEN","WORDLIST","borrow","borrow_mut","first","from","get_random_id","get_random_subdomain","hostname","into","second","third","try_from","try_into","type_id","vzip","get_random","get_website_path"],"q":["pages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api","pages::api::v1","","","","","","","","","","","","","","","","","","","pages::api::v1::account","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::auth","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::meta::routes","","","","","","","","","","","","pages::api::v1::pages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::pages::routes","","","","","","","","","","","","pages::api::v1::routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx::api","pages::ctx::api::v1","","","pages::ctx::api::v1::account","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx::api::v1::auth","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx::api::v1::pages","","","","","","","","","","","","","","","","","","","","","pages::db","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::db::ConnectionOptions","","pages::db::Login","","pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::errors::ServiceError","","","","","","","","","","","","pages::git","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::git::ContentType","","pages::page","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::page_config","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::auth","","","","","","","","","","","","","","","","","","","","","","pages::pages::auth::login","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::auth::register","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash::home","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash::sites","","","","","","","","","","pages::pages::dash::sites::add","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::preview","","","","","","","","","","","","","","","pages::serve","","","","","","","","","","","","pages::serve::routes","","","","","","","","","","","pages::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::static_assets","","","","","","","","pages::static_assets::filemap","","","","","","","","","","","","pages::static_assets::routes","","","","","","","","","","","","","","","","","","","","","","","","pages::static_assets::static_files","","","","","","","","","","","","","","","","","","","","","","","","","pages::static_assets::static_files::assets","","","","","","","","","","","","","","","","","","","","","","pages::subdomains","","","","","","","","","","","","","","","","","pages::utils",""],"d":["","","","","","","run database migrations","","","","run server","","constant Routes instance","","","","","","","","","","","","","","","","","","","","","Represents all the ways a trait can fail using this crate","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","V1 API Routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","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).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","update email","update username","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Health check return datatype","","","","","","","","","emits build details of the binary","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","checks all components of the system","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","Returns the argument unchanged.","","","","Calls U::from(self).","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).","","","","","","","Account management routes","Authentication routes","constant Routes instance","Top-level routes data structure for V1 AP1","Account routes","Authentication routes","","","","","","","delete account route","","route to check if an email exists","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","login route","logout route","Meta routes","create new instance of Authentication route","create a new instance of Account routes","create new instance of Routes","registration route","","","","","","","","","","","route to update a user’s email","route to update password","route to change username","route to check if a username is already registered","","","","","","","","","","","change password","","","credential-procession policy","","delete user","check if email exists on database","Returns the argument unchanged.","Get credential-processing policy","Calls U::from(self).","Log in method. Returns Ok(()) when user is authenticated …","","register new user","update email","","","","","","","update username of a registered user","check if email exists in database","","","Account management utility datastructures and methods","Authentication helper methods and data structures","","Data structure used in *_exists methods","Data structure used to change password of a registered user","","","","","","","","","","new password confirmation","","","set to true if the attribute in question exists","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","new password","current password","","","","","","","","","","","","","Login payload","struct used to represent password","Register payload","","","","","","","","","","","","","password confirmation: password and confirm_password must …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","user identifier: either username or email an email is …","password","password","password","","","","","","","","","","","","","","","","username","","","","Data required to add site","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","Use an existing database pool","Connect to databse","","","","","","email as login","","existing connection","","fresh connection","","","","types of credentials used as identifiers during login","type encapsulating username and hashed password of a user","Data required to register a new user","Data required to add a new site","data required to update them email of a user","username as login","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","delete a user","","","","","","","","","","","","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","","","check if event type exists","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","get user email","","get a user’s password","","","hashed password of new use","hashed password","","","check if hostname exists","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","map postgres errors to ServiceError types","map custom row not found error to DB error","","","","","new email address of the user","","","","","","","","","register a new user","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update a user’s email","update user’s password","update username","","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","","","","","","","","","Account not found","","when the value passed contains blacklisted words see …","","registration failure, server is is closed for registration","","","when the a Repository URL configured for a page is already …","Email is taken","","","","File not found","","All non-specific errors are grouped under this category","The value you entered for url is not url“","The value you entered for email is not an email“","password too long","password too short","passwords don’t match","when the a path configured for a page is already taken","when the value passed contains profanity","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 …","","when the value passed contains characters not present in …","Username is taken","website not found","wrong password","","","","","","","","","","","","","","","","","","","","","","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 …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get an embedded file and its metadata.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Data required to add site","","","","","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","Render template with error context","","","","Generic result data structure","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","create new instance of PageError from a template and an …","","","","","","","","","","","","","","","","","","","","","Authentication routes","Dashboard routes","Dashboard Site routes","constant Pages instance","Top-level routes data structure for V1 AP1","home route","Authentication routes","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","home page","home route","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","login route","logout route","create new instance of Routes","create new instance of Authentication route","create new instance of Dash route","create new instance of DashSite route","registration route","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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).","","","","","","","Top-level routes data structure for V1 AP1","","","","","","Authentication routes","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","create new instance of Routes","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Get an embedded file and its metadata.","","Calls U::from(self).","Calls U::from(self).","","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","Get random string of specific length",""],"i":[0,0,0,0,0,0,8,0,0,0,8,0,0,0,2,9,0,5,5,8,8,2,5,8,2,5,8,5,0,9,0,9,2,0,2,5,8,5,8,5,8,0,0,0,8,2,5,8,5,5,0,0,9,0,0,0,0,0,9,0,0,9,0,0,9,2,5,8,2,5,8,2,5,8,5,8,5,8,0,2,5,8,0,0,0,0,0,19,19,19,19,0,19,0,0,19,0,0,19,19,19,19,0,0,0,0,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,22,23,24,22,23,24,0,22,23,24,23,0,22,23,24,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,27,29,30,31,32,33,22,23,24,0,0,0,22,23,24,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,0,24,0,22,22,23,24,27,29,30,31,32,33,34,35,36,34,35,36,34,35,36,34,35,36,0,0,34,35,36,0,0,34,35,36,34,35,36,34,35,36,34,35,36,0,0,37,39,38,40,37,39,38,40,0,37,38,37,38,38,37,38,37,38,37,39,38,40,37,0,37,39,38,40,39,40,0,37,38,0,37,37,38,37,39,38,40,37,39,38,40,37,39,38,40,37,37,39,38,40,0,41,41,41,41,41,41,41,41,41,41,41,0,0,0,0,42,43,48,44,45,49,42,43,48,44,45,49,42,42,43,44,45,42,43,44,45,45,0,42,43,44,45,44,45,44,45,42,43,44,45,42,43,48,44,45,49,45,45,43,42,43,48,44,45,49,48,49,45,0,42,44,42,43,44,45,0,42,43,44,45,42,43,48,44,45,49,42,43,48,44,45,49,42,43,48,44,45,49,0,42,43,48,44,45,49,0,50,50,50,50,50,50,50,50,50,50,50,0,0,0,0,20,20,53,54,20,53,54,20,54,20,54,53,54,20,20,53,54,20,53,53,20,53,54,20,53,20,53,54,20,53,54,20,53,54,20,54,54,54,54,53,54,20,0,0,55,0,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,0,0,0,0,0,0,0,58,57,58,57,58,57,58,57,57,58,57,58,58,57,58,57,58,57,57,57,58,57,58,57,58,57,58,57,58,57,58,57,0,0,0,62,60,64,62,60,64,62,60,64,62,60,64,62,62,60,64,62,62,60,64,62,60,64,62,60,64,60,62,60,64,62,60,64,62,60,64,62,60,64,62,60,64,62,60,64,62,62,60,64,0,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,164,0,0,0,0,0,0,0,69,0,73,0,73,0,0,0,0,0,0,0,0,69,74,75,76,77,66,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,81,65,66,65,67,68,69,70,71,72,66,65,67,68,69,70,71,72,73,66,66,66,74,75,76,77,65,67,68,69,70,71,165,67,66,65,67,68,69,70,71,72,65,67,68,69,70,71,72,72,66,65,67,68,69,70,71,72,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,71,0,66,66,66,66,66,67,70,81,65,66,72,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,66,66,66,0,0,66,166,71,71,68,0,65,66,66,165,81,166,65,66,81,65,65,67,68,69,70,71,72,81,65,166,72,66,65,67,68,69,70,71,72,81,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,66,66,66,165,67,68,70,66,73,164,165,81,166,66,65,67,68,69,70,71,74,75,76,77,72,167,168,169,170,83,84,47,47,47,47,47,0,47,47,47,0,0,47,47,47,47,47,47,47,47,47,47,47,47,0,0,47,47,47,47,47,47,83,84,47,82,83,84,47,82,82,83,84,47,82,47,83,83,84,84,47,47,82,83,84,47,47,47,47,47,47,82,83,84,47,82,83,84,47,82,83,84,47,47,83,84,47,83,84,47,82,83,84,47,82,83,84,47,82,83,84,47,82,171,172,173,174,175,176,177,178,179,171,172,173,94,0,96,96,96,96,0,0,96,96,96,94,96,96,97,94,96,97,94,94,96,97,94,96,97,94,97,94,96,97,94,96,97,94,97,96,97,94,96,96,96,96,97,94,94,96,96,97,94,97,0,0,0,94,96,97,94,96,97,94,96,96,97,94,96,97,94,96,97,94,180,181,0,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,0,0,0,115,0,0,0,0,115,115,109,110,111,112,113,114,115,109,110,111,112,113,114,115,109,110,111,112,113,109,110,111,112,113,109,110,111,112,113,114,115,109,109,111,112,109,110,111,112,113,114,115,109,110,111,112,113,114,115,109,110,111,112,113,114,115,114,109,109,110,111,112,113,114,115,113,109,109,110,111,112,113,114,115,109,109,109,109,114,110,109,114,109,110,111,112,113,114,115,109,110,113,109,110,111,112,113,109,110,111,112,113,114,115,109,110,111,112,113,114,115,109,110,111,112,113,114,115,109,110,111,112,113,114,115,0,0,0,0,0,0,0,0,0,0,117,0,0,120,117,182,124,120,117,182,124,0,0,117,0,120,117,182,124,182,182,0,182,124,0,120,117,182,124,182,182,120,120,124,120,120,0,124,0,124,124,124,120,117,182,124,120,117,182,124,120,117,182,124,124,120,117,182,124,0,0,0,0,0,0,0,126,126,0,126,126,0,0,126,0,0,0,126,126,126,126,0,0,127,128,129,127,128,129,127,127,128,129,0,127,128,129,0,127,127,128,129,127,0,127,128,129,127,128,129,127,128,129,127,128,129,127,0,0,131,132,133,131,132,133,131,131,132,133,0,131,132,133,131,131,132,133,0,131,0,131,132,133,131,132,133,131,132,133,131,132,133,131,0,0,0,0,0,0,0,134,134,134,134,0,134,134,134,134,134,134,134,0,0,134,134,0,134,0,134,0,134,134,134,134,134,134,0,0,0,136,135,137,136,135,137,135,135,136,135,135,135,135,136,135,137,0,0,136,135,137,135,136,137,136,135,0,135,135,136,135,137,136,135,137,136,135,137,136,135,137,136,0,0,0,0,0,0,0,0,0,0,0,0,0,139,140,138,141,139,140,138,141,138,138,138,139,138,138,138,138,139,140,138,141,0,139,140,138,141,139,0,140,141,139,138,138,0,138,139,140,138,141,139,140,138,141,139,140,138,141,139,140,138,141,139,0,0,0,0,0,0,130,143,130,143,130,130,143,143,130,130,143,143,130,143,130,143,130,143,143,143,130,0,130,143,143,130,130,130,143,130,143,130,143,130,143,130,143,142,0,0,0,0,0,147,144,144,145,146,147,144,145,146,147,144,144,145,146,147,0,144,144,146,144,145,146,147,145,145,144,145,146,147,145,144,145,146,147,146,144,145,146,147,144,145,146,147,144,145,146,147,144,145,146,147,0,148,148,148,148,148,148,148,148,148,148,148,148,148,148,150,150,150,0,150,150,0,0,150,150,150,150,0,151,151,151,151,151,151,151,151,151,151,0,0,0,153,0,0,9,155,155,152,153,154,9,155,152,153,154,9,155,9,152,153,154,9,155,152,153,154,9,155,152,9,154,9,152,153,154,9,155,152,153,153,152,153,153,154,9,155,152,153,154,9,155,153,152,9,152,153,154,9,155,152,9,9,154,152,152,153,154,9,155,9,9,9,152,153,154,9,155,153,152,153,154,9,155,152,153,154,9,155,152,153,154,9,155,154,152,153,154,9,155,152,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,0,0,158,158,159,158,159,159,158,158,159,158,159,159,159,159,158,159,158,159,158,159,158,159,0,0,183,160,183,160,183,160,183,183,0,183,160,183,183,160,0,183,160,183,160,183,160,183,160,0,0,161,162,161,162,161,162,161,162,161,162,161,162,161,162,161,162,161,162,161,162,0,0,0,163,163,163,163,0,0,163,163,163,163,163,163,163,163,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,1],[1,1],[1,1],[1,1],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[2,3],0,[[]],[[]],[[]],[4,[[7,[5,6]]]],[4,[[7,[8,6]]]],[4,[[7,[5,6]]]],[4,[[7,[8,6]]]],[9,[[11,[10]]]],[[],12],0,[13,14],[[]],[[]],[[]],[[],1],[[],1],[[],15],0,0,0,0,0,0,[[9,16],15],0,[17],0,0,0,0,0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[5,4],[[7,[6]]]],[[8,4],[[7,[6]]]],[[5,4],[[7,[6]]]],[[8,4],[[7,[6]]]],0,[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[],[[7,[19]]]],[[]],[[],[[21,[20]]]],[[]],0,0,0,0,[17],[[],7],[[],7],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[22,22],[23,23],[24,24],[[]],[[]],[[]],0,[[],[[7,[22]]]],[[],[[7,[23]]]],[[],[[7,[24]]]],0,0,[[22,25],26],[[23,25],26],[[24,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[27,28]],[[29,28]],[[30,28]],[[31,28]],[[32,28]],[[33,28]],[22,7],[23,7],[24,7],[17],0,0,[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[34,28]],[[35,28]],[[36,28]],[17],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[37,37],[38,38],[[]],[[]],0,[[],[[7,[37]]]],[[],[[7,[38]]]],[[37,25],26],[[38,25],26],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[39,28]],[[40,28]],0,[37,7],[38,7],[17],0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],0,[[]],[[],41],[[],7],[[],7],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[42,42],[43,43],[44,44],[45,45],[[]],[[]],[[]],[[]],0,0,[[],[[7,[42]]]],[[],[[7,[43]]]],[[],[[7,[44]]]],[[],[[7,[45]]]],[[44,44],14],[[45,45],14],[[],14],[[],14],[[42,25],26],[[43,25],26],[[44,25],26],[[45,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[46,[[7,[45,47]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[48,28]],[[49,28]],0,0,0,0,[42,7],[43,7],[44,7],[45,7],[17],[[]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],50],[[],7],[[],7],[[],18],0,[[]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[]],[[]],[[]],[[20,[51,[13]]],52],[[]],[[]],[[]],0,0,0,[[],53],[[],54],[[],20],0,0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],0,0,0,0,[[]],[[]],[[]],0,0,[[55,56],[[7,[46,47]]]],0,[[55,13,13],[[7,[47]]]],[[]],[[]],[[55,13,57],[[7,[47]]]],[55,55],[[]],0,0,[[55,13,13],[[7,[47]]]],[[55,13],[[7,[58,47]]]],[[]],[[],59],[[]],[[55,60],[[7,[52,47]]]],[9,[[61,[55]]]],[[55,62],[[7,[47]]]],[[55,13,13],[[7,[47]]]],0,[[]],[[],7],[[],7],[[],18],[[55,13,[51,[52]]],[[7,[63,47]]]],[[55,13,13],[[7,[52,47]]]],[[55,13],[[7,[58,47]]]],[[]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[58,58],[57,57],[[]],[[]],0,[[],[[7,[58]]]],[[],[[7,[57]]]],0,[[58,25],26],[[57,25],26],[[]],[[]],[[]],[[]],0,0,[58,7],[57,7],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[62,62],[60,60],[64,64],[[]],[[]],[[]],0,[[],[[7,[62]]]],[[],[[7,[60]]]],[[],[[7,[64]]]],0,[[62,25],26],[[60,25],26],[[64,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[62,7],[60,7],[64,7],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,[[]],[[]],0,[56,56],[[]],[[],[[7,[56]]]],[[56,56],14],[[],14],[[56,25],26],[[]],[[]],0,0,[56,7],[[]],[[56,9],65],[[],7],[[],7],[[],18],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[66,65],[[7,[47]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[66,66],[65,65],[67,67],[68,68],[69,69],[70,70],[71,71],[72,72],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[73,[[7,[66,47]]]],[66,[[7,[47]]]],[[66,13,13],[[7,[47]]]],[[66,13],[[7,[47]]]],[74,71],[75,71],[76,71],[77],[[],[[7,[65]]]],[[],[[7,[67]]]],[[],[[7,[68]]]],[[],[[7,[69]]]],[[],[[7,[70]]]],[[],[[7,[71]]]],0,0,[[66,13],[[7,[14,47]]]],[[65,65],14],[[67,67],14],[[68,68],14],[[69,69],14],[[70,70],14],[[71,71],14],[[72,72],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],0,[[66,71],[[7,[14,47]]]],[[65,25],26],[[67,25],26],[[68,25],26],[[69,25],26],[[70,25],26],[[71,25],26],[[72,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[13,[[51,[71]]]],[9,66],[[66,13],[[7,[52,47]]]],[[66,13,63],[[7,[72,47]]]],[[66,69],[[7,[70,47]]]],[[66,13,13],[[7,[65,47]]]],[[66,13],[[7,[65,47]]]],0,0,0,0,[[66,13],[[7,[14,47]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[66,13],[[7,[[78,[72]],47]]]],[[66,13],[[7,[[78,[65]],47]]]],[[66,13,71],[[7,[63,47]]]],[79,47],[[79,47],47],[66,[[7,[47]]]],0,0,[52,71],0,[[],80],0,[66,14],0,0,0,0,0,[[66,67],[[7,[47]]]],0,0,[65,7],[67,7],[68,7],[69,7],[70,7],[71,7],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[81,52],65],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[66,68],[[7,[47]]]],[[66,70],[[7,[47]]]],[[66,13,13],[[7,[47]]]],0,0,0,0,[[66,13],[[7,[14,47]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[7,[82]]]],[[83,83],14],[[84,84],14],[[47,47],14],0,[47,85],[[83,25],26],[[83,25],26],[[84,25],26],[[84,25],26],[[47,25],26],[[47,25],26],[[82,25],26],[[]],[[]],[86,47],[[]],[87,47],[88,47],[89,47],[90,47],[[]],[[]],[[]],[[]],[[]],[91],[91],[91],[82,7],[83,[[51,[92]]]],[84,[[51,[92]]]],[47,[[51,[92]]]],[47,93],[[],52],[[],52],[[],52],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[94,[[78,[95]]]],[96,96],[97,97],[94,94],[[]],[[]],[[]],0,[[],[[7,[94]]]],[[96,96],14],[[97,97],14],[[94,94],14],[[],14],[[],14],[[],14],0,[[96,25],26],[[97,25],26],[[94,25],26],[[]],[98,96],[98,96],[99,96],[[]],[[]],[100,94],[[],96],[[]],[[]],[[]],0,[[101,13],[[7,[97,47]]]],[[102,13,103],[[7,[97,47]]]],[[101,13,13],[[7,[97,47]]]],[94,7],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],[[7,[96,[104,[96]]]]]],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,[[46,102,13],[[7,[47]]]],[[]],[[]],0,[46,46],[[]],[46,[[7,[102,47]]]],[[46,102],[[7,[47]]]],[[],[[7,[46]]]],0,[[46,46],14],[[],14],[[102,105,106],[[7,[47]]]],[[46,102,13],[[7,[106,47]]]],[[46,25],26],[[]],[[9,65],46],[[46,102],[[7,[52,47]]]],[102,[[7,[107,47]]]],[102,[[7,[108,47]]]],[[]],[[46,102,106,13],[[7,[47]]]],[[102,106,106],[[7,[87]]]],[46,[[7,[102,47]]]],0,0,0,0,[46,7],[[]],[[],7],[[],7],[[],18],[[46,13],[[7,[47]]]],[[]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[109,109],[110,110],[111,111],[112,112],[113,113],[[]],[[]],[[]],[[]],[[]],[[],[[7,[109]]]],[[],[[7,[110]]]],[[],[[7,[111]]]],[[],[[7,[112]]]],[[],[[7,[113]]]],[[],[[7,[114]]]],[[],[[7,[115]]]],[13,[[51,[114]]]],0,0,0,[[109,109],14],[[110,110],14],[[111,111],14],[[112,112],14],[[113,113],14],[[114,114],14],[[115,115],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[109,25],26],[[110,25],26],[[111,25],26],[[112,25],26],[[113,25],26],[[114,25],26],[[115,25],26],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[13,[[51,[109]]]],[13,109],[13,109],[13,109],[[13,115],114],0,0,0,[109,7],[110,7],[111,7],[112,7],[113,7],[114,7],[115,7],0,0,0,[[]],[[]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[[[51,[13]],9],116],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,116],0,[117,118],0,[[]],[[]],[[]],[[]],[13,[[51,[119]]]],[13,[[51,[119]]]],0,[120,[[51,[52]]]],0,[121,85],[[]],[[]],[[]],[[]],[[],122],[[],123],0,[[13,13],120],[9,124],0,[[120,118],[[7,[125]]]],0,[124,7],[17],0,0,0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,[[]],[[]],0,[[]],[[]],0,0,[[126,28]],[118],[17],0,[[],7],[[],7],[[],18],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[9,[51,[60]]],127],[9,52],[[128,28]],[[129,28]],[127,52],[17],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[127,130],52],0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[]],[[]],[[9,[51,[62]]],131],[9,52],[[132,28]],[[133,28]],0,[131,52],[17],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[131,130],52],0,0,0,0,0,0,0,[[]],[[]],[134,134],[[]],0,[[],[[7,[134]]]],[[134,134],14],[[],14],0,[[134,25],26],[72,134],[[]],0,0,0,[[]],[118],[134,7],[17],0,0,0,[[]],[[],7],[[],7],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[135,135],[[]],0,[[],[[7,[135]]]],[[135,135],14],[[],14],[[135,25],26],[[]],[[]],[[]],0,[[16,121],[[7,[[78,[135]],47]]]],[[]],[[]],[[]],0,[[9,51],136],[[137,28]],[136,52],[135,7],[17],0,[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[136,130],52],0,0,0,0,0,0,0,0,[118],[17],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[138,138],[[]],0,[[],[[7,[138]]]],[[138,138],14],[[],14],[[138,25],26],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[9,139],0,[[140,28]],[[141,28]],[139,52],0,[138,7],[17],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[139,130],52],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[130,130],[[]],0,[[[143,[142]]],85],[[130,25],26],[[130,25],26],[[143,25],26],[[143,25],26],[[]],[[]],[[]],[[]],[47,130],[[142,47],[[143,[142]]]],[91],0,0,[118],[130,7],[[[143,[142]]],93],0,0,[[]],[[],52],[[],52],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],[130,52],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[],[[21,[144]]]],[[144,[51,[13]]],52],0,0,[[]],[[]],[[]],[[]],0,0,[[],144],[[],145],[[],146],[[],147],0,[144,7],[145,7],[146,7],[147,7],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,[[]],[[]],0,[[148,13],[[51,[13]]]],[[]],[[148,149],52],[[]],[16,148],0,[[],7],[[],7],[[],18],[[]],[[]],[[]],[[]],0,[[]],[[150,28]],0,[17],[[],7],[[],7],[[],18],[[]],0,[[]],[[]],0,[[]],[[]],[[],151],[[],7],[[],7],[[],18],[[]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9],[152,152],[153,153],[154,154],[9,9],[155,155],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[[],[[7,[152]]]],[[],[[7,[153]]]],[[],[[7,[154]]]],[[],[[7,[9]]]],[[],[[7,[155]]]],0,[[153,153],14],[[],14],[[152,25],26],[[153,25],26],[[153,25],26],[[154,25],26],[[9,25],26],[[155,25],26],[[]],[[]],[[]],[[]],[[]],[156,[[7,[153,90]]]],[152,52],[9],[[]],[[]],[[]],[[]],[[]],0,[[],[[7,[9,47]]]],0,0,0,[152,7],[153,7],[154,7],[9,7],[155,7],0,0,0,[[]],[[]],[[]],[[]],[[]],[[],52],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,[17],0,0,[[]],[[]],0,[[]],[[3,[157,[13]]],[[51,[13]]]],[[]],[[],3],[[],7],[[],7],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],0,[158,159],[[]],[[]],[[]],[[]],0,[[],159],[159,7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[13,[[51,[119]]]],[13,[[51,[119]]]],[13,85],[[]],[[]],[[],123],[[],122],[[160,28]],0,[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[161,13],[162,13],[[]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],0,[[]],[[],163],[9,52],[[163,13],52],[[]],0,0,[[],7],[[],7],[[],18],[[]],[149,52],[[9,13],101]],"p":[[6,"Command"],[3,"FILES"],[3,"FileMap"],[3,"ArgMatches"],[3,"Cli"],[3,"Error"],[4,"Result"],[4,"Commands"],[3,"Settings"],[3,"CookieIdentityPolicy"],[3,"IdentityService"],[3,"JsonConfig"],[15,"str"],[15,"bool"],[6,"Result"],[6,"AppCtx"],[3,"ServiceConfig"],[3,"TypeId"],[3,"RedirectQuery"],[3,"Routes"],[3,"Authentication"],[3,"AccountCheckPayload"],[3,"Email"],[3,"Username"],[3,"Formatter"],[6,"Result"],[3,"set_username"],[3,"AppService"],[3,"username_exists"],[3,"email_exists"],[3,"set_email"],[3,"delete_account"],[3,"update_user_password"],[3,"register"],[3,"login"],[3,"signout"],[3,"BuildDetails"],[3,"Health"],[3,"build_details"],[3,"health"],[3,"Meta"],[3,"DeployEvent"],[3,"DeployEventResp"],[3,"DeploySecret"],[3,"DeployInfo"],[3,"Page"],[4,"ServiceError"],[3,"update"],[3,"deploy_info"],[3,"Deploy"],[4,"Option"],[3,"String"],[3,"Auth"],[3,"Account"],[3,"Ctx"],[3,"AddSite"],[3,"ChangePasswordReqest"],[3,"AccountCheckResp"],[3,"Config"],[3,"Login"],[3,"Arc"],[3,"Register"],[3,"Uuid"],[3,"Password"],[3,"Site"],[3,"Database"],[3,"Register"],[3,"UpdateEmail"],[4,"Login"],[3,"NameHash"],[3,"Event"],[3,"LibrePagesEvent"],[4,"ConnectionOptions"],[3,"EVENT_TYPE_CREATE"],[3,"EVENT_TYPE_UPDATE"],[3,"EVENT_TYPE_DELETE"],[3,"EVENTS"],[3,"Vec"],[4,"Error"],[3,"OffsetDateTime"],[3,"InnerSite"],[3,"ErrorToResponse"],[3,"FSError"],[3,"ConfigError"],[3,"HttpResponse"],[3,"Error"],[3,"Error"],[4,"ParseError"],[4,"CredsError"],[4,"ConfigError"],[3,"Demand"],[8,"Error"],[3,"StatusCode"],[4,"ContentType"],[15,"u8"],[4,"GitFileMode"],[3,"FileInfo"],[3,"TreeEntry"],[15,"isize"],[3,"Blob"],[3,"PathBuf"],[3,"Repository"],[3,"Tree"],[3,"TryFromPrimitiveError"],[3,"Reference"],[3,"AnnotatedCommit"],[3,"Oid"],[3,"Remote"],[3,"Config"],[3,"Source"],[3,"Forms"],[3,"ImageCompression"],[3,"Redirects"],[3,"Policy"],[4,"SupportedFormat"],[3,"Context"],[3,"TEMPLATES"],[3,"Tera"],[3,"EmbeddedFile"],[3,"TemplateFile"],[3,"Identity"],[8,"Iterator"],[4,"Filenames"],[3,"Footer"],[3,"Error"],[3,"signout"],[3,"Login"],[3,"get_login"],[3,"login_submit"],[3,"ReadableError"],[3,"Register"],[3,"get_register"],[3,"register_submit"],[3,"TemplateSiteEvent"],[3,"TemplateSite"],[3,"Home"],[3,"get_home"],[3,"TemplateAddSite"],[3,"Add"],[3,"get_add_site"],[3,"post_add_site"],[8,"CtxError"],[3,"PageError"],[3,"Pages"],[3,"Auth"],[3,"Dash"],[3,"DashSite"],[3,"Preview"],[15,"usize"],[3,"index"],[3,"Serve"],[3,"Server"],[4,"DBType"],[3,"Database"],[3,"PageConfig"],[3,"Url"],[8,"AsRef"],[3,"ASSETS"],[3,"Assets"],[3,"static_files"],[3,"CSS"],[3,"MOBILE_CSS"],[3,"ID"],[3,"Conn"],[3,"Fresh"],[3,"InnerLibrepagesEvent"],[13,"Fresh"],[13,"Existing"],[13,"Username"],[13,"Email"],[13,"PathTaken"],[13,"SecretTaken"],[13,"DuplicateRepositoryURL"],[13,"FSError"],[13,"UnauthorizedOperation"],[13,"BadRequest"],[13,"ConfigError"],[13,"GitError"],[13,"BranchNotFound"],[13,"Binary"],[13,"Text"],[3,"Templates"],[3,"Asset"]]}\ +"pages":{"doc":"","t":[6,17,3,4,3,17,13,17,17,17,13,3,17,17,12,12,0,11,11,11,11,11,11,11,11,11,11,12,0,12,0,12,0,12,11,0,11,11,11,11,11,11,11,5,5,0,11,11,11,11,11,11,5,0,12,0,0,0,0,5,12,5,0,12,0,0,12,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,0,2,3,0,0,11,11,11,11,5,11,0,0,12,0,5,11,11,11,11,3,3,3,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,12,3,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,5,3,3,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,3,12,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,5,3,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,3,11,11,11,11,12,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,0,11,11,5,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,3,11,11,12,11,12,11,11,11,11,11,11,3,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,12,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,12,0,12,12,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,3,11,11,11,12,11,11,11,11,11,12,11,3,3,17,3,12,12,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,12,12,12,11,11,11,12,12,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,3,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,6,3,11,0,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,0,0,0,0,3,3,2,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,3,11,11,12,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,12,3,4,3,3,3,3,3,13,3,13,3,13,3,3,3,4,3,3,3,3,13,12,12,12,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,12,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,12,12,11,11,11,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,5,11,11,11,11,11,11,11,11,12,12,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,5,11,12,12,11,12,5,12,11,12,12,12,12,12,11,12,12,11,11,11,11,11,11,12,12,12,12,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,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,3,13,13,13,3,3,13,13,13,13,13,13,13,13,13,13,13,13,4,6,13,13,13,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,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,5,5,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,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,12,11,11,11,11,11,11,11,13,3,4,13,13,11,11,11,11,11,11,5,11,11,11,11,11,11,12,11,11,11,11,5,5,5,5,11,12,11,11,11,11,11,11,11,11,11,11,17,17,17,3,2,17,17,3,3,3,12,0,5,11,11,11,11,11,11,11,11,5,0,11,0,11,11,11,11,11,11,2,11,12,5,11,11,11,11,11,11,12,11,11,12,11,0,11,5,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,17,2,2,2,2,2,2,11,11,2,11,11,0,0,11,5,5,3,11,11,11,11,17,3,11,11,11,11,11,11,12,11,11,11,3,11,11,11,3,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,17,3,11,11,11,11,11,11,12,11,11,11,3,11,11,11,11,11,11,11,3,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,2,2,2,2,2,2,3,11,11,11,11,2,11,11,11,12,11,11,11,2,0,12,11,5,11,5,12,0,12,11,11,11,11,11,17,3,3,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,3,5,11,11,11,12,11,11,11,11,11,5,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,2,2,2,2,2,2,2,0,2,0,5,5,0,3,17,3,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,11,11,11,3,11,11,11,11,11,3,11,11,11,12,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,17,3,3,17,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,12,11,11,11,11,11,11,11,3,11,11,11,11,11,12,11,11,3,11,11,11,11,11,5,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,17,17,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,12,11,11,11,11,11,11,3,11,11,11,11,12,11,11,11,11,11,11,5,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,8,17,17,3,6,3,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,5,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,10,3,3,3,17,3,12,12,11,11,11,11,11,11,11,11,12,12,11,11,11,11,5,11,11,11,12,12,11,11,11,11,12,12,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,3,12,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,3,11,11,0,5,11,11,11,11,3,11,11,12,11,11,11,11,11,11,11,3,4,3,3,13,3,3,12,12,12,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,12,12,12,12,12,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,12,11,12,12,12,11,11,11,11,11,11,12,12,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,12,12,12,11,11,11,11,11,11,12,2,2,2,2,0,0,5,0,3,11,11,12,11,11,11,11,11,11,11,11,3,3,3,12,11,11,11,11,11,11,12,11,12,12,11,11,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,3,0,11,11,11,11,11,11,11,11,5,11,11,11,11,11,3,11,11,11,11,11,11,11,11,3,3,3,3,12,12,12,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,3,17,17,11,11,12,11,5,5,11,11,12,12,11,11,11,11,5,5],"n":["AppCtx","CACHE_AGE","Cli","Commands","FILES","GIT_COMMIT_HASH","Migrate","PKG_DESCRIPTION","PKG_HOMEPAGE","PKG_NAME","Serve","Settings","V1_API_ROUTES","VERSION","__private_field","allow_registration","api","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","command","conductor","conductors","ctx","database","db","debug","deref","errors","from","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","get_identity_service","get_json_err","git","has_subcommand","into","into","into","into_app","into_app_for_update","main","page","page","page_config","pages","preview","serve","serve","server","services","settings","source_code","static_assets","subdomains","support_email","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","utils","vzip","vzip","vzip","v1","ROUTES","RedirectQuery","account","auth","borrow","borrow_mut","deserialize","from","get_auth_middleware","into","meta","pages","redirect_to","routes","services","try_from","try_into","type_id","vzip","AccountCheckPayload","Email","Username","auth","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","delete_account","deserialize","deserialize","deserialize","email","email_exists","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","register","register","register","register","register","register","serialize","serialize","serialize","services","set_email","set_username","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_user_password","username","username_exists","val","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","from","from","from","into","into","into","login","register","register","register","register","services","signout","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","BuildDetails","Health","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_details","clone","clone","clone_into","clone_into","db","deserialize","deserialize","fmt","fmt","from","from","from","from","git_commit_hash","health","into","into","into","into","register","register","routes","serialize","serialize","services","source_code","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","version","vzip","vzip","vzip","vzip","Meta","borrow","borrow_mut","build_details","from","health","into","new","try_from","try_into","type_id","vzip","DeployEvent","DeployEventResp","DeployInfo","DeploySecret","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","commit","deploy_info","deserialize","deserialize","deserialize","deserialize","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_page","head","id","into","into","into","into","into","into","register","register","remote","routes","secret","secret","serialize","serialize","serialize","serialize","services","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","update","vzip","vzip","vzip","vzip","vzip","vzip","Deploy","borrow","borrow_mut","from","info","into","new","try_from","try_into","type_id","update","vzip","Account","Auth","ROUTES","Routes","account","auth","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","delete","deploy","email_exists","from","from","from","get_login_route","into","into","into","login","logout","meta","new","new","new","register","serve","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_email","update_password","update_username","username_exists","vzip","vzip","vzip","Conductor","borrow","borrow_mut","client","clone","clone_into","delete_site","from","into","new","new_site","settings","to_owned","try_from","try_into","tx","tx_config","type_id","vzip","ArcCtx","Ctx","add_site","api","authenticate","borrow","borrow_mut","change_password","clone","clone_into","conductor","creds","db","delete_site","delete_user","email_exists","from","get_creds","into","login","new","register","set_email","settings","to_owned","try_from","try_into","type_id","update_site","update_username","username_exists","vzip","v1","account","auth","pages","AccountCheckResp","ChangePasswordReqest","auth","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","confirm_new_password","deserialize","deserialize","exists","fmt","fmt","from","from","into","into","new_password","password","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Login","Password","Register","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","confirm_password","deserialize","deserialize","deserialize","email","fmt","fmt","fmt","from","from","from","into","into","into","login","password","password","password","serialize","serialize","serialize","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","username","vzip","vzip","vzip","AddSite","borrow","borrow_mut","branch","clone","clone_into","deserialize","eq","equivalent","fmt","from","into","owner","repo_url","serialize","to_owned","to_site","try_from","try_into","type_id","vzip","0","Conn","ConnectionOptions","Database","EVENTS","EVENT_TYPE_CREATE","EVENT_TYPE_DELETE","EVENT_TYPE_UPDATE","Email","Event","Existing","Fresh","Fresh","InnerLibrepagesEvent","InnerSite","LibrePagesEvent","Login","NameHash","Register","Site","UpdateEmail","Username","__private_field","__private_field","__private_field","__private_field","add_site","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","branch","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","connect","create_event_type","delete_site","delete_user","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","disable_logging","email","email_exists","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","event_type","event_type_exists","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_str","get_db","get_email","get_event","get_latest_event_of_type","get_latest_update_event","get_password","get_site","get_site_from_pub_id","get_site_from_secret","hash","hash","hostname","hostname","hostname_exists","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","list_all_site_events","list_all_sites","log_event","map_register_err","map_row_not_found_err","migrate","name","name","new","new_email","now_unix_time_stamp","owner","ping","pool","pool_options","pub_id","pub_id","pub_id","register","repo_url","repo_url","serialize","serialize","serialize","serialize","serialize","serialize","site","site_secret","site_secret","time","time","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_site","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_email","update_password","update_username","url","username","username","username","username_exists","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","0","0","0","0","0","0","AccountNotFound","BadRequest","BlacklistError","BranchNotFound","ClosedForRegistration","ConfigError","ConfigError","DuplicateRepositoryURL","EmailTaken","ErrorToResponse","FSError","FSError","FileNotFound","GitError","InternalServerError","NotAUrl","NotAnEmail","PasswordTooLong","PasswordTooShort","PasswordsDontMatch","PathTaken","ProfanityError","SecretTaken","ServiceError","ServiceResult","URLTooLong","UnauthorizedOperation","UsernameCaseMappedError","UsernameTaken","WebsiteNotFound","WrongPassword","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","from","into","into","into","into","provide","provide","provide","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","read_file","read_file_inner","read_preview_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","Page","_fetch_remote_branch","borrow","borrow_mut","branch","clone","clone_into","create_repo","deploy_branch","deserialize","domain","eq","equivalent","fast_forward","fetch","fmt","from","from_site","get_deploy_branch","get_deploy_commit","get_deploy_remote","into","merge","normal_merge","open_repo","path","pub_id","repo","secret","serialize","to_owned","try_from","try_into","type_id","update","vzip","Json","Policy","SupportedFormat","Toml","Yaml","borrow","borrow","borrow_mut","borrow_mut","deserialize","deserialize","discover","eq","eq","equivalent","equivalent","fmt","fmt","format","from","from","into","into","load","load_json","load_toml","load_yaml","new","rel_path","serialize","serialize","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","AUTH_NAV","BASE","FOOTER","Footer","PAGES","PAYLOAD_KEY","PUB_NAV","TEMPLATES","TemplateFile","Templates","__private_field","auth","auth_ctx","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","context","dash","deref","errors","from","from","from","from","get","get","get_auth_middleware","get_template","git_hash","home","into","into","into","into","iter","iter","name","new","new","path","register","routes","serialize","services","settings","source_code","support_email","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","version","vzip","vzip","vzip","vzip","AUTH_BASE","Footer","PAGES","PAYLOAD_KEY","TEMPLATES","TEMPLATES","TemplateFile","borrow","borrow_mut","context","from","into","login","register","register","register_templates","services","signout","try_from","try_into","type_id","vzip","LOGIN","Login","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","ctx","from","from","from","get_login","into","into","into","login_submit","new","page","register","register","render","services","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","with_error","REGISTER","Register","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","ctx","from","from","from","get_register","into","into","into","new","page","register","register","register_submit","render","services","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","with_error","Footer","PAGES","PAYLOAD_KEY","TEMPLATES","TEMPLATES","TemplateFile","TemplateSiteEvent","borrow","borrow_mut","clone","clone_into","context","deserialize","eq","equivalent","event_type","fmt","from","from","get_auth_middleware","home","id","into","register_templates","serialize","services","site","sites","time","to_owned","try_from","try_into","type_id","vzip","DASH_HOME","Home","TemplateSite","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","ctx","deserialize","eq","equivalent","fmt","from","from","from","get_home","get_site_data","into","into","into","last_update","new","new","register","render","serialize","services","site","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","view","vzip","vzip","vzip","with_error","Footer","PAGES","PAYLOAD_KEY","TEMPLATES","TEMPLATES","TemplateFile","TemplateSite","add","context","delete","register_templates","services","view","Add","DASH_SITE_ADD","TemplateAddSite","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branch","clone","clone_into","ctx","deserialize","eq","equivalent","fmt","from","from","from","from","get_add_site","into","into","into","into","new","post_add_site","register","register","render","repo_url","serialize","services","to_owned","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","with_error","DASH_SITE_DELETE","Delete","DeleteOptions","SHOW_DEPLOY_SECRET_KEY","TemplateSiteWithEvents","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","ctx","delete","deserialize","deserialize","eq","eq","equivalent","equivalent","events","fmt","fmt","from","from","from","from","from","get_delete_site","into","into","into","into","into","last_update","new","new","post_delete_site","register","register","render","serialize","serialize","services","show_deploy_secret","show_deploy_secret","site","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","vzip","vzip","vzip","vzip","vzip","with_error","DASH_SITE_VIEW","SHOW_DEPLOY_SECRET_KEY","TemplateSiteWithEvents","View","ViewOptions","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","ctx","delete","deserialize","deserialize","eq","eq","equivalent","equivalent","events","fmt","fmt","from","from","from","from","get_view_site","into","into","into","into","last_update","new","new","register","render","serialize","serialize","services","show_deploy_secret","show_deploy_secret","site","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","view","vzip","vzip","vzip","vzip","with_error","CtxError","ERROR_KEY","ERROR_TEMPLATE","PageError","PageResult","ReadableError","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","error","error_response","fmt","fmt","fmt","fmt","from","from","into","into","new","new","provide","readable","reason","register_templates","serialize","status_code","template","title","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","with_error","Auth","Dash","DashSite","PAGES","Pages","add","auth","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","dash","delete","from","from","from","from","get_auth_middleware","get_delete","get_login_route","get_view","home","home","into","into","into","into","login","logout","new","new","new","new","register","serialize","serialize","serialize","serialize","site","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","view","vzip","vzip","vzip","vzip","Preview","base","borrow","borrow_mut","delimiter","extract","from","get_name","into","new","prefix","try_from","try_into","type_id","vzip","borrow","borrow_mut","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","Conductor","DBType","Database","PageConfig","Postgres","Server","Settings","allow_registration","api_key","base_domain","base_path","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_url","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","conductors","cookie_secret","database","database_type","debug","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","domain","eq","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from_url","get_ip","init","into","into","into","into","into","into","ip","new","page","pool","port","serialize","serialize","serialize","serialize","serialize","serialize","server","source_code","support_email","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","url","url","username","vzip","vzip","vzip","vzip","vzip","vzip","workers","ASSETS","ASSETS","Assets","FileMap","filemap","routes","services","static_files","FileMap","borrow","borrow_mut","files","from","get","into","new","try_from","try_into","type_id","vzip","ASSETS","Assets","Svg","__private_field","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","css","deref","eye","eye_off","from","from","from","into","into","into","mobile_css","new","new","serialize","serialize","svg","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Asset","assets","borrow","borrow","borrow_mut","borrow_mut","from","from","get","get","handle_assets","into","into","iter","iter","register","static_files","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","CSS","EYE","EYE_OFF","MOBILE_CSS","__private_field","__private_field","__private_field","__private_field","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","deref","deref","deref","deref","from","from","from","from","into","into","into","into","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","ID","LEN","WORDLIST","borrow","borrow_mut","first","from","get_random_id","get_random_subdomain","hostname","into","second","third","try_from","try_into","type_id","vzip","get_random","get_website_path"],"q":["pages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api","pages::api::v1","","","","","","","","","","","","","","","","","","","pages::api::v1::account","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::auth","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::meta","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::meta::routes","","","","","","","","","","","","pages::api::v1::pages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::api::v1::pages::routes","","","","","","","","","","","","pages::api::v1::routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::conductor","","","","","","","","","","","","","","","","","","","pages::ctx","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx::api","pages::ctx::api::v1","","","pages::ctx::api::v1::account","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx::api::v1::auth","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::ctx::api::v1::pages","","","","","","","","","","","","","","","","","","","","","pages::db","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::db::ConnectionOptions","","pages::db::Login","","pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::errors::ServiceError","","","","","","","","","","","","pages::git","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::git::ContentType","","pages::page","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::page_config","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::auth","","","","","","","","","","","","","","","","","","","","","","pages::pages::auth::login","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::auth::register","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash::home","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash::sites","","","","","","","","","","","","","pages::pages::dash::sites::add","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash::sites::delete","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::dash::sites::view","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::errors","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::pages::routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::preview","","","","","","","","","","","","","","","pages::serve","","","","","","","","","","","","pages::serve::routes","","","","","","","","","","","pages::settings","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::static_assets","","","","","","","","pages::static_assets::filemap","","","","","","","","","","","","pages::static_assets::routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::static_assets::static_files","","","","","","","","","","","","","","","","","","","","","","","","","pages::static_assets::static_files::assets","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","pages::subdomains","","","","","","","","","","","","","","","","","pages::utils",""],"d":["","","","","","","run database migrations","","","","run server","","constant Routes instance","","","","","","","","","","","","","","","","","","","","","","","Represents all the ways a trait can fail using this crate","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","V1 API Routes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","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).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","update email","update username","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Health check return datatype","","","","","","","","","emits build details of the binary","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","checks all components of the system","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","Returns the argument unchanged.","","","","Calls U::from(self).","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).","","","","","","","Account management routes","Authentication routes","constant Routes instance","Top-level routes data structure for V1 AP1","Account routes","Authentication routes","","","","","","","delete account route","","route to check if an email exists","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","login route","logout route","Meta routes","create new instance of Authentication route","create a new instance of Account routes","create new instance of Routes","registration route","","","","","","","","","","","route to update a user’s email","route to update password","route to change username","route to check if a username is already registered","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","change password","","","","credential-procession policy","","","delete user","check if email exists on database","Returns the argument unchanged.","Get credential-processing policy","Calls U::from(self).","Log in method. Returns Ok(()) when user is authenticated …","","register new user","update email","","","","","","","update username of a registered user","check if email exists in database","","","Account management utility datastructures and methods","Authentication helper methods and data structures","","Data structure used in *_exists methods","Data structure used to change password of a registered user","","","","","","","","","","new password confirmation","","","set to true if the attribute in question exists","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","new password","current password","","","","","","","","","","","","","Login payload","struct used to represent password","Register payload","","","","","","","","","","","","","password confirmation: password and confirm_password must …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","user identifier: either username or email an email is …","password","password","password","","","","","","","","","","","","","","","","username","","","","Data required to add site","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","Use an existing database pool","Connect to databse","","","","","","email as login","","existing connection","","fresh connection","","","","types of credentials used as identifiers during login","type encapsulating username and hashed password of a user","Data required to register a new user","Data required to add a new site","data required to update them email of a user","username as login","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","delete a user","","","","","","","","","","","","Optionally, email of new use","check if email exists","","","","","","","","","","","","","","","","check if event type exists","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","get user email","","","","get a user’s password","","","","hashed password of new use","hashed password","","","check if hostname exists","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","map postgres errors to ServiceError types","map custom row not found error to DB error","","","","","new email address of the user","","","","","","","","","register a new user","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","update a user’s email","update user’s password","update username","","username of new user","username of the user","username","check if username exists","","","","","","","","","","","","","","","","","","","","","","","","Account not found","","when the value passed contains blacklisted words see …","","registration failure, server is is closed for registration","","","when the a Repository URL configured for a page is already …","Email is taken","","","","File not found","","All non-specific errors are grouped under this category","The value you entered for url is not url“","The value you entered for email is not an email“","password too long","password too short","passwords don’t match","when the a path configured for a page is already taken","when the value passed contains profanity","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 …","","when the value passed contains characters not present in …","Username is taken","website not found","wrong password","","","","","","","","","","","","","","","","","","","","","","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 …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Get an embedded file and its metadata.","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Data required to add site","","","","","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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.","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).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Render template with error context","","","","Generic result data structure","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","create new instance of PageError from a template and an …","","","","","","","","","","","","","","","","","","","","","Authentication routes","Dashboard routes","Dashboard Site routes","constant Pages instance","Top-level routes data structure for V1 AP1","add site route","Authentication routes","","","","","","","","","","delete site route","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","home page","home route","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","login route","logout route","create new instance of Routes","create new instance of Authentication route","create new instance of Dash route","create new instance of DashSite route","registration route","","","","","","","","","","","","","","","","","","view site route","","","","","","","","","","","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.","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).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","Top-level routes data structure for V1 AP1","","","","","","","","","Authentication routes","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","create new instance of Routes","create new instance of Routes","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Get an embedded file and its metadata.","","Calls U::from(self).","Calls U::from(self).","","Iterates over the file paths in the folder.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","","","","","","","Get random string of specific length",""],"i":[0,0,0,0,0,0,8,0,0,0,8,0,0,0,2,9,0,5,5,8,8,2,5,8,2,5,8,5,0,9,0,9,0,9,2,0,2,5,8,5,8,5,8,0,0,0,8,2,5,8,5,5,0,0,9,0,0,0,0,0,9,0,0,9,0,0,9,2,5,8,2,5,8,2,5,8,5,8,5,8,0,2,5,8,0,0,0,0,0,19,19,19,19,0,19,0,0,19,0,0,19,19,19,19,0,0,0,0,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,22,23,24,22,23,24,0,22,23,24,23,0,22,23,24,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,27,29,30,31,32,33,22,23,24,0,0,0,22,23,24,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,22,23,24,27,29,30,31,32,33,0,24,0,22,22,23,24,27,29,30,31,32,33,34,35,36,34,35,36,34,35,36,34,35,36,0,0,34,35,36,0,0,34,35,36,34,35,36,34,35,36,34,35,36,0,0,37,39,38,40,37,39,38,40,0,37,38,37,38,38,37,38,37,38,37,39,38,40,37,0,37,39,38,40,39,40,0,37,38,0,37,37,38,37,39,38,40,37,39,38,40,37,39,38,40,37,37,39,38,40,0,41,41,41,41,41,41,41,41,41,41,41,0,0,0,0,42,43,48,44,45,49,42,43,48,44,45,49,42,42,43,44,45,42,43,44,45,45,0,42,43,44,45,44,45,44,45,42,43,44,45,42,43,48,44,45,49,45,45,43,42,43,48,44,45,49,48,49,45,0,42,44,42,43,44,45,0,42,43,44,45,42,43,48,44,45,49,42,43,48,44,45,49,42,43,48,44,45,49,0,42,43,48,44,45,49,0,50,50,50,50,50,50,50,50,50,50,50,0,0,0,0,20,20,53,54,20,53,54,20,54,20,54,53,54,20,20,53,54,20,53,53,20,53,54,20,53,20,53,54,20,53,54,20,53,54,20,54,54,54,54,53,54,20,0,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,0,0,58,0,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,0,0,0,0,0,0,0,62,60,62,60,62,60,62,60,60,62,60,62,62,60,62,60,62,60,60,60,62,60,62,60,62,60,62,60,62,60,62,60,0,0,0,66,64,67,66,64,67,66,64,67,66,64,67,66,66,64,67,66,66,64,67,66,64,67,66,64,67,64,66,64,67,66,64,67,66,64,67,66,64,67,66,64,67,66,64,67,66,66,64,67,0,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,175,0,0,0,0,0,0,0,72,0,76,0,76,0,0,0,0,0,0,0,0,72,77,78,79,80,69,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,84,68,69,68,70,71,72,73,74,75,69,68,70,71,72,73,74,75,76,69,69,69,77,78,79,80,68,70,71,72,73,74,176,70,69,68,70,71,72,73,74,75,68,70,71,72,73,74,75,75,69,68,70,71,72,73,74,75,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,74,0,69,69,69,69,69,69,69,69,70,73,84,68,69,75,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,69,69,69,0,0,69,177,74,74,71,0,68,69,69,176,84,177,68,69,84,68,68,70,71,72,73,74,75,84,68,177,75,69,68,70,71,72,73,74,75,84,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,69,69,69,176,70,71,73,69,76,175,176,84,177,69,68,70,71,72,73,74,77,78,79,80,75,178,179,180,181,86,87,47,47,47,47,47,0,47,47,47,0,0,47,47,47,47,47,47,47,47,47,47,47,47,0,0,47,47,47,47,47,47,86,87,47,85,86,87,47,85,85,86,87,47,85,47,86,86,87,87,47,47,85,86,87,47,47,47,47,47,47,85,86,87,47,85,86,87,47,85,86,87,47,47,86,87,47,86,87,47,85,86,87,47,85,86,87,47,85,86,87,47,85,182,183,184,185,186,187,188,189,190,182,183,184,97,0,99,99,99,99,0,0,99,99,99,97,99,99,100,97,99,100,97,97,99,100,97,99,100,97,100,97,99,100,97,99,100,97,100,99,100,97,99,99,99,99,100,97,97,99,99,100,97,100,0,0,0,97,99,100,97,99,100,97,99,99,100,97,99,100,97,99,100,97,191,192,0,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,113,0,0,113,113,112,113,112,113,112,113,0,112,113,112,113,112,113,112,112,113,112,113,0,0,0,0,112,112,112,113,112,113,112,113,112,113,112,113,0,0,0,0,0,0,0,0,0,0,115,0,0,118,115,193,122,118,115,193,122,0,0,115,0,118,115,193,122,193,193,0,193,122,0,118,115,193,122,193,193,118,118,122,118,118,0,122,0,122,122,122,118,115,193,122,118,115,193,122,118,115,193,122,122,118,115,193,122,0,0,0,0,0,0,0,124,124,0,124,124,0,0,124,0,0,0,124,124,124,124,0,0,125,126,127,125,126,127,125,125,126,127,0,125,126,127,0,125,125,126,127,125,0,125,126,127,125,126,127,125,126,127,125,126,127,125,0,0,129,130,131,129,130,131,129,129,130,131,0,129,130,131,129,129,130,131,0,129,0,129,130,131,129,130,131,129,130,131,129,130,131,129,0,0,0,0,0,0,0,132,132,132,132,0,132,132,132,132,132,132,132,0,0,132,132,0,132,0,132,0,132,132,132,132,132,132,0,0,0,134,133,135,134,133,135,133,133,134,133,133,133,133,134,133,135,0,0,134,133,135,133,134,133,135,134,133,0,133,133,134,133,135,134,133,135,134,133,135,133,134,133,135,134,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,138,136,139,137,138,136,139,136,136,136,137,136,136,136,136,137,138,136,139,0,137,138,136,139,137,0,138,139,137,136,136,0,136,137,138,136,139,137,138,136,139,137,138,136,139,137,138,136,139,137,0,0,0,0,0,142,140,141,143,144,142,140,141,143,144,140,141,140,141,142,140,140,141,140,141,140,141,140,140,141,142,140,141,143,144,0,142,140,141,143,144,140,142,140,0,143,144,142,140,141,0,142,141,140,140,141,142,140,141,143,144,142,140,141,143,144,142,140,141,143,144,142,140,141,143,144,142,0,0,0,0,0,147,145,146,148,147,145,146,148,145,146,145,146,147,145,145,146,145,146,145,146,145,145,146,147,145,146,148,0,147,145,146,148,145,147,145,148,147,145,146,0,147,146,145,145,146,147,145,146,148,147,145,146,148,147,145,146,148,145,147,145,146,148,147,0,0,0,0,0,0,128,150,128,150,128,128,150,150,128,128,150,150,128,150,128,150,128,150,150,150,128,0,128,150,150,128,128,128,150,128,150,128,150,128,150,128,150,149,0,0,0,0,0,152,151,151,153,154,152,151,153,154,152,151,152,151,153,154,152,0,152,151,152,151,154,151,153,154,152,153,153,151,153,154,152,153,151,153,154,152,154,151,153,154,152,151,153,154,152,151,153,154,152,152,151,153,154,152,0,155,155,155,155,155,155,155,155,155,155,155,155,155,155,157,157,157,0,157,157,0,0,157,157,157,157,0,158,158,158,158,158,158,158,158,158,158,0,0,0,0,160,0,0,9,162,163,163,159,160,161,9,162,163,159,160,161,9,162,163,9,159,160,161,9,162,163,159,160,161,9,162,163,9,159,9,161,9,159,160,161,9,162,163,159,160,160,159,160,160,161,9,162,163,159,160,161,9,162,163,160,159,9,159,160,161,9,162,163,159,9,9,161,159,159,160,161,9,162,163,9,9,9,159,160,161,9,162,163,160,159,160,161,9,162,163,159,160,161,9,162,163,159,160,161,9,162,163,161,162,162,159,160,161,9,162,163,159,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,0,0,0,166,166,168,167,166,168,167,167,166,168,168,166,168,167,166,168,167,167,168,167,168,167,167,166,168,167,166,168,167,166,168,167,166,168,167,0,0,194,169,194,169,194,169,194,194,0,194,169,194,194,169,0,194,169,194,169,194,169,194,169,0,0,0,0,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,170,171,172,173,0,0,0,174,174,174,174,0,0,174,174,174,174,174,174,174,174,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,1],[1,1],[1,1],[1,1],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,[2,3],0,[[]],[[]],[[]],[4,[[7,[5,6]]]],[4,[[7,[8,6]]]],[4,[[7,[5,6]]]],[4,[[7,[8,6]]]],[9,[[11,[10]]]],[[],12],0,[13,14],[[]],[[]],[[]],[[],1],[[],1],[[],15],0,0,0,0,0,0,[[9,16],15],0,[17],0,0,0,0,0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[5,4],[[7,[6]]]],[[8,4],[[7,[6]]]],[[5,4],[[7,[6]]]],[[8,4],[[7,[6]]]],0,[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[],[[7,[19]]]],[[]],[[],[[21,[20]]]],[[]],0,0,0,0,[17],[[],7],[[],7],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[22,22],[23,23],[24,24],[[]],[[]],[[]],0,[[],[[7,[22]]]],[[],[[7,[23]]]],[[],[[7,[24]]]],0,0,[[22,25],26],[[23,25],26],[[24,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[27,28]],[[29,28]],[[30,28]],[[31,28]],[[32,28]],[[33,28]],[22,7],[23,7],[24,7],[17],0,0,[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[34,28]],[[35,28]],[[36,28]],[17],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[37,37],[38,38],[[]],[[]],0,[[],[[7,[37]]]],[[],[[7,[38]]]],[[37,25],26],[[38,25],26],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[39,28]],[[40,28]],0,[37,7],[38,7],[17],0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,[[]],[[]],0,[[]],0,[[]],[[],41],[[],7],[[],7],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[42,42],[43,43],[44,44],[45,45],[[]],[[]],[[]],[[]],0,0,[[],[[7,[42]]]],[[],[[7,[43]]]],[[],[[7,[44]]]],[[],[[7,[45]]]],[[44,44],14],[[45,45],14],[[],14],[[],14],[[42,25],26],[[43,25],26],[[44,25],26],[[45,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[46,[[7,[45,47]]]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[48,28]],[[49,28]],0,0,0,0,[42,7],[43,7],[44,7],[45,7],[17],[[]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[],50],[[],7],[[],7],[[],18],0,[[]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[]],[[]],[[]],[[20,[51,[13]]],52],[[]],[[]],[[]],0,0,0,[[],53],[[],54],[[],20],0,0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],0,0,0,0,[[]],[[]],[[]],0,[[]],[[]],0,[55,55],[[]],[[55,52],[[7,[47]]]],[[]],[[]],[9,55],[[55,46],[[7,[47]]]],0,[[]],[[],7],[[],7],[[55,56],[[7,[47]]]],[[55,57],[[7,[47]]]],[[],18],[[]],0,0,[[58,59],[[7,[46,47]]]],0,[[58,13,13],[[7,[47]]]],[[]],[[]],[[58,13,60],[[7,[47]]]],[58,58],[[]],0,0,0,[[58,52,61],[[7,[47]]]],[[58,13,13],[[7,[47]]]],[[58,13],[[7,[62,47]]]],[[]],[[],63],[[]],[[58,64],[[7,[52,47]]]],[9,[[65,[58]]]],[[58,66],[[7,[47]]]],[[58,13,13],[[7,[47]]]],0,[[]],[[],7],[[],7],[[],18],[[58,13,[51,[52]]],[[7,[61,47]]]],[[58,13,13],[[7,[52,47]]]],[[58,13],[[7,[62,47]]]],[[]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[62,62],[60,60],[[]],[[]],0,[[],[[7,[62]]]],[[],[[7,[60]]]],0,[[62,25],26],[[60,25],26],[[]],[[]],[[]],[[]],0,0,[62,7],[60,7],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[66,66],[64,64],[67,67],[[]],[[]],[[]],0,[[],[[7,[66]]]],[[],[[7,[64]]]],[[],[[7,[67]]]],0,[[66,25],26],[[64,25],26],[[67,25],26],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[66,7],[64,7],[67,7],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],0,[[]],[[]],0,[59,59],[[]],[[],[[7,[59]]]],[[59,59],14],[[],14],[[59,25],26],[[]],[[]],0,0,[59,7],[[]],[[59,9],68],[[],7],[[],7],[[],18],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[69,68],[[7,[47]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[69,69],[68,68],[70,70],[71,71],[72,72],[73,73],[74,74],[75,75],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[76,[[7,[69,47]]]],[69,[[7,[47]]]],[[69,13,13],[[7,[47]]]],[[69,13],[[7,[47]]]],[77,74],[78,74],[79,74],[80],[[],[[7,[68]]]],[[],[[7,[70]]]],[[],[[7,[71]]]],[[],[[7,[72]]]],[[],[[7,[73]]]],[[],[[7,[74]]]],0,0,[[69,13],[[7,[14,47]]]],[[68,68],14],[[70,70],14],[[71,71],14],[[72,72],14],[[73,73],14],[[74,74],14],[[75,75],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],[[],14],0,[[69,74],[[7,[14,47]]]],[[68,25],26],[[70,25],26],[[71,25],26],[[72,25],26],[[73,25],26],[[74,25],26],[[75,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[13,[[51,[74]]]],[9,69],[[69,13],[[7,[52,47]]]],[[69,13,61],[[7,[75,47]]]],[[69,13,74],[[7,[[51,[75]],47]]]],[[69,13],[[7,[[51,[75]],47]]]],[[69,72],[[7,[73,47]]]],[[69,13,13],[[7,[68,47]]]],[[69,61,52],[[7,[68,47]]]],[[69,13],[[7,[68,47]]]],0,0,0,0,[[69,13],[[7,[14,47]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[69,13],[[7,[[81,[75]],47]]]],[[69,13],[[7,[[81,[68]],47]]]],[[69,13,74],[[7,[61,47]]]],[82,47],[[82,47],47],[69,[[7,[47]]]],0,0,[52,74],0,[[],83],0,[69,14],0,0,0,0,0,[[69,70],[[7,[47]]]],0,0,[68,7],[70,7],[71,7],[72,7],[73,7],[74,7],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[84,52],68],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],[[69,71],[[7,[47]]]],[[69,73],[[7,[47]]]],[[69,13,13],[[7,[47]]]],0,0,0,0,[[69,13],[[7,[14,47]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[7,[85]]]],[[86,86],14],[[87,87],14],[[47,47],14],0,[47,88],[[86,25],26],[[86,25],26],[[87,25],26],[[87,25],26],[[47,25],26],[[47,25],26],[[85,25],26],[[]],[[]],[89,47],[90,47],[91,47],[92,47],[[]],[93,47],[[]],[[]],[[]],[[]],[[]],[94],[94],[94],[85,7],[86,[[51,[95]]]],[87,[[51,[95]]]],[47,[[51,[95]]]],[47,96],[[],52],[[],52],[[],52],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[97,[[81,[98]]]],[99,99],[100,100],[97,97],[[]],[[]],[[]],0,[[],[[7,[97]]]],[[99,99],14],[[100,100],14],[[97,97],14],[[],14],[[],14],[[],14],0,[[99,25],26],[[100,25],26],[[97,25],26],[101,99],[101,99],[102,99],[[]],[[]],[[]],[103,97],[[],99],[[]],[[]],[[]],0,[[104,13],[[7,[100,47]]]],[[105,13,106],[[7,[100,47]]]],[[104,13,13],[[7,[100,47]]]],[97,7],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],[[7,[99,[107,[99]]]]]],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,0,[[46,105,13],[[7,[47]]]],[[]],[[]],0,[46,46],[[]],[46,[[7,[105,47]]]],[[46,105],[[7,[47]]]],[[],[[7,[46]]]],0,[[46,46],14],[[],14],[[105,108,109],[[7,[47]]]],[[46,105,13],[[7,[109,47]]]],[[46,25],26],[[]],[[9,68],46],[[46,105],[[7,[52,47]]]],[105,[[7,[110,47]]]],[105,[[7,[111,47]]]],[[]],[[46,105,109,13],[[7,[47]]]],[[105,109,109],[[7,[93]]]],[46,[[7,[105,47]]]],0,0,0,0,[46,7],[[]],[[],7],[[],7],[[],18],[[46,13],[[7,[47]]]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[[],[[7,[112]]]],[[],[[7,[113]]]],[13,[[51,[112]]]],[[112,112],14],[[113,113],14],[[],14],[[],14],[[112,25],26],[[113,25],26],0,[[]],[[]],[[]],[[]],[13,[[51,[57]]]],[13,57],[13,57],[13,57],[[13,113],112],0,[112,7],[113,7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,[[[51,[13]],9],114],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,114],0,[115,116],0,[[]],[[]],[[]],[[]],[13,[[51,[117]]]],[13,[[51,[117]]]],0,[118,[[51,[52]]]],0,[119,88],[[]],[[]],[[]],[[]],[[],120],[[],121],0,[[13,13],118],[9,122],0,[[118,116],[[7,[123]]]],0,[122,7],[17],0,0,0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,[[]],[[]],0,[[]],[[]],0,0,[[124,28]],[116],[17],0,[[],7],[[],7],[[],18],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[9,[51,[64]]],125],[9,52],[[126,28]],[[127,28]],[125,52],[17],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[125,128],52],0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],0,[[]],[[]],[[]],[[9,[51,[66]]],129],[9,52],[[130,28]],[[131,28]],0,[129,52],[17],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[129,128],52],0,0,0,0,0,0,0,[[]],[[]],[132,132],[[]],0,[[],[[7,[132]]]],[[132,132],14],[[],14],0,[[132,25],26],[75,132],[[]],0,0,0,[[]],[116],[132,7],[17],0,0,0,[[]],[[],7],[[],7],[[],18],[[]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[133,133],[[]],0,[[],[[7,[133]]]],[[133,133],14],[[],14],[[133,25],26],[[]],[[]],[[]],0,[[16,119],[[7,[[81,[133]],47]]]],[[]],[[]],[[]],0,[[9,51],134],[[68,[51,[132]]],133],[[135,28]],[134,52],[133,7],[17],0,[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[134,128],52],0,0,0,0,0,0,0,0,0,0,[116],[17],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[136,136],[[]],0,[[],[[7,[136]]]],[[136,136],14],[[],14],[[136,25],26],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[9,137],0,[[138,28]],[[139,28]],[137,52],0,[136,7],[17],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[137,128],52],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[140,140],[141,141],[[]],[[]],0,0,[[],[[7,[140]]]],[[],[[7,[141]]]],[[140,140],14],[[141,141],14],[[],14],[[],14],0,[[140,25],26],[[141,25],26],[[]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],[[]],0,[[9,[51,[140]]],142],[[68,[51,[132]],[81,[132]]],140],0,[[143,28]],[[144,28]],[142,52],[140,7],[141,7],[17],[142],0,0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],[[]],[[142,128],52],0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[145,145],[146,146],[[]],[[]],0,0,[[],[[7,[145]]]],[[],[[7,[146]]]],[[145,145],14],[[146,146],14],[[],14],[[],14],0,[[145,25],26],[[146,25],26],[[]],[[]],[[]],[[]],0,[[]],[[]],[[]],[[]],0,[[9,[51,[145]]],147],[[68,[51,[132]],[81,[132]]],145],[[148,28]],[147,52],[145,7],[146,7],[17],[147],0,0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],[[147,128],52],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[128,128],[[]],0,[[[150,[149]]],88],[[128,25],26],[[128,25],26],[[150,25],26],[[150,25],26],[[]],[[]],[[]],[[]],[47,128],[[149,47],[[150,[149]]]],[94],0,0,[116],[128,7],[[[150,[149]]],96],0,0,[[]],[[],52],[[],52],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],[128,52],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[],[[21,[151]]]],[[152,61],52],[[151,[51,[13]]],52],[[152,61],52],0,0,[[]],[[]],[[]],[[]],0,0,[[],151],[[],153],[[],154],[[],152],0,[151,7],[153,7],[154,7],[152,7],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],0,[[]],[[]],[[]],[[]],0,0,[[]],[[]],0,[[155,13],[[51,[13]]]],[[]],[[155,156],52],[[]],[16,155],0,[[],7],[[],7],[[],18],[[]],[[]],[[]],[[]],0,[[]],[[157,28]],0,[17],[[],7],[[],7],[[],18],[[]],0,[[]],[[]],0,[[]],[[]],[[],158],[[],7],[[],7],[[],18],[[]],0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9],[159,159],[160,160],[161,161],[9,9],[162,162],[163,163],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[],[[7,[159]]]],[[],[[7,[160]]]],[[],[[7,[161]]]],[[],[[7,[9]]]],[[],[[7,[162]]]],[[],[[7,[163]]]],0,[[160,160],14],[[],14],[[159,25],26],[[160,25],26],[[160,25],26],[[161,25],26],[[9,25],26],[[162,25],26],[[163,25],26],[[]],[[]],[[]],[[]],[[]],[[]],[164,[[7,[160,91]]]],[159,52],[9],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[7,[9,47]]]],0,0,0,[159,7],[160,7],[161,7],[9,7],[162,7],[163,7],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[],52],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[],18],[[],18],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,[17],0,0,[[]],[[]],0,[[]],[[3,[165,[13]]],[[51,[13]]]],[[]],[[],3],[[],7],[[],7],[[],18],[[]],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[166,167],0,0,[[]],[[]],[[]],[[]],[[]],[[]],0,[[],168],[[],167],[168,7],[167,7],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[13,[[51,[117]]]],[13,[[51,[117]]]],[13,88],[[]],[[]],[[],121],[[],120],[[169,28]],0,[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[]],[[]],0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[170,13],[171,13],[172,13],[173,13],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]],0,0,0,[[]],[[]],0,[[]],[[],174],[9,52],[[174,13],52],[[]],0,0,[[],7],[[],7],[[],18],[[]],[156,52],[[9,13],104]],"p":[[6,"Command"],[3,"FILES"],[3,"FileMap"],[3,"ArgMatches"],[3,"Cli"],[3,"Error"],[4,"Result"],[4,"Commands"],[3,"Settings"],[3,"CookieIdentityPolicy"],[3,"IdentityService"],[3,"JsonConfig"],[15,"str"],[15,"bool"],[6,"Result"],[6,"AppCtx"],[3,"ServiceConfig"],[3,"TypeId"],[3,"RedirectQuery"],[3,"Routes"],[3,"Authentication"],[3,"AccountCheckPayload"],[3,"Email"],[3,"Username"],[3,"Formatter"],[6,"Result"],[3,"set_username"],[3,"AppService"],[3,"username_exists"],[3,"email_exists"],[3,"set_email"],[3,"delete_account"],[3,"update_user_password"],[3,"register"],[3,"login"],[3,"signout"],[3,"BuildDetails"],[3,"Health"],[3,"build_details"],[3,"health"],[3,"Meta"],[3,"DeployEvent"],[3,"DeployEventResp"],[3,"DeploySecret"],[3,"DeployInfo"],[3,"Page"],[4,"ServiceError"],[3,"update"],[3,"deploy_info"],[3,"Deploy"],[4,"Option"],[3,"String"],[3,"Auth"],[3,"Account"],[3,"Conductor"],[4,"EventType"],[3,"Config"],[3,"Ctx"],[3,"AddSite"],[3,"ChangePasswordReqest"],[3,"Uuid"],[3,"AccountCheckResp"],[3,"Config"],[3,"Login"],[3,"Arc"],[3,"Register"],[3,"Password"],[3,"Site"],[3,"Database"],[3,"Register"],[3,"UpdateEmail"],[4,"Login"],[3,"NameHash"],[3,"Event"],[3,"LibrePagesEvent"],[4,"ConnectionOptions"],[3,"EVENT_TYPE_CREATE"],[3,"EVENT_TYPE_UPDATE"],[3,"EVENT_TYPE_DELETE"],[3,"EVENTS"],[3,"Vec"],[4,"Error"],[3,"OffsetDateTime"],[3,"InnerSite"],[3,"ErrorToResponse"],[3,"FSError"],[3,"ConfigError"],[3,"HttpResponse"],[4,"CredsError"],[3,"Error"],[4,"ConfigError"],[4,"ParseError"],[3,"Error"],[3,"Demand"],[8,"Error"],[3,"StatusCode"],[4,"ContentType"],[15,"u8"],[4,"GitFileMode"],[3,"FileInfo"],[3,"TreeEntry"],[15,"isize"],[3,"Blob"],[3,"PathBuf"],[3,"Repository"],[3,"Tree"],[3,"TryFromPrimitiveError"],[3,"Reference"],[3,"AnnotatedCommit"],[3,"Oid"],[3,"Remote"],[3,"Policy"],[4,"SupportedFormat"],[3,"Context"],[3,"TEMPLATES"],[3,"Tera"],[3,"EmbeddedFile"],[3,"TemplateFile"],[3,"Identity"],[8,"Iterator"],[4,"Filenames"],[3,"Footer"],[3,"Error"],[3,"signout"],[3,"Login"],[3,"get_login"],[3,"login_submit"],[3,"ReadableError"],[3,"Register"],[3,"get_register"],[3,"register_submit"],[3,"TemplateSiteEvent"],[3,"TemplateSite"],[3,"Home"],[3,"get_home"],[3,"TemplateAddSite"],[3,"Add"],[3,"get_add_site"],[3,"post_add_site"],[3,"TemplateSiteWithEvents"],[3,"DeleteOptions"],[3,"Delete"],[3,"get_delete_site"],[3,"post_delete_site"],[3,"TemplateSiteWithEvents"],[3,"ViewOptions"],[3,"View"],[3,"get_view_site"],[8,"CtxError"],[3,"PageError"],[3,"Pages"],[3,"DashSite"],[3,"Auth"],[3,"Dash"],[3,"Preview"],[15,"usize"],[3,"index"],[3,"Serve"],[3,"Server"],[4,"DBType"],[3,"Database"],[3,"Conductor"],[3,"PageConfig"],[3,"Url"],[8,"AsRef"],[3,"ASSETS"],[3,"Assets"],[3,"Svg"],[3,"static_files"],[3,"CSS"],[3,"EYE"],[3,"EYE_OFF"],[3,"MOBILE_CSS"],[3,"ID"],[3,"Conn"],[3,"Fresh"],[3,"InnerLibrepagesEvent"],[13,"Fresh"],[13,"Existing"],[13,"Username"],[13,"Email"],[13,"PathTaken"],[13,"SecretTaken"],[13,"DuplicateRepositoryURL"],[13,"FSError"],[13,"UnauthorizedOperation"],[13,"BadRequest"],[13,"ConfigError"],[13,"GitError"],[13,"BranchNotFound"],[13,"Binary"],[13,"Text"],[3,"Templates"],[3,"Asset"]]}\ }'); 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 9b38378..7c4852c 100644 --- a/source-files.js +++ b/source-files.js @@ -1,4 +1,4 @@ var sourcesIndex = JSON.parse('{\ -"pages":["",[["api",[["v1",[["account",[],["mod.rs"]]],["auth.rs","meta.rs","mod.rs","pages.rs","routes.rs"]]],["mod.rs"]],["ctx",[["api",[["v1",[],["account.rs","auth.rs","mod.rs","pages.rs"]]],["mod.rs"]]],["mod.rs"]],["pages",[["auth",[],["login.rs","mod.rs","register.rs"]],["dash",[["sites",[],["add.rs","mod.rs"]]],["home.rs","mod.rs"]]],["errors.rs","mod.rs","routes.rs"]],["static_assets",[],["filemap.rs","mod.rs","static_files.rs"]]],["db.rs","errors.rs","git.rs","main.rs","page.rs","page_config.rs","preview.rs","serve.rs","settings.rs","subdomains.rs","utils.rs"]]\ +"pages":["",[["api",[["v1",[["account",[],["mod.rs"]]],["auth.rs","meta.rs","mod.rs","pages.rs","routes.rs"]]],["mod.rs"]],["ctx",[["api",[["v1",[],["account.rs","auth.rs","mod.rs","pages.rs"]]],["mod.rs"]]],["mod.rs"]],["pages",[["auth",[],["login.rs","mod.rs","register.rs"]],["dash",[["sites",[],["add.rs","delete.rs","mod.rs","view.rs"]]],["home.rs","mod.rs"]]],["errors.rs","mod.rs","routes.rs"]],["static_assets",[],["filemap.rs","mod.rs","static_files.rs"]]],["conductor.rs","db.rs","errors.rs","git.rs","main.rs","page.rs","page_config.rs","preview.rs","serve.rs","settings.rs","subdomains.rs","utils.rs"]]\ }'); createSourceSidebar(); diff --git a/src/pages/conductor.rs.html b/src/pages/conductor.rs.html new file mode 100644 index 0000000..4ca6840 --- /dev/null +++ b/src/pages/conductor.rs.html @@ -0,0 +1,190 @@ +conductor.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
+
/*
+ * 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 reqwest::Client;
+
+use libconductor::EventType;
+use libconfig::Config;
+use tracing::info;
+
+use crate::errors::ServiceResult;
+use crate::{page::Page, settings::Settings};
+
+#[derive(Clone)]
+pub struct Conductor {
+    client: Client,
+    pub settings: Settings,
+}
+
+impl Conductor {
+    pub fn new(settings: Settings) -> Self {
+        Self {
+            client: Client::new(),
+            settings,
+        }
+    }
+    async fn tx(&self, e: &EventType) -> ServiceResult<()> {
+        for c in self.settings.conductors.iter() {
+            info!("Tx event to {}", c.url);
+            let mut event_url = c.url.clone();
+            event_url.set_path("/api/v1/events/new");
+            self.client
+                .post(event_url)
+                .basic_auth(&c.username, Some(&c.api_key))
+                .json(e)
+                .send()
+                .await
+                .unwrap();
+        }
+        Ok(())
+    }
+
+    pub async fn new_site(&self, page: Page) -> ServiceResult<()> {
+        let msg = EventType::NewSite {
+            hostname: page.domain,
+            branch: page.branch,
+            path: page.path,
+        };
+        self.tx(&msg).await
+    }
+
+    pub async fn tx_config(&self, config: Config) -> ServiceResult<()> {
+        self.tx(&EventType::Config { data: config }).await
+    }
+
+    pub async fn delete_site(&self, hostname: String) -> ServiceResult<()> {
+        self.tx(&EventType::DeleteSite { hostname }).await
+    }
+}
+
+#[cfg(test)]
+mod tests {
+    use super::*;
+
+    use uuid::Uuid;
+
+    #[actix_rt::test]
+    pub async fn test_conductor() {
+        let settings = Settings::new().unwrap();
+        let c = Conductor::new(settings.clone());
+        c.delete_site("example.org".into()).await.unwrap();
+        let page = Page {
+            secret: "foo".into(),
+            repo: "foo".into(),
+            path: "foo".into(),
+            branch: "foo".into(),
+            domain: "foo".into(),
+            pub_id: Uuid::new_v4(),
+        };
+        c.new_site(page).await.unwrap();
+    }
+}
+
+
\ No newline at end of file diff --git a/src/pages/ctx/api/v1/pages.rs.html b/src/pages/ctx/api/v1/pages.rs.html index 8347737..8ecc1c6 100644 --- a/src/pages/ctx/api/v1/pages.rs.html +++ b/src/pages/ctx/api/v1/pages.rs.html @@ -97,6 +97,30 @@ 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
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -115,6 +139,7 @@
  */
 use actix_web::web;
 use serde::{Deserialize, Serialize};
+use tokio::fs;
 use tokio::sync::oneshot;
 use uuid::Uuid;
 
@@ -127,6 +152,7 @@
 use crate::settings::Settings;
 use crate::subdomains::get_random_subdomain;
 use crate::utils::get_random;
+use crate::utils::get_website_path;
 
 #[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq)]
 /// Data required to add site
@@ -158,12 +184,15 @@
         self.db.add_site(&db_site).await?;
         let page = Page::from_site(&self.settings, db_site);
         page.update(&page.branch)?;
-        if let Some(_config) = page_config::Config::load(&page.path, &page.branch) {
-            unimplemented!();
-        }
         self.db
             .log_event(&page.domain, &db::EVENT_TYPE_CREATE)
             .await?;
+        self.conductor.new_site(page.clone()).await?;
+
+        if let Some(config) = page_config::load(&page.path, &page.branch) {
+            self.conductor.tx_config(config).await?;
+            unimplemented!("Parse and store custom domains in DB");
+        }
         Ok(page)
     }
 
@@ -184,10 +213,10 @@
                 .unwrap();
             }
             rx.await.unwrap()?;
-            if let Some(_config) = page_config::Config::load(&page.path, &page.branch) {
-                unimplemented!();
+            if let Some(config) = page_config::load(&page.path, &page.branch) {
+                self.conductor.tx_config(config).await?;
+                unimplemented!("Parse and store custom domains in DB");
             }
-            println!("{}", page.domain);
             self.db
                 .log_event(&page.domain, &db::EVENT_TYPE_UPDATE)
                 .await
@@ -195,6 +224,25 @@
             Err(ServiceError::WebsiteNotFound)
         }
     }
+
+    pub async fn delete_site(&self, owner: String, site_id: Uuid) -> ServiceResult<()> {
+        if let Ok(db_site) = self.db.get_site_from_pub_id(site_id, owner).await {
+            let path = get_website_path(&self.settings, &db_site.hostname);
+
+            self.db
+                .log_event(&db_site.hostname, &db::EVENT_TYPE_DELETE)
+                .await?;
+
+            fs::remove_dir_all(&path).await?;
+            self.db
+                .delete_site(&db_site.owner, &db_site.hostname)
+                .await?;
+            self.conductor.delete_site(db_site.hostname).await?;
+            Ok(())
+        } else {
+            Err(ServiceError::WebsiteNotFound)
+        }
+    }
 }
 
\ No newline at end of file diff --git a/src/pages/ctx/mod.rs.html b/src/pages/ctx/mod.rs.html index f1b43ad..710ef9a 100644 --- a/src/pages/ctx/mod.rs.html +++ b/src/pages/ctx/mod.rs.html @@ -68,6 +68,11 @@ 68 69 70 +71 +72 +73 +74 +75
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -94,12 +99,15 @@
 
 pub mod api;
 
+use crate::conductor::Conductor;
+
 pub type ArcCtx = Arc<Ctx>;
 
 #[derive(Clone)]
 pub struct Ctx {
     pub settings: Settings,
     pub db: Database,
+    pub conductor: Conductor,
     /// credential-procession policy
     pub creds: ArgonConfig,
 }
@@ -119,6 +127,7 @@
     pub async fn new(settings: Settings) -> Arc<Self> {
         let creds = Self::get_creds();
         let c = creds.clone();
+        let conductor = Conductor::new(settings.clone());
 
         #[allow(unused_variables)]
         let init = thread::spawn(move || {
@@ -135,6 +144,7 @@
             settings,
             db,
             creds,
+            conductor,
         })
     }
 }
diff --git a/src/pages/db.rs.html b/src/pages/db.rs.html
index f16a0f2..6f1f510 100644
--- a/src/pages/db.rs.html
+++ b/src/pages/db.rs.html
@@ -903,6 +903,132 @@
 903
 904
 905
+906
+907
+908
+909
+910
+911
+912
+913
+914
+915
+916
+917
+918
+919
+920
+921
+922
+923
+924
+925
+926
+927
+928
+929
+930
+931
+932
+933
+934
+935
+936
+937
+938
+939
+940
+941
+942
+943
+944
+945
+946
+947
+948
+949
+950
+951
+952
+953
+954
+955
+956
+957
+958
+959
+960
+961
+962
+963
+964
+965
+966
+967
+968
+969
+970
+971
+972
+973
+974
+975
+976
+977
+978
+979
+980
+981
+982
+983
+984
+985
+986
+987
+988
+989
+990
+991
+992
+993
+994
+995
+996
+997
+998
+999
+1000
+1001
+1002
+1003
+1004
+1005
+1006
+1007
+1008
+1009
+1010
+1011
+1012
+1013
+1014
+1015
+1016
+1017
+1018
+1019
+1020
+1021
+1022
+1023
+1024
+1025
+1026
+1027
+1028
+1029
+1030
+1031
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -1178,6 +1304,44 @@
         Ok(())
     }
 
+    pub async fn get_site_from_pub_id(&self, pub_id: Uuid, owner: String) -> ServiceResult<Site> {
+        struct S {
+            repo_url: String,
+            branch: String,
+            hostname: String,
+            owned_by: i32,
+            site_secret: String,
+        }
+
+        let site = sqlx::query_as!(
+            S,
+            "SELECT repo_url, branch, hostname, owned_by, site_secret
+            FROM librepages_sites
+            WHERE pub_id = $1
+            AND
+                owned_by = (SELECT ID from librepages_users WHERE name = $2)
+            AND
+                deleted = false;
+            ",
+            &pub_id,
+            &owner,
+        )
+        .fetch_one(&self.pool)
+        .await
+        .map_err(|e| map_row_not_found_err(e, ServiceError::WebsiteNotFound))?;
+
+        let site = Site {
+            site_secret: site.site_secret,
+            branch: site.branch,
+            hostname: site.hostname,
+            owner,
+            repo_url: site.repo_url,
+            pub_id,
+        };
+
+        Ok(site)
+    }
+
     pub async fn get_site_from_secret(&self, site_secret: &str) -> ServiceResult<Site> {
         struct S {
             repo_url: String,
@@ -1192,6 +1356,7 @@
             "SELECT repo_url, branch, hostname, owned_by, pub_id
             FROM librepages_sites
             WHERE site_secret = $1
+            AND deleted = false;
             ",
             site_secret,
         )
@@ -1228,7 +1393,8 @@
             InnerSite,
             "SELECT site_secret, repo_url, branch, hostname, pub_id
             FROM librepages_sites
-            WHERE owned_by = (SELECT ID FROM librepages_users WHERE name = $1 )
+            WHERE deleted = false
+            AND owned_by = (SELECT ID FROM librepages_users WHERE name = $1 )
             AND hostname = $2;
             ",
             owner,
@@ -1248,7 +1414,8 @@
             InnerSite,
             "SELECT site_secret, repo_url, branch, hostname, pub_id
             FROM librepages_sites
-            WHERE owned_by = (SELECT ID FROM librepages_users WHERE name = $1 );
+            WHERE deleted = false
+            AND owned_by = (SELECT ID FROM librepages_users WHERE name = $1 );
             ",
             owner,
         )
@@ -1263,7 +1430,7 @@
 
     pub async fn delete_site(&self, owner: &str, hostname: &str) -> ServiceResult<()> {
         sqlx::query!(
-            "DELETE FROM librepages_sites
+            "UPDATE librepages_sites SET deleted = true
             WHERE hostname = ($1)
             AND owned_by = ( SELECT ID FROM librepages_users WHERE name = $2);
             ",
@@ -1279,7 +1446,7 @@
     /// check if hostname exists
     pub async fn hostname_exists(&self, hostname: &str) -> ServiceResult<bool> {
         let res = sqlx::query!(
-            "SELECT EXISTS (SELECT 1 from librepages_sites WHERE hostname = $1)",
+            "SELECT EXISTS (SELECT 1 from librepages_sites WHERE hostname = $1 AND deleted = false)",
             hostname,
         )
         .fetch_one(&self.pool)
@@ -1389,6 +1556,65 @@
         })
     }
 
+    pub async fn get_latest_update_event(
+        &self,
+        hostname: &str,
+    ) -> ServiceResult<Option<LibrePagesEvent>> {
+        self.get_latest_event_of_type(hostname, &EVENT_TYPE_UPDATE)
+            .await
+    }
+
+    async fn get_latest_event_of_type(
+        &self,
+        hostname: &str,
+        event_type: &Event,
+    ) -> ServiceResult<Option<LibrePagesEvent>> {
+        struct InnerLibrepagesEventNameless {
+            time: OffsetDateTime,
+            pub_id: Uuid,
+        }
+
+        let event = sqlx::query_as!(
+            InnerLibrepagesEventNameless,
+            "SELECT
+                time,
+                pub_id
+              FROM
+                  librepages_site_deploy_events
+              WHERE
+                  site = (SELECT ID FROM librepages_sites WHERE hostname = $1)
+              AND
+                  event_type = (SELECT ID FROM librepages_deploy_event_type WHERE  name = $2)
+              AND
+                  time = (
+                      SELECT MAX(time) 
+                      FROM
+                          librepages_site_deploy_events
+                      WHERE
+                          site = (SELECT ID FROM librepages_sites WHERE hostname = $1)
+                      )
+                ",
+            hostname,
+            event_type.name
+        )
+        .fetch_one(&self.pool)
+        .await;
+
+        match event {
+            Ok(event) => Ok(Some(LibrePagesEvent {
+                id: event.pub_id,
+                time: event.time,
+                event_type: event_type.clone(),
+                site: hostname.to_owned(),
+            })),
+
+            Err(sqlx::Error::RowNotFound) => Ok(None),
+            Err(e) => Err(map_register_err(e)),
+        }
+
+        // map_row_not_found_err(e, ServiceError::AccountNotFound))?;
+    }
+
     pub async fn list_all_site_events(
         &self,
         hostname: &str,
@@ -1801,6 +2027,32 @@
             vec![event]
         );
 
+        // when no update event exist, None is returned
+        assert!(db
+            .get_latest_update_event(&site.hostname)
+            .await
+            .unwrap()
+            .is_none());
+
+        // add multiple update events, see if latest is returned
+        db.log_event(&site.hostname, &EVENT_TYPE_UPDATE)
+            .await
+            .unwrap();
+        let latest_update_event_id = db
+            .log_event(&site.hostname, &EVENT_TYPE_UPDATE)
+            .await
+            .unwrap();
+        let latest_update_event_id_from_db = db
+            .get_latest_update_event(&site.hostname)
+            .await
+            .unwrap()
+            .unwrap();
+        assert_eq!(
+            latest_update_event_id_from_db.event_type,
+            *EVENT_TYPE_UPDATE
+        );
+        assert_eq!(latest_update_event_id_from_db.id, latest_update_event_id);
+
         // delete site
         db.delete_site(p.username, &site.hostname).await.unwrap();
 
diff --git a/src/pages/main.rs.html b/src/pages/main.rs.html
index 0c84ceb..40d1f99 100644
--- a/src/pages/main.rs.html
+++ b/src/pages/main.rs.html
@@ -162,6 +162,7 @@
 162
 163
 164
+165
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -191,6 +192,7 @@
 use tracing_actix_web::TracingLogger;
 
 mod api;
+mod conductor;
 mod ctx;
 mod db;
 mod errors;
diff --git a/src/pages/page_config.rs.html b/src/pages/page_config.rs.html
index 7b1e523..f46c571 100644
--- a/src/pages/page_config.rs.html
+++ b/src/pages/page_config.rs.html
@@ -163,36 +163,6 @@
 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
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -211,41 +181,11 @@
  */
 use std::path::Path;
 
+use libconfig::Config;
 use serde::{Deserialize, Serialize};
 
 use crate::git::{ContentType, GitFileMode};
 
-#[derive(Deserialize, Serialize, Debug, Eq, PartialEq, Clone)]
-pub struct Config {
-    pub source: Source,
-    pub domains: Option<Vec<String>>,
-    pub forms: Option<Forms>,
-    pub image_compression: Option<ImageCompression>,
-    pub redirects: Option<Vec<Redirects>>,
-}
-
-#[derive(Deserialize, Serialize, PartialEq, Eq, Debug, Clone)]
-pub struct Source {
-    production_branch: String,
-    staging: Option<String>,
-}
-
-#[derive(Deserialize, Serialize, PartialEq, Eq, Debug, Clone)]
-pub struct Forms {
-    pub enable: bool,
-}
-
-#[derive(Deserialize, Serialize, PartialEq, Eq, Debug, Clone)]
-pub struct ImageCompression {
-    pub enable: bool,
-}
-
-#[derive(Deserialize, Serialize, PartialEq, Eq, Debug, Clone)]
-pub struct Redirects {
-    pub from: String,
-    pub to: String,
-}
-
 #[derive(Deserialize, Debug, Serialize, PartialEq, Eq)]
 struct Policy<'a> {
     rel_path: &'a str,
@@ -265,77 +205,75 @@
     Toml,
 }
 
-impl Config {
-    pub fn load<P: AsRef<Path>>(repo_path: &P, branch: &str) -> Option<Config> {
-        const POLICIES: [Policy; 2] = [
-            Policy::new("librepages.toml", SupportedFormat::Toml),
-            Policy::new("librepages.json", SupportedFormat::Json),
-        ];
+pub fn load<P: AsRef<Path>>(repo_path: &P, branch: &str) -> Option<Config> {
+    const POLICIES: [Policy; 2] = [
+        Policy::new("librepages.toml", SupportedFormat::Toml),
+        Policy::new("librepages.json", SupportedFormat::Json),
+    ];
 
-        if let Some(policy) = Self::discover(repo_path, branch, &POLICIES) {
-            //            let path = p.repo.as_ref().join(policy.rel_path);
-            //let contents = fs::read_to_string(path).await.unwrap();
+    if let Some(policy) = discover(repo_path, branch, &POLICIES) {
+        //            let path = p.repo.as_ref().join(policy.rel_path);
+        //let contents = fs::read_to_string(path).await.unwrap();
 
-            let file =
-                crate::git::read_preview_file(&repo_path.as_ref().into(), branch, policy.rel_path)
-                    .unwrap();
-            if let ContentType::Text(contents) = file.content {
-                let res = match policy.format {
-                    SupportedFormat::Json => Self::load_json(&contents),
-                    SupportedFormat::Yaml => Self::load_yaml(&contents),
-                    SupportedFormat::Toml => Self::load_toml(&contents),
-                };
-
-                return Some(res);
+        let file =
+            crate::git::read_preview_file(&repo_path.as_ref().into(), branch, policy.rel_path)
+                .unwrap();
+        if let ContentType::Text(contents) = file.content {
+            let res = match policy.format {
+                SupportedFormat::Json => load_json(&contents),
+                SupportedFormat::Yaml => load_yaml(&contents),
+                SupportedFormat::Toml => load_toml(&contents),
             };
-        }
 
-        None
-    }
-    fn discover<'a, P: AsRef<Path>>(
-        repo_path: &P,
-        branch: &str,
-        policies: &'a [Policy<'a>],
-    ) -> Option<&'a Policy<'a>> {
-        let repo = git2::Repository::open(repo_path).unwrap();
+            return Some(res);
+        };
+    }
 
-        let branch = repo.find_branch(branch, git2::BranchType::Local).unwrap();
-        //    let tree = head.peel_to_tree().unwrap();
-        let branch = branch.into_reference();
-        let tree = branch.peel_to_tree().unwrap();
+    None
+}
+fn discover<'a, P: AsRef<Path>>(
+    repo_path: &P,
+    branch: &str,
+    policies: &'a [Policy<'a>],
+) -> Option<&'a Policy<'a>> {
+    let repo = git2::Repository::open(repo_path).unwrap();
 
-        for p in policies.iter() {
-            let file_exists = tree.iter().any(|x| {
-                if let Some(name) = x.name() {
-                    if policies.iter().any(|p| p.rel_path == name) {
-                        let mode: GitFileMode = x.into();
-                        matches!(mode, GitFileMode::Executable | GitFileMode::Regular)
-                    } else {
-                        false
-                    }
+    let branch = repo.find_branch(branch, git2::BranchType::Local).unwrap();
+    //    let tree = head.peel_to_tree().unwrap();
+    let branch = branch.into_reference();
+    let tree = branch.peel_to_tree().unwrap();
+
+    for p in policies.iter() {
+        let file_exists = tree.iter().any(|x| {
+            if let Some(name) = x.name() {
+                if policies.iter().any(|p| p.rel_path == name) {
+                    let mode: GitFileMode = x.into();
+                    matches!(mode, GitFileMode::Executable | GitFileMode::Regular)
                 } else {
                     false
                 }
-            });
+            } else {
+                false
+            }
+        });
 
-            if file_exists {
-                return Some(p);
-            }
+        if file_exists {
+            return Some(p);
         }
-        None
-    }
-
-    fn load_toml(c: &str) -> Config {
-        toml::from_str(c).unwrap()
     }
+    None
+}
 
-    fn load_yaml(c: &str) -> Config {
-        serde_yaml::from_str(c).unwrap()
-    }
+fn load_toml(c: &str) -> Config {
+    toml::from_str(c).unwrap()
+}
 
-    fn load_json(c: &str) -> Config {
-        serde_json::from_str(c).unwrap()
-    }
+fn load_yaml(c: &str) -> Config {
+    serde_yaml::from_str(c).unwrap()
+}
+
+fn load_json(c: &str) -> Config {
+    serde_json::from_str(c).unwrap()
 }
 
 #[cfg(test)]
@@ -344,6 +282,8 @@
     use crate::git::tests::write_file_util;
     use mktemp::Temp;
 
+    use libconfig::*;
+
     #[actix_rt::test]
     async fn page_config_test() {
         let tmp_dir = Temp::new_dir().unwrap();
@@ -362,7 +302,7 @@
             Some(&content),
         );
 
-        let config = Config::load(&repo_path, "master").unwrap();
+        let config = load(&repo_path, "master").unwrap();
         assert!(config.forms.as_ref().unwrap().enable);
         assert!(config.image_compression.as_ref().unwrap().enable);
         assert_eq!(config.source.production_branch, "librepages");
diff --git a/src/pages/pages/dash/home.rs.html b/src/pages/pages/dash/home.rs.html
index 4322681..307ced5 100644
--- a/src/pages/pages/dash/home.rs.html
+++ b/src/pages/pages/dash/home.rs.html
@@ -141,6 +141,20 @@
 141
 142
 143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -183,8 +197,20 @@
 
 #[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq)]
 pub struct TemplateSite {
-    site: Site,
-    last_update: Option<TemplateSiteEvent>,
+    pub site: Site,
+    pub view: String,
+    pub last_update: Option<TemplateSiteEvent>,
+}
+
+impl TemplateSite {
+    pub fn new(site: Site, last_update: Option<TemplateSiteEvent>) -> Self {
+        let view = PAGES.dash.site.get_view(site.pub_id);
+        Self {
+            site,
+            last_update,
+            view,
+        }
+    }
 }
 
 impl CtxError for Home {
@@ -199,7 +225,6 @@
         let ctx = RefCell::new(context(settings));
         if let Some(sites) = sites {
             ctx.borrow_mut().insert(PAYLOAD_KEY, sites);
-            println!("{:#?}", sites)
         }
         Self { ctx }
     }
@@ -216,9 +241,12 @@
     let mut sites = Vec::with_capacity(db_sites.len());
     for site in db_sites {
         // TODO: impl method on DB to get latest "update" event
-        let mut events = ctx.db.list_all_site_events(&site.hostname).await?;
-        let last_update = events.pop().map(|event| event.into());
-        sites.push(TemplateSite { site, last_update });
+        let last_update = ctx
+            .db
+            .get_latest_update_event(&site.hostname)
+            .await?
+            .map(|e| e.into());
+        sites.push(TemplateSite::new(site, last_update));
     }
     Ok(sites)
 }
diff --git a/src/pages/pages/dash/sites/add.rs.html b/src/pages/pages/dash/sites/add.rs.html
index 08e459e..720da9a 100644
--- a/src/pages/pages/dash/sites/add.rs.html
+++ b/src/pages/pages/dash/sites/add.rs.html
@@ -170,6 +170,64 @@
 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
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -260,15 +318,16 @@
         repo_url: payload.repo_url,
         owner,
     };
-    let _page = ctx
+    let page = ctx
         .add_site(msg)
         .await
         .map_err(|e| PageError::new(Add::new(&ctx.settings), e))?;
 
-    // TODO: redirect to deployment view
-
-    Ok(HttpResponse::Found()
-        .append_header((http::header::LOCATION, PAGES.dash.home))
+    Ok(HttpResponse::Found()
+        .append_header((
+            http::header::LOCATION,
+            PAGES.dash.site.get_view(page.pub_id),
+        ))
         .finish())
 }
 
@@ -282,7 +341,9 @@
     use actix_web::http::StatusCode;
     use actix_web::test;
 
+    use crate::ctx::api::v1::auth::Password;
     use crate::ctx::ArcCtx;
+    use crate::errors::ServiceError;
     use crate::pages::dash::sites::add::TemplateAddSite;
     use crate::tests;
     use crate::*;
@@ -303,7 +364,7 @@
         let _ = ctx.delete_user(NAME, PASSWORD).await;
         let (_, signin_resp) = ctx.register_and_signin(NAME, EMAIL, PASSWORD).await;
         let cookies = get_cookie!(signin_resp);
-        let app = get_app!(ctx).await;
+        let app = get_app!(ctx.clone()).await;
 
         let resp = get_request!(&app, PAGES.dash.site.add, cookies.clone());
         assert_eq!(resp.status(), StatusCode::OK);
@@ -323,23 +384,78 @@
         )
         .await;
         assert_eq!(add_site.status(), StatusCode::FOUND);
+
+        let mut site = ctx.db.list_all_sites(NAME).await.unwrap();
+        let site = site.pop().unwrap();
+
+        let mut event = ctx.db.list_all_site_events(&site.hostname).await.unwrap();
+        let event = event.pop().unwrap();
+
         let headers = add_site.headers();
+        let view_site = &PAGES.dash.site.get_view(site.pub_id);
         assert_eq!(
             headers.get(actix_web::http::header::LOCATION).unwrap(),
-            &PAGES.dash.home
+            view_site
         );
 
-        //        let page = ctx.add_test_site(NAME.into()).await;
-        //
-        //        let resp = get_request!(&app, PAGES.dash.home, cookies.clone());
-        //        assert_eq!(resp.status(), StatusCode::OK);
-        //        let res = String::from_utf8(test::read_body(resp).await.to_vec()).unwrap();
-        //        println!("after adding site: {res}");
-        //        assert!(!res.contains("Nothing here"));
-        //        assert!(res.contains(&page.domain));
-        //        assert!(res.contains(&page.repo));
-        //
-        let _ = ctx.delete_user(NAME, PASSWORD).await;
+        // view site
+        let resp = get_request!(&app, view_site, cookies.clone());
+        assert_eq!(resp.status(), StatusCode::OK);
+        let res = String::from_utf8(test::read_body(resp).await.to_vec()).unwrap();
+        assert!(res.contains("****"));
+        assert!(res.contains(&site.hostname));
+        assert!(res.contains(&site.repo_url));
+        assert!(res.contains(&site.branch));
+
+        assert!(res.contains(&event.event_type.name));
+        assert!(res.contains(&event.id.to_string()));
+
+        let show_deploy_secret_route = format!("{view_site}?show_deploy_secret=true");
+        let resp = get_request!(&app, &show_deploy_secret_route, cookies.clone());
+        assert_eq!(resp.status(), StatusCode::OK);
+        let res = String::from_utf8(test::read_body(resp).await.to_vec()).unwrap();
+        assert!(res.contains(&site.site_secret));
+
+        // delete site
+        let delete_site = &PAGES.dash.site.get_delete(site.pub_id);
+        let resp = get_request!(&app, delete_site, cookies.clone());
+        assert_eq!(resp.status(), StatusCode::OK);
+        let res = String::from_utf8(test::read_body(resp).await.to_vec()).unwrap();
+        assert!(res.contains(&site.hostname));
+
+        let msg = Password {
+            password: PASSWORD.into(),
+        };
+        let resp = test::call_service(
+            &app,
+            post_request!(&msg, delete_site, FORM)
+                .cookie(cookies.clone())
+                .to_request(),
+        )
+        .await;
+
+        //    delete_request!(&app, delete_site, cookies.clone(), &msg, FORM);
+        assert_eq!(resp.status(), StatusCode::FOUND);
+        let headers = resp.headers();
+        assert_eq!(
+            headers.get(actix_web::http::header::LOCATION).unwrap(),
+            PAGES.dash.home,
+        );
+
+        assert!(!utils::get_website_path(&ctx.settings, &site.hostname).exists());
+        assert_eq!(
+            ctx.db
+                .get_site_from_pub_id(site.pub_id, NAME.into())
+                .await
+                .err(),
+            Some(ServiceError::WebsiteNotFound)
+        );
+
+        let mut events = ctx.db.list_all_site_events(&site.hostname).await.unwrap();
+        let possible_delete = events.pop().unwrap();
+        assert_eq!(&possible_delete.event_type, &*crate::db::EVENT_TYPE_DELETE);
+
+        let _ = ctx.delete_user(NAME, PASSWORD).await;
     }
 }
 
diff --git a/src/pages/pages/dash/sites/delete.rs.html b/src/pages/pages/dash/sites/delete.rs.html new file mode 100644 index 0000000..05d6564 --- /dev/null +++ b/src/pages/pages/dash/sites/delete.rs.html @@ -0,0 +1,372 @@ +delete.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
+
/*
+ * 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::cell::RefCell;
+
+use actix_identity::Identity;
+use actix_web::http::header::ContentType;
+use serde::{Deserialize, Serialize};
+use tera::Context;
+use uuid::Uuid;
+
+use super::get_auth_middleware;
+
+use crate::ctx::api::v1::auth::{Login, Password};
+use crate::db::Site;
+use crate::pages::dash::TemplateSiteEvent;
+use crate::pages::errors::*;
+use crate::settings::Settings;
+use crate::AppCtx;
+
+pub use super::*;
+
+pub const DASH_SITE_DELETE: TemplateFile =
+    TemplateFile::new("dash_site_delete", "pages/dash/sites/delete.html");
+
+const SHOW_DEPLOY_SECRET_KEY: &str = "show_deploy_secret";
+
+pub struct Delete {
+    ctx: RefCell<Context>,
+}
+
+impl CtxError for Delete {
+    fn with_error(&self, e: &ReadableError) -> String {
+        self.ctx.borrow_mut().insert(ERROR_KEY, e);
+        self.render()
+    }
+}
+
+impl Delete {
+    pub fn new(settings: &Settings, payload: Option<TemplateSiteWithEvents>) -> Self {
+        let ctx = RefCell::new(context(settings));
+        if let Some(payload) = payload {
+            ctx.borrow_mut().insert(PAYLOAD_KEY, &payload);
+        }
+
+        Self { ctx }
+    }
+
+    pub fn show_deploy_secret(&mut self) {
+        self.ctx.borrow_mut().insert(SHOW_DEPLOY_SECRET_KEY, &true);
+    }
+
+    pub fn render(&self) -> String {
+        TEMPLATES
+            .render(DASH_SITE_DELETE.name, &self.ctx.borrow())
+            .unwrap()
+    }
+}
+
+#[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq)]
+pub struct TemplateSiteWithEvents {
+    pub site: Site,
+    pub delete: String,
+    pub last_update: Option<TemplateSiteEvent>,
+    pub events: Vec<TemplateSiteEvent>,
+}
+
+impl TemplateSiteWithEvents {
+    pub fn new(
+        site: Site,
+        last_update: Option<TemplateSiteEvent>,
+        events: Vec<TemplateSiteEvent>,
+    ) -> Self {
+        let delete = PAGES.dash.site.get_delete(site.pub_id);
+        Self {
+            site,
+            last_update,
+            delete,
+            events,
+        }
+    }
+}
+
+#[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)]
+pub struct DeleteOptions {
+    show_deploy_secret: Option<bool>,
+}
+
+#[actix_web_codegen_const_routes::get(
+    path = "PAGES.dash.site.delete",
+    wrap = "get_auth_middleware()"
+)]
+#[tracing::instrument(name = "Dashboard delete site webpage", skip(ctx, id))]
+pub async fn get_delete_site(
+    ctx: AppCtx,
+    id: Identity,
+    path: web::Path<Uuid>,
+    query: web::Query<DeleteOptions>,
+) -> PageResult<impl Responder, Delete> {
+    let site_id = path.into_inner();
+    let owner = id.identity().unwrap();
+
+    let site = ctx
+        .db
+        .get_site_from_pub_id(site_id, owner)
+        .await
+        .map_err(|e| PageError::new(Delete::new(&ctx.settings, None), e))?;
+    let last_update = ctx
+        .db
+        .get_latest_update_event(&site.hostname)
+        .await
+        .map_err(|e| PageError::new(Delete::new(&ctx.settings, None), e))?;
+
+    let last_update = last_update.map(|e| e.into());
+
+    let mut db_events = ctx
+        .db
+        .list_all_site_events(&site.hostname)
+        .await
+        .map_err(|e| PageError::new(Delete::new(&ctx.settings, None), e))?;
+
+    let mut events = Vec::with_capacity(db_events.len());
+    for e in db_events.drain(0..) {
+        events.push(e.into());
+    }
+
+    let payload = TemplateSiteWithEvents::new(site, last_update, events);
+    let mut page = Delete::new(&ctx.settings, Some(payload));
+    if let Some(true) = query.show_deploy_secret {
+        page.show_deploy_secret();
+    }
+    let add = page.render();
+    let html = ContentType::html();
+    Ok(HttpResponse::Ok().content_type(html).body(add))
+}
+
+#[actix_web_codegen_const_routes::post(
+    path = "PAGES.dash.site.delete",
+    wrap = "get_auth_middleware()"
+)]
+#[tracing::instrument(name = "Delete site from webpage", skip(ctx, id))]
+pub async fn post_delete_site(
+    ctx: AppCtx,
+    id: Identity,
+    path: web::Path<Uuid>,
+    payload: web::Form<Password>,
+) -> PageResult<impl Responder, Delete> {
+    let site_id = path.into_inner();
+    let owner = id.identity().unwrap();
+
+    let payload = payload.into_inner();
+    let msg = Login {
+        login: owner,
+        password: payload.password,
+    };
+    ctx.login(&msg)
+        .await
+        .map_err(|e| PageError::new(Delete::new(&ctx.settings, None), e))?;
+
+    ctx.delete_site(msg.login, site_id)
+        .await
+        .map_err(|e| PageError::new(Delete::new(&ctx.settings, None), e))?;
+
+    Ok(HttpResponse::Found()
+        .append_header((http::header::LOCATION, PAGES.dash.home))
+        .finish())
+}
+
+pub fn services(cfg: &mut web::ServiceConfig) {
+    cfg.service(get_delete_site);
+    cfg.service(post_delete_site);
+}
+
+
\ No newline at end of file diff --git a/src/pages/pages/dash/sites/mod.rs.html b/src/pages/pages/dash/sites/mod.rs.html index 14326fe..45977e3 100644 --- a/src/pages/pages/dash/sites/mod.rs.html +++ b/src/pages/pages/dash/sites/mod.rs.html @@ -30,6 +30,17 @@ 30 31 32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -49,18 +60,29 @@
 use actix_web::*;
 
 use super::get_auth_middleware;
+pub use super::home::TemplateSite;
 pub use super::{context, Footer, TemplateFile, PAGES, PAYLOAD_KEY, TEMPLATES};
 
 pub mod add;
+pub mod delete;
+pub mod view;
 
 pub fn register_templates(t: &mut tera::Tera) {
     add::DASH_SITE_ADD
         .register(t)
         .expect(add::DASH_SITE_ADD.name);
+    view::DASH_SITE_VIEW
+        .register(t)
+        .expect(view::DASH_SITE_VIEW.name);
+    delete::DASH_SITE_DELETE
+        .register(t)
+        .expect(delete::DASH_SITE_DELETE.name);
 }
 
 pub fn services(cfg: &mut web::ServiceConfig) {
     add::services(cfg);
+    view::services(cfg);
+    delete::services(cfg);
 }
 
\ No newline at end of file diff --git a/src/pages/pages/dash/sites/view.rs.html b/src/pages/pages/dash/sites/view.rs.html new file mode 100644 index 0000000..f8312c3 --- /dev/null +++ b/src/pages/pages/dash/sites/view.rs.html @@ -0,0 +1,310 @@ +view.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
+
/*
+ * 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::cell::RefCell;
+
+use actix_identity::Identity;
+use actix_web::http::header::ContentType;
+use serde::{Deserialize, Serialize};
+use tera::Context;
+use uuid::Uuid;
+
+use super::get_auth_middleware;
+
+use crate::db::Site;
+use crate::pages::dash::TemplateSiteEvent;
+use crate::pages::errors::*;
+use crate::settings::Settings;
+use crate::AppCtx;
+
+pub use super::*;
+
+pub const DASH_SITE_VIEW: TemplateFile =
+    TemplateFile::new("dash_site_view", "pages/dash/sites/view.html");
+
+const SHOW_DEPLOY_SECRET_KEY: &str = "show_deploy_secret";
+
+pub struct View {
+    ctx: RefCell<Context>,
+}
+
+impl CtxError for View {
+    fn with_error(&self, e: &ReadableError) -> String {
+        self.ctx.borrow_mut().insert(ERROR_KEY, e);
+        self.render()
+    }
+}
+
+impl View {
+    pub fn new(settings: &Settings, payload: Option<TemplateSiteWithEvents>) -> Self {
+        let ctx = RefCell::new(context(settings));
+        if let Some(payload) = payload {
+            ctx.borrow_mut().insert(PAYLOAD_KEY, &payload);
+        }
+
+        Self { ctx }
+    }
+
+    pub fn show_deploy_secret(&mut self) {
+        self.ctx.borrow_mut().insert(SHOW_DEPLOY_SECRET_KEY, &true);
+    }
+
+    pub fn render(&self) -> String {
+        TEMPLATES
+            .render(DASH_SITE_VIEW.name, &self.ctx.borrow())
+            .unwrap()
+    }
+}
+
+#[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq)]
+pub struct TemplateSiteWithEvents {
+    pub site: Site,
+    pub view: String,
+    pub delete: String,
+    pub last_update: Option<TemplateSiteEvent>,
+    pub events: Vec<TemplateSiteEvent>,
+}
+
+impl TemplateSiteWithEvents {
+    pub fn new(
+        site: Site,
+        last_update: Option<TemplateSiteEvent>,
+        events: Vec<TemplateSiteEvent>,
+    ) -> Self {
+        let view = PAGES.dash.site.get_view(site.pub_id);
+        let delete = PAGES.dash.site.get_delete(site.pub_id);
+        Self {
+            site,
+            last_update,
+            view,
+            delete,
+            events,
+        }
+    }
+}
+
+#[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)]
+pub struct ViewOptions {
+    show_deploy_secret: Option<bool>,
+}
+
+#[actix_web_codegen_const_routes::get(
+    path = "PAGES.dash.site.view",
+    wrap = "get_auth_middleware()"
+)]
+#[tracing::instrument(name = "Dashboard add site webpage", skip(ctx, id))]
+pub async fn get_view_site(
+    ctx: AppCtx,
+    id: Identity,
+    path: web::Path<Uuid>,
+    query: web::Query<ViewOptions>,
+) -> PageResult<impl Responder, View> {
+    let site_id = path.into_inner();
+    let owner = id.identity().unwrap();
+
+    let site = ctx
+        .db
+        .get_site_from_pub_id(site_id, owner)
+        .await
+        .map_err(|e| PageError::new(View::new(&ctx.settings, None), e))?;
+    let last_update = ctx
+        .db
+        .get_latest_update_event(&site.hostname)
+        .await
+        .map_err(|e| PageError::new(View::new(&ctx.settings, None), e))?;
+
+    let last_update = last_update.map(|e| e.into());
+
+    let mut db_events = ctx
+        .db
+        .list_all_site_events(&site.hostname)
+        .await
+        .map_err(|e| PageError::new(View::new(&ctx.settings, None), e))?;
+
+    let mut events = Vec::with_capacity(db_events.len());
+    for e in db_events.drain(0..) {
+        events.push(e.into());
+    }
+
+    let payload = TemplateSiteWithEvents::new(site, last_update, events);
+    let mut page = View::new(&ctx.settings, Some(payload));
+    if let Some(true) = query.show_deploy_secret {
+        page.show_deploy_secret();
+    }
+    let add = page.render();
+    let html = ContentType::html();
+    Ok(HttpResponse::Ok().content_type(html).body(add))
+}
+
+pub fn services(cfg: &mut web::ServiceConfig) {
+    cfg.service(get_view_site);
+}
+
+
\ No newline at end of file diff --git a/src/pages/pages/routes.rs.html b/src/pages/pages/routes.rs.html index cbc2d31..2678deb 100644 --- a/src/pages/pages/routes.rs.html +++ b/src/pages/pages/routes.rs.html @@ -114,6 +114,27 @@ 114 115 116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -132,6 +153,7 @@
  */
 use actix_auth_middleware::{Authentication, GetLoginRoute};
 use serde::*;
+use uuid::Uuid;
 
 /// constant [Pages](Pages) instance
 pub const PAGES: Pages = Pages::new();
@@ -201,15 +223,35 @@
 #[derive(Serialize)]
 /// Dashboard Site routes
 pub struct DashSite {
-    /// home route
+    /// add site route
     pub add: &'static str,
+    /// view site route
+    pub view: &'static str,
+    /// delete site route
+    pub delete: &'static str,
 }
 
 impl DashSite {
     /// create new instance of DashSite route
     pub const fn new() -> DashSite {
         let add = "/dash/site/add";
-        DashSite { add }
+        let view = "/dash/site/view/{deployment_pub_id}";
+        let delete = "/dash/site/delete/{deployment_pub_id}";
+        DashSite { add, view, delete }
+    }
+
+    pub fn get_view(&self, deployment_pub_id: Uuid) -> String {
+        self.view.replace(
+            "{deployment_pub_id}",
+            deployment_pub_id.to_string().as_ref(),
+        )
+    }
+
+    pub fn get_delete(&self, deployment_pub_id: Uuid) -> String {
+        self.delete.replace(
+            "{deployment_pub_id}",
+            deployment_pub_id.to_string().as_ref(),
+        )
     }
 }
 
diff --git a/src/pages/settings.rs.html b/src/pages/settings.rs.html
index fc00d43..95e55da 100644
--- a/src/pages/settings.rs.html
+++ b/src/pages/settings.rs.html
@@ -188,6 +188,14 @@
 188
 189
 190
+191
+192
+193
+194
+195
+196
+197
+198
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -272,6 +280,14 @@
     pub source_code: String,
     pub database: Database,
     pub page: PageConfig,
+    pub conductors: Vec<Conductor>,
+}
+
+#[derive(Debug, Clone, Serialize, Deserialize)]
+pub struct Conductor {
+    pub username: String,
+    pub api_key: String,
+    pub url: Url,
 }
 
 #[derive(Debug, Clone, Serialize, Deserialize)]
diff --git a/src/pages/static_assets/mod.rs.html b/src/pages/static_assets/mod.rs.html
index 0bc6a09..8fdbaac 100644
--- a/src/pages/static_assets/mod.rs.html
+++ b/src/pages/static_assets/mod.rs.html
@@ -54,6 +54,23 @@
 54
 55
 56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -91,6 +108,21 @@
     lazy_static! {
         pub static ref ASSETS: Assets = Assets::new();
     }
+    #[derive(Serialize)]
+    pub struct Svg {
+        pub eye_off: &'static str,
+        pub eye: &'static str,
+    }
+
+    impl Svg {
+        /// create new instance of Routes
+        pub fn new() -> Svg {
+            Svg {
+                eye: &static_files::assets::CSS,
+                eye_off: &static_files::assets::CSS,
+            }
+        }
+    }
 
     #[derive(Serialize)]
     /// Top-level routes data structure for V1 AP1
@@ -98,6 +130,7 @@
         /// Authentication routes
         pub css: &'static str,
         pub mobile_css: &'static str,
+        pub svg: Svg,
     }
 
     impl Assets {
@@ -106,6 +139,7 @@
             Assets {
                 css: &static_files::assets::CSS,
                 mobile_css: &static_files::assets::CSS,
+                svg: Svg::new(),
             }
         }
     }
diff --git a/src/pages/static_assets/static_files.rs.html b/src/pages/static_assets/static_files.rs.html
index 7b06e82..7638285 100644
--- a/src/pages/static_assets/static_files.rs.html
+++ b/src/pages/static_assets/static_files.rs.html
@@ -92,6 +92,9 @@
 92
 93
 94
+95
+96
+97
 
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -123,6 +126,9 @@
 
     lazy_static! {
         pub static ref CSS: &'static str = FILES.get("./static/cache/css/main.css").unwrap();
+        pub static ref EYE: &'static str = FILES.get("./static/cache/img/svg/eye.svg").unwrap();
+        pub static ref EYE_OFF: &'static str =
+            FILES.get("./static/cache/img/svg/eye-off.svg").unwrap();
         pub static ref MOBILE_CSS: &'static str =
             FILES.get("./static/cache/css/mobile.css").unwrap();
     }